Skip to main content

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.

Development validation

  • make test runs the default offline test suite.
  • make coverage-offline runs the canonical offline coverage command with terminal missing-line output.

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

fred_core-3.2.0.tar.gz (178.2 kB view details)

Uploaded Source

Built Distribution

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

fred_core-3.2.0-py3-none-any.whl (272.5 kB view details)

Uploaded Python 3

File details

Details for the file fred_core-3.2.0.tar.gz.

File metadata

  • Download URL: fred_core-3.2.0.tar.gz
  • Upload date:
  • Size: 178.2 kB
  • Tags: Source
  • Uploaded using 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}

File hashes

Hashes for fred_core-3.2.0.tar.gz
Algorithm Hash digest
SHA256 249801ca6e27277f6ee0bb8a5e3eb0186eb913af0f2a7a2c54de0f7c057038b8
MD5 a9d678ea988d1178d156bb9f857ddd45
BLAKE2b-256 6b04c5b82d6fa552c4565e2e4960a7268b8babb792b0f325ba9a5ab1107a8512

See more details on using hashes here.

File details

Details for the file fred_core-3.2.0-py3-none-any.whl.

File metadata

  • Download URL: fred_core-3.2.0-py3-none-any.whl
  • Upload date:
  • Size: 272.5 kB
  • Tags: Python 3
  • Uploaded using 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}

File hashes

Hashes for fred_core-3.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 edf17e230eb35f097baec33d37a3e542f3a7d31a31edadbba42e915846dfa90a
MD5 7149087811db0459c997345721d7e3f0
BLAKE2b-256 58fa4b02d8c27efda1cc9093c0258bf2c347c04fc987f977d284bf7170a0b2d4

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