| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
GSM modem module for Python
python-gsmmodem is a module that allows easy control of a GSM modem attached to the system. It also includes a couple of useful commandline utilities for interacting with a GSM modem.
Its features include:
Bundled utilities:
There are multiple ways to install python-gsmmodem-new package:
pip install python-gsmmodem-new
pip will automatically download and install all dependencies, as required. You can also utilise easy_install in the same manner as using pip above.
If you are utilising python-gsmmodem-new as part of another project, add it to your install_requires section of your setup.py file and upon your project's installation, it will be pulled in automatically.
Download a python-gsmmodem-new archive from PyPI, extract it and install the package with command:
python setup.py install
Note that python-gsmmodem-new package relies on pyserial for serial communications: http://pyserial.sourceforge.net
Clone from GitHub:
git clone https://github.com/babca/python-gsmmodem.git cd python-gsmmodem/ python setup.py install
Note that python-gsmmodem-new package relies on pyserial for serial communications: http://pyserial.sourceforge.net
To run all unit tests, do:
python setup.py test
Unit test code coverage information may be generated by using coverage. You can execute it directly from setup.py by doing:
python setup.py coverage
This will run all unit tests and report on code coverage statistics.
This package contains Sphinx-based documentation. To manually build or test the documentation locally, do the following:
git clone https://github.com/babca/python-gsmmodem.git cd python-gsmmodem pip install .[doc] cd doc make html
For true isolation, you may wish to run the above commands within a virtualenv, which will help you manage this development installation.
Copyright (C) 2013 Francois Aucamp See AUTHORS for all authors and contact information.
| Back | FazBrowse Home | New Git URL |