Python API for controlling Sesame smart locks made by CANDY HOUSE, Inc.
This is based on the cloud API for Sesame.
Requirements
Your Sesame needs to be paired with the mobile app in virtual station mode, or a standalone Wi-Fi Access Point.
Dependencies
pysesame depends on the Python package, requests. You can install dependencies using pip install -r requirements.txt
Usage
>> import pysesame
>> sesames = pysesame.get_sesames("abc@i-lovecandyhouse.co",
"super-strong-password")
>> [s.nickname for s in sesames]
['Front Door', 'Back Door']
>> front_door = next(s for s in sesames if s.nickname == "Front Door")
>> front_door.device_id
'FEEDFACE1234'
>> front_door.api_enabled
True
>> front_door.is_unlocked
False
>> front.door.unlock()
True
>> front_door.is_unlocked
True
>> front.door.is_unlocked = False
>> front_door.is_unlocked
False
License
pysesame is released under the MIT license.
Metadata
Release files for pysesame 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| pysesame-0.2.0.tar.gz | 4.4 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pysesame-0.2.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 10.5 kB
Release files / pysesame-0.2.0.tar.gz
| Download URL | pysesame-0.2.0.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b8152b36ee3b7e7dd52a4ece166925f0dd5034809d446135d7fa2c4fb3f3ba0b
|
|
BLAKE2b-256 checksum How to use checksums |
8ef1e4537142607301aba8451f6bb6c6d7c965e1bc2ee2b10d88e15de0801d26
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / pysesame-0.2.0-py2.py3-none-any.whl
| Download URL | pysesame-0.2.0-py2.py3-none-any.whl |
|---|---|
| Size | 6.0 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
ee33172e7d4ecb6e8c0cfcd31f6e3bbd99490cdfa77368d37140f60b082d0ad4
|
|
BLAKE2b-256 checksum How to use checksums |
0ccf437f32c3bd34de1eee10ef3c3ea8b6b02fffed16fd8e2de91d34602d3a4d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pysesame 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.