Skip to main content

# JAVEC Just another virtual environment creator

## Installation

Install with pip

python3 -m pip install javec

## Usage

### No arguments If you run main.py with no additional arguments:

javec

It will create virtual environment in current working directory with the same name as current working directory, but with dot in front (hidden file in Linux). To run the virtual environment run:

source ./.virenvFolder/bin/activate

### -a Running main.py with -a argument:

javec -a

In addition to creation of virtual environment it causes creation of script shell named “.activator.sh”. Now activation of virtual environment will require running following code:

source .activator.sh

### -g, –gitignore Running main.py with -g argument:

javec -g

In addition to creation of virtual environment it causes creation of .gitignore file. The .gitignore file is a copy of gitignore_example provided in the repository. It was taken from [this repository](https://github.com/github/gitignore).

### –swap-gitignore <path> It is possible to change the gitignore_example from this repository file with one you commonly use by using –swap-gitignore path:

javec –swap-gitignore /path/to/your/own/.gitignore

If used with -g argument the first action will be swapping gitignore_example and then creation of .gitignore in the current working directory.

### -i, –install <packages> Install given packages. This argument will simply call the following command:

/path/to/virtualenvironment/bin/python3 -m pip install <packages>

Moreover packages names will be added to requirements_javec.txt file. There is no need to previously activate the virtual environment but you have to call it from the parent directory(where JAVEC created the virtual environment)

### -r, -u, –remove, –uninstall <packages> Uninstall given packages. This will simply call the following command:

/path/to/virtualenvironment/bin/python3 -m pip uninstall -y <packages>

Moreover packages names will be removed from requirements_javec.txt file. There is no need to previously activate the virtual environment but you have to call it from the parent directory(where JAVEC created the virtual environment)

### –versionRequirements Create requirements.txt file with package version number. This calls following command:

/path/to/virtualenvironment/bin/python3 -m pip freeze

The output is then filtered with package names installed with this tool (from requirements_javec.txt). requirements.txt will contain only package names that you installed using JAVEC.

### –print-gitignore This argument will print the contents of current gitignore_example that is used to generate .gitignore file with -g command

javec –print-gitignore

## Have fun!

[![forthebadge made-with-python](http://ForTheBadge.com/images/badges/made-with-python.svg)](https://www.python.org/)

Metadata

Release files for javec 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for javec 0.1.4
File Size Uploaded
javec-0.1.4.tar.gz 3.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for javec 0.1.4
File Interpreter ABI Platform
javec-0.1.4-py3-none-any.whl Python 3 none any Details

Total release size: 8.8 kB

Release files / javec-0.1.4.tar.gz

Download URL javec-0.1.4.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
5cad034bb00441074dae28b37cab37d19243e6af0ad0ff9674a8a716f89529ff
BLAKE2b-256 checksum
How to use checksums
a0ddd5f4fe74bfb2edb925688a3aa258e04c3da017a90befb3f1e3d3cb2e5279
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.6.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.8.5

Release files / javec-0.1.4-py3-none-any.whl

Download URL javec-0.1.4-py3-none-any.whl
Size 4.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
98c39a62e99b49f84bc545962aa0fc31ff4b8ba6378464e6fd4862dc3608f3c8
BLAKE2b-256 checksum
How to use checksums
6d295a94a456c8a799a8c6dba625485f43bfe77dd93d48041c8e8e7a8258a686
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.6.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.8.5

Release history Release notifications | RSS feed

This release

0.1.4 This release

2 release files

0.1.3

2 release files

0.1.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page