A custom pip wrapper to manage dependencies and update pyproject.toml.
Project description
pip-wrapper
pip-wrapper is a lightweight Python tool designed to streamline dependency management in Python projects. It provides commands to automatically sync installed packages with a pyproject.toml file, monitor your virtual environment for changes, and manage dependencies with ease.
Features
- Automated Dependency Tracking: Keeps the
pyproject.tomlfile in sync with installed packages. - Monitoring: Watches for changes in the environment and updates dependencies in real-time.
- Centralized Installation: Install all dependencies from the
pyproject.tomlfile. - Clear Command: Easily clear all dependencies from the
pyproject.tomlfile.
Installation
To install pip-wrapper, run:
pip install pip-wrapper
Commands:
- Create pyproject.toml: Initialize a new pyproject.toml file with a default structure.
pip-wrapper create
- Monitor Environment: Start monitoring your virtual environment for changes and automatically update the pyproject.toml file.
pip-wrapper monitor
- Install Dependencies : Install all dependencies listed in the pyproject.toml file.
pip-wrapper install
- Clear Dependencies : Clear all dependencies from the pyproject.toml file.
pip-wrapper clear
Usage Instructions
- Start by creating a pyproject.toml file in your project directory:
pip-wrapper create
- Monitor changes in your virtual environment to keep your pyproject.toml updated:
pip-wrapper monitor
- Install dependencies from your pyproject.toml in a new environment:
pip-wrapper install
- Clear dependencies if needed:
pip-wrapper clear
Why Use pip-wrapper?
- Simplifies dependency management.
- Avoids manual updates to the
pyproject.tomlfile. - Ensures your dependencies are always in sync with your environment.
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
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 pip_wrapper_class-0.1.2.tar.gz.
File metadata
- Download URL: pip_wrapper_class-0.1.2.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a8945f288b0e64791c788164123b603fa6c1cd93bbc0cccd63de7428c3e0f0cd
|
|
| MD5 |
1387752623b7c8e63b9456f4035aeddd
|
|
| BLAKE2b-256 |
720d55e29d4f23671dcbacc14b075b27220d93c4cae9864624636b9e25d4f0d0
|
File details
Details for the file pip_wrapper_class-0.1.2-py3-none-any.whl.
File metadata
- Download URL: pip_wrapper_class-0.1.2-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8c2642beb1d184322af61ed8537ee1e0820d026b950c1cb92a8f533fe75a9fcd
|
|
| MD5 |
00ec1218db4ed3f6239cddc0c11d8e74
|
|
| BLAKE2b-256 |
eb6fc873a33da1847ab286a6792ae1dc6be126f14792fae47a2cdccadc5dc8c4
|