eep-discovery — Python
EEP discovery utilities — Python port of @eep-dev/discovery.
Overview
Python implementation of the three EEP discovery mechanisms (Whitepaper §4):
| Function | Description |
|---|---|
validate_manifest() |
Validate /.well-known/eep.json manifests |
parse_link_header() |
Parse HTTP Link: <url>; rel="eep" headers |
parse_dns_txt_record() |
Parse _eep.domain TXT "v=eep1; manifest=..." records |
Installation
pip install -e packages/eep-discovery-python
Usage
from eep_discovery import validate_manifest, parse_link_header, parse_dns_txt_record
# Validate manifest
result = validate_manifest({
"did": "did:web:example.com",
"eep_version": "0.1",
"layers": {"layer1": "https://api.example.com/eep"},
"supported_content_types": ["application/json"],
"pqc_ready": False,
"x402_enabled": True,
})
assert result.valid
# Parse Link header
links = parse_link_header('<https://example.com/eep.json>; rel="eep"')
# [EEPLinkInfo(url='https://...', rel='eep')]
# Parse DNS TXT record
dns = parse_dns_txt_record("v=eep1; manifest=https://example.com/.well-known/eep.json")
assert dns.manifest_url == "https://example.com/.well-known/eep.json"
Tests
python3 -m pytest tests/ -v
Comprehensive tests cover manifest validation, Link header parsing, and DNS TXT parsing.
License
Apache-2.0
Metadata
Release files for eep-discovery 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 |
|---|---|---|---|---|
| eep_discovery-0.1.0.tar.gz | 9.1 kB | Without provenance | Details for eep_discovery-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| eep_discovery-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for eep_discovery-0.1.0-py3-none-any.whl |
Total release size: 17.8 kB
Release files / eep_discovery-0.1.0.tar.gz
| Download URL | eep_discovery-0.1.0.tar.gz |
|---|---|
| Size | 9.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c919f7898dc6d5901781a4141c035af06411cb416bca039059bac88ded963421
|
|
BLAKE2b-256 checksum How to use checksums |
868fbb787fb9b2aaf11a75f6bfc24a792aae3c5494df8dd6976456b6ef048ef2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.12
|
Release files / eep_discovery-0.1.0-py3-none-any.whl
| Download URL | eep_discovery-0.1.0-py3-none-any.whl |
|---|---|
| Size | 8.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ce58030385ef550f880682f7ef6e44a9ec320d1b5e6fa9251f4d046950b187d8
|
|
BLAKE2b-256 checksum How to use checksums |
baa503aaa6c0fdcbec632de3f8caae02c4724715875b9f1b54181e8e03f1766c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.12
|
Security for eep-discovery 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.