Fred Core
fred-core is the shared utility layer for Fred backends. It centralizes the
foundational building blocks that must stay consistent across services.
What it provides
- Configuration helpers used by multiple backends.
- Storage and session primitives.
- Security and access-control utilities (ReBAC helpers, Keycloak helpers).
- Common runtime helpers (logging, KPI, scheduling utilities).
What it is not
- A full runtime or service on its own.
- A public SDK for agent authoring (that is
fred-sdk).
Install
pip install fred-core
Usage (example)
Fred backends import shared helpers from fred_core to keep configuration and
behavior aligned:
import logging
from fred_core.common.config_files import ConfigFiles
logger = logging.getLogger("fred")
config_files = ConfigFiles(logger=logger)
env_path = config_files.load_environment()
yaml_path = config_files.resolve_config_file_path()
Notes
fred-core is designed for internal Fred services and adapters. If you are
building agents or workflows, you likely want fred-sdk instead. In most
cases, end users should not install fred-core directly because it is pulled
in transitively by fred-sdk.
Development validation
make testruns the default offline test suite.make coverage-offlineruns the canonical offline coverage command with terminal missing-line output.
Metadata
Release files for fred-core 4.0.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 | |
|---|---|---|---|
| fred_core-4.0.0.tar.gz | 367.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fred_core-4.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 898.1 kB
Release files / fred_core-4.0.0.tar.gz
| Download URL | fred_core-4.0.0.tar.gz |
|---|---|
| Size | 367.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
22587dd3622d8519633f90380b421ad744f042c689a5ca166c31d5ee7cdaff7e
|
|
BLAKE2b-256 checksum How to use checksums |
96ce14dbadad11662a4cd60cac29fb1db83f16a29bab10fb117f7f8c356c5e03
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / fred_core-4.0.0-py3-none-any.whl
| Download URL | fred_core-4.0.0-py3-none-any.whl |
|---|---|
| Size | 531.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
46d2b7e89fbff297511f2ac384a55f344e8c69b2eb9d940a012e88e76f6cb53f
|
|
BLAKE2b-256 checksum How to use checksums |
ba03823c97e0aab6fc5d125ee90b3cdfdd366a2c38dcac7f19d88a290eaa2f40
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|