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 checkfor 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
Release history Release notifications | RSS feed
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4fd6c5f9541dc5e81af6aaeab12d340b6e0e3a99ab5220ab68bb92605e9e4aa3
|
|
| MD5 |
81a2ea964048ba1d823da545b6f9e201
|
|
| BLAKE2b-256 |
a4be6303377a54823c946d1a2e5a81b5685a64666de848fb17559fe54a6cc86f
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
11b22b6ad195f11e62f8437a63ea0027dfae833a43cfec867842530f51a242eb
|
|
| MD5 |
9b205818a9e2278a639b8dacb287532e
|
|
| BLAKE2b-256 |
73965b3c5dfe647a858385d0a0ee652fa9891592054276447b27db6c24677da5
|