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, 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.1.0.tar.gz (6.7 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.1.0-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyglutz_eaccess-0.1.0.tar.gz
  • Upload date:
  • Size: 6.7 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.1.0.tar.gz
Algorithm Hash digest
SHA256 3ec849ec55342503a19a9c9ce5f41bf7d0b70d40ac65fdda3e974d60337a16b6
MD5 2a0e802a35472cea9d08cb2a9053a77a
BLAKE2b-256 64847893104d003459eaefac6d319efc51a48c8f961ea1f0d506c49e0278ca01

See more details on using hashes here.

Provenance

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

Publisher: publish-pypi.yml on miitchpls/hass-glutz-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.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pyglutz_eaccess-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 800d0b0425dff4373788e81660026f390ec1b44db0193dab3bb4988467d8189e
MD5 31a3627bb1cfea1ea681a4e8f27f5ea6
BLAKE2b-256 49cbd23ca6a8f91698decade0d87802035256be5230e53302d50272166e65b43

See more details on using hashes here.

Provenance

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

Publisher: publish-pypi.yml on miitchpls/hass-glutz-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