Skip to main content

Shared utilities, configuration, logging, plugins, and common models for the Klyrek ecosystem

Project description

klyrek-core

Shared foundation for the Klyrek ecosystem: configuration, logging, the plugin registry, common domain models, and the authorization-scope guard that every other Klyrek package builds on.

Scope enforcement

Klyrek modules are expected to refuse to act against a target that hasn't been explicitly declared in scope. klyrek_core.scope provides AuthorizationScope, which downstream packages call before making any network request:

from klyrek_core.scope import AuthorizationScope

scope = AuthorizationScope(authorized_hosts=["target.com", "*.target.com"])
scope.check("https://target.com/login")  # OK
scope.check("https://evil.com")          # raises ScopeViolationError

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

klyrek_core-0.1.0.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

klyrek_core-0.1.0-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file klyrek_core-0.1.0.tar.gz.

File metadata

  • Download URL: klyrek_core-0.1.0.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.2

File hashes

Hashes for klyrek_core-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d49c9b1c52c9e0adb8c0691cae08b8bb0fa15aa39b76f00cc83748c77046f97b
MD5 ec8c0db9efb2d3991ec74600fa550a07
BLAKE2b-256 014bb1996e6c69432ff35f87578012401c7f011bdf767e93a19bb7e7bede141e

See more details on using hashes here.

File details

Details for the file klyrek_core-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: klyrek_core-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.2

File hashes

Hashes for klyrek_core-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 48c1f6fded5fe3fe8216029da862ccd4856ac66ba66d4d64cc5aded98f4a6412
MD5 1cf2e0af70373adc93bd389c5b6de536
BLAKE2b-256 0ca9185d9426e88283163d4df063bdf274bc5cb492617954dc362021008fc367

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page