<div align="center">
<img height="120px" src="./logos/zeta-py.png" />
<h1 style="margin-top: 0px">Zeta Python SDK 🐍</h1>
<p>
<a href="https://badge.fury.io/py/zetamarkets-py"><img src="https://badge.fury.io/py/zetamarkets-py.svg" alt="PyPI version" height="18"></a>
<a href='https://zetamarkets-py.readthedocs.io/en/latest/?badge=latest'>
<img src='https://readthedocs.org/projects/zetamarkets-py/badge/?version=latest' alt='Documentation Status' />
</a>
<a href="https://opensource.org/licenses/Apache-2.0"
><img
alt="License"
src="https://img.shields.io/badge/License-Apache_2.0-blue.svg"
/></a>
<a href="https://discord.gg/dD7YREfBkR"
><img
alt="Discord Chat"
src="https://img.shields.io/discord/841556000632078378?color=blueviolet"
/></a>
</p>
</div>
## Installation
### Install from PyPI
```sh
pip install zetamarkets_py
```
### Install from Source
You can add optional dependencies for running trading examples or docs using the `--with` flag.
```sh
poetry install [--with examples, docs]
```
## Usage
### Setting up a Solana wallet
Please follow the [Solana wallet creation docs](https://docs.solana.com/wallet-guide/file-system-wallet) 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](https://zetamarkets-py.readthedocs.io/en/latest/examples.html#) directory.
## Development
### Formatting and Linting
We use [black](https://github.com/psf/black) with [isort](https://github.com/PyCQA/isort) for formatting and [ruff](https://github.com/astral-sh/ruff) for linting
```sh
poetry format
poetry lint
```
Raw data
{
"_id": null,
"home_page": "https://github.com/zetamarkets/zetamarkets-py",
"name": "zetamarkets-py",
"maintainer": null,
"docs_url": null,
"requires_python": "<3.13,>=3.10",
"maintainer_email": null,
"keywords": null,
"author": "Tristan0x",
"author_email": "tristan@sierra.team",
"download_url": "https://files.pythonhosted.org/packages/a3/4e/1ff57e40c713d2790180f8311e043f07d208683d2cb98b36254cd218085c/zetamarkets_py-0.2.68.tar.gz",
"platform": null,
"description": "<div align=\"center\">\n <img height=\"120px\" src=\"./logos/zeta-py.png\" />\n\n <h1 style=\"margin-top: 0px\">Zeta Python SDK \ud83d\udc0d</h1>\n\n <p>\n <a href=\"https://badge.fury.io/py/zetamarkets-py\"><img src=\"https://badge.fury.io/py/zetamarkets-py.svg\" alt=\"PyPI version\" height=\"18\"></a>\n <a href='https://zetamarkets-py.readthedocs.io/en/latest/?badge=latest'>\n <img src='https://readthedocs.org/projects/zetamarkets-py/badge/?version=latest' alt='Documentation Status' />\n </a>\n <a href=\"https://opensource.org/licenses/Apache-2.0\"\n ><img\n alt=\"License\"\n src=\"https://img.shields.io/badge/License-Apache_2.0-blue.svg\"\n /></a>\n <a href=\"https://discord.gg/dD7YREfBkR\"\n ><img\n alt=\"Discord Chat\"\n src=\"https://img.shields.io/discord/841556000632078378?color=blueviolet\"\n /></a>\n </p>\n</div>\n\n## Installation\n\n### Install from PyPI\n\n```sh\npip install zetamarkets_py\n```\n\n### Install from Source\n\nYou can add optional dependencies for running trading examples or docs using the `--with` flag.\n\n```sh\npoetry install [--with examples, docs]\n```\n\n## Usage\n\n### Setting up a Solana wallet\n\nPlease follow the [Solana wallet creation docs](https://docs.solana.com/wallet-guide/file-system-wallet) to set up a wallet if you don't already have one locally.\nBy default the SDK will look for the wallet at `~/.config/solana/id.json`\n\n### Running the examples\n\nRun the various code examples provided in the [examples](https://zetamarkets-py.readthedocs.io/en/latest/examples.html#) directory.\n\n## Development\n\n### Formatting and Linting\n\nWe use [black](https://github.com/psf/black) with [isort](https://github.com/PyCQA/isort) for formatting and [ruff](https://github.com/astral-sh/ruff) for linting\n\n```sh\npoetry format\npoetry lint\n```\n\n",
"bugtrack_url": null,
"license": "Apache-2.0",
"summary": "Python SDK for Zeta Markets",
"version": "0.2.68",
"project_urls": {
"Homepage": "https://github.com/zetamarkets/zetamarkets-py",
"Repository": "https://github.com/zetamarkets/zetamarkets-py"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "8d2dff50099932a1ae3a82be306270cb13465398231836b9d4944d9397a06a24",
"md5": "becfa57428309bd4c57db9a2c05c3b8a",
"sha256": "61e130dcebf1d3c510f0fe09bb590333c8e450bdd8542ef3e0a9d0d8f85a9727"
},
"downloads": -1,
"filename": "zetamarkets_py-0.2.68-py3-none-any.whl",
"has_sig": false,
"md5_digest": "becfa57428309bd4c57db9a2c05c3b8a",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<3.13,>=3.10",
"size": 288585,
"upload_time": "2024-10-20T22:17:10",
"upload_time_iso_8601": "2024-10-20T22:17:10.567143Z",
"url": "https://files.pythonhosted.org/packages/8d/2d/ff50099932a1ae3a82be306270cb13465398231836b9d4944d9397a06a24/zetamarkets_py-0.2.68-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "a34e1ff57e40c713d2790180f8311e043f07d208683d2cb98b36254cd218085c",
"md5": "9911a5a201f32099f68260d219af8f7c",
"sha256": "4b76c3abdc3adcd1b10de8c67245aeeda41364800b683fed66281ce9255c7b37"
},
"downloads": -1,
"filename": "zetamarkets_py-0.2.68.tar.gz",
"has_sig": false,
"md5_digest": "9911a5a201f32099f68260d219af8f7c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<3.13,>=3.10",
"size": 134562,
"upload_time": "2024-10-20T22:17:12",
"upload_time_iso_8601": "2024-10-20T22:17:12.178655Z",
"url": "https://files.pythonhosted.org/packages/a3/4e/1ff57e40c713d2790180f8311e043f07d208683d2cb98b36254cd218085c/zetamarkets_py-0.2.68.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-20 22:17:12",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "zetamarkets",
"github_project": "zetamarkets-py",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "zetamarkets-py"
}