Skip to main content

brainfactory

The executable onboarding engine for Brain Factory — a single, standard-library-only Python package that provisions, adopts, and upgrades project "brain" repositories, and backs the cross-platform adapter seam (bash/powershell wrappers shell out to this).

Install

# Isolated CLI (recommended) — installs the `brainfactory` command:
pipx install brainfactory

# Or with pip:
pip install brainfactory

# Stricter manifest validation (optional): pulls in jsonschema
pipx install "brainfactory[schema]"

To install the latest unreleased build straight from the repository:

pipx install "git+https://github.com/izakl/brainforge#subdirectory=brain-factory/adapters/python"

Use

brainfactory --help
brainfactory inspect --repo .            # read-only gap report
brainfactory provision --dest ./brain --name "Acme" --slug acme \
    --brain-repo acme/acme-autonomy-system --prefix ac
brainfactory upgrade --brain ./brain     # down-sync (dry-run; --apply to write)

brainfactory <cmd> is identical to python -m brainfactory <cmd>; the bash/powershell adapters and the run.sh/run.ps1 dispatchers call the same CLI, so behaviour matches across runtimes.

Requires Python 3.10+. Licensed MIT.

Metadata

Release files for brainfactory 0.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 brainfactory 0.2.0
File Size Uploaded Provenance Actions
brainfactory-0.2.0.tar.gz 43.9 kB With provenance Details for brainfactory-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for brainfactory 0.2.0
File Interpreter ABI Platform Actions
brainfactory-0.2.0-py3-none-any.whl Python 3 none any Details for brainfactory-0.2.0-py3-none-any.whl

Total release size: 85.1 kB

Release files / brainfactory-0.2.0.tar.gz

Download URL brainfactory-0.2.0.tar.gz
Size 43.9 kB
Tags Source
SHA-256 checksum
How to use checksums
08baccdba2f9f163291ce8079dc4b0068e17a029c71d17b981637ee562d72054
BLAKE2b-256 checksum
How to use checksums
038f84758359428bd7b703347b90e44951fe4803b4e2daea3f22585ce0008787
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

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 Jul 8, 2026.

Transparency log

Release files / brainfactory-0.2.0-py3-none-any.whl

Download URL brainfactory-0.2.0-py3-none-any.whl
Size 41.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d556ab949ae5a070f03c55e4fd50f8adf0f34794426cbaf87c7e5d1f899bcce5
BLAKE2b-256 checksum
How to use checksums
6ae76f33e5be6832d705609c0f15e827e103dd6bb009b1739badb3c7aa985d66
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

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 Jul 8, 2026.

Transparency log

Security for brainfactory 0.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

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

Select from 2 files

Attestation for brainfactory-0.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 Jul 8, 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