Miscellaneous
Fenv is a simple and efficient tool to help you manage your virtual environments and create basic Python files with a single command. With Fenv, you can quickly generate a new project folder, establish a virtual environment within that folder, and simultaneously create the essential basic Python files all in one go. This tool is ideal for developers who frequently work on multiple Python projects and want a simple, streamlined solution for managing virtual environments.
___ ___ ___
/ /\ / /\ /__/\ ___
/ /:/_ / /:/_ \ \:\ /__/\
/ /:/ /\ / /:/ /\ \ \:\ \ \:\
/ /:/ /:// /:/ /:/_ _____\__\:\ \ \:\
/__/:/ /://__/:/ /:/ /\/__/::::::::\ ___ \__\:\
\ \:\/:/ \ \:\/:/ /:/\ \:\~~\~~\//__/\ | |:|
\ \::/ \ \::/ /:/ \ \:\ ~~~ \ \:\| |:|
\ \:\ \ \:\/:/ \ \:\ \ \:\__|:|
\ \:\ \ \::/ \ \:\ \__\::::/
\__\/ \__\/ \__\/ ~~~~ ™️
graph TD
A[fenv] --> B[fenv/fenv.py]
A --> C[fenv/state_env.py]
A --> D[fenv/manage_file.py]
A --> E[fenv/env_all.py]
graph TD
A[fenv] --> B[fenv/fenv.py]
A --> C[fenv/state_env.py]
A --> D[fenv/manage_file.py]
A --> E[fenv/env_all.py]
pip install fenv
or
pip install --upgrade fenv
If you are using Windows, you can install Fenv using pipx, which is a tool that allows you to install and run Python applications in isolated environments. This is a great way to install Fenv, as it will not interfere with any other Python applications you may have installed on your system.
Note: pipx only works with Python 3.6+.
First, install pipx using the following command:
py -m pip install --user pipx
py -m pipx ensurepath
Then, install Fenv using pipx:
pipx install fenv
Note: ensurepath ensures that the application directory is on your $PATH. You may need to restart your terminal for this update to take effect.
You may need to restart your terminal for this update to take effect.
fenv new <project_folder>
$ fenv -h
usage: fenv [-h] [-v] ...
Usage:
fenv <command>
Commands:
new Create a new project.
install Install the package and install the package via requirements.txt.
uninstall Uninstall packages.
update Package to file requirements.txt update furthermore, update the readme.md file's tree path.
env Create only virtualenv and no create base file.
clean Clean delete all packages in requirements.txt out.
activate Activate the virtual environment if the terminal is not supported will show a hint.
clone Clone data from repositories and create virtualenv.
General Options:
-h, --help Show this help message and exit
-v, --version check version fenv
pip install --editable .
python setup.py sdist bdist_wheel
https://pypi.org/project/Fenv/
Fenv is a powerful tool for managing virtual environments and creating basic Python files. With its simple and efficient design, it's the perfect solution for developers who want to streamline their workflow and focus on coding. Get started today and see the difference Fenv can make in your Python development process!
readme.md
fenv
fenv
Fenv/issues/11 delete everything except fenv
moduleonlyenv
to env
fenv new
--add
for fenv new
for install packages after created virtualenv such fenv new test_1 --add=[request,flet]
or fenv new test_1 --add=request,flet
or fenv new test_1 --add=request,flet
or fenv new test_1 --add request,flet
fenv deactivate
from pull/6 @yassine20011state_env.py
pull/6 @yassine20011fenv deactivate
Command hint to deactivate virtual environment with folderfenv activate
Command hint to activate virtual environment with folder
fenv uninstall <package>
can remove packages and package dependencies all in one Tested [Windows]
fenv clean
to clean packages left lib basic files pass test [Windows] and [Linux] env_directory()
to name
fenv update
env
folder does not exist, the modified fenv install <packages>
command will prompt you to confirm whether you would like to create a new env
. If you choose not to create a new env
, the installation will proceed using python main
fenv install
alone will install file requirements.txt in directory current fenv env
created settings then activate env one time -onlyenv
to onlyenv
-onlyenv
for create only virtualenv without base file all