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.1

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.1
File Size Uploaded Provenance Actions
brei-0.3.1.tar.gz 290.2 kB Without provenance Details for brei-0.3.1.tar.gz

Built distribution (wheel)

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

Total release size: 314.1 kB

Release files / brei-0.3.1.tar.gz

Download URL brei-0.3.1.tar.gz
Size 290.2 kB
Tags Source
SHA-256 checksum
How to use checksums
d59674bce27d8d274cb8b8e37e4039f823cd2386a2f4fe945a4f35c430802511
BLAKE2b-256 checksum
How to use checksums
cf5aea0a15f87ca720670759354132ab342eb222e9a623ead5f73e3cebe067be
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.1-py3-none-any.whl

Download URL brei-0.3.1-py3-none-any.whl
Size 23.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d5a4d5f0a756b1b8ad5cb62408c074ec6a75db7681cab443854ea7b4212f3673
BLAKE2b-256 checksum
How to use checksums
589c6eea160be9a879eb01941307d0a2b9d01dc766846958cb15eb315ff1fb83
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.1

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