Installation
Install from PyPI
pip install zetamarkets_py
Install from Source
You can add optional dependencies for running trading examples or docs using the --with flag.
poetry install [--with examples, docs]
Usage
Setting up a Solana wallet
Please follow the Solana wallet creation docs to set up a wallet if you don't already have one locally.
By default the SDK will look for the wallet at ~/.config/solana/id.json
Running the examples
Run the various code examples provided in the examples directory.
Development
Formatting and Linting
We use black with isort for formatting and ruff for linting
poetry format
poetry lint
Release files for zetamarkets-py 0.2.79
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| zetamarkets_py-0.2.79.tar.gz | 131.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| zetamarkets_py-0.2.79-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 422.4 kB
Release files / zetamarkets_py-0.2.79.tar.gz
| Download URL | zetamarkets_py-0.2.79.tar.gz |
|---|---|
| Size | 131.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bf4ac207151eed4e3ece9c430109ba4d91a4336a8c365d02b540aae067ca0b0b
|
|
BLAKE2b-256 checksum How to use checksums |
bb0a31dbc02921463dbfff178d7269fe42f298a8c63a32fe31cba3572c8c64bb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.5
|
Release files / zetamarkets_py-0.2.79-py3-none-any.whl
| Download URL | zetamarkets_py-0.2.79-py3-none-any.whl |
|---|---|
| Size | 291.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3571360c3958dd98628bc9df161f4736db07af5a9a528c13bfda2357faed6ec8
|
|
BLAKE2b-256 checksum How to use checksums |
1aa3ed221e55f0f0b6b8b014a6a166e5ce4e387d4040daf4579eff6cfffcf28c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.5
|