Skip to main content

OpenAI-API-Polling

PyPI version PyPI Downloads

Polling OpenAI API without rate limit issues.

Quickly Start

You can use pip to install this package.

pip install openai-api-polling

A simple example:

from openai_api_polling.polling import ClientPolling

api_keys = [
    "<your api key a>", 
    "<your api key> b",
    "<your api key> c",
]
client_polling = ClientPolling(api_keys=api_keys)

for _ in range(10):
    resp = client_polling.client.chat.completions.create(
        model="gpt-4",
        messages=[
            {"role": "system", "content": "You are a helpful assistant."},
            {"role": "user", "content": "Hello! Explain the core of Game Theory."},
        ]
    )
    print(resp.choices[0].message.content)

Metadata

Release files for openai-api-polling 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 openai-api-polling 0.1.5
File Size Uploaded Provenance Actions
openai_api_polling-0.1.5.tar.gz 45.0 kB Without provenance Details for openai_api_polling-0.1.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for openai-api-polling 0.1.5
File Interpreter ABI Platform Actions
openai_api_polling-0.1.5-py3-none-any.whl Python 3 none any Details for openai_api_polling-0.1.5-py3-none-any.whl

Total release size: 51.3 kB

Release files / openai_api_polling-0.1.5.tar.gz

Download URL openai_api_polling-0.1.5.tar.gz
Size 45.0 kB
Tags Source
SHA-256 checksum
How to use checksums
6cf668bcad604e699df2b38c9a271f17f4736f8d6aa0980f19ab0a62a2c04ff6
BLAKE2b-256 checksum
How to use checksums
ade394186facfd7ecfb86e213385bcc379d18cf56d8a264acdeeb8d70c7b508b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.22 {"installer":{"name":"uv","version":"0.9.22","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

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

Download URL openai_api_polling-0.1.5-py3-none-any.whl
Size 6.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a7e6c024305895c7f11777e4ec0d9559a2a30c08ecc2da31f1893c39698ee9dc
BLAKE2b-256 checksum
How to use checksums
46acc9dd36ceed05130a521b2fdbbe655537723247334dd6888b718c4626a534
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.22 {"installer":{"name":"uv","version":"0.9.22","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for openai-api-polling 0.1.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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