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.1

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.1
File Size Uploaded Provenance
codecraftai_foundations-1.2.1.tar.gz 43.1 kB With provenance Details

Built distribution (wheel)

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

Total release size: 104.3 kB

Release files / codecraftai_foundations-1.2.1.tar.gz

Download URL codecraftai_foundations-1.2.1.tar.gz
Size 43.1 kB
Tags Source
SHA-256 checksum
How to use checksums
368e635cb1026f442dd155b813191a3e9f916c852595c6da19a68a853f6d2e55
BLAKE2b-256 checksum
How to use checksums
17a23bf64d95decac8498715d72f01aa011f81ce9db125b5e873be38b5b8b351
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 20, 2026.

Transparency log

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

Download URL codecraftai_foundations-1.2.1-py3-none-any.whl
Size 61.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
356854e3e41bced216362ac3beb811547f427106efd703fce29ee7eed03d8ec8
BLAKE2b-256 checksum
How to use checksums
b8d83f85fd48cdb119551bb67fb2d0e2e8fe08527d1f93fb71bcdaad5046d1ac
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 20, 2026.

Transparency log

Security for codecraftai-foundations 1.2.1

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.1.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 20, 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.1 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