hermers
Open-source Python client for Hermers with REST and native gRPC in one package.
The Hermers server is private / proprietary. This repository is the public SDK only and does not include or publish server source.
| Client | Import | Default endpoint |
|---|---|---|
Hermes |
hermers |
https://hermers.aduki.pro/v1 |
HermesGrpc |
hermers |
grpc.aduki.pro:443 |
Requirements
- Python 3.11+
Install
pip install hermers
Quickstart (REST)
from hermers import Hermes
hermes = Hermes("hm_live_xxxxxxxxxxxxxxxxxxxxxxxx")
me = hermes.ready()
print(me.tenant, me.user)
contacts = hermes.contacts.list({"limit": 50})
print(contacts["total"])
Quickstart (gRPC)
from hermers import HermesGrpc
client = HermesGrpc("hm_live_xxxxxxxxxxxxxxxxxxxxxxxx")
client.ready()
print(client.me.tenant, client.me.user)
mailboxes = client.mail.list_mailboxes()
print(len(mailboxes.items))
client.close()
For resource-by-resource examples, see docs/rest/README.md and docs/grpc/README.md.
Authentication
API key only:
- REST:
Authorization: Key <key> - gRPC metadata:
authorization: Key <key>
The SDK does not expose login, password, or JWT refresh helpers. Prefer ready() before the first
resource call. Callers never pass tenant/user hex for scoped resource methods because both clients
cache whoami.
Resources
REST properties:
contactsmailkeysusertenantcalendareventsfeedsscheduling
gRPC properties:
contactsmailfeedsstoragesyncsecurityspamtierusagesession
The clean top-level API stays available via hermers.Hermes / hermers.HermesGrpc, while the
implementation is organized under hermers.rest.* and hermers.grpc.*.
Testing
PYTHONPATH=src python3 -m unittest discover -s tests -v
# for live tests, set the API-key environment variable expected by the test suite
PYTHONPATH=src python3 -m unittest discover -s tests -v
Without a live API key configured, the unit suites still run and the live REST/gRPC tests no-op. Never commit secrets or local environment files.
Docs
Developer docs live under docs/ and publish with
mdBook.
The book source is assembled from docs/ plus this repository README.md into book/, then
built into site/ for GitHub Pages.
Requires mdbook on PATH.
make docs-prepare
make docs-build
make docs-check
make docs-serve
make docs
License
MIT
Metadata
Release files for hermers 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 |
|---|---|---|---|---|
| hermers-0.1.0.tar.gz | 31.4 kB | Without provenance | Details for hermers-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hermers-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for hermers-0.1.0-py3-none-any.whl |
Total release size: 86.3 kB
Release files / hermers-0.1.0.tar.gz
| Download URL | hermers-0.1.0.tar.gz |
|---|---|
| Size | 31.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9f796774e729051225e25124c328f95ebe942905b797b5fd59a423eaaa15f0ad
|
|
BLAKE2b-256 checksum How to use checksums |
366d1f4c4edd38362a0c752839367f3c904bbe7930182494076a7ae269282279
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.32 {"installer":{"name":"uv","version":"0.11.32","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":null,"id":"forky","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / hermers-0.1.0-py3-none-any.whl
| Download URL | hermers-0.1.0-py3-none-any.whl |
|---|---|
| Size | 54.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b90cac26505b111a303fe0eab74e52542a4d4b44bf73f23c2412a35297ded4e8
|
|
BLAKE2b-256 checksum How to use checksums |
ca13e64c577e35972b3b4f98740808b42ed2818770f20d70b89ed026fbf75025
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.32 {"installer":{"name":"uv","version":"0.11.32","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":null,"id":"forky","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for hermers 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.