Skip to main content

Python package to consume netTime application by SPEC, SA.

Project description

netTime API Client

Python API client for netTime (SPEC, SA).

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 details)

Uploaded Source

Built Distribution

nettime_py-0.1.5-py3-none-any.whl (37.7 kB view details)

Uploaded Python 3

File details

Details for the file nettime_py-0.1.5.tar.gz.

File metadata

  • Download URL: nettime_py-0.1.5.tar.gz
  • Upload date:
  • Size: 30.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for nettime_py-0.1.5.tar.gz
Algorithm Hash digest
SHA256 87d85e1ba3733263e5e5aaecc41430912f9099cfcf047ee6a26f9155a2561ed2
MD5 fdbf8807749f511a5d74ee364504390f
BLAKE2b-256 81d33909a5d3be438f890e04de8f07b192a94e41fa7ccfc470a4320530a78dc7

See more details on using hashes here.

File details

Details for the file nettime_py-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: nettime_py-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 37.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for nettime_py-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 51708b3b8fc34b9d4941e4f3f856b091f074ead631e2f378101e7b3a23ec3510
MD5 7d7be711c118abedb8480d44bcfee13f
BLAKE2b-256 3d5addebf663d78023de66be2d3519d46c97cabd018fa063b0aa909bfb1961b5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page