linkedin/shiv
View on GitHub ↗ ★ 1,950 Python
shiv is a command line utility for building fully self contained Python zipapps as outlined in PEP 441, but with all their dependencies included.
11 mentions on Hacker News by 8 people: 1 story, 10 comments · first 2018-04-30 · latest 2025-03-28
20082026
-
…PEP 723 script itself and `pyproject.toml`. I just switched a small server application from shiv ( https://github.com/linkedin/shiv ) to inline script metadata after a binary dependency broke the zipapp. I experimented with having…
comment by networked · 2025-03-28 · in Using uv and PEP 723 for Self-Contained Python Scripts -
…https://github.com/cloud-custodian/cel-python [4] https://github.com/caketop/python-starlark-go [5] https://github.com/linkedin/shiv#gotchas
comment by networked · 2024-11-20 · in Show HN: Retry a command with exponential backoff and jitter (+ Starlark exprs) -
How does this compare to shiv? https://github.com/linkedin/shiv
comment by qubidt · 2023-12-13 · in Show HN: PyApp – runtime installer for Python applications -
…using a tool like shiv or PEX, only with binary extensions the artifacts are still per-platform: https://github.com/linkedin/shiv#gotchas . I recommend users to install my Python programs with pipx ( https://github.com/pypa/pipx ). I think…
comment by networked · 2023-12-09 · in PysimpleGUI -
…into a single file, though you still require the Python interpreter to run it on the target [1] https://github.com/linkedin/shiv
comment by deivid · 2023-04-08 · in Pydantic V2 rewritten in Rust is 5-50x faster than Pydantic V1 -
Just in case you are unaware, take a look at shiv: https://github.com/linkedin/shiv which does this quite neatly
comment by deivid · 2022-07-26 · in What's the most portable way to include binary blobs in an executable? -
…including git repos, if they contains the right metadata. What's more, with something like shiv ( https://github.com/linkedin/shiv ), you can actually bundle those dependancies into one zipapp (an official python feature, see…
comment by BiteCode_dev · 2020-05-29 · in Deno Is a Browser for Code -
…app support, which has improved this dramatically from my perspective. Extended by things like shiv https://github.com/linkedin/shiv make it fairly complete. We're currently using this via pex. It mostly works, but we still run into…
comment by weberc2 · 2019-10-21 · in Python at Scale: Strict Modules -
…app support, which has improved this dramatically from my perspective. Extended by things like shiv https://github.com/linkedin/shiv make it fairly complete. > async/await This is interesting to me. I prefer async/await in general, because…
comment by timothycrosley · 2019-10-21 · in Python at Scale: Strict Modules -
…the interpreter, there is always an executable zip. There's a pretty handy tool for creating them: https://github.com/linkedin/shiv
comment by SmirkingRevenge · 2019-06-08 · in Current State of Python Packaging