Exapi (Exchange API)
Install pyenv
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 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:
Release files for exapi 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| exapi-0.1.1.tar.gz | 33.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| exapi-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 76.7 kB
Release files / exapi-0.1.1.tar.gz
| Download URL | exapi-0.1.1.tar.gz |
|---|---|
| Size | 33.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6a97d1a756f76c38f9038b645d8a1a4f0fca785ef48f6070afdca638685c04cf
|
|
BLAKE2b-256 checksum How to use checksums |
33c5d7ac536591d2b6e43f569463cb7af23218683abd0610612e906a43a3edfa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.1
|
Release files / exapi-0.1.1-py3-none-any.whl
| Download URL | exapi-0.1.1-py3-none-any.whl |
|---|---|
| Size | 42.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c25f9b7f4cb37c54bc8ff3ec1d388b1a89e1f79187e8ba41e7cbd894f80f5008
|
|
BLAKE2b-256 checksum How to use checksums |
795aa6e87e1abd4fef5f17cfa7a0c4a0fa2a255711d94cc5beecfe6cc2df8755
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.1
|