Hacker GitHub

← All repos

jaraco/pip-run

View on GitHub ↗ ★ 143 Python

pip-run - dynamic dependency loader for Python

7 mentions on Hacker News by 4 people: 2 stories, 5 comments · first 2023-07-22 · latest 2024-06-23

Mentions per year 7 mentions · busiest year 2023 (4)
20082026
  1. …idea isn't new: you could do more or less the same with https://github.com/PyAr/fades (2014) and https://github.com/jaraco/pip-run (2015). However, I only adopted it after I saw https://peps.python.org/pep-0722/ , which PEP 723 replaced…
    comment by networked · 2024-06-23 · in Ruby: A great language for shell scripts
  2. ▲ 2
    Pip-run – dynamic dependency loader for Python
    story by bruh2 · 2024-02-20 · 0 comments
  3. ▲ 1
    PEP 723 – Inline script metadata (merged into pip-run)
    story by vindex10 · 2024-01-26 · 1 comment
  4. There is also fades ( https://github.com/PyAr/fades ) and pip-run ( https://github.com/jaraco/pip-run ). Debian and Ubuntu package fades.
  5. You can try https://github.com/jaraco/pip-run or https://github.com/PyAr/fades (or eventually pipx: https://github.com/pypa/pipx/issues/913 ). They don't require a build step. For example, #! /usr/bin/env -S pip-run Jinja2==3.* from jinja2…
  6. …scripts with dependencies ( https://github.com/pypa/pipx/issues/913 ). There is also pip-run ( https://github.com/jaraco/pip-run ) with similar functionality to the new feature in pipx and other options. Their approach of listing…
    comment by networked · 2023-08-15 · in Ask HN: Share a shell script you like
  7. …through the AST, so no eval needed. One of the links lead me to alternative proposals at https://github.com/jaraco/pip-run/issues/44 but none of them fit this form. (It's "Variant 1: single variable" with '__pyproject_toml__' as the…