Skip to main content

a package to communicate with Tabdeal platform

Reason this release was yanked:

Test version only, functional version coming soon

Project description

Unofficial Tabdeal API

PyPI Status Python Version License

a Package to communicate with Tabdeal platform

Requirements

  • aiohttp

Usage

  1. Initialize an aiohttp.ClientSession asynchronously via: async with aiohttp.ClientSession() as client_session:

  2. Create a TabdealClient object inside the async wrap: my_client: TabdealClient = TabdealClient(USER_HASH, USER_AUTHORIZATION_KEY, client_session)

  3. 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")

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: 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.

Building

NEW METHOD:

  • pip install --upgrade build

  • Use the build command (python -m build)

TODO

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

unofficial_tabdeal_api-0.0.3.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

unofficial_tabdeal_api-0.0.3-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

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

Hashes for unofficial_tabdeal_api-0.0.3.tar.gz
Algorithm Hash digest
SHA256 0d4aac5e393fd21fead6d42a8882a7e85f817435bad41e82dface17818645f72
MD5 f3ba9bc53dd1db0e0a894bd59ee8e979
BLAKE2b-256 d7d892e66aa36504b302cc44e4066f8f73881502eaaa80e22b4380c696efb7bd

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file unofficial_tabdeal_api-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for unofficial_tabdeal_api-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 85d66a1ee17c6947f00155394c30574f93ab6541ede6775680df9cb831194891
MD5 4fe1e03905af1303404e0232b8ce8a1b
BLAKE2b-256 3a4d1fb27c0dfb4f59b49ac76493ee72c0c583b77af83e26decf55468641cdd6

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page