Python API for interacting with Schlage WiFi locks.
Project description
pyschlage
Python 3 library for interacting with Schlage Encode WiFi locks.
Note that this project has no official relationship with Schlage or Allegion. Use at your own risk.
Usage
from pyschlage import Auth, Schlage
# Create a Schlage object and authenticate with your credentials.
s = Schlage(Auth("username", "password"))
# List the locks attached to your account.
locks = s.locks()
# Print the name of the first lock
print(locks[0].name)
"My lock"
# Lock the first lock.
lock[0].lock()
Documentation
API reference can be found on Read the Docs
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyschlage-2023.12.0.tar.gz
(27.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyschlage-2023.12.0.tar.gz.
File metadata
- Download URL: pyschlage-2023.12.0.tar.gz
- Upload date:
- Size: 27.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2b18ea9780ccb8102d99020c33ee3f463236a22c028afebb8a67fe97bbd730d2
|
|
| MD5 |
a0a1fcc4dc954657ece7ef7f76d2cfa1
|
|
| BLAKE2b-256 |
cf1be7a9a020132f0876d37944f6525ae9adb760a37aae2986bd39891e7754e4
|
File details
Details for the file pyschlage-2023.12.0-py3-none-any.whl.
File metadata
- Download URL: pyschlage-2023.12.0-py3-none-any.whl
- Upload date:
- Size: 18.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ef3025a1709331e8cac809dafa25e8e163a744df25d5a1ff7f4831ebf2fbcbc1
|
|
| MD5 |
38d722a0e0ff5f1550c3b3e625416dcd
|
|
| BLAKE2b-256 |
2a21851d181c2a4ed91a9d80e523883994745cefe74e9d85b76207b1fdf9fcfe
|