Skip to main content

pygluelock is a sync wrapper around glue lock API

Project description

python glue lock wrapper

PyPI version Documentation Status

pygluelock is a sync and async wrapper around the Glue Lock API for smart locks.

Please note that due to me only having an old generation of glue lock and that lock is missing the lock status, the lock status is not added in this project.

Features

  • Connect to Glue Lock API
  • Retrieve all locks associated with your account
  • Get lock status, battery, firmware, and events
  • Control lock (lock/unlock)
  • Async API using aiohttp

Usage

Run via CLI

After installing the package (e.g. pip install . or from PyPI), you can use the CLI:

pygluelock --username <your_username> --password <your_password>

This will connect to the Glue Lock API and print all locks associated with your account.

You can also run the main function straight away in your IDE of choice.

Credits

This package was created with Cookiecutter and the audreyfeldroy/cookiecutter-pypackage project template.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pygluelock-0.3.0.tar.gz (9.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pygluelock-0.3.0-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

Details for the file pygluelock-0.3.0.tar.gz.

File metadata

  • Download URL: pygluelock-0.3.0.tar.gz
  • Upload date:
  • Size: 9.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.6

File hashes

Hashes for pygluelock-0.3.0.tar.gz
Algorithm Hash digest
SHA256 111ddc9ad2e7f77da16f8133464d673debaa2baab34a5cfb1da6c2e2037b0253
MD5 79231b689b6bbbaa280d224b2c2ea93a
BLAKE2b-256 76cd5797e295ab006453fe1de0fdc679a8e363777db1cb8763a5b2cd953ff6b9

See more details on using hashes here.

File details

Details for the file pygluelock-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: pygluelock-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 6.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.6

File hashes

Hashes for pygluelock-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8f29e43ea657259357fcdca3fd13382b8619896d78982bf2af76b097accc869f
MD5 8c18568f8384fb2d9df2371339b774c5
BLAKE2b-256 11e984c3b559455e8044e5a11190117774850af484bd8d391d8417e90bf12dbd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page