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.2.0.tar.gz (9.8 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.2.0-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pygluelock-0.2.0.tar.gz
Algorithm Hash digest
SHA256 d38efa68105556449f4747c90adae058e32cf22c6f9ccc0909f0a815bf9fff25
MD5 b39b4cc54be118978afd25cb4e625b88
BLAKE2b-256 69b462d4b8bf30a5540f9a2fad3c5ceb2861672c47d39bcca3f19b586c59e353

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pygluelock-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 6.5 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f75e670fc3bd9434ed36496f7df06b9d8c2b60d5f3b17954f84e1a69aaa03fca
MD5 186e042fee8d69c6e43d7f6223087367
BLAKE2b-256 374feed18817bc5b1671ecd94430ee6cf860f6dc0fcd9378db9d83a29e73d40e

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