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
Metadata
Release files for reqs2brew 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| reqs2brew-0.2.0.tar.gz | 4.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| reqs2brew-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.9 kB
Release files / reqs2brew-0.2.0.tar.gz
| Download URL | reqs2brew-0.2.0.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
790a587f90aa331a585f10b4b1dafb156aa1dd2df9d9a47d493fa5f66cefcee3
|
|
BLAKE2b-256 checksum How to use checksums |
d0e3a13d00ac1a6cf151825d4ba822699470418621d3977cee71bf72ffa34fbe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 May 31, 2026.
Transparency logRelease files / reqs2brew-0.2.0-py3-none-any.whl
| Download URL | reqs2brew-0.2.0-py3-none-any.whl |
|---|---|
| Size | 4.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
eee2765b7bc35c9551207c3dd46d1a7bda5a27af89b5fa68b849a8e34fc1cd99
|
|
BLAKE2b-256 checksum How to use checksums |
638a48d455ebf90f5b5e5f594b735fcde3940bcd7cf7f6047f6f1dde1a2d8abc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 May 31, 2026.
Transparency log