I tried to think of a clever name, but
OTHER License
Your Bunny Wrought (but for short) is a collection of scripts related to file formats and compression.
pip install but
but serve_static [-h HOST] [-p PORT] [DIR]
Alias: server
but render_template [-t TEMPLATE_DIR] PATTERN [PATTERN ...]
Alias: template
but run_script SCRIPT
Alias: run
but watch_files DEF_FILE
Alias: watch
DEF_FILE is a JSON definition file with the following structure:
{
"paths": ["."],
"handlers": [
{
"patterns": ["**/*.py"],
"script": ["echo", "File changed:", "{file}"]
}
]
}
but ffmpeg -- [ARGS]
but tsc -- [ARGS]
python3.12 -m venv virtual
. ./virtual/bin/activate
python -m pip install -U pip
pip install -r requirements.txt
pip wheel --no-deps .
twine upload but-*-py3-none-any.whl
rm -r build/ but.egg-info/ but-*-py3-none-any.whl