Skip to main content

Code Craft AI Configuration

The codecraftai-configuration package is the configuration-loading and synchronisation layer for the ccai suite. It lets applications and tests pull configuration from a mix of local and remote sources, merge it through well-defined overrides, and (optionally) keep local copies in sync with a remote authority. It depends on codecraftai-foundations and codecraftai-credentials, and is consumed widely across the suite.

Highlights

  • ConfigurationLoader top-level entry point that reads from a list of source URIs and produces a merged, normalised configuration.

  • Pluggable ConfigurationSourceBase with concrete sources: DirectorySource, HttpSource, CouchDBSource, and MongoDBSource.

  • ConfigSynchronizerBase family with DirectoryConfigSynchronizer, CouchDbConfigSynchronizer, MongoDbConfigSynchronizer, and GithubConfigSynchronizer.

  • Supporting modules for formats, Fernet-based cryptography, option overrides, default values, and normalisation.

Repository Structure

  • development/ - Runtime environment scripts.

  • repository-setup/ - Repository homing and setup scripts.

  • source/packages/ - Package source code.

  • source/tests/ - unittest-based tests.

  • specs/ - Requirements, design, and task documentation.

  • userguide/ - Standards, conventions, and documentation.

Environment Setup

When working in a Codex container:

./development/setup-agent-container

For local development:

./repository-setup/rehome-repository
./development/setup-envrionment

Running Tests

Activate the virtual environment:

source .venv/bin/activate

Run unittest tests:

python -m unittest discover -s source/tests -p "test_*.py"

Standards and Conventions

  • Naming conventions: userguide/10-02-naming-conventions.rst

  • Code organization: userguide/10-01-code-organization.rst

  • Coding standards: userguide/10-00-coding-standards.rst

Additional Resources

  • User guide entry point: userguide/userguide.rst

  • Design documentation: specs/design.md

  • Requirements: specs/requirements.md

Metadata

Release files for codecraftai-configuration 1.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for codecraftai-configuration 1.4.0
File Size Uploaded Provenance Actions
codecraftai_configuration-1.4.0.tar.gz 56.0 kB With provenance Details for codecraftai_configuration-1.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for codecraftai-configuration 1.4.0
File Interpreter ABI Platform Actions
codecraftai_configuration-1.4.0-py3-none-any.whl Python 3 none any Details for codecraftai_configuration-1.4.0-py3-none-any.whl

Total release size: 128.1 kB

Release files / codecraftai_configuration-1.4.0.tar.gz

Download URL codecraftai_configuration-1.4.0.tar.gz
Size 56.0 kB
Tags Source
SHA-256 checksum
How to use checksums
8937ea69b93af747a0b526d3f15bdd6f47cd54c1200e67afe6d3f52c6452f52f
BLAKE2b-256 checksum
How to use checksums
cb502defc0137fb99167617bb9a0a3e218cd820ad09dca6dd5ef336e8b08d00d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 5, 2026.

Transparency log

Release files / codecraftai_configuration-1.4.0-py3-none-any.whl

Download URL codecraftai_configuration-1.4.0-py3-none-any.whl
Size 72.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ac3a492bd44fa45188652a3d24bbdc692aaf1f0210f9834e6a43f25c1a84d2a7
BLAKE2b-256 checksum
How to use checksums
b595298d0d2157c7c8938ae9099b7e0a40e1fc349653a94e228e431e4dabb8b0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 5, 2026.

Transparency log

Security for codecraftai-configuration 1.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for codecraftai_configuration-1.4.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 5, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page