driftpy-0.6.8
توضیحات
A Python client for the Drift DEX
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | driftpy-0.6.8 |
| نام | driftpy |
| نسخه کتابخانه | 0.6.8 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | x19 |
| ایمیل نویسنده | https://twitter.com/0xNineteen@gmail.com |
| آدرس صفحه اصلی | https://github.com/drift-labs/driftpy |
| آدرس اینترنتی | https://pypi.org/project/driftpy/ |
| مجوز | MIT |
# DriftPy
<div align="center">
<img src="docs/img/drift.png" width="30%" height="30%">
</div>
DriftPy is the Python client for the [Drift](https://www.drift.trade/) protocol. It allows you to trade and fetch data from Drift using Python.
**[Read the full SDK documentation here!](https://drift-labs.github.io/driftpy/)**
## Installation
```
pip install driftpy
```
Note: requires Python >= 3.10.
## SDK Examples
- `examples/` folder includes more examples of how to use the SDK including how to provide liquidity/become an lp, stake in the insurance fund, etc.
## Setting Up Dev Env
`bash setup.sh`
## Running Unit Tests
`bash test.sh`
## Building the docs
Local Docs: `mkdocs serve`
Updating public docs: `poetry run mkdocs gh-deploy --force`
## Releasing a new version of the package
- `python new_release.py`
- Create a new release at https://github.com/drift-labs/driftpy/releases.
- (The CI process will upload a new version of the package to PyPI.)
نیازمندی
| مقدار | نام |
|---|---|
| ==0.10.0 | anchorpy |
| >=0.25.0,<0.26.0 | solana |
| >=2.28.1,<3.0.0 | requests |
| >=2.28.9,<3.0.0 | types-requests |
| >=1.3.0,<2.0.0 | mkdocs |
| ==0.1.2 | pythclient |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.10,<4.0 | Python |
نحوه نصب
نصب پکیج whl driftpy-0.6.8:
pip install driftpy-0.6.8.whl
نصب پکیج tar.gz driftpy-0.6.8:
pip install driftpy-0.6.8.tar.gz