A script to activate Python virtual environments.
Project description
Table of Contents
- Package Disclaimer
- Limitations
- Introduction
- Venvat
- Global
- Venvat Global
- Difference between Venvat and Venvat Global
- Installation for Venvat (Windows only)
- Installation for Venvat Global (Linux and macOS)
- Security
- Support
- How to Contribute
- Feedback
Package Disclaimer
The venvat
package is provided "as is" without any warranties, express or implied. While every effort has been made to ensure the functionality and reliability of this package, the authors do not guarantee that it will be free of errors, bugs, or interruptions. By using this package, you agree that the authors will not be held liable for any damages or losses resulting from its use, including but not limited to data loss, system downtime, or any other negative consequences.
This package is intended for educational and development purposes. It is not recommended for use in production environments without proper testing and validation by the user.
Users are solely responsible for determining the suitability of this package for their own use cases and must exercise caution when integrating it into any system. Always ensure you have backups and recovery plans in place before deploying this package in critical environments.
In no event shall the authors or contributors be held liable for any damages arising in any way from the use of this project. Users of this project are solely responsible for compliance with any legal obligations, including but not limited to data privacy and intellectual property rights.
Limitations
- Environment Compatibility: The
venvat
package has been primarily tested on specific operating systems and environments. Compatibility with all versions of Windows or other operating systems is not guaranteed. - Virtual Environment Naming: The package assumes a certain directory structure for virtual environments. Custom naming conventions or unconventional directory layouts may require additional configuration or modifications to the script.
- Error Handling: While the package includes basic error handling, it may not cover all edge cases. Users are encouraged to review and modify the code as needed to handle their specific scenarios.
- Performance: The package is designed for small to medium-sized projects. Performance in very large projects or in systems with significant load may vary and should be assessed by the user.
- Security Considerations: The package does not include advanced security features. Users should ensure that appropriate security measures are in place when using this package in any environment, especially those involving sensitive data or public-facing systems.
- Support and Maintenance: The
venvat
package is provided with limited support. Users are encouraged to contribute to its development and report any issues via the project's issue tracker. However, there is no guarantee of timely fixes or updates.
By using this package, you agree to these terms and conditions. Learn more in the LICENSE.
Introduction
Are you tired of typing long commands to activate Python virtual environments? venvat simplifies this process with a single command. This tool is designed to streamline the activation of virtual environments, making your workflow more efficient.
Venvat
Global
We are thrilled to announce that we are contributing to the global environment.
Venvat Global
Difference between Venvat and Venvat Global
Feature | Venvat | Venvat Global |
---|---|---|
Downloads | Downloads every time in a venv | Download once globally |
Supported Platform | Windows only | Linux and macOS |
Installation for Venvat (Windows only)
Requirements
Before using venvat, ensure the following requirements are met:
- Python: This tool requires Python 3.6 or newer. Install Python from the official website.
- Virtual Environment: You should have a virtual environment already set up in your project.
venvat
is designed to activate these environments, not to create them.
Installing Python
If you need to install Python, you can download it from the official site:
https://www.python.org/downloads
Installing pip
If pip
is not installed, you can install it by downloading get-pip.py
:
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python get-pip.py
Installing venvat
To install venvat
, run the following command:
pip install venvat
Activating Your Virtual Environment
Once venvat
is installed, you can easily activate your virtual environment. If you're using venvat
for the first time or if you want to switch to a different virtual environment, you need to specify the name of your virtual environment.
If your virtual environment is named venv
, you can run:
venvat
Specifying a Custom Virtual Environment
If your virtual environment is not named venv
, you will need to configure it the first time you use venvat
:
venvat --venv your-env-name
Resetting your configuration:
venvat --reset
For more features, you can explore with:
venvat --help
Installation for Venvat Global (Linux and macOS)
Requirements
- Python: You need Python 3.6 or newer. Install it from the official website.
- pip: Ensure
pip
is installed. You can follow the same pip installation process as described earlier.
Installing Venvat Global
To install venvat
globally, run:
pip install venvat
Then, activate it based on your shell:
For Bash:
source ~/.bashrc
For Zsh:
source ~/.zshrc
Restart your terminal to apply the changes.
Now, `venvat
` is available globally.
Optional To uninstall venvat
package, run:
pip uninstall venvat
How to Uninstall Venvat Global
To remove venvat
from your shell configuration, run:
venvat --remove
Configure Venv
venvat
assumes your virtual environment is named venv
. If you're using a different name for your virtual environment, use:
venvat --venv your-venv-name
Security
For information on how to report security vulnerabilities, please see our Security Policy.
Support
For questions, issues, or support with venvat
, please open an issue on the GitHub issues page.
How to Contribute
Contributions are welcome! If you'd like to contribute, please fork the repository and create a feature branch. Pull requests are warmly encouraged. For more details, please refer to our CONTRIBUTING.md and Code of Conduct.
Feedback
We need your feedback! Feel free to share your thoughts and suggestions on the Discussion page.
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
File details
Details for the file venvat-0.3.23.tar.gz
.
File metadata
- Download URL: venvat-0.3.23.tar.gz
- Upload date:
- Size: 11.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21be9074f4f6c785b938699bb2c5085fd35b4893038bbddb69e624c263b2d8ee |
|
MD5 | 03bea0e2878d76d953b5f94d9eea2d0b |
|
BLAKE2b-256 | fe97e996be7a4c9daa11891a12c51905dd413cba068ff84140c3dc8e9ab64352 |
Provenance
File details
Details for the file venvat-0.3.23-py3-none-any.whl
.
File metadata
- Download URL: venvat-0.3.23-py3-none-any.whl
- Upload date:
- Size: 8.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cbe806ec33e47ec55c02a06fd033cd40e4a0c4d41e5d5dc98f9f2435f91149a4 |
|
MD5 | 782260e57a86ec3a49b2e4fcdd365ec7 |
|
BLAKE2b-256 | 0d789309c792cb64ed5e0d4db9bcfd308d07e49fceb7095c586892a949756281 |