Skip to main content

I tried to think of a clever name, but

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

but-0.1.1-py3-none-any.whl (22.5 kB view details)

Uploaded Python 3

File details

Details for the file but-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: but-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 22.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.1

File hashes

Hashes for but-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7942f8d026d8e93c002c693dcd4712ec47abd7ddf189b5ec818d74fec1d56fac
MD5 9e752770d23e16b9d22b2652fd9e5914
BLAKE2b-256 e595c36e780a1be05bdf9bdb70a9322cfdfdd630b0851c5c71e01828bebbdd76

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page