Skip to main content

virtual environment lifecycle manager

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

🐍 Virtual Environment Manager

Python Versions License Build Status Code Style

🌟 Elevate Your Python Development Workflow

venv_py virtual environment lifecycle manager.


✨ Key Features

  • 🚀 Effortless Environment Management

    • Create and run commands in virtual environments on the fly
    • Cross-platform support (Windows and Unix-like systems)
  • 🔍 Smart Consistency Checking

    • Validate environment configurations
    • Ensure package and file integrity
  • 🛡️ Robust Error Handling

    • Detailed logging
    • Comprehensive error messages
  • 🔧 Flexible Command Execution

    • Run commands directly within virtual environments
    • Retrieve and inspect command results

Usage

from venv_py import EnvManager

# Installing libraries
EnvManager(".some_env").run("pip", "install", "requests", "pandas").result()

# Reset the state, flushing libraries
EnvManager(".some_env").flush().run("python script.py").result()

Context Manager Usage

with EnvManager(".venv") as venv:
    # Automatic environment lifecycle management
    venv.run("python", "my_script.py").result()

📦 Requirements

  • Python: 3.8+
  • Platforms: Windows, macOS, Linux

🤝 Contributing

  1. 🍴 Fork the repository
  2. 🌿 Create a feature branch
  3. 🔨 Make your changes
  4. ✅ Run tests
  5. 📤 Submit a pull request

📄 License

MIT License - Free to use, modify, and distribute


🌈 Powered By

  • Pure Python
  • Standard Library
  • Community Love ❤️

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

venv_py-0.1.1-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file venv_py-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: venv_py-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for venv_py-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b29f29bf8ed5e1cd3b309fe825ed3da53c5af8c87d72431b4218456dd7fac262
MD5 0889f9e17f1f4ba7fe3c68fd8356b0e3
BLAKE2b-256 d9ba31ce8982db706f0eebdbdc55d55f4aabd2baceeb6bfe1cf0bc87af3a1ab8

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