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

PyPI Status Python Version License Contributor Covenant Documentation Status Ruff Nox https://img.shields.io/endpoint?url=https://python-poetry.org/badge/v0.json Actions Status Contributors Stars

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

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.3.tar.gz (8.2 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.3-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

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

Hashes for unofficial_tabdeal_api-0.1.3.tar.gz
Algorithm Hash digest
SHA256 f036bbd94ad4da65baa984140020895df2b9c87b836d57c70e35490946a36469
MD5 78a0cccc9a7613b6d6c09815b98fe1eb
BLAKE2b-256 1d1f023df3312fdedda32a7e27c6b6a49bce1dfcc30cc676945a8072318cd497

See more details on using hashes here.

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

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.3-py3-none-any.whl.

File metadata

File hashes

Hashes for unofficial_tabdeal_api-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f898bebd4f086f5deace2b60397c34fff44c4f9ea10183fbb8b4c8f74784d203
MD5 557c35cb23b26ee007a67be9e5990325
BLAKE2b-256 81e6b278867a4372a5598ed7ff80a4eb7ddb088c0f9e057e1a39fafa098c4761

See more details on using hashes here.

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

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