Skip to main content

Async client for the Glutz eAccess JSON-RPC API.

Project description

pyglutz-eaccess

Async Python client for the Glutz eAccess cloud-based access control JSON-RPC API.

This library powers the hass-glutz-eaccess Home Assistant integration and is published independently for reuse.

Installation

pip install pyglutz-eaccess

Usage

import aiohttp
from pyglutz_eaccess import GlutzAPI

async def main():
    async with aiohttp.ClientSession() as session:
        api = GlutzAPI(session, "https://instance.eaccess.glutz.com", "user@example.com", "password")
        points = await api.get_access_points()
        print(points)

Exported API

  • GlutzAPI — JSON-RPC client (get_access_points, get_system_info, open_access_point,hold_open_access_point, close_access_point).
  • GlutzAuthError, GlutzConnectionError — error types.
  • parse_invitation(url) — parse web/mobile invitation URLs.
  • resolve_instance_host(session, cloud_host, system_path) — follow the cloud redirect to find the instance host.
  • set_new_password(session, host, token, password) — activate an account via invitation token.

License

MIT

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

pyglutz_eaccess-0.2.1.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

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

pyglutz_eaccess-0.2.1-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file pyglutz_eaccess-0.2.1.tar.gz.

File metadata

  • Download URL: pyglutz_eaccess-0.2.1.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pyglutz_eaccess-0.2.1.tar.gz
Algorithm Hash digest
SHA256 cb183c978a27878b5a48dbe758e5dc6fd964036a9b86685fb22a4235e0aa2dbd
MD5 ff6bccf76ae8afc093f1c1e334cec220
BLAKE2b-256 fc1d51b8b8b436259912b4b68b8fd4f59f7943caec098493ab9aaca5b8853ff6

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyglutz_eaccess-0.2.1.tar.gz:

Publisher: publish-pypi.yml on miitchpls/pyglutz-eaccess

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyglutz_eaccess-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for pyglutz_eaccess-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9004bebd068d4f920b26f2d7b376551ec69448b8cf7453673b6d5e0f9dce4804
MD5 0dff7b59c2122e30af5ec8f4c34c0f15
BLAKE2b-256 a76270300f55b98736ab6436a0141a10e4bb428326014f6e91bbec2c2852d1df

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyglutz_eaccess-0.2.1-py3-none-any.whl:

Publisher: publish-pypi.yml on miitchpls/pyglutz-eaccess

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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