Skip to main content

Safely merge multiple Python virtual environments by reconstructing dependencies.

Project description

pyvenvmerge

Safely merge multiple Python virtual environments by reconstructing dependencies.

Features (v0.1.0)

  • Validates input virtual environments
  • Enforces Python version consistency
  • Extracts dependencies using pip freeze
  • Conflict resolution strategies:
    • highest (default)
    • strict
    • unpinned
  • Rebuilds merged environment cleanly
  • Runs pip check for validation

Installation

pip install pyvenvmerge

Usage

pyvenvmerge envA envB -o mergedEnv

With strategy:

pyvenvmerge envA envB -o mergedEnv --strategy highest
# default

pyvenvmerge envA envB -o mergedEnv --strategy strict

pyvenvmerge envA envB -o mergedEnv --strategy unpinned

Limitations(v0.1.0)

  • Editable installs not supported.
  • Git dependencies not supported.
  • File dependencies not supported.
  • No dry-run mode yet.

Architecture

See ARCHITECTURE.md for design details.

License

MIT License

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

pyvenvmerge-0.1.0.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyvenvmerge-0.1.0-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

Details for the file pyvenvmerge-0.1.0.tar.gz.

File metadata

  • Download URL: pyvenvmerge-0.1.0.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for pyvenvmerge-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4fd6c5f9541dc5e81af6aaeab12d340b6e0e3a99ab5220ab68bb92605e9e4aa3
MD5 81a2ea964048ba1d823da545b6f9e201
BLAKE2b-256 a4be6303377a54823c946d1a2e5a81b5685a64666de848fb17559fe54a6cc86f

See more details on using hashes here.

File details

Details for the file pyvenvmerge-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pyvenvmerge-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for pyvenvmerge-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 11b22b6ad195f11e62f8437a63ea0027dfae833a43cfec867842530f51a242eb
MD5 9b205818a9e2278a639b8dacb287532e
BLAKE2b-256 73965b3c5dfe647a858385d0a0ee652fa9891592054276447b27db6c24677da5

See more details on using hashes here.

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