{"categories":[{"label":"Build Tools","url":"https://skillfed.io/packages/category/software-development-build-tools/2"}],"enrichment":{"capability":"shiv builds self-contained Python zipapps (PEP 441) that bundle an application and all its dependencies into a single executable file, eliminating the need for separate installation steps.","skillfed_tags":["packaging","distribution","cli-tools"],"use_cases":["Package a CLI tool like flake8 into a single executable that users can download and run without installing Python.","Distribute internal company tools as standalone binaries that don't require dependency management on target machines.","Create a Python REPL bundle with preloaded libraries (e.g., boto) that users can invoke interactively without setup.","Build cross-platform Python applications where all dependencies are pure Python and architecture-independent.","Simplify CI/CD pipelines by generating immutable, self-contained application artifacts instead of managing virtual environments."],"what_it_does":"shiv is a command-line tool that packages a Python application and all its dependencies into a single executable zipapp file (a .pyz file), following PEP 441. Instead of requiring users to install Python and then use pip to fetch dependencies, you distribute one self-contained binary that runs immediately. It accepts almost all pip install options, so you can specify versions, extras, and sources just as you would with pip.\n\nThe tool is designed for developers who want to distribute Python CLI tools or applications without forcing end-users to manage Python environments. You specify a console script entry point (like flake8) and shiv bundles everything needed to run it. The generated zipapp extracts itself into ~/.shiv (or a custom SHIV_ROOT) on first run. A key limitation: zipapps with native C extensions may not work across different operating systems or architectures\u2014a .pyz built on macOS typically only runs on macOS.","worth_installing":"Yes. shiv is actively maintained, has low install friction, no security vulnerabilities, and solves a real distribution problem for Python CLI tools and applications. Install it if you need to package Python applications as standalone executables; skip it if your users already have Python environments or if your dependencies include platform-specific C extensions that must work across multiple architectures."},"id":"shiv","links":{"html":"https://skillfed.io/packages/shiv","md":"https://skillfed.io/packages/shiv.md","pypi":"https://pypi.org/project/shiv/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2024-11-01","license_spdx":null,"license_treatment":"permissive","name":"shiv","python_support":"supports_current","summary":"A command line utility for building fully self contained Python zipapps."},"popularity":{"monthly_downloads":425118,"position":6761,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.0.8"}
