Skip to main content

A tool to generate Homebrew resource blocks from PyPI packages

Project description

homebrew-mdviewer

This repository contains:


📦 mdviewer Formula

Install mdviewer using this Homebrew tap:

brew tap biaojiang/mdviewer
brew install biaojiang/mdviewer/mdviewer

reqs2brew tool

PyPI version License: MIT PyPI Downloads

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 resource blocks to both terminal and file.
  • Caches downloads to avoid redundant network requests.

Installation

pip install reqs2brew

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

reqs2brew-0.2.0.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

reqs2brew-0.2.0-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file reqs2brew-0.2.0.tar.gz.

File metadata

  • Download URL: reqs2brew-0.2.0.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for reqs2brew-0.2.0.tar.gz
Algorithm Hash digest
SHA256 790a587f90aa331a585f10b4b1dafb156aa1dd2df9d9a47d493fa5f66cefcee3
MD5 ee69d443346324ba6a69d0938064183e
BLAKE2b-256 d0e3a13d00ac1a6cf151825d4ba822699470418621d3977cee71bf72ffa34fbe

See more details on using hashes here.

Provenance

The following attestation bundles were made for reqs2brew-0.2.0.tar.gz:

Publisher: python-publish.yml on biaojiang/homebrew-mdviewer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file reqs2brew-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: reqs2brew-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for reqs2brew-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 eee2765b7bc35c9551207c3dd46d1a7bda5a27af89b5fa68b849a8e34fc1cd99
MD5 d6db6a22ecfe9e1a0ff0e8ef6fcf99e4
BLAKE2b-256 638a48d455ebf90f5b5e5f594b735fcde3940bcd7cf7f6047f6f1dde1a2d8abc

See more details on using hashes here.

Provenance

The following attestation bundles were made for reqs2brew-0.2.0-py3-none-any.whl:

Publisher: python-publish.yml on biaojiang/homebrew-mdviewer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page