a Package to communicate with Tabdeal platform
Reason this release was yanked:
Test version only, functional version coming soon
Project description
a Package to communicate with Tabdeal platform
Features
TODO
Requirements
aiohttp
Installation
You can install unofficial tabdeal api via pip from PyPI:
pip install unofficial-tabdeal-api
Usage
# Initialize aiohttp.ClientSession asynchronously
async with aiohttp.ClientSession() as client_session:
# Create a TabdealClient object inside the async wrap
my_client: TabdealClient = TabdealClient(USER_HASH, USER_AUTHORIZATION_KEY, client_session)
# Run your desired commands, remember to `await` the methods as all of them (except a very few) are asynchronous
bomeusdt_asset_id = await my_client.get_margin_asset_id("BOMEUSDT")
Learn more at the Documentation.
Issues
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: ignore at 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.
If you encounter any problems, please file an issue along with a detailed description.
TODO
Fix Pylint-W0718 by catching specific exceptions instead of catching all exceptions.
Fix Pylance-reportCallIssue, Pylance-reportArgumentType or Mypy-call-overload.
Fix missing library stubs or py.typed marker MyPy-import-untyped.
Improve documentation for setup and usage.
Use python built-in TypeGuard (3.10+) as a pre-processor on server responses to mitigate Type issues. (TypeGuard example) (Type Narrowing)
Configure Sphinx thoroughly.
License
Distributed under the terms of the MIT license, unofficial tabdeal api is free and open source software.
Contributing
Contributions are very welcome. To learn more, see the Contributor Guide.
Credits
This project was created with the help of @cjolowicz’s Hypermodern Python Cookiecutter template and @fpgmaas’s Cookiecutter Poetry template.
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.1.3.tar.gz.
File metadata
- Download URL: unofficial_tabdeal_api-0.1.3.tar.gz
- Upload date:
- Size: 8.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f036bbd94ad4da65baa984140020895df2b9c87b836d57c70e35490946a36469
|
|
| MD5 |
78a0cccc9a7613b6d6c09815b98fe1eb
|
|
| BLAKE2b-256 |
1d1f023df3312fdedda32a7e27c6b6a49bce1dfcc30cc676945a8072318cd497
|
Provenance
The following attestation bundles were made for unofficial_tabdeal_api-0.1.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.1.3.tar.gz -
Subject digest:
f036bbd94ad4da65baa984140020895df2b9c87b836d57c70e35490946a36469 - Sigstore transparency entry: 183023133
- Sigstore integration time:
-
Permalink:
MohsenHNSJ/unofficial_tabdeal_api@440c5bcaca6bd2dc0a541bbfbd97d89f920519cf -
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@440c5bcaca6bd2dc0a541bbfbd97d89f920519cf -
Trigger Event:
push
-
Statement type:
File details
Details for the file unofficial_tabdeal_api-0.1.3-py3-none-any.whl.
File metadata
- Download URL: unofficial_tabdeal_api-0.1.3-py3-none-any.whl
- Upload date:
- Size: 9.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f898bebd4f086f5deace2b60397c34fff44c4f9ea10183fbb8b4c8f74784d203
|
|
| MD5 |
557c35cb23b26ee007a67be9e5990325
|
|
| BLAKE2b-256 |
81e6b278867a4372a5598ed7ff80a4eb7ddb088c0f9e057e1a39fafa098c4761
|
Provenance
The following attestation bundles were made for unofficial_tabdeal_api-0.1.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.1.3-py3-none-any.whl -
Subject digest:
f898bebd4f086f5deace2b60397c34fff44c4f9ea10183fbb8b4c8f74784d203 - Sigstore transparency entry: 183023134
- Sigstore integration time:
-
Permalink:
MohsenHNSJ/unofficial_tabdeal_api@440c5bcaca6bd2dc0a541bbfbd97d89f920519cf -
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@440c5bcaca6bd2dc0a541bbfbd97d89f920519cf -
Trigger Event:
push
-
Statement type: