Skip to main content

Your Bunny Wrought

Your Bunny Wrought (but for short) is a collection of scripts related to file formats and compression.

Installation

pip install but

CLI Usage

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

Watching for Changes

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}"]
    }
  ]
}

External Executables

but ffmpeg -- [ARGS]
but tsc -- [ARGS]

Working on Your Bunny Wrought

python3.12 -m venv virtual
. ./virtual/bin/activate
python -m pip install -U pip
pip install -r requirements.txt

Uploading to PyPI

pip wheel --no-deps .
twine upload but-*-py3-none-any.whl
rm -r build/ but.egg-info/ but-*-py3-none-any.whl

Metadata

Release files for but 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

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

Release files / but-0.1.3-py3-none-any.whl

Download URL but-0.1.3-py3-none-any.whl
Size 23.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4f73e6e1212ad318aaef1a9ee84bd3daabb49b1de0a3f522a2b8253e962148d1
BLAKE2b-256 checksum
How to use checksums
d5ae34ac7311885983bd42a2d6db8f018e40300002f985123ecf5459b225a39b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.2

Security for but 0.1.3

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