Socket
Socket
Sign inDemoInstall

bundler.py

Package Overview
Dependencies
0
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    bundler.py

A simple tool for packing shippable virtualenvs


Maintainers
1

Readme

bundler.py

A simple tool for packing shippable virtualenvs

bundler.py bundle [-h] [--output OUTPUT] [--compression {gz,bz2,xz} | --gz | --bz2 | --xz] [venv]

Bundle a virtualenv folder into a tarball, ready for caching or shipping between environments

Output files are just compressed tar files, with an additional metadata file (currently unused, but intended for future validation post-unpacking)

bundler.py unpack [-h] [--shebang SHEBANG] [--python PYTHON] [--no-repair] bundle_path [output]

Unpack and optionally repair a bundle into a usable virtualenv

bundler.py repair [-h] [--shebang SHEBANG] [--python PYTHON] path

Repair a virtualenv, rewriting venv/bin script shebangs, and updating bin/python symlinks to point to the correct path.

Future versions will inspect shebangs before rewriting, so as not to break potential shell scripts and other files that get stuck in venv/bin

Development

This project uses poetry for development dependency management, although it's not strictly necessary.

py.test is used for testing, flakeheaven for linting, and black for formatting.

Keywords

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc