z4j domain core - models, protocols, transport, redaction, policy (Apache 2.0)
Project description
z4j-core
The z4j domain core, shared models, protocols, transport, redaction, policy.
Pure-Python dependency for every z4j package. No framework / engine / database imports, so it can be vendored into agent processes without dragging server runtime weight. End users do not install this package directly; it ships as a transitive dependency of z4j or any agent package.
What's in here
- Pydantic models,
Task,Worker,Queue,Schedule,Event,Command,Agent, plus the wire-frame envelope types - Adapter protocols,
QueueEngineAdapter,SchedulerAdapter,FrameworkAdapter. Every framework / engine / scheduler package implements one or more of these. - Wire protocol, frame definitions and the HMAC envelope used by z4j ↔ agent WebSocket transport (signed v2 protocol)
- Redaction engine, strips secrets from logged event payloads (URLs, headers, kwargs, exceptions) before they hit the brain
- Policy types, role-based action enums (Viewer / Operator / Admin), used by the brain's RBAC layer
- Error hierarchy, shared exception classes so agents and brain
agree on what counts as
AuthorizationErrorvsNotFoundErrorvsConflictError
Install
pip install z4j-core
End users normally get this as a transitive dependency. Direct installation is appropriate when you're building a custom adapter against the protocols.
Stability
The wire protocol is v=2 and additive within the 1.x major.
Adapter protocols (QueueEngineAdapter, etc.) are stable contracts
within the 1.x major; new optional methods may be added.
Documentation
Full docs at z4j.dev/concepts/architecture/.
License
Apache-2.0, see LICENSE.
Links
- Homepage: https://z4j.com
- Documentation: https://z4j.dev
- PyPI: https://pypi.org/project/z4j-core/
- Issues: https://github.com/z4jdev/z4j-core/issues
- Changelog: CHANGELOG.md
- Security: security@z4j.com (see SECURITY.md)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file z4j_core-1.5.1.tar.gz.
File metadata
- Download URL: z4j_core-1.5.1.tar.gz
- Upload date:
- Size: 97.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e4f9f7483f886e5322ed4b1a302c617b33e303bf4bacbd019fad51d4ea97d009
|
|
| MD5 |
a10864dd4e8dedfa93ecae52760de13c
|
|
| BLAKE2b-256 |
63f03a3ab9a41678f7ca53a369bfcad9130cc85454fe4e1dc337b7b3677122d5
|
File details
Details for the file z4j_core-1.5.1-py3-none-any.whl.
File metadata
- Download URL: z4j_core-1.5.1-py3-none-any.whl
- Upload date:
- Size: 96.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
352d99fa6480838b236bcf6bda06ec51a38dae10fa32aa8e3d589b23fa48da65
|
|
| MD5 |
93bb262d4035f7ea1b5a1863fcd4832e
|
|
| BLAKE2b-256 |
05be5bb45a28c0a0e6864dffb8d497d90fc8bede47b85f460a69554e5bce496f
|