Skip to main content

Code Craft AI Credentials

The codecraftai-credentials package is the credentials vocabulary for the ccai suite. It defines a small hierarchy of credential classes rooted at BaseCredential and adds concrete types for the authentication styles the rest of the suite has to talk to. A CredentialManager loads credentials from configuration and exposes them by name so that protocol and REST clients (for example codecraftai-protocol-ssh, codecraftai-restclient-github-public, and codecraftai-gitlab) can request the credential they need without hard-coding authentication details.

Highlights

  • BaseCredential root and CredentialManager for declarative credential lookup by name.

  • SSH-oriented credential types: BasicCredential, PublicKeyCredential, and SshCredential.

  • Token-oriented types: ApiTokenCredential, SecretTokenCredential, PersonalApiTokenCredential.

  • Vendor-specific credentials: GithubTokenCredential, GithubAppCredential, AwsAccessKeyCredential, and AzureClientSecretCredential.

  • WifiChoiceCredential for network-selection scenarios.

  • Structurally satisfies the IBasicCredential typing.Protocol from codecraftai-foundations (the protocol is structural, so no explicit inheritance or runtime dependency is required).

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-environment

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-credentials 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-credentials 1.2.0
File Size Uploaded Provenance
codecraftai_credentials-1.2.0.tar.gz 32.8 kB With provenance Details

Built distribution (wheel)

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

Total release size: 104.7 kB

Release files / codecraftai_credentials-1.2.0.tar.gz

Download URL codecraftai_credentials-1.2.0.tar.gz
Size 32.8 kB
Tags Source
SHA-256 checksum
How to use checksums
6e066e9aae65e51dd340c7a9e4645bd54cb4a55b7f5a6dc0073ee54d778a81b1
BLAKE2b-256 checksum
How to use checksums
7b6c09bca3756ccd2794545352b0e39aa71288c735a032278a08b7a5966210fb
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_credentials-1.2.0-py3-none-any.whl

Download URL codecraftai_credentials-1.2.0-py3-none-any.whl
Size 71.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d72de58745e6e83a92c925c8bed4a2f3430f795e14b63c5638c9691216f30279
BLAKE2b-256 checksum
How to use checksums
fe25be570f2c152a5cde771f02d972de195edb9d4739ab1b5c1f84d24941f695
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-credentials 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_credentials-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