Skip to main content

azpython

    <!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
    [![All Contributors](https://img.shields.io/badge/all_contributors-2-orange.svg?style=flat-square)](#contributors-)
    <!-- ALL-CONTRIBUTORS-BADGE:END -->
    
    Official Python3 API connector for AZ.COM's HTTP APIs.
    
    ## Table of Contents
    
    - [About](#about)
    - [Installation](#installation)
    - [Usage](#usage)
    - [Examples](#examples)
    - [Contact](#contact)
    
    ## About
    Put simply, `azpython` (Python + AZ.COM) is the official lightweight one-stop-shop module for the AZ.COM HTTP APIs. 
    
    ## Installation
    `azpython` requires Python 3.9.1 or higher. The module can be installed manually or via [PyPI](https://pypi.org/project/azpython/) with `pip`:
    ```
    pip install azpython
    ```
    
    ## Usage
    You can retrieve a specific spot market like so:
    ```python
    from azpython.spot import Spot
    ```
    
    Create an HTTP session and connect via WebSocket for Inverse on mainnet:
    ```python
    az = Spot(host="https://s-api.myaztests.com", access_key='', secret_key='')
    ```
    
    Information can be sent to, or retrieved from, the AZ.COM APIs:
    ```python
    print(az.balance("usdt"))
    ```
    
    You can retrieve a specific future market like so:
    ```python
    from azpython.perp import Perp
    ```
    
    Create an HTTP session and connect via WebSocket for Inverse on mainnet:
    ```python
    az = Perp(host="https://f-api.myaztests.com", access_key='', secret_key='')
    ```
    
    Information can be sent to, or retrieved from, the AZ.COM APIs:
    ```python
    print(az.get_account_capital())
    ```
    
    ## Examples
    You can find more examples in the project folder /examples/
    
    ## Contact
    You can reach out for support on the [AZAPI Telegram](https://localhost) group chat.

Metadata

Release files for azpython 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for azpython 0.1.1
File Size Uploaded
azpython-0.1.1.tar.gz 18.0 kB Details

Release files / azpython-0.1.1.tar.gz

Download URL azpython-0.1.1.tar.gz
Size 18.0 kB
Tags Source
SHA-256 checksum
How to use checksums
2ab0c9ac92cdab8bf2e16fb9d076facf140afb9a451ac2abf6d98451240ab082
BLAKE2b-256 checksum
How to use checksums
623ab76e3b653c88b0c6b4d06a1e674f15fd5ded4cdb5e6fd2e503a7a3433f74
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.24

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page