Metadata-Version: 2.1
Name: sos-access
Version: 0.0.8
Summary: Python client for sending alarm information via SOS Access v4
Home-page: https://github.com/pwitab/sos-access
Author: Henrik Palmlund Wahlgren @ Palmlund Wahlgren Innovative Technology AB
Author-email: henrik@pwit.se
License: BSD-3
Keywords: alarm,sos access
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: License :: OSI Approved :: BSD License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.6
Classifier: Topic :: Software Development :: Libraries
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: marshmallow (==3.4.0)
Requires-Dist: xmltodict

# sos-access
Python client for sending alarm information via SOS Access v4

# Installation

Python version supported: 3.6+

```bash
pip install sos-access
``` 

# Example usage:


```python

client = SOSAccessClient(
    transmitter_code='IK00001',
    transmitter_type='SV001',
    authentication='012345678912345',
    receiver_address=('alarm.example.com',1234),
    receiver_id='ALARM-OPER',
    use_single_receiver=True,
    use_tls=True
)

client.send_alarm(event_code='AL')

```

# Documentation

See full documentation on https://sos-access.readthedocs.io


# Changelog


The format is based on `Keep a Changelog: https://keepachangelog.com/en/1.0.0/`,
and this project adheres to `Semantic Versioning: https://semver.org/spec/v2.0.0.html`

### Unreleased

### Added

### Changed

### Deprecated

### Removed

### Fixed

### Security


## 0.0.8 (2021-08-26)

### Fixed

* Fixed #17. newauthentication should be optional since it is not in the data when a 
  password change request was rejected due to wrong password

## 0.0.7 (2020-03-06)

### Fixed

* Fixed #11. Error in docstring.
* Fixed #10. additional_info on AlarmRequest as dict did not convert to string.
* Fixed #12. Encoding error when sending to some alarm receives.

## 0.0.6 (2020-02-06)

### Fixed

* Upgraded marshmallow to 3.4 and fixed version in installation. Fixes: #6

### Changed

* No exception logging in retry decorator since it creates noise in Sentry.

## 0.0.5 (2019-01-07)

First client implementation ready for production use. Previous version was
development versions and had some bugs in it. It still doesn't support all
features but can be used without things breaking.
Verified against SOS Alarm's alarm system.



