Skip to main content

Code Craft AI Foundations - codecraftai-foundations

The codecraftai-foundations package is the bottom of the ccai dependency graph. It is one distribution that provides the vocabulary every other codecraftai-* package is written in:

  • ccai.errors - the shared exception hierarchy and enhanced traceback support.

  • ccai.interfaces - the abstract interfaces and small protocol and schema classes that packages implement or accept, so that they never import each other for the sake of a type hint.

  • ccai.waiting - context based waiting primitives with rich timeout diagnostics.

  • ccai.aspects - the minimal Aspects carrier for behaviour-modifying call parameters.

  • ccai.bases - base classes such as Freezable that implementation packages derive from.

Every import path is unchanged from the packages these subpackages came from (codecraftai-errors, codecraftai-interfaces, codecraftai-waiting and, for Freezable, codecraftai-xmodules). Consumers depend on this one package instead of three.

Admission Rule

A module belongs here only if it meets all four tests:

  1. It imports nothing outside the Python standard library.

  2. It defines contracts, vocabulary or base classes rather than doing work.

  3. It changes rarely.

  4. More than half of the suite needs it.

Utility code that does work belongs in codecraftai-xmodules or a domain package, even when it happens to be standard library only.

Code Organization

  • .vscode - Common tasks

  • development - This is where the runtime environment scripts are located

  • prompts - Pre-built prompts for agent driven work such as bug bashes

  • repository-setup - Scripts for homing your repository and to your checkout and machine setup

  • specs - One folder per subpackage with its requirements, design and task specifications

  • userguide - The user guide and the coding standards for the repository

  • source/packages - The ccai namespace subpackages

  • source/tests - The unittest based tests, one folder per subpackage under ccai_tests

  • workspaces - This is where you add VSCode workspaces templates and where workspaces show up when homed.

References

Metadata

Release files for codecraftai-foundations 1.2.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-foundations 1.2.0
File Size Uploaded Provenance
codecraftai_foundations-1.2.0.tar.gz 43.2 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for codecraftai-foundations 1.2.0
File Interpreter ABI Platform
codecraftai_foundations-1.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 104.5 kB

Release files / codecraftai_foundations-1.2.0.tar.gz

Download URL codecraftai_foundations-1.2.0.tar.gz
Size 43.2 kB
Tags Source
SHA-256 checksum
How to use checksums
b38877de5882ec8ce5ce983a357d35c7c63f12b2c45535d5999ed57c0b5fe1a6
BLAKE2b-256 checksum
How to use checksums
1ee647444c545a2c1fb9427d1b9a15052f5f5e8b73dc62fd453ee797d105b9d1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 19, 2026.

Transparency log

Release files / codecraftai_foundations-1.2.0-py3-none-any.whl

Download URL codecraftai_foundations-1.2.0-py3-none-any.whl
Size 61.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e50480cdac988a316a304f018bf60ffce6037c0535990d68e6f8788b6617a01a
BLAKE2b-256 checksum
How to use checksums
a535f7135e02af539d34ab8c8d29f01815d61987d914e55ef131910562c05230
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 19, 2026.

Transparency log

Security for codecraftai-foundations 1.2.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

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for codecraftai_foundations-1.2.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 Oct 19, 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.

Release history Release notifications | RSS feed

This release

1.2.0 This release

2 release files Full provenance

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