async-gsm-modem-0.1.2
توضیحات
An async GSM modem driver library
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | async-gsm-modem-0.1.2 |
| نام | async-gsm-modem |
| نسخه کتابخانه | 0.1.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | sinusoidal |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://github.com/Sinusoidal36/async-gsm-modem |
| آدرس اینترنتی | https://pypi.org/project/async-gsm-modem/ |
| مجوز | - |
# async-gsm-modem
async-gsm-modem is YetAnother™ Python library for controlling an AT GSM modem using asyncio.
## Installation
```bash
pip3 install async-gsm-modem
```
## Usage
```python
import asyncio
from async_gsm_modem.quectel_ec25 import Modem
async def example():
modem = Modem('/dev/ttyUSB2', 115200)
await modem.connect()
await modem.ping()
for message in await modem.list_messages():
print(message)
await modem.close()
loop = asyncio.get_event_loop()
loop.run_until_complete(example())
```
## TODO
- Fully implement EC25 module
- Implement generic modem class
- MMS functionality
- Testing
- More examples
- Documentation
- Full typing
## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
## License
[Apache 2](https://choosealicense.com/licenses/apache-2.0/)
نیازمندی
| مقدار | نام |
|---|---|
| - | pyserial-asyncio |
| - | smspdudecoder |
| - | pydantic |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl async-gsm-modem-0.1.2:
pip install async-gsm-modem-0.1.2.whl
نصب پکیج tar.gz async-gsm-modem-0.1.2:
pip install async-gsm-modem-0.1.2.tar.gz