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.12 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.2

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.2
File Size Uploaded Provenance Actions
brei-0.3.2.tar.gz 327.1 kB Without provenance Details for brei-0.3.2.tar.gz

Built distribution (wheel)

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

Total release size: 351.1 kB

Release files / brei-0.3.2.tar.gz

Download URL brei-0.3.2.tar.gz
Size 327.1 kB
Tags Source
SHA-256 checksum
How to use checksums
e85bed175ed84fbe2fecc0d1b2a8374c29b6debf725dfbc20b291c154141c108
BLAKE2b-256 checksum
How to use checksums
09a4e25f5deac169a6443d692f57a286b861a3084ab231dafb421914533d3e37
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.2-py3-none-any.whl

Download URL brei-0.3.2-py3-none-any.whl
Size 24.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8c971acf235a749daab94e9173f9962e5afe32a77cae2edd15e02196916eb499
BLAKE2b-256 checksum
How to use checksums
b021968fd520f8bdfbd99dd86d1ea9092a97801caad7d3278aae56b921bb7ac8
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.2

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