PUC-Rio Microhorario Downloader
Project description
Microhorario Downloader
Descrição a adicionar
Uso
Instale a biblioteca:
# ainda nao disponivel
# pip install microhorario-dl
pip install -i https://test.pypi.org/simple/ microhorario-dl-leinadium==0.1
Importe e baixe os dados:
>>> from microhorario_dl import Microhorario
>>> micro = Microhorario.download()
<Microhorario object at ...>
>>> micro.disciplinas
[<Disciplina [ACN[1000>, <Disciplina[ACN1002]], ...]
Exporte para um json:
>>> import json
>>> print(json.dumps(micro.as_json(), indent=2))
{
"periodo": "20221",
"emissao": "05/04/2022 22:57 h",
# ...
"disciplinas": [
# ...
]
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
microhorario-dl-1.1.0a1.tar.gz
(12.1 kB
view hashes)
Built Distribution
Close
Hashes for microhorario_dl-1.1.0a1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d3a9f67d244d27e7114bd97e838fb42437a2a5bb5965c2316341b89337a5321 |
|
MD5 | 89de87fca2a0233185d96004a5c79c25 |
|
BLAKE2b-256 | 48eaf93f0dbc15f8487a0efa126b61401b8fe7bf2c88dfaf4b42ac204570a189 |