Agilize
Unofficial client to access Agilize.
Installation
pip install agilize
How to Use
High-level API
from agilize import Agilize, Competence
agilize = Agilize(username='11222333000160', password='p4ssw0rd')
companies = agilize.companies()
for company in companies:
print(company)
company = companies[0]
competence = Competence(year=2022, month=5)
prolabore = company.prolabores.get(competence)
print(prolabore)
with open(f'./prolabore_{competence}.pdf', 'wb') as f:
f.write(prolabore.download())
Low-level API
from agilize import Client
agilize = Client(username='11222333000160', password='p4ssw0rd')
print(agilize.info)
company_id = agilize.info['party']['companies'][0]['__identity']
agilize.prolabores(company_id=company_id, year=2022)
Contributing
Contributions are welcome, feel free to open an Issue or Pull Request.
Pull requests must be for the develop branch.
git clone https://github.com/lucasrcezimbra/agilize
cd agilize
git checkout develop
python -m venv .venv
pip install -r requirements-dev.txt
pre-commit install
pytest
Metadata
Release files for Agilize 0.0.10
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| Agilize-0.0.10.tar.gz | 16.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| Agilize-0.0.10-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 32.0 kB
Release files / Agilize-0.0.10.tar.gz
| Download URL | Agilize-0.0.10.tar.gz |
|---|---|
| Size | 16.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b73cb46501588b08a2bea3a41c46ee9ac8f709ff2ee41342570e959046b9d819
|
|
BLAKE2b-256 checksum How to use checksums |
e71e8e220468824d1664eb523448d9e0e230d6bf5d7665db60d2dc76ee49d248
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Release files / Agilize-0.0.10-py3-none-any.whl
| Download URL | Agilize-0.0.10-py3-none-any.whl |
|---|---|
| Size | 15.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
55f3a477724d3bf386bb6902e50fa2ced2914ab5d88414f5e1cfc24883fee4c1
|
|
BLAKE2b-256 checksum How to use checksums |
e3a19527733f9c24de8eebff5857f302c60f812813abbc0f2ed08cb5b62ef021
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|