Skip to main content

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.

Release files for nettime-py 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nettime-py 0.1.5
File Size Uploaded
nettime_py-0.1.5.tar.gz 30.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nettime-py 0.1.5
File Interpreter ABI Platform
nettime_py-0.1.5-py3-none-any.whl Python 3 none any Details

Total release size: 67.9 kB

Release files / nettime_py-0.1.5.tar.gz

Download URL nettime_py-0.1.5.tar.gz
Size 30.2 kB
Tags Source
SHA-256 checksum
How to use checksums
87d85e1ba3733263e5e5aaecc41430912f9099cfcf047ee6a26f9155a2561ed2
BLAKE2b-256 checksum
How to use checksums
81d33909a5d3be438f890e04de8f07b192a94e41fa7ccfc470a4320530a78dc7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.0.0 CPython/3.12.2

Release files / nettime_py-0.1.5-py3-none-any.whl

Download URL nettime_py-0.1.5-py3-none-any.whl
Size 37.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
51708b3b8fc34b9d4941e4f3f856b091f074ead631e2f378101e7b3a23ec3510
BLAKE2b-256 checksum
How to use checksums
3d5addebf663d78023de66be2d3519d46c97cabd018fa063b0aa909bfb1961b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.0.0 CPython/3.12.2

Release history Release notifications | RSS feed

This release

0.1.5 This release

2 release files

0.1.4

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page