Generate and Update Homebrew Formula (Brew) Python Resources.
To get started Install the cli and view the Usage.
If you run into any issues or have any questions, support is available.
- Works on published packages or package files
- Include and Exclude regex or single resource
- Does not require Homebrew or formula files
- Does not create a venv or install packages
- Uses caching for repeated runs
From PyPI: https://pypi.org/p/brew-python-resources
pip install brew-python-resourcesuv tool install brew-python-resourcesFrom Homebrew: https://github.com/cssnr/homebrew-tap
brew install cssnr/tap/brew-python-resourcesFrom GitHub: https://github.com/cssnr/brew-python-resources/releases/latest
curl https://i.jpillora.com/cssnr/brew-python-resources! | bashSee jpillora/installer for more details.
Alternatively, you can manually download a release for your system.
- Windows x86_64 amd64
- macOS Apple Intel amd64
- macOS Apple Silicon arm64
- Linux x86_64 amd64
- Linux ARM arm64
The Python Version depends on the running interpreter.
python --versionTo generate resources for a specific version, use that version.
uv venv --python 3.10
source .venv/bin/activate
python --versionThe CLI executable is bpr or brew-python-resources.
Run on a published pacakge.
bpr sharex-cliRun on a package file.
bpr dist/sharex-cli-0.0.1-py3-none-any.whlProcess a single resource.
bpr sharex-cli -sExclude or include packages with regex. Comma seperated list of patterns.
bpr sharex-cli -e "colorama"
bpr sharex-cli -i "click,requests,typer"Increase output with --verbose. Debug with -vv or -vvv.
bpr sharex-cli -vOutput results to a file.
bpr sharex-cli > output.txtRun without installing using astral-sh/uv :lucide-arrow-up-right:.
uvx brew-python-resources sharex-cliIf you run into any issues or need help getting started, please do one of the following:
- Report an Issue: https://github.com/cssnr/brew-python-resources/issues
- Q&A Discussion: https://github.com/cssnr/brew-python-resources/discussions/categories/q-a
- Request a Feature: https://github.com/cssnr/brew-python-resources/issues/new?template=1-feature.yaml
- Chat with us on Discord: https://discord.gg/wXy6m2X8wY
If you would like to submit a PR, please review the CONTRIBUTING.md.
Please consider making a donation to support the development of this project and additional open source projects.
For a full list of current projects visit: https://cssnr.github.io/