asyncio-gpsd-client-0.2.1
توضیحات
asyncio compatible gpsd client
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | asyncio-gpsd-client-0.2.1 |
| نام | asyncio-gpsd-client |
| نسخه کتابخانه | 0.2.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Zachary Juang |
| ایمیل نویسنده | zachary822@me.com |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/asyncio-gpsd-client/ |
| مجوز | MIT |
# Asycio Gpsd Client
# Install
```shell
pip install asyncio-gpsd-client
```
# Usage
```python
import asyncio
from asyncio_gpsd_client import GpsdClient
HOST = "127.0.0.1"
PORT = 2947
async def main():
async with GpsdClient(HOST, PORT) as client:
print(await client.poll()) # Get gpsd POLL response
while True:
print(await client.get_result()) # Get gpsd TPV responses
asyncio.run(main())
```
نیازمندی
| مقدار | نام |
|---|---|
| >=1.10.2,<2.0.0 | pydantic |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.10,<4.0 | Python |
نحوه نصب
نصب پکیج whl asyncio-gpsd-client-0.2.1:
pip install asyncio-gpsd-client-0.2.1.whl
نصب پکیج tar.gz asyncio-gpsd-client-0.2.1:
pip install asyncio-gpsd-client-0.2.1.tar.gz