Agilize 0.0.10
pip install Agilize
Latest version
Released:
Unofficial client to access Agilize
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: GNU Lesser General Public License v2 (LGPLv2) (LGPLv2)
- Author: Lucas Rangel Cezimbra
- Tags agilize, api, client, requests, accounting, finance
Classifiers
- Development Status
- Intended Audience
- License
- Programming Language
- Topic
Project description
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
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: GNU Lesser General Public License v2 (LGPLv2) (LGPLv2)
- Author: Lucas Rangel Cezimbra
- Tags agilize, api, client, requests, accounting, finance
Classifiers
- Development Status
- Intended Audience
- License
- Programming Language
- Topic
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
Built Distribution
File details
Details for the file Agilize-0.0.10.tar.gz
.
File metadata
- Download URL: Agilize-0.0.10.tar.gz
- Upload date:
- Size: 16.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b73cb46501588b08a2bea3a41c46ee9ac8f709ff2ee41342570e959046b9d819 |
|
MD5 | d090118095ab491ac2b50dbcac46e84c |
|
BLAKE2b-256 | e71e8e220468824d1664eb523448d9e0e230d6bf5d7665db60d2dc76ee49d248 |
File details
Details for the file Agilize-0.0.10-py3-none-any.whl
.
File metadata
- Download URL: Agilize-0.0.10-py3-none-any.whl
- Upload date:
- Size: 15.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55f3a477724d3bf386bb6902e50fa2ced2914ab5d88414f5e1cfc24883fee4c1 |
|
MD5 | 5101c8282a765b438e2edaa67877ca1d |
|
BLAKE2b-256 | e3a19527733f9c24de8eebff5857f302c60f812813abbc0f2ed08cb5b62ef021 |