A tool to generate Homebrew resource blocks from PyPI packages
Project description
homebrew-mdviewer
This repository contains:
- A Homebrew formula for installing
mdviewer, a Markdown viewer CLI. - A Python tool
reqs2brewfor generating Homebrewresourceblocks from arequirements.txt, e.g.,requirements_mdviewer.txt.
📦 mdviewer Formula
Install mdviewer using this Homebrew tap:
brew tap biaojiang/mdviewer
brew install biaojiang/mdviewer/mdviewer
reqs2brew tool
Generate Homebrew resource blocks from a requirements.txt.
This tool helps Homebrew formula authors convert a list of Python dependencies into resource stanzas suitable for use with virtualenv_install_with_resources. It supports version resolution, SHA256 calculation, and optional filtering of pre-releases.
Features
- Automatically fetches the latest stable release of each package.
- Downloads the source tarball (
sdist) for proper SHA256 calculation. - Outputs Homebrew
resourceblocks to both terminal and file. - Caches downloads to avoid redundant network requests.
Installation
pip install reqs2brew
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 reqs2brew-0.1.2.tar.gz.
File metadata
- Download URL: reqs2brew-0.1.2.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
81a96c983584b6a24c369671b86b6de368e267022b6a2c603cfc72fa93713b85
|
|
| MD5 |
46125a35ba764638a027e6ade1564fc8
|
|
| BLAKE2b-256 |
e6d80b8c0fd4ad4af823c5c3bfcc5cb12f5bceadd9b5ac7b4180d6fed798e42c
|
Provenance
The following attestation bundles were made for reqs2brew-0.1.2.tar.gz:
Publisher:
python-publish.yml on biaojiang/homebrew-mdviewer
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
reqs2brew-0.1.2.tar.gz -
Subject digest:
81a96c983584b6a24c369671b86b6de368e267022b6a2c603cfc72fa93713b85 - Sigstore transparency entry: 220453362
- Sigstore integration time:
-
Permalink:
biaojiang/homebrew-mdviewer@943ab354eef2c0e7d2768e503d64464881cb8e33 -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/biaojiang
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@943ab354eef2c0e7d2768e503d64464881cb8e33 -
Trigger Event:
release
-
Statement type:
File details
Details for the file reqs2brew-0.1.2-py3-none-any.whl.
File metadata
- Download URL: reqs2brew-0.1.2-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7c085f5729ace37140ca2c5a6ca7ba3ad05b1f377ba4d741e3619b34515e5a2b
|
|
| MD5 |
503a9eab0db7949ee288a2ec18e8496a
|
|
| BLAKE2b-256 |
449950362c7a3d8c15c88baf5b95e22c945f43f54ba15c50305d19ec3bd11b1a
|
Provenance
The following attestation bundles were made for reqs2brew-0.1.2-py3-none-any.whl:
Publisher:
python-publish.yml on biaojiang/homebrew-mdviewer
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
reqs2brew-0.1.2-py3-none-any.whl -
Subject digest:
7c085f5729ace37140ca2c5a6ca7ba3ad05b1f377ba4d741e3619b34515e5a2b - Sigstore transparency entry: 220453364
- Sigstore integration time:
-
Permalink:
biaojiang/homebrew-mdviewer@943ab354eef2c0e7d2768e503d64464881cb8e33 -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/biaojiang
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@943ab354eef2c0e7d2768e503d64464881cb8e33 -
Trigger Event:
release
-
Statement type: