cbf with jax
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cbfax-0.2.2.tar.gz.
File metadata
- Download URL: cbfax-0.2.2.tar.gz
- Upload date:
- Size: 10.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f537b43b9b2504d8fa448e3628857dc7a9a50690fe4010e5e68ae1f0b9ae1b99
|
|
| MD5 |
36a493963e234a718da01e17a1bae1f8
|
|
| BLAKE2b-256 |
a707e8af187f3210f775ac314e6ca229de9b18d6068e3a279325c516784872c8
|
File details
Details for the file cbfax-0.2.2-py3-none-any.whl.
File metadata
- Download URL: cbfax-0.2.2-py3-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
45d118c30bcf7c4fb963491ad082236071c77c3f305d7a80b66f406de69f0330
|
|
| MD5 |
97923423f42d660081d6c86291c650ff
|
|
| BLAKE2b-256 |
f0b57b20e19f6ba86b7baf666e69f0990990ae587752cb5d71efc8cc5783e5ae
|