[Feature Request] Async support for REST API
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 30/100
Research direction
Start by reviewing the SDK's synchronous REST client and its use of the requests library, then compare async HTTP-library options such as httpx. Done means async REST operations are available for Binance services while existing synchronous usage remains compatible.
Written by the indexing model from the issue text.
Description
Currently, the Binance Python SDK relies on the synchronous requests library for its REST API operations. This makes it challenging to integrate with asynchronous Python applications and frameworks.
- Please consider adding support for async REST API operations to the SDK, such as by providing an async client or refactoring key functionality to use an async HTTP library (e.g.,
httpx, which supports both sync and async). - This enhancement would greatly benefit developers who need high concurrency with Binance services but cannot use WebSocket.
- Maintaining backwards compatibility with synchronous usage would be ideal.
Thank you for considering this feature!
- Dominant language
- Python
- Stars
- 2.9k
- Forks
- 699
- PR merge metrics
- No merged PRs in 30d
Getting set up
We have not checked this project's setup files yet. Start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from binance/binance-connector-python
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
binance/binance-connector-python#514 · 1 comment ·
-
Answered
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
binance/binance-connector-python#502 · 3 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 68/100
binance/binance-connector-python#553 · 2 comments ·
-
Answered
Difficulty 3/5 1-2 days Newbie friendliness 68/100
binance/binance-connector-python#513 · 2 comments ·
-
Answered
Difficulty 2/5 1-3 hours Newbie friendliness 56/100
binance/binance-connector-python#512 · 1 comment ·
All issues in binance/binance-connector-python
Similar issues
-
docs pydanty:is-working
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
pydantic/pydantic-ai#8863 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
run-llama/llama_index#23278 ·
Maintainers usually reply within 2 days
-
documentation from-review-extraction github-actions priority: low severity:nit
Difficulty 1/5 Under an hour Newbie friendliness 92/100
LearningCircuit/local-deep-research#6946 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
oracle/langchain-oracle#323 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
tenstorrent/tt-metal#58057 · 1 comment ·
Maintainers usually reply within 1 day