cbfax
A JAX library to compute control barrier functions related functionality
Install
Requires the dynamaxsys library
pip install git+https://github.com/UW-CTRL/dynamaxsys.git
pip install git+https://github.com/UW-CTRL/cbfax.git
For editable mode:
git clone https://github.com/UW-CTRL/cbfax.git
cd cbfax
pip install -e .
Pre-commit (Ruff Formatting)
Install pre-commit and set up the git hook:
pip install pre-commit
pre-commit install
Run on all files:
pre-commit run --all-files
Automated Versioning
This repo now uses setuptools-scm, so package versions are derived from Git tags.
Packaging and version metadata are managed in pyproject.toml.
No manual version= edits are needed.
Create a release tag:
git tag v0.0.2
git push origin v0.0.2
Build with the computed version:
python -m build
Notes:
- Tagged commits build exactly that version (for example,
v0.0.2). - Untagged commits get an automatic development version.
One-Command Releases
Use the Makefile helpers to create the next version tag automatically:
make release-next # preview next patch tag (dry-run)
make release-patch # create next patch tag locally
make release-minor # create next minor tag locally
make release-major # create next major tag locally
Create and push in one command:
make release-patch-push
make release-minor-push
make release-major-push
Then build:
make build
Metadata
Release files for cbfax 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cbfax-0.2.2.tar.gz | 10.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cbfax-0.2.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.5 kB
Release files / cbfax-0.2.2.tar.gz
| Download URL | cbfax-0.2.2.tar.gz |
|---|---|
| Size | 10.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f537b43b9b2504d8fa448e3628857dc7a9a50690fe4010e5e68ae1f0b9ae1b99
|
|
BLAKE2b-256 checksum How to use checksums |
a707e8af187f3210f775ac314e6ca229de9b18d6068e3a279325c516784872c8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.2
|
Release files / cbfax-0.2.2-py3-none-any.whl
| Download URL | cbfax-0.2.2-py3-none-any.whl |
|---|---|
| Size | 6.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
45d118c30bcf7c4fb963491ad082236071c77c3f305d7a80b66f406de69f0330
|
|
BLAKE2b-256 checksum How to use checksums |
f0b57b20e19f6ba86b7baf666e69f0990990ae587752cb5d71efc8cc5783e5ae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.2
|