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 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.1.2.tar.gz (4.0 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.1.2-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

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

Hashes for reqs2brew-0.1.2.tar.gz
Algorithm Hash digest
SHA256 81a96c983584b6a24c369671b86b6de368e267022b6a2c603cfc72fa93713b85
MD5 46125a35ba764638a027e6ade1564fc8
BLAKE2b-256 e6d80b8c0fd4ad4af823c5c3bfcc5cb12f5bceadd9b5ac7b4180d6fed798e42c

See more details on using hashes here.

Provenance

The following attestation bundles were made for reqs2brew-0.1.2.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.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

Hashes for reqs2brew-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7c085f5729ace37140ca2c5a6ca7ba3ad05b1f377ba4d741e3619b34515e5a2b
MD5 503a9eab0db7949ee288a2ec18e8496a
BLAKE2b-256 449950362c7a3d8c15c88baf5b95e22c945f43f54ba15c50305d19ec3bd11b1a

See more details on using hashes here.

Provenance

The following attestation bundles were made for reqs2brew-0.1.2-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