sos-access
Python client for sending alarm information via SOS Access v4
Installation
Python version supported: 3.6+
pip install sos-access
Example usage:
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.
Metadata
Release files for sos-access 0.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sos-access-0.0.8.tar.gz | 13.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sos_access-0.0.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 33.2 kB
Release files / sos-access-0.0.8.tar.gz
| Download URL | sos-access-0.0.8.tar.gz |
|---|---|
| Size | 13.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8442b637bc76bf9df15ef862fbd8d67c8ae0691d4be3c06ae427849a56774500
|
|
BLAKE2b-256 checksum How to use checksums |
7b42d8e137645034ca34e1d59f62cf0681d26f82112020631ed57040779e7c20
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.4.2 requests/2.20.0 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.4
|
Release files / sos_access-0.0.8-py3-none-any.whl
| Download URL | sos_access-0.0.8-py3-none-any.whl |
|---|---|
| Size | 19.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ef5959c2898ee817a71bb0ac03c42d5c16d7d31c117c5c14837d33eba0346a37
|
|
BLAKE2b-256 checksum How to use checksums |
894e98bd84632051227fa3a58a136c4dfb9eb861a40dbdca9686bfaa36410ea5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.4.2 requests/2.20.0 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.4
|