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.
___ ___ ___
/ /\ / /\ /__/\ ___
/ /:/_ / /:/_ \ \:\ /__/\
/ /:/ /\ / /:/ /\ \ \:\ \ \:\
/ /:/ /:// /:/ /:/_ _____\__\:\ \ \:\
/__/:/ /://__/:/ /:/ /\/__/::::::::\ ___ \__\:\
\ \:\/:/ \ \:\/:/ /:/\ \:\~~\~~\//__/\ | |:|
\ \::/ \ \::/ /:/ \ \:\ ~~~ \ \:\| |:|
\ \:\ \ \:\/:/ \ \:\ \ \:\__|:|
\ \:\ \ \::/ \ \:\ \__\::::/
\__\/ \__\/ \__\/ ~~~~ ™️
- Generate a new project folder with a single command
- Quickly establish a virtual environment within the project folder
- Simultaneously create essential basic Python files
- Ideal for developers who work on multiple Python projects
- Add black for format python
- Packages can be installed and uninstalled and added to files. requirements.txt at the same time
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!
- Optimize
readme.md
- Fix bug if file readme.md already exists without being generated from
fenv
- Fix It bug fenv clean deletes everything even
fenv
Fenv/issues/11 delete everything exceptfenv
module - Change new pattern command
onlyenv
toenv
- Added an option in case you can't think of a project name. such
fenv new
- Add option
--add
forfenv new
for install packages after created virtualenv suchfenv new test_1 --add=[request,flet]
orfenv new test_1 --add=request,flet
orfenv new test_1 --add=request,flet
orfenv new test_1 --add request,flet
- Remove
fenv deactivate
from pull/6 @yassine20011 - Clean code env_all.py , manage_file.py @yassine20011
- Fix in file
state_env.py
pull/6 @yassine20011
- An improved string using f-string format @yassine20011 pull/5/files
- Add installation instructions for Windows users using pipx @yassine20011 pull/5/files
- Add command more
fenv deactivate
Command hint to deactivate virtual environment with folder - Add command more
fenv activate
Command hint to activate virtual environment with folder
- Fix error ModuleNotFoundError: No module named 'dotenv' and not show version fenv
-
fenv uninstall <package>
can remove packages and package dependencies all in one Tested [Windows] - Add command
fenv clean
to clean packages left lib basic files pass test [Windows] and [Linux] - Added fev.cfg file
- Support command all in Linux
- Fix bug create readme.md change
env_directory()
toname
- Added Tree path in md after generating projects , can you try command
fenv update
- Added create file .gitignore
- Edit readme.md small changes
- Fix if an
env
folder does not exist, the modifiedfenv install <packages>
command will prompt you to confirm whether you would like to create a newenv
. If you choose not to create a newenv
, the installation will proceed usingpython main
- Added command
fenv install
alone will install file requirements.txt in directory current - Added after use
fenv env
created settings then activate env one time
- Fix bugs small
- Fix bugs settings in .vscode
- Fix bugs line 609 and 624
- Fix bugs small
- Change new pattern command
-onlyenv
toonlyenv
- Add option
-onlyenv
for create only virtualenv without base file all - Add command install for install package and add module to file requirements.txt
- Release 0.0.9