einargate
Very early alpha. The Einar Gate public API is not generally available yet, and this client may change in breaking ways before 1.0: pin an exact version.
The official Python client of the Einar Gate API: sync license plate permissions, read gates, cameras and gate openings, and open gates from your own system.
- Typed results instead of exceptions. Every call returns
OkorErr, and each call's error type lists exactly the problems it can return. - Safe retries. The client retries only what cannot run twice; a write that may have run comes back with its idempotency key instead of opening a gate twice.
- Built for coding agents. AGENTS.md is the complete guide; the docstrings name each call's roles and errors.
pip install einargate
from einargate import EinarGate
with EinarGate() as eg: # reads EINARGATE_API_KEY
for gate in eg.gates.list_all().unwrap():
print(gate.gate_id, gate.name)
Python 3.10 or later, sync and async (AsyncEinarGate); the only dependency
is httpx. API keys are created in the Einar Gate app by a location Owner
or Admin.
Compatibility
The client follows semantic versioning on its own, separately from the
API's /v1. Within v1 the API only adds things: new calls, fields, enum
values and error types. The client is written for that: a value it does not
know arrives as UnknownValue and an error type it does not know as
UnknownProblem, so an older client keeps working.
License
MIT
Metadata
Release files for einargate 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| einargate-0.1.0.tar.gz | 44.7 kB | Without provenance | Details for einargate-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| einargate-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for einargate-0.1.0-py3-none-any.whl |
Total release size: 100.0 kB
Release files / einargate-0.1.0.tar.gz
| Download URL | einargate-0.1.0.tar.gz |
|---|---|
| Size | 44.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b0699f723942ad03f07650f9d5d9cfbf25c63bddb251b3af82db4ffb98806ef1
|
|
BLAKE2b-256 checksum How to use checksums |
c90e3e38b83bccd771bae7fdc61612aa351404ae7d00503e4a0cbbf3c90c59e1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Fedora Linux","version":"44","id":"","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / einargate-0.1.0-py3-none-any.whl
| Download URL | einargate-0.1.0-py3-none-any.whl |
|---|---|
| Size | 55.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
53331170450a5a7cc1698dd444da6380cd10c73d0f9ef5fa6ae88b6837d0e1ac
|
|
BLAKE2b-256 checksum How to use checksums |
b007e77b7b1d230d6dee14de2d3821d5c8ce3667a442aefefacc9e5f8ccdf864
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Fedora Linux","version":"44","id":"","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for einargate 0.1.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.