Skip to main content

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


Download files

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

Source Distribution

NarrowBand-0.2.1.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

NarrowBand-0.2.1-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file NarrowBand-0.2.1.tar.gz.

File metadata

  • Download URL: NarrowBand-0.2.1.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.7.0

File hashes

Hashes for NarrowBand-0.2.1.tar.gz
Algorithm Hash digest
SHA256 9a65b4ed16fab71445312e93780f76b5abf50dd3935fa1e1b9c37a4b95388156
MD5 99ed3c8319a1573ba7704be904bf350b
BLAKE2b-256 c3290d35a9c27d43ab7527fc06d73222d87e7f5643b3b261ae202beca37ad9e3

See more details on using hashes here.

File details

Details for the file NarrowBand-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: NarrowBand-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.7.0

File hashes

Hashes for NarrowBand-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a37ad2a4f562fdce36c70cfbe65ee08f05e38b88987d54c8f3de58521130981b
MD5 5fc5a71bcd7c3e4574ce6fe987f0e8fa
BLAKE2b-256 eee049e59a5f70c35ae0a12709f5956e7367623c304a3c5203441c47f4490b44

See more details on using hashes here.

Supported by

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