Core shared utilities for Fred backends (config, storage, security, and runtime helpers).
Project description
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.
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 fred_core-2.0.1.tar.gz.
File metadata
- Download URL: fred_core-2.0.1.tar.gz
- Upload date:
- Size: 132.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c263b127d95eb02e99b4fc7514971ab3066e395b4ff077a6d9971fb979ea4c71
|
|
| MD5 |
8ce1480fd81f5c3f48665cf848a3f9dd
|
|
| BLAKE2b-256 |
688f218a8dd195fbba83e3146724c6629b809ca9fbe29347f105220a13a5a5f1
|
File details
Details for the file fred_core-2.0.1-py3-none-any.whl.
File metadata
- Download URL: fred_core-2.0.1-py3-none-any.whl
- Upload date:
- Size: 190.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
69b7633cd28d4aa3fe664baadbbd17e40c30982fb156098b05e8532242a72abe
|
|
| MD5 |
50518db4a448787c8a913c6871afa59c
|
|
| BLAKE2b-256 |
93e404ece2609885476560d1e504f4bc855035cb643d9bddbb1c397d8a9d0bc3
|