Skip to main content

Code Craft AI RestClient Base

The codecraftai-restclient-base package is the foundation for the REST-client packages in the ccai suite. It provides the common base classes and utilities that derived clients (for example codecraftai-restclient-github-public and codecraftai-gitlab) build on, so that every REST integration has the same shape for pagination, schema handling, aspects, and code generation.

Highlights

  • RestClientBase as the HTTP client root.

  • RestApiGroup for grouping endpoints into logical API surfaces.

  • PagedList and ItemsResult for iteration over paginated responses.

  • SchemaObject and SchemaField as the serialization base for response models.

  • RestClientGenerator for generating typed client code from an OpenAPI-style spec.

  • AspectsRest as the REST-specific incarnation of the Aspects pattern.

Repository Structure

  • development/ - Runtime environment scripts.

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

  • source/packages/ - Package source code.

  • source/testroots/ccai/ - TestBase test roots.

  • 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 the single-host test suite:

testbase testing run --root source/testroots/ccai --includes=ccai.tests.restclient.base --output=./.output

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

Metadata

Release files for codecraftai-restclient-base 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-restclient-base 1.2.0
File Size Uploaded Provenance
codecraftai_restclient_base-1.2.0.tar.gz 40.1 kB With provenance Details

Built distribution (wheel)

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

Total release size: 85.1 kB

Release files / codecraftai_restclient_base-1.2.0.tar.gz

Download URL codecraftai_restclient_base-1.2.0.tar.gz
Size 40.1 kB
Tags Source
SHA-256 checksum
How to use checksums
af666de0fccee448410cca7b0b39d36a70007e824d08e88ce29a93caa5c1589d
BLAKE2b-256 checksum
How to use checksums
7a2a9e70132232fd9927d669e142e15e3b7449e257ee68d240161fa23b83d653
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_restclient_base-1.2.0-py3-none-any.whl

Download URL codecraftai_restclient_base-1.2.0-py3-none-any.whl
Size 45.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e85bb0a2b8acbf3b79c2d16fb45195f1edb83436b544585b95669dd637e9041e
BLAKE2b-256 checksum
How to use checksums
acc77058f784a19c7f03fba7943f714355f0bae4264a1cc447dd87775c987811
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-restclient-base 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_restclient_base-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