Skip to main content

An async GSM modem driver library

Project description

async-gsm-modem

async-gsm-modem is YetAnother™ Python library for controlling an AT GSM modem using asyncio.

Installation

pip3 install async-gsm-modem

Usage

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

async-gsm-modem-0.1.2.tar.gz (17.3 kB view details)

Uploaded Source

Built Distribution

async_gsm_modem-0.1.2-py3-none-any.whl (23.1 kB view details)

Uploaded Python 3

File details

Details for the file async-gsm-modem-0.1.2.tar.gz.

File metadata

  • Download URL: async-gsm-modem-0.1.2.tar.gz
  • Upload date:
  • Size: 17.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.24.0 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.10

File hashes

Hashes for async-gsm-modem-0.1.2.tar.gz
Algorithm Hash digest
SHA256 9678c12f74964933164e23b3159753185bde264f38fe35f6c3e1634711f02d66
MD5 1b23f13fc637261be46817c14809b3d2
BLAKE2b-256 983464613e8163657477fa48209102d7b2ee9b826b8ef62df0ae64abf570723a

See more details on using hashes here.

File details

Details for the file async_gsm_modem-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: async_gsm_modem-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 23.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.24.0 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.10

File hashes

Hashes for async_gsm_modem-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1f7ce6e778f48edab641d33a908bbac2e641cac7833049e72bebfe035e66ad68
MD5 9053419ba816f6f18534464b97db36c1
BLAKE2b-256 6eaa86e8492747c911ee873d680efa7d0daa881f3d3059a9ffdaeede96bd07bc

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page