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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyglutz_eaccess-0.2.2.tar.gz
  • Upload date:
  • Size: 5.2 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.2.tar.gz
Algorithm Hash digest
SHA256 d8f6c3c719d35bef5f82b50e8326f068bd56f4988de83644d29af7fc76aa40c9
MD5 86b041ab1d7c89eb200a8446bb145967
BLAKE2b-256 9b21c432de11607c0a6a15ee10b960b1f6c67ada4887f85a752c48daef2ee601

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyglutz_eaccess-0.2.2.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.2-py3-none-any.whl.

File metadata

File hashes

Hashes for pyglutz_eaccess-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4f35de58010f332151c7a5a37c584f519c4e6c0c3c2f318018967491a6609e67
MD5 72e49c5262174addf417b49d4aa102a7
BLAKE2b-256 a024d08045a2a5f5c0e8f39e1e2acd662b98f8b047d0cd1e196335167c740378

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyglutz_eaccess-0.2.2-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