awid.ai service
This directory contains the standalone awid.ai registry service.
It is intentionally thin:
- imports the DID, namespace, and address routes from the
awebpackage - uses the same signing, verification, and HTTP contracts as
aweb - owns only service-local concerns: startup, pgdbm wiring, Redis-backed rate limiting, health endpoints, Docker packaging, and migration tooling
Run locally
uv sync
uv run awid
Required environment:
AWID_DATABASE_URLorDATABASE_URLAWID_REDIS_URLorREDIS_URL
Optional environment:
AWID_HOSTdefault0.0.0.0AWID_PORTdefault8010AWID_DB_SCHEMAdefaultawidAWID_RATE_LIMIT_BACKENDdefaultredisAWID_SERVICE_TOKENoptional for standalone AWID, but required when AWID serves an aweb deployment. Configure the same >=32-byte value on both so aweb can read private-team keys and revocations and bypass the public-IP rate limits on all registry reads. Write limits and identity-private/blob authentication still apply.awid_service_exemptlogs cumulative per-bucket, process-local exemption counts at 1, 2, 4, 8 and later powers of two; the token is never logged. See the trust model.
Docker
cp .env.example .env
docker compose up --build -d
curl http://localhost:8010/health
Release
awid is released as a GHCR container image through the repository's release
skill and driver. The driver owns planning, exact-byte staging, publication,
tagging, registry verification, and the receipt; do not start a release by
pushing an awid-vX.Y.Z tag. The version remains in pyproject.toml.
Metadata
Release files for awid-service 0.5.21
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| awid_service-0.5.21.tar.gz | 281.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| awid_service-0.5.21-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 384.1 kB
Release files / awid_service-0.5.21.tar.gz
| Download URL | awid_service-0.5.21.tar.gz |
|---|---|
| Size | 281.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
64e2d1f30dbb8e433a1694b1abe4150709c96f803e0b88f739dd4c26c2ebcff6
|
|
BLAKE2b-256 checksum How to use checksums |
43f22f71afa3eaf0ae027d48ba36a2185646339eb811ce2929417fd5cfcbb815
|
| 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":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / awid_service-0.5.21-py3-none-any.whl
| Download URL | awid_service-0.5.21-py3-none-any.whl |
|---|---|
| Size | 103.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7c89aa20ac9202ce87c7d1f6351373d9b72bd60b915ebe42858e54013e16139a
|
|
BLAKE2b-256 checksum How to use checksums |
14d50ac6bc0941329bdd6dddf2227a3c47110903c0eaf0020901e7cffc15d229
|
| 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":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|