Skip to main content

PyPI Version GitHub Release Version TOML Python Version PyPI Downloads Pepy Total Downloads Codecov Workflow Lint Workflow Test Deployment PyPi Deployment Docs GitHub Last Commit GitHub Repo Size GitHub Top Language GitHub Contributors GitHub Issues GitHub Discussions GitHub Forks GitHub Repo Stars GitHub Org Stars Discord Ko-fi

Brew Python Resources

Brew Python Resources

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.

View Documentation

Features

  • Works on published packages or package files
  • Include and Exclude regex or single resource
  • Can generate a url and sha256 stanza
  • Does not require Homebrew or formula files
  • Does not create a venv or install packages
  • Does not require packages to be installed
  • Uses requests cache for repeated runs

View Full Reference

Install

From PyPI: https://pypi.org/p/brew-python-resources

pip install brew-python-resources
uv tool install brew-python-resources

From Homebrew: https://github.com/cssnr/homebrew-tap

brew install cssnr/tap/brew-python-resources

From GitHub: https://github.com/cssnr/brew-python-resources/releases/latest

curl https://i.jpillora.com/cssnr/brew-python-resources! | bash

See jpillora/installer for more details.
Alternatively, you can manually download a release for your system.

View Install Guide

Usage

The Python Version depends on the running interpreter.

python --version

To generate resources for a specific version, use that version.

uv venv --python 3.10
source .venv/bin/activate
python --version

The CLI executable is bpr or brew-python-resources.

Run on a published pacakge.

bpr sharex-cli

Run on a package file.

bpr dist/sharex-cli-0.0.1-py3-none-any.whl

Process a single resource.

bpr sharex-cli -s

Generate the url and sha256 stanza with --url.

bpr brew-python-resources -u
url "https://files.pythonhosted.org/packages/02/b4/7a80261f399e7a0b1611acb4056d485c3734edc7ff625e61470972e3127c/brew_python_resources-0.0.2.tar.gz"
sha256 "44719069bc244bf33806d15dcfa3a9acd43a3abe2f810c1b94e953495cdcf729"

Exclude 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 -v

Output results to a file.

bpr sharex-cli > output.txt

Run without installing using astral-sh/uv :lucide-arrow-up-right:.

uvx brew-python-resources sharex-cli

View Usage Guide

Support

If you run into any issues or need help getting started, please do one of the following:

Features Issues Discussions Discord

Contributing

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.

Ko-fi

For a full list of current projects visit: https://cssnr.github.io/

Metadata

Release files for brew-python-resources 0.0.3

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

Source distribution (sdist)

Source distribution for brew-python-resources 0.0.3
File Size Uploaded
brew_python_resources-0.0.3.tar.gz 8.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for brew-python-resources 0.0.3
File Interpreter ABI Platform
brew_python_resources-0.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 17.0 kB

Release files / brew_python_resources-0.0.3.tar.gz

Download URL brew_python_resources-0.0.3.tar.gz
Size 8.3 kB
Tags Source
SHA-256 checksum
How to use checksums
078fb5f1abacc4204a04628ab8d183dfed62b418269129a2f2e33ee1cce37114
BLAKE2b-256 checksum
How to use checksums
409ecea879ceb3b2d5d6980dd41cb4a2f637b79cbaa0e5b812dd5e0987787d33
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 3, 2026.

Transparency log

Release files / brew_python_resources-0.0.3-py3-none-any.whl

Download URL brew_python_resources-0.0.3-py3-none-any.whl
Size 8.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
038c567fc8ea4489181f4a8f90a0aa8ecc5e6f8cc9142b5353a2e1768eb5ae6a
BLAKE2b-256 checksum
How to use checksums
09009c0b5ffc47537e2ed3059ae47035e70e0af6e33eff4dd71b8395ef3da9a2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 3, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 release files

0.0.2

2 release files

0.0.1

2 release files

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