Skip to main content

Brei

GitHub Org's stars Python package PyPI - Version Entangled badge

Minimal workflow system and alternative to Make.

  • Read from TOML or JSON (also pyproject.toml in [tool.brei] section)
  • Only Python ≥ 3.11 required
  • Runs task lazily and in parallel
  • Supports variables, templates, includes and custom runners

Read more: documentation

Why (yet another workflow tool)

This tool was developed as part of the Entangled project, but can be used on its own. Brei is meant to perform small scale automisations for literate programming in Entangled, like generating figures, and performing computations locally. It requires no setup to work with and workflows are easy to understand by novice users. If you have any more serious needs than that, we'd recommend to use a more tried and proven system, of which there are too many to count.

When to use

You're running a project, there's lots of odds and ends that need automisation. You'd use a Makefile but your friend is on Windows and doesn't have GNU Make installed. You try to ship a product that needs this, but don't want to confront people trying it for the first time with a tonne of stuff they've never heard of.

Install

To install, you may:

pip install brei

Or you use a tool for virtual environments, we recommend uv, after creating a new project with uv init:

uv add brei

Development

To run unit tests and type checker:

uv run brei test

To build the documentation, run the brei weave workflow:

uv run brei weave

Some parts of Brei are literate. Run the entangled watch daemon while editing code,

entangled watch

or else, as a batch job, stitch changes before committing:

entangled stitch

License

Copyright Netherlands eScience Center, Apache License, see LICENSE.

Metadata

Release files for brei 0.3.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 brei 0.3.0
File Size Uploaded Provenance Actions
brei-0.3.0.tar.gz 286.5 kB Without provenance Details for brei-0.3.0.tar.gz

Built distribution (wheel)

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

Total release size: 309.2 kB

Release files / brei-0.3.0.tar.gz

Download URL brei-0.3.0.tar.gz
Size 286.5 kB
Tags Source
SHA-256 checksum
How to use checksums
5204de56a75b1d22560e6496bcfb0c3d32e95b3f573aa302b860ae8004de45db
BLAKE2b-256 checksum
How to use checksums
e4bb951f692d4dc49aadc3fdd314671a089a6e1f03d50fb01d3b3cd784b23c07
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / brei-0.3.0-py3-none-any.whl

Download URL brei-0.3.0-py3-none-any.whl
Size 22.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c4684935bfe07488cb8f8358b464e710969124b6e601c2d9d47d89f24c05956a
BLAKE2b-256 checksum
How to use checksums
f1ee3ec3b44e546f970d529a1fd350b5f23d118781d6f3c6f95582811f0cda92
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for brei 0.3.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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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