Skip to content

Commit 6fd0990

Browse files
feat: Adiciona documentação de uso
Signed-off-by: Mateus Oliveira <[email protected]>
1 parent 7757f05 commit 6fd0990

File tree

3 files changed

+32
-1
lines changed

3 files changed

+32
-1
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -158,3 +158,6 @@ cython_debug/
158158
# and can be added to the global gitignore or merged into this file. For a more nuclear
159159
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
160160
#.idea/
161+
162+
# PyNewsScraper
163+
pynews.json

README.md

+26-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,27 @@
11
# PyNewsScraper
2-
Este projeto é um scraper para verificar as bibliotecas Python que tiveram atualização no último mês e listá-las, facilitando a identificação de bibliotecas com major version releases.
2+
3+
Este projeto é um scraper (raspador de dados) para verificar as bibliotecas Python que tiveram atualização no último mês e listá-las, facilitando a identificação de bibliotecas com lançamentos de versão major.
4+
5+
# Como utilizar
6+
7+
Para criar um ambiente virtual, execute
8+
```
9+
python -m venv .venv
10+
```
11+
12+
Para ativar o ambiente virtual, execute
13+
```
14+
source .venv/bin/activate
15+
```
16+
17+
Para instalar as dependências do projeto no ambiente virtual, execute
18+
```
19+
pip install -r requirements.txt
20+
```
21+
22+
Para rodar o scrapper, execute
23+
```
24+
python getNews.py
25+
```
26+
27+
Para desativar o ambiente virtual, execute `deactivate`.

requirements.txt

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
requests==2.31.0
2+
beautifulsoup4==4.12.3
3+
babel==2.15.0

0 commit comments

Comments
 (0)