Skip to main content

a Package to communicate with Tabdeal platform

Project description

Unofficial Tabdeal API

PyPI Status Python Version License Contributor Covenant

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

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

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

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


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.1.1.tar.gz (6.6 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.1.1-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

Details for the file unofficial_tabdeal_api-0.1.1.tar.gz.

File metadata

  • Download URL: unofficial_tabdeal_api-0.1.1.tar.gz
  • Upload date:
  • Size: 6.6 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.1.1.tar.gz
Algorithm Hash digest
SHA256 0f4ac4aff9045798c38ed1d62315b9a6bbaa202e23970a5f4ba429f2e5fd73e1
MD5 d2016702ab8926fd61ae563432fe79ec
BLAKE2b-256 f609deb8f94d9703729a054f3f2cea229092031976f66d44c36108de9bf18e58

See more details on using hashes here.

Provenance

The following attestation bundles were made for unofficial_tabdeal_api-0.1.1.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.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for unofficial_tabdeal_api-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0a74c5c16983ec6603be3f7c0231dffad543c3fb669eb09539c86cd74cf8b509
MD5 d226d7e37e0a0758631abd67ad98e36f
BLAKE2b-256 d4c5511c72175ac9729592f8cf725313a5750aa45957bc451e383db637eac70a

See more details on using hashes here.

Provenance

The following attestation bundles were made for unofficial_tabdeal_api-0.1.1-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