Generate and Update Homebrew Formula (Brew) Python Resources.
Project description
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.
Features
- 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
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.
- Windows x86_64 amd64
- macOS Apple Intel amd64
- macOS Apple Silicon arm64
- Linux x86_64 amd64
- Linux ARM arm64
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
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
Support
If 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
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.
For a full list of current projects visit: https://cssnr.github.io/
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file brew_python_resources-0.0.2.tar.gz.
File metadata
- Download URL: brew_python_resources-0.0.2.tar.gz
- Upload date:
- Size: 8.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
44719069bc244bf33806d15dcfa3a9acd43a3abe2f810c1b94e953495cdcf729
|
|
| MD5 |
07441084129ef8b63ca063ef0f16e8fc
|
|
| BLAKE2b-256 |
02b47a80261f399e7a0b1611acb4056d485c3734edc7ff625e61470972e3127c
|
Provenance
The following attestation bundles were made for brew_python_resources-0.0.2.tar.gz:
Publisher:
release.yaml on cssnr/brew-python-resources
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
brew_python_resources-0.0.2.tar.gz -
Subject digest:
44719069bc244bf33806d15dcfa3a9acd43a3abe2f810c1b94e953495cdcf729 - Sigstore transparency entry: 787752719
- Sigstore integration time:
-
Permalink:
cssnr/brew-python-resources@6dd3094b65d401642e7cd1ef4e0fca17c723004e -
Branch / Tag:
refs/tags/0.0.2 - Owner: https://github.com/cssnr
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@6dd3094b65d401642e7cd1ef4e0fca17c723004e -
Trigger Event:
release
-
Statement type:
File details
Details for the file brew_python_resources-0.0.2-py3-none-any.whl.
File metadata
- Download URL: brew_python_resources-0.0.2-py3-none-any.whl
- Upload date:
- Size: 8.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d4ae8c868ab5267fdda7c8d6a37d47bc7aecf141ed1887ed25a98bb0bd0856ff
|
|
| MD5 |
43429458dbf5690e1fbe0c11754ad6b3
|
|
| BLAKE2b-256 |
cdfee4d4d4be1c61fca38a0eeb2de669bbc0e0ba795dcf463acebe2529105863
|
Provenance
The following attestation bundles were made for brew_python_resources-0.0.2-py3-none-any.whl:
Publisher:
release.yaml on cssnr/brew-python-resources
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
brew_python_resources-0.0.2-py3-none-any.whl -
Subject digest:
d4ae8c868ab5267fdda7c8d6a37d47bc7aecf141ed1887ed25a98bb0bd0856ff - Sigstore transparency entry: 787752727
- Sigstore integration time:
-
Permalink:
cssnr/brew-python-resources@6dd3094b65d401642e7cd1ef4e0fca17c723004e -
Branch / Tag:
refs/tags/0.0.2 - Owner: https://github.com/cssnr
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@6dd3094b65d401642e7cd1ef4e0fca17c723004e -
Trigger Event:
release
-
Statement type: