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

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.2.tar.gz (6.8 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.2-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: unofficial_tabdeal_api-0.1.2.tar.gz
  • Upload date:
  • Size: 6.8 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.2.tar.gz
Algorithm Hash digest
SHA256 739e87922510798624a3ddd3031b482b548e7078d6867d0e7eedfa312faa854d
MD5 3891fe1939f8c1cb0ebe2cebf2b45cab
BLAKE2b-256 9b6b872753f1cfb2df3d8cf1982a44c9cf10cb4c673b70bd2a54a5d8ca5f80ad

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for unofficial_tabdeal_api-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a9f963f050ecf8142fdc797f38fdaf55907adddfbe99c1b7b14f78382ddbcb72
MD5 a59ac3e4df7ce54790bea81087f5fad5
BLAKE2b-256 13723d6f4e535ebf38229bdd17ec4ce868fee38020543e5d2934aa6470e6f3fd

See more details on using hashes here.

Provenance

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