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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d8f6c3c719d35bef5f82b50e8326f068bd56f4988de83644d29af7fc76aa40c9
|
|
| MD5 |
86b041ab1d7c89eb200a8446bb145967
|
|
| BLAKE2b-256 |
9b21c432de11607c0a6a15ee10b960b1f6c67ada4887f85a752c48daef2ee601
|
Provenance
The following attestation bundles were made for pyglutz_eaccess-0.2.2.tar.gz:
Publisher:
publish-pypi.yml on miitchpls/pyglutz-eaccess
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyglutz_eaccess-0.2.2.tar.gz -
Subject digest:
d8f6c3c719d35bef5f82b50e8326f068bd56f4988de83644d29af7fc76aa40c9 - Sigstore transparency entry: 1375505479
- Sigstore integration time:
-
Permalink:
miitchpls/pyglutz-eaccess@d31aa7f8abefaaf8b88f25458cbb124c4bec29dd -
Branch / Tag:
refs/heads/main - Owner: https://github.com/miitchpls
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@d31aa7f8abefaaf8b88f25458cbb124c4bec29dd -
Trigger Event:
push
-
Statement type:
File details
Details for the file pyglutz_eaccess-0.2.2-py3-none-any.whl.
File metadata
- Download URL: pyglutz_eaccess-0.2.2-py3-none-any.whl
- Upload date:
- Size: 6.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4f35de58010f332151c7a5a37c584f519c4e6c0c3c2f318018967491a6609e67
|
|
| MD5 |
72e49c5262174addf417b49d4aa102a7
|
|
| BLAKE2b-256 |
a024d08045a2a5f5c0e8f39e1e2acd662b98f8b047d0cd1e196335167c740378
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyglutz_eaccess-0.2.2-py3-none-any.whl -
Subject digest:
4f35de58010f332151c7a5a37c584f519c4e6c0c3c2f318018967491a6609e67 - Sigstore transparency entry: 1375505485
- Sigstore integration time:
-
Permalink:
miitchpls/pyglutz-eaccess@d31aa7f8abefaaf8b88f25458cbb124c4bec29dd -
Branch / Tag:
refs/heads/main - Owner: https://github.com/miitchpls
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@d31aa7f8abefaaf8b88f25458cbb124c4bec29dd -
Trigger Event:
push
-
Statement type: