https://github.com/sepinetam/openai-api-polling
Polling OpenAI API without rate limit issues.
https://github.com/sepinetam/openai-api-polling
api-polling openai
Last synced: 5 months ago
JSON representation
Polling OpenAI API without rate limit issues.
- Host: GitHub
- URL: https://github.com/sepinetam/openai-api-polling
- Owner: SepineTam
- Created: 2025-12-04T08:57:31.000Z (6 months ago)
- Default Branch: master
- Last Pushed: 2025-12-16T02:32:04.000Z (5 months ago)
- Last Synced: 2025-12-17T19:36:02.963Z (5 months ago)
- Topics: api-polling, openai
- Language: Python
- Homepage:
- Size: 76.2 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# OpenAI-API-Polling
[](https://pypi.org/project/openai-api-polling/)
[](https://pepy.tech/projects/openai-api-polling)
Polling OpenAI API without rate limit issues.
## Quickly Start
You can use `pip` to install this package.
```bash
pip install openai-api-polling
```
A simple example:
```python
from openai_api_polling.polling import ClientPolling
api_keys = [
"",
" b",
" 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)
```