Skip to content
This repository has been archived by the owner on Jan 28, 2022. It is now read-only.

Commit

Permalink
Sobe versão, ajusta documentação
Browse files Browse the repository at this point in the history
  • Loading branch information
AtilioA committed Mar 30, 2020
1 parent d44728d commit 60a32a1
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 14 deletions.
4 changes: 2 additions & 2 deletions COVID19_ES_Py/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
>>> scraper = COVID19_ES_Py.ScraperBoletim()
>>> boletim = scraper.carrega_ultimo_boletim()
Veja https://github.com/AtilioA/COVID19-ES-Py para mais informações.
Veja https://github.com/AtilioA/COVID19-ES-Py ou https://covid19-es-py.readthedocs.io/ para mais informações.
"""

# flake8: noqa
Expand All @@ -14,4 +14,4 @@
'Boletim',
]

__version__ = "1.0.4"
__version__ = "1.1.0"
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<h1 align="center">
<br>
<a href="https://pypi.org/project/COVID19-ES-Py/">
<img src="https://raw.githubusercontent.com/AtilioA/COVID19-ES-Py/5c84a08be8a32a7f2850b591fbf1b4664779f51a/docs/logo_COVID19-ES-Py.png" width="40%"></a>
<img src="https://raw.githubusercontent.com/AtilioA/COVID19-ES-Py/c28e8a1f8799d6a067d7c4587a9467d3bc595e9e/docs/logo_COVID19-ES-Py.png" width="40%"></a>
<br>
COVID19-ES-Py
<br>
Expand All @@ -22,7 +22,7 @@

# Recursos
* Extrai URLs de boletins emitidos pelo Governo do Estado do Espírito Santo
* Coleta números de casos dos boletins
* Coleta título, datas, corpo de notícia, números de casos, etc, dos boletins
* Possibilita pesquisa de casos por município

# Instalação
Expand Down Expand Up @@ -82,8 +82,8 @@ boletim.pesquisa_casos_municipio("arapiraca")
>>> exceptions.BoletimError: O município "arapiraca" não foi encontrado no boletim. Pode ter ocorrido um erro de digitação ou o município não registrou casos de COVID-19.
```

<!-- ## Documentação
Você pode aprender mais sobre a API lendo a [documentação oficial](https://www.google.com.br). -->
## Documentação
Você pode aprender mais sobre a API lendo a [documentação oficial](https://covid19-es-py.readthedocs.io/pt_BR/latest/).

## Considerações finais
Encontrou algum erro? Tem alguma sugestão para melhorar a COVID19-ES-Py? [Crie uma issue!](https://github.com/atilioa/COVID19-ES-Py/issues) Contribuições são muito bem-vindas.
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
author = 'Atílio Antônio'

# The full version, including alpha/beta/rc tags
release = '1.0.4'
release = '1.1.0'

master_doc = 'index'

Expand Down
4 changes: 2 additions & 2 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Documentação oficial - COVID19-ES-Py
<h1 align="center">
<br>
<a href="https://pypi.org/project/COVID19-ES-Py/">
<img src="https://raw.githubusercontent.com/AtilioA/COVID19-ES-Py/5c84a08be8a32a7f2850b591fbf1b4664779f51a/docs/logo_COVID19-ES-Py.png" width="40%"></a>
<img src="https://raw.githubusercontent.com/AtilioA/COVID19-ES-Py/master/docs/logo_COVID19-ES-Py.png" width="40%"></a>
<br>
COVID19-ES-Py
<br>
Expand Down Expand Up @@ -69,7 +69,7 @@ Recursos


* Extrai URLs de boletins emitidos pelo Governo do Estado do Espírito Santo
* Coleta números de casos dos boletins
* Coleta título, datas, corpo de notícia, números de casos, etc, dos boletins
* Possibilita pesquisa de casos por município

Instalação
Expand Down
8 changes: 3 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
from os import path
from setuptools import find_packages, setup

# read the contents of your README file
thisDirectory = path.abspath(path.dirname(__file__))
with open(path.join(thisDirectory, 'README.md'), encoding='utf-8') as f:
with open(path.join(thisDirectory, "README.md"), encoding="utf-8") as f:
README = f.read()

# This call to setup() does all the work
setup(
name="COVID19-ES-Py",
version="1.0.4",
version="1.1.0",
description="Scraper de boletins de casos de COVID-19 no Espírito Santo.",
long_description=README,
long_description_content_type="text/markdown",
Expand All @@ -25,5 +23,5 @@
],
packages=find_packages(),
include_package_data=True,
install_requires=["beautifulsoup4", "requests"]
install_requires=["beautifulsoup4", "requests", "arrow"],
)

0 comments on commit 60a32a1

Please sign in to comment.