klyrek-http
The HTTP layer shared by every Klyrek package that talks to a target: klyrek-crawler,
klyrek-api, klyrek-tech, klyrek-auth, klyrek-js, klyrek-assets, and klyrek-headers all
issue requests through KlyrekHTTPClient rather than calling httpx/requests directly.
Every request goes through two checks before it leaves the process:
- Scope enforcement — the URL's host must be declared in the scan's
AuthorizationScope, or the request raisesScopeViolationErrorinstead of firing. - Rate limiting — a per-host minimum interval (
KlyrekConfig.rate_limit_per_host) keeps a scan from hammering a target faster than was authorized.
from klyrek_core.config import KlyrekConfig
from klyrek_core.scope import AuthorizationScope
from klyrek_http.client import KlyrekHTTPClient
scope = AuthorizationScope(authorized_hosts=["target.com", "*.target.com"])
with KlyrekHTTPClient(scope, config=KlyrekConfig(rate_limit_per_host=5)) as client:
response = client.get("https://target.com/")
Metadata
Release files for klyrek-http 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 |
|---|---|---|---|---|
| klyrek_http-0.1.0.tar.gz | 4.1 kB | Without provenance | Details for klyrek_http-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| klyrek_http-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for klyrek_http-0.1.0-py3-none-any.whl |
Total release size: 8.2 kB
Release files / klyrek_http-0.1.0.tar.gz
| Download URL | klyrek_http-0.1.0.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b81b8c0edbf451e0b3aace493fc784e0ee3bc08a04b768ec3127c442ee93a723
|
|
BLAKE2b-256 checksum How to use checksums |
e28aafac03abbf8421eb4823ede116f6b9233de90b69367ba24890837e4e84bf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.2
|
Release files / klyrek_http-0.1.0-py3-none-any.whl
| Download URL | klyrek_http-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
336fe2dd45e84f65ec673aea568c7c3e85d9259b04ee364a89307335c7e138d5
|
|
BLAKE2b-256 checksum How to use checksums |
8d42037a23f1856a03af2dc2d4a2488c69fbf95105273c304e8e3f0c0e057853
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.2
|
Security for klyrek-http 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.