Python package to consume netTime application by SPEC, SA.
Project description
netTime API Client
Python API client for netTime (SPEC, SA).
- Repository: https://github.com/lucaslucyk/nettime-py
- PyPi: https://pypi.org/project/nettime-py
- Documentation: Coming soon.
Project Status
⚠️ Warning: This project is currently in development phase.
This project is in an early stage of development and may contain bugs. It is not recommended for use in production environments.
Why use nettime-py
?
- 🚀 Fast to code: Increase the speed to develop integrations features.
- ❌ Fewer bugs: Reduce human (developer) induced errors.
- 💡 Intuitive: Great editor support. Completion everywhere. Less time debugging.
- 🤓 Easy: Designed to be easy to use and learn. Less time reading docs.
- 〽️ Short: Minimize code duplication. Multiple features from each parameter declaration. Fewer bugs.
Install
$ pip install nettime-py
Install to dev
$ git clone git@github.com:lucaslucyk/nettime-py.git
$ cd nettime-py/
/nettime-py$ mkdir .venv
/nettime-py$ pipenv install && pipenv install -d
/nettime-py$ source .venv/bin/activate
(nettime-py) ./nettime-py/$ pip install -e .
Quickstart
from nettime_py import NetTimeAPI
# Initialize the client with the URL, username, and password
with NetTimeAPI(url='<HOST>', username='<USERNAME>', password='<PASSWORD>') as client:
# Get and iter paginator
employees = list(client.employees.all())
print(employees)
Contributions and Feedback
I would love to receive contributions and feedback! If you'd like to get involved, please contact me through one of the contact methods in my Profile.
License
This project is licensed under the terms of the GNU GPLv3 license.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nettime_py-0.1.5.tar.gz
(30.2 kB
view hashes)
Built Distribution
nettime_py-0.1.5-py3-none-any.whl
(37.7 kB
view hashes)
Close
Hashes for nettime_py-0.1.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51708b3b8fc34b9d4941e4f3f856b091f074ead631e2f378101e7b3a23ec3510 |
|
MD5 | 7d7be711c118abedb8480d44bcfee13f |
|
BLAKE2b-256 | 3d5addebf663d78023de66be2d3519d46c97cabd018fa063b0aa909bfb1961b5 |