Skip to main content

pymitt

A minimal Python wrapper for Keymitt webhooks

Usage is super simple. Import the script, and initialize as many Keymitt locks or push buttons as you like by providing the device's ID and token. Needs an event loop to run.

Minimal example to lock and unlock a Keymitt lock from a simple script:

import asyncio

from pymitt import pymitt

loop = asyncio.new_event_loop()
asyncio.set_event_loop(loop)

k = pymitt.KeymittLock("YOUR_LOCK_ID", "YOUR_TOKEN")

# Lock the lock
loop.run_until_complete(k.lock())

# Unlock the lock
loop.run_until_complete(k.unlock())

Metadata

Release files for pymitt 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pymitt 1.0.0
File Size Uploaded Provenance Actions
pymitt-1.0.0.tar.gz 2.9 kB Without provenance Details for pymitt-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pymitt 1.0.0
File Interpreter ABI Platform Actions
pymitt-1.0.0-py3-none-any.whl Python 3 none any Details for pymitt-1.0.0-py3-none-any.whl

Total release size: 6.1 kB

Release files / pymitt-1.0.0.tar.gz

Download URL pymitt-1.0.0.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
733cf7eae2db4e67d81920817ea2fb753c9ef9639f57f667bfedc476d3a24c85
BLAKE2b-256 checksum
How to use checksums
57f4f27f39cea61958105c6df6dec0ee38412f00605a2ecd88543f73ec0bedba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.12

Release files / pymitt-1.0.0-py3-none-any.whl

Download URL pymitt-1.0.0-py3-none-any.whl
Size 3.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2255358a113b8c9f4151781a79f002adffff05b8e364b6f8762d98a8cb7b941c
BLAKE2b-256 checksum
How to use checksums
62a68c8eb5ac413f307dc18c51b60a80b7b64dcfb7ebaa51f2ffd400aec5aded
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.12

Security for pymitt 1.0.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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page