Skip to main content

Async API for exchanges

Project description

Exapi (Exchange API)

Install pyenv

pyenv-installer

curl https://pyenv.run | bash

Add to ~/.profile

if [ -d "$HOME/.pyenv" ] ; then
    export PYENV_ROOT="$HOME/.pyenv"
    command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"
    eval "$(pyenv init -)"
    eval "$(pyenv virtualenv-init -)"
fi

Update

pyenv update

Install python 3.11

pyenv

pyenv install 3.11.1
pyenv global 3.11.1

Getting Started

Update pip

python3 -m pip install --upgrade pip
python3 -m pip install --upgrade setuptools

Creating a virtual environment

rm -rf venv
python3 -m venv venv

Install the module in development mode

python3 -m pip install -Ue '.[dev]'

Build

python3 -m build
# OR
hatch build

Authenticate with the Package Registry

Edit the ~/.pypirc file and add:

[pypi]
  username = __token__
  password = pypi-TOKEN

Deploy to pypi

python3 -m twine upload --repository pypi dist/*

Clear __pycache__

py3clean .

Read:

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

exapi-0.1.1.tar.gz (33.8 kB view hashes)

Uploaded Source

Built Distribution

exapi-0.1.1-py3-none-any.whl (42.8 kB view hashes)

Uploaded Python 3

Supported by

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