Metadata-Version: 2.4
Name: unetpy
Version: 3.1.3
Summary: Unet Python Gateway
Home-page: https://github.com/org-arl/unet-contrib/tree/master/unetsocket/python
Author: Mandar Chitre, Prasad Anjangi
Author-email: mandar@arl.nus.edu.sg, prasad@subnero.com
License: BSD (3-clause)
Classifier: Development Status :: 5 - Production/Stable
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Requires-Python: >=3
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: numpy>=1.11
Requires-Dist: fjagepy<2,>=1.7.2
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license
Dynamic: license-file
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# unetsocket.py

This python package `unetpy` provides UnetSocket APIs to interact with any modems running UnetStack. The `unetpy` package is built upon [fjagepy](https://github.com/org-arl/fjage/tree/master/gateways/python). This package allows the developers and users to interact with the modem using an interface implementd in python. All the requests made to the modem are using JSON messages. The relevant JSON messages are constructed and sent over TCP. The UnetStack server running on the modem understands these messages, takes corresponding actions and returns the notifications and/or responses back in the form of JSON messages which are parsed by `unetpy`.

## Installation::

```bash
pip install unetpy
```

## Usage

To import all general modules::

```python
from unetpy import *
```

## Examples

- [python-gateway-tutorial.ipynb](python-gateway-tutorial.ipynb)
- [rxdata](rxdata.py)
- [txdata](txdata.py)
