aiopyupbit-0.2.4
توضیحات
python wrapper for upbit API for asyncio and Python
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | aiopyupbit-0.2.4 |
| نام | aiopyupbit |
| نسخه کتابخانه | 0.2.4 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Codejune |
| ایمیل نویسنده | kbj9704@gmail.com |
| آدرس صفحه اصلی | https://github.com/codejune/aiopyupbit |
| آدرس اینترنتی | https://pypi.org/project/aiopyupbit/ |
| مجوز | - |
aiopyupbit
==========
aiopyupbit is python wrapper for upbit API for asyncio and Python
which is base on [pyupbit](https://github.com/sharebook-kr/pyupbit)
Installation
------------
Installing: `pip install aiopyupbit`
Usage
-----
aiopyupbit syntax strives to be similar to [pyupbit](https://github.com/sharebook-kr/pyupbit).
``` python
import asyncio
import aiopyupbit
async def main():
print(await aiopyupbit.get_tickers())
print(await aiopyupbit.get_current_price("KRW-BTC"))
print(await aiopyupbit.get_current_price(["KRW-BTC", "KRW-XRP"]))
print(await aiopyupbit.get_ohlcv("KRW-BTC"))
...
if __name__ == "__main__":
loop = asyncio.new_event_loop()
asyncio.set_event_loop(loop)
loop.run_until_complete(main)
```
About
-----
Some features are not currently implemented:
* WebSocketManager class
Issues
------
Please report any issues via [github issues](https://github.com/codejune/aiopyupbit/issues)
نیازمندی
| مقدار | نام |
|---|---|
| >=1.2.4 | pandas |
| >=3.7.4 | aiohttp |
| >=2.1.0 | pyjwt |
| >=2020.5 | pytz |
| >=2.8.1 | python-dateutil |
| >=1.15.0 | six |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8 | Python |
نحوه نصب
نصب پکیج whl aiopyupbit-0.2.4:
pip install aiopyupbit-0.2.4.whl
نصب پکیج tar.gz aiopyupbit-0.2.4:
pip install aiopyupbit-0.2.4.tar.gz