Skip to main content

eep-validator (Python)

Python port of @eep-dev/validator — SSRF prevention and payload validation for EEP publishers.

Install

pip install -e .

Usage

from eep_validator import validate_ssrf, SSRFError, matches_event_type

# SSRF prevention — call before any outbound request
try:
    await validate_ssrf(delivery_url)
except SSRFError as e:
    return {"error": str(e)}

# Event type matching
matches_event_type("com.example.entity.updated", "com.example.entity.*")  # True

Tests

pip install -e ".[dev]"
pytest

License

Apache-2.0

Metadata

Release files for eep-validator 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for eep-validator 0.1.0
File Size Uploaded
eep_validator-0.1.0.tar.gz 8.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for eep-validator 0.1.0
File Interpreter ABI Platform
eep_validator-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 16.1 kB

Release files / eep_validator-0.1.0.tar.gz

Download URL eep_validator-0.1.0.tar.gz
Size 8.2 kB
Tags Source
SHA-256 checksum
How to use checksums
6d9962493a75aa4fea75e617ff3adb204af7426774e7435028eece4b3b888ea2
BLAKE2b-256 checksum
How to use checksums
1e7121a34ceea225cb6b39939b895a16ff9301616ad5546dde2cfb8563265baf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.12

Release files / eep_validator-0.1.0-py3-none-any.whl

Download URL eep_validator-0.1.0-py3-none-any.whl
Size 7.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d8be0586a2a30befca2f5712543bf7eda373bcbbd7e7402589c154dfc33997ab
BLAKE2b-256 checksum
How to use checksums
134c688b6d6b6fc9e2f214c54d980a49b2091d6c4e82de37a8f6cdfe79d7ae68
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.12

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page