Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

NarrowBand library

Project description

# NarrowBand Lib for Python 3

This is an easy-to-use library for Narrowband IoT applications.

It communicates via UART with your target device.

It simplifies the setup and use, you don't have to manually send AT commands.

For beginners, use the Narrowband class with it's pre-defined methods.
If you want more freedom, feel free to check out the NarrowbandCore class.


## Requirements:

- Python >= 3
- PySerial >= 3.4

## Example:

If you use a supported board, the lib will auto-detect it:

```python
import narrowband

nb = narrowband.Narrowband()
nb.attach()
while 1:
time.sleep(1)
```

For any other, defined the device and it's values (port, baudrate and timeout):

```
import narrowband

nb = narrowband.Narrowband("COM1", 9600, 1)
nb.attach()
while 1:
time.sleep(1)
```

## Testing

Tested & verified Narrowband chips:

* Quectel BC68
* Quectel BC95-B8


## License

Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International Public License

Project details


Release history Release notifications

Download files

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

Files for NarrowBand, version 0.2.1
Filename, size File type Python version Upload date Hashes
Filename, size NarrowBand-0.2.1-py3-none-any.whl (4.7 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size NarrowBand-0.2.1.tar.gz (4.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page