Skip to main content

brezn 🥨

This is my attempt at figuring out what I would like a seml equivalent built on top of hydra to look like. In particular, I want to have code isolation, i.e. making a copy of the code when you run a job, so that you can continue working on your code while your jobs wait in a SLURM queue.

brezn comes with absolutely no guarantees regarding stability or backwards compatibility. You have been warned.

Installation

You can install brezn from pypi (pip install brezn) though if you want the latest version, you better install it straight from the repo.

pip install git+https://github.com/martenlienen/brezn

Usage

Configuration

You can configure brezn in a separate section of your pyproject.toml.

[tool.brezn]
# Directory that brezn should put its internal files and saved environments into
env_dir = ".brezn"
# Rules in the .gitignore format about which files should be included in the saved environments
files = [
  "brezn/**/*.py",
  "config/**/*.yaml",
]

Run a command

brezn run creates a new copy of your code and then runs the command you provide from there. Note that the working directory will be the directory where you issue brezn run.

brezn run ./train.py overrides=True

Metadata

Release files for brezn 0.1.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 brezn 0.1.0
File Size Uploaded Provenance Actions
brezn-0.1.0.tar.gz 4.4 kB Without provenance Details for brezn-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 9.9 kB

Release files / brezn-0.1.0.tar.gz

Download URL brezn-0.1.0.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
f57aa719c5db388167c6b936061c08bdb7641a7c3f3e6a0c28db3647b47178fc
BLAKE2b-256 checksum
How to use checksums
c1f121a96cf7e02ecd620ffa4e57eef311953a95df3226a23e5f34bb51dd27c5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.28.2

Release files / brezn-0.1.0-py3-none-any.whl

Download URL brezn-0.1.0-py3-none-any.whl
Size 5.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b6e9869ce211cd4830ac5456caab368b40977c1c88d380b63e365358b28c2384
BLAKE2b-256 checksum
How to use checksums
a4dc298c39719f5feba8e8a441b30a57c2a8a123f27382d442c95bdaaf5fd118
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.28.2

Security for brezn 0.1.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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No 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