a package to communicate with Tabdeal platform
Reason this release was yanked:
Test version only, functional version coming soon
Project description
Unofficial Tabdeal API
a Package to communicate with Tabdeal platform
Requirements
aiohttp
Usage
-
Initialize an
aiohttp.ClientSessionasynchronously via:async with aiohttp.ClientSession() as client_session: -
Create a
TabdealClientobject inside the async wrap:my_client: TabdealClient = TabdealClient(USER_HASH, USER_AUTHORIZATION_KEY, client_session) -
Run your desired commands, Remember to
awaitthe methods as all of them (except a very few) are asynchronous:bomeusdt_asset_id = await my_client.get_margin_asset_id("BOMEUSDT")
Current problems
-
Most exceptions are caught broadly using the
except Exception as exception, This raises Pylint-W0718, but i currently don't have a fix for it. -
Some parts of the code works flawlessly but raises Pylance-reportCallIssue, Pylance-reportArgumentType or Mypy-call-overload which i mitigate by adding
# type: ignoreat the end of the line. This must be investigated later and fixed with a proper solution. I don't know a solution for it yet.
Building
NEW METHOD:
-
pip install --upgrade build -
Use the
buildcommand (python -m build)
TODO
-
Use
README.rstinstead ofREADME.md -
Fix Pylint-W0718
-
Fix Pylance-reportCallIssue, Pylance-reportArgumentType or Mypy-call-overload which i mitigate by adding
# type: ignoreat the end of the line. -
Fix missing library stubs or py.typed marker
MyPy-import-untyped
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
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 unofficial_tabdeal_api-0.0.3.tar.gz.
File metadata
- Download URL: unofficial_tabdeal_api-0.0.3.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0d4aac5e393fd21fead6d42a8882a7e85f817435bad41e82dface17818645f72
|
|
| MD5 |
f3ba9bc53dd1db0e0a894bd59ee8e979
|
|
| BLAKE2b-256 |
d7d892e66aa36504b302cc44e4066f8f73881502eaaa80e22b4380c696efb7bd
|
Provenance
The following attestation bundles were made for unofficial_tabdeal_api-0.0.3.tar.gz:
Publisher:
release-packge.yml on MohsenHNSJ/unofficial_tabdeal_api
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
unofficial_tabdeal_api-0.0.3.tar.gz -
Subject digest:
0d4aac5e393fd21fead6d42a8882a7e85f817435bad41e82dface17818645f72 - Sigstore transparency entry: 170028416
- Sigstore integration time:
-
Permalink:
MohsenHNSJ/unofficial_tabdeal_api@8c17f9c0a6bf80b925549932ccfed5f923327006 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/MohsenHNSJ
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-packge.yml@8c17f9c0a6bf80b925549932ccfed5f923327006 -
Trigger Event:
push
-
Statement type:
File details
Details for the file unofficial_tabdeal_api-0.0.3-py3-none-any.whl.
File metadata
- Download URL: unofficial_tabdeal_api-0.0.3-py3-none-any.whl
- Upload date:
- Size: 8.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
85d66a1ee17c6947f00155394c30574f93ab6541ede6775680df9cb831194891
|
|
| MD5 |
4fe1e03905af1303404e0232b8ce8a1b
|
|
| BLAKE2b-256 |
3a4d1fb27c0dfb4f59b49ac76493ee72c0c583b77af83e26decf55468641cdd6
|
Provenance
The following attestation bundles were made for unofficial_tabdeal_api-0.0.3-py3-none-any.whl:
Publisher:
release-packge.yml on MohsenHNSJ/unofficial_tabdeal_api
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
unofficial_tabdeal_api-0.0.3-py3-none-any.whl -
Subject digest:
85d66a1ee17c6947f00155394c30574f93ab6541ede6775680df9cb831194891 - Sigstore transparency entry: 170028418
- Sigstore integration time:
-
Permalink:
MohsenHNSJ/unofficial_tabdeal_api@8c17f9c0a6bf80b925549932ccfed5f923327006 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/MohsenHNSJ
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-packge.yml@8c17f9c0a6bf80b925549932ccfed5f923327006 -
Trigger Event:
push
-
Statement type: