Skip to main content

API Quota Manager Python

Project description

JobSync API-Quota-Manager Library

To install

pip install apiquotamanager

Quota Management

To import

from apiquotamanager.taleo_quota_manager import QuotaManager

Example

from apiquotamanager.taleo_quota_manager import QuotaManager
obj_q = QuotaManager('taleo-enterprise-api')
obj_q.calculate_requests_quota(total_quota=2000, used_quota=500, qtime='1 minute')
obj_q.calculate_requests_quota(total_quota=2000, used_quota=500, qtime='1 hour')
obj_q.calculate_requests_quota(total_quota=2000, used_quota=500, qtime='1 day')
obj_q.calculate_requests_quota(total_quota=2000, used_quota=500, qtime='1 month')
obj_q.calculate_requests_quota(total_quota=2000, used_quota=500, qtime='1 year')

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

apiquotamanager-0.0.1.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

apiquotamanager-0.0.1-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file apiquotamanager-0.0.1.tar.gz.

File metadata

  • Download URL: apiquotamanager-0.0.1.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for apiquotamanager-0.0.1.tar.gz
Algorithm Hash digest
SHA256 d66a36f9027235c1f2f9d5b36a9bfe51a777e41100ce7d33af0a7d7f68545901
MD5 fcd918c2fbc3697b2ebfe2832e232157
BLAKE2b-256 03691d59b1d7d0e0ce1d70c48e570bb41b56ada0b9b55e20726df4813285bf24

See more details on using hashes here.

File details

Details for the file apiquotamanager-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for apiquotamanager-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b783ddb5cd4bb3d341334a9a5714541829f3d00cc7e560bcc097adeefc57c6a0
MD5 69858f531572c0b59f917d5d7da98b50
BLAKE2b-256 48940a8c69e110a994bed26683169b4ee4a7b6ba05b6919c9a2394656abfb281

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