Skip to main content

Installable bash command helpers

Project description

Bashers

Installable bash command helpers

Installation

Install from PyPI:

pip install bashers

Or with uv:

uv pip install bashers

Local install (from this repo):

pip install .

Or install from a built wheel:

pip install dist/bashers-*.whl

Usage

After installation, use the bashers dispatcher:

bashers update
bashers update requests
bashers show
bashers show requests
bashers setup
bashers setup --frozen
bashers gh
bashers gh --dry-run

Verify the command is on PATH:

which bashers

If you are using a virtualenv or uv, make sure its bin/ directory is active in your shell.

Shell Completion

Bash completion:

source <(bashers completion)

The completion script auto-installs to ~/.local/share/bash-completion/completions/bashers on first run. If you prefer, you can enable it manually (example):

bashers completion > ~/.bash_completion.d/bashers

Spinner

The default loader uses a built-in dots13 spinner and has no extra dependencies. Disable it with NO_SPINNER=1.

Development

To install in development mode:

uv sync

Or with pip:

pip install -e .

Run tests:

pytest

Adding New Commands

  1. Add your bash script under the bashers/ directory (subfolders are OK)
  2. If you want a bash function, define a function with the same name as the file
  3. Reinstall: uv sync or pip install -e .

Project details


Download files

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

Source Distribution

bashers-0.4.9.tar.gz (8.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bashers-0.4.9-py3-none-any.whl (14.4 kB view details)

Uploaded Python 3

File details

Details for the file bashers-0.4.9.tar.gz.

File metadata

  • Download URL: bashers-0.4.9.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for bashers-0.4.9.tar.gz
Algorithm Hash digest
SHA256 b6f7f764813e6ecbcac0de29cb8e00f71f4caf5ab26aa6de2a6b5404536e1be2
MD5 5bd3d481233c2640389d64e763e52da3
BLAKE2b-256 8f48dcd48505ca10a0d0d785255c9b2f9fb94dd5dfcec9d985ba15c01f2989b9

See more details on using hashes here.

File details

Details for the file bashers-0.4.9-py3-none-any.whl.

File metadata

  • Download URL: bashers-0.4.9-py3-none-any.whl
  • Upload date:
  • Size: 14.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for bashers-0.4.9-py3-none-any.whl
Algorithm Hash digest
SHA256 565d09953a47b694ad9186cc3d28331d05c9f3c198961b857e40346bb86e3608
MD5 d1e4bdfacd516e8c9aa7a5e7c0810aa5
BLAKE2b-256 213d68d750ebbad2c40fda2ce3d4d5fe902a699565bc1067f04caa07dff3df9c

See more details on using hashes here.

Supported by

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