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
Release history Release notifications | RSS feed
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d66a36f9027235c1f2f9d5b36a9bfe51a777e41100ce7d33af0a7d7f68545901
|
|
| MD5 |
fcd918c2fbc3697b2ebfe2832e232157
|
|
| BLAKE2b-256 |
03691d59b1d7d0e0ce1d70c48e570bb41b56ada0b9b55e20726df4813285bf24
|
File details
Details for the file apiquotamanager-0.0.1-py3-none-any.whl.
File metadata
- Download URL: apiquotamanager-0.0.1-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b783ddb5cd4bb3d341334a9a5714541829f3d00cc7e560bcc097adeefc57c6a0
|
|
| MD5 |
69858f531572c0b59f917d5d7da98b50
|
|
| BLAKE2b-256 |
48940a8c69e110a994bed26683169b4ee4a7b6ba05b6919c9a2394656abfb281
|