Skip to main content

Add your description here

Project description

EverhourAPI Library

This library provides a simple interface to interact with the Everhour API.

Databricks runtime information

  • This is a library to connect with everhour from python (using spark).
  • Dependencies current target alignment with Databricks Runtime v14.3LTS

Testing

For the testing of our module, we use mock data provided by the actual Everhour API to simulate production API interactions during testing. This ensures reliable and consistent test results without requiring live API access. The mock data is generated by Everhour and replicates real-world responses. This approach enhances security by keeping API keys safe and improves test speed.

To manage this, we use VCR. VCR records HTTP interactions with the Everhour API and replays them during tests, allowing us to simulate real API calls without hitting the live server. This ensures our tests are both fast and stable while closely mimicking production behavior.

Everhour API mock data

Run tests: uv run pytest

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

python_everhour-0.1.1.tar.gz (32.8 kB view details)

Uploaded Source

Built Distribution

python_everhour-0.1.1-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file python_everhour-0.1.1.tar.gz.

File metadata

  • Download URL: python_everhour-0.1.1.tar.gz
  • Upload date:
  • Size: 32.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for python_everhour-0.1.1.tar.gz
Algorithm Hash digest
SHA256 76674eb2255524b8a8104011631926c011a987b6e70b75b3c7925d3cbb2e5559
MD5 8976643868161dbb0368e546b4b32854
BLAKE2b-256 8437a3c0e4cbafe486a97a8bf070e29ce37a390d89ae42d53624e03c2a88d416

See more details on using hashes here.

File details

Details for the file python_everhour-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for python_everhour-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 17c30fb7623a9a8f8a4244e94650153f1567e6a1169de5a61254d918a4fe03df
MD5 a7ac5ec2808020f941055d0f67bb693b
BLAKE2b-256 4c28e8b27ca3d624692f0af5ac6c99baf93d2d1ede70139fead8e0a8cd58824b

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