Releases: mirza1272/safe-web-access
Releases · mirza1272/safe-web-access
Release list
Safe Web Access v0.1.1
Safe Web Access v0.1.0
First public release of Safe Web Access, a secure and budget-aware Python package for controlled web access in crawlers, AI agents, backend services, and ingestion pipelines.
Highlights
- Safe URL validation and normalization
- HTTP and HTTPS scheme restrictions
- Domain allowlists and blocklists
- Port restrictions
- Public IP validation and SSRF protection
- Safe redirect validation
- Advisory
robots.txtchecks - Response content-type validation
- Streamed response-size limits
- Immutable crawl budgets
- Bounded retry policies with backoff and
Retry-Aftersupport - Async
SafeWebClient - Sync
SyncSafeWebClient - Structured
SafeWebResult - Privacy-safe event hooks
- Full type hints with
py.typed
Quality
- 228 automated tests passing
- 96% overall test coverage
- Ruff checks passing
- Black formatting checks passing
- mypy checks passing
- Clean wheel and source distribution
- Verified installation in a fresh virtual environment
- Test suite does not require real DNS or external internet access
Installation
pip install safe-web-access