# zpenv
# Langue/Language
[English Version](#EN-Informations)
# Informations
Outil multi-plateforme de gestion d'environnement virtuel Python pour la création, l'édition, la suppression ou le travail avec un environnement virtuel.<br>
Tout se passe directement en console.<br>
Il est possible de migrer ces anciens environnements virtuels sur cette solution.
## Prerequis
- Python 3
<br>
# Installation
```console
pip install zpenv
```
<br>
# Utilisation
## Affichage de toutes les commandes disponibles
```console
[user@host ~]$ zpenv -h
```
<br>
## Installation d'un environnement
```console
[user@host ~]$ zpenv --install [NomEnvironnement]
```
>- --name = Donner un nom à notre environnement
>- --tag = Ajouter des tags (séparés avec ,)
>- --comment = Ajouter un commentaire
>- --projectfolder = Spécifier le dossier du projet (emplacement du code)
>- --prompt = Spécifier le message dans le prompt
(D'autres options sont disponibles)
<br>
## Suppression d'un environnement
```console
[user@host ~]$ zpenv --remove [NomEnvironnement]
```
> --nopurge = Ne pas supprimer le dossier de l'environnement
Le dossier du projet ne sera jamais supprimé
<br>
## Migration d'un environnement
Permet de récupérer la gestion d'un environnement créé par venv ou virtualenv par exemple.
```console
[user@host ~]$ zpenv --migrate [CheminVersEnvironnement]
```
Si aucun chemin n'est spécifié, l'app prendra le répertoire courant.
<br><br>
## Lister les environnements disponibles
```console
[user@host ~]$ zpenv --list
- Project1
- Project2
```
<br>
## Afficher les informations d'un environnement
```console
[user@host ~]$ zpenv --info [NomEnvironnement]
Environment name: Project1
Environment path: C:\Users\zephyroff\Desktop\ENV
Environment version: 3.10.8
Environment tag: ProjectConsole,TabBar
Project Folder: C:\Users\zephyroff\Desktop\ENVCode
```
<br>
## Ouverture d'un environnement
Pour activer l'environnement virtuel et commencer à travailler dessus, il faut l'ouvrir.
```console
[user@host ~]$ zpenv --open [NomDeLEnvironnement]
```
> --shell = Pour entrer directement dans le shell Python
<br>
## Gestion de package
### Installer un package
```console
[user@host ~]$ zpenv --installmodule [package]
```
ou pour installer des packages depuis un fichier requirement
```console
[user@host ~]$ zpenv --requirement [RequirementFile]
```
### Supprimer un package
```console
[user@host ~]$ zpenv --removemodule [package]
```
### Mettre à jour un package
```console
[user@host ~]$ zpenv --upgrademodule [package]
```
### Installation de pip
```console
[user@host ~]$ zpenv --installpip
```
<br><br>
# EN - Informations
Cross-platform Python virtual environment management tool for creating, editing, deleting, or working with a virtual environment.<br>
Everything happens directly in console.<br>
It is possible to migrate these old virtual environments to this solution.
## Prerequisites
-Python 3
<br>
# Installation
```console
pip install zpenv
```
<br>
# Use
## Showing all available commands
```console
[user@host ~]$ zpenv -h
```
<br>
## Installing an environment
```console
[user@host ~]$ zpenv --install [EnvironmentName]
```
>- --name = Give a name to our environment
>- --tag = Add tags (separated with ,)
>- --comment = Add a comment
>- --projectfolder = Specify project folder (code location)
(Other options are available)
<br>
## Deleting an environment
```console
[user@host ~]$ zpenv --remove [EnvironmentName]
```
> --nopurge = Don't delete environment folder
The project folder will never be deleted
<br>
## Migrating an environment
Allows to recover the management of an environment created by venv or virtualenv for example.
```console
[user@host ~]$ zpenv --migrate [PathToEnvironment]
```
If no path is specified, the app will take the current directory.
<br><br>
## List available environments
```console
[user@host ~]$ zpenv --list
-Project1
-Project2
```
<br>
## Display environment information
```console
[user@host ~]$ zpenv --info [EnvironmentName]
Environment name: Project1
Environment path: C:\Users\zephyroff\Desktop\ENV
Environment version: 3.10.8
Environment tag: ProjectConsole,TabBar
Project Folder: C:\Users\zephyroff\Desktop\ENVCode
```
<br>
## Opening an environment
To activate the virtual environment and start working on it, you must open it.
```console
[user@host ~]$ zpenv --open [EnvironmentName]
```
> --shell = To enter the Python shell directly
<br>
## Package management
### Install a package
```console
[user@host ~]$ zpenv --installmodule [package]
```
or to install packages from a requirement file
```console
[user@host ~]$ zpenv --requirement [RequirementFile]
```
### Delete a package
```console
[user@host ~]$ zpenv --removemodule [package]
```
### Update a package
```console
[user@host ~]$ zpenv --upgrademodule [package]
```
### Install pip
```console
[user@host ~]$ zpenv --installpip
```
Raw data
{
"_id": null,
"home_page": "https://github.com/ZephyrOff/py-zpenv",
"name": "zpenv",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "venv virtualenv terminal zephyroff",
"author": "",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/c0/ca/33a9d212312c8f76a607d7de898f199c5f91b55d2c6b4afb985409054b9a/zpenv-1.3.1-py3-none-any.whl",
"platform": null,
"description": "# zpenv\r\n# Langue/Language\r\n[English Version](#EN-Informations)\r\n# Informations\r\nOutil multi-plateforme de gestion d'environnement virtuel Python pour la cr\u00c3\u00a9ation, l'\u00c3\u00a9dition, la suppression ou le travail avec un environnement virtuel.<br>\r\nTout se passe directement en console.<br>\r\nIl est possible de migrer ces anciens environnements virtuels sur cette solution.\r\n## Prerequis\r\n- Python 3\r\n<br>\r\n\r\n# Installation\r\n```console\r\npip install zpenv\r\n```\r\n<br>\r\n\r\n# Utilisation\r\n## Affichage de toutes les commandes disponibles\r\n```console\r\n[user@host ~]$ zpenv -h\r\n```\r\n<br>\r\n\r\n## Installation d'un environnement\r\n```console\r\n[user@host ~]$ zpenv --install [NomEnvironnement]\r\n```\r\n>- --name = Donner un nom \u00c3\u00a0 notre environnement\r\n>- --tag = Ajouter des tags (s\u00c3\u00a9par\u00c3\u00a9s avec ,)\r\n>- --comment = Ajouter un commentaire\r\n>- --projectfolder = Sp\u00c3\u00a9cifier le dossier du projet (emplacement du code)\r\n>- --prompt = Sp\u00c3\u00a9cifier le message dans le prompt\r\n(D'autres options sont disponibles)\r\n<br>\r\n\r\n## Suppression d'un environnement\r\n```console\r\n[user@host ~]$ zpenv --remove [NomEnvironnement]\r\n```\r\n> --nopurge = Ne pas supprimer le dossier de l'environnement\r\nLe dossier du projet ne sera jamais supprim\u00c3\u00a9\r\n<br>\r\n\r\n## Migration d'un environnement\r\nPermet de r\u00c3\u00a9cup\u00c3\u00a9rer la gestion d'un environnement cr\u00c3\u00a9\u00c3\u00a9 par venv ou virtualenv par exemple.\r\n```console\r\n[user@host ~]$ zpenv --migrate [CheminVersEnvironnement]\r\n```\r\nSi aucun chemin n'est sp\u00c3\u00a9cifi\u00c3\u00a9, l'app prendra le r\u00c3\u00a9pertoire courant.\r\n<br><br>\r\n\r\n## Lister les environnements disponibles\r\n```console\r\n[user@host ~]$ zpenv --list\r\n- Project1\r\n- Project2\r\n```\r\n<br>\r\n\r\n## Afficher les informations d'un environnement\r\n```console\r\n[user@host ~]$ zpenv --info [NomEnvironnement]\r\nEnvironment name: Project1\r\nEnvironment path: C:\\Users\\zephyroff\\Desktop\\ENV\r\nEnvironment version: 3.10.8\r\nEnvironment tag: ProjectConsole,TabBar\r\nProject Folder: C:\\Users\\zephyroff\\Desktop\\ENVCode\r\n```\r\n<br>\r\n\r\n## Ouverture d'un environnement\r\nPour activer l'environnement virtuel et commencer \u00c3\u00a0 travailler dessus, il faut l'ouvrir.\r\n```console\r\n[user@host ~]$ zpenv --open [NomDeLEnvironnement]\r\n```\r\n> --shell = Pour entrer directement dans le shell Python\r\n<br>\r\n\r\n## Gestion de package\r\n### Installer un package\r\n```console\r\n[user@host ~]$ zpenv --installmodule [package]\r\n```\r\nou pour installer des packages depuis un fichier requirement\r\n```console\r\n[user@host ~]$ zpenv --requirement [RequirementFile]\r\n```\r\n\r\n### Supprimer un package\r\n```console\r\n[user@host ~]$ zpenv --removemodule [package]\r\n```\r\n\r\n### Mettre \u00c3\u00a0 jour un package\r\n```console\r\n[user@host ~]$ zpenv --upgrademodule [package]\r\n```\r\n\r\n### Installation de pip\r\n```console\r\n[user@host ~]$ zpenv --installpip\r\n```\r\n<br><br>\r\n\r\n# EN - Informations\r\nCross-platform Python virtual environment management tool for creating, editing, deleting, or working with a virtual environment.<br>\r\nEverything happens directly in console.<br>\r\nIt is possible to migrate these old virtual environments to this solution.\r\n## Prerequisites\r\n-Python 3\r\n<br>\r\n\r\n# Installation\r\n```console\r\npip install zpenv\r\n```\r\n<br>\r\n\r\n# Use\r\n## Showing all available commands\r\n```console\r\n[user@host ~]$ zpenv -h\r\n```\r\n<br>\r\n\r\n## Installing an environment\r\n```console\r\n[user@host ~]$ zpenv --install [EnvironmentName]\r\n```\r\n>- --name = Give a name to our environment\r\n>- --tag = Add tags (separated with ,)\r\n>- --comment = Add a comment\r\n>- --projectfolder = Specify project folder (code location)\r\n(Other options are available)\r\n<br>\r\n\r\n## Deleting an environment\r\n```console\r\n[user@host ~]$ zpenv --remove [EnvironmentName]\r\n```\r\n> --nopurge = Don't delete environment folder\r\nThe project folder will never be deleted\r\n<br>\r\n\r\n## Migrating an environment\r\nAllows to recover the management of an environment created by venv or virtualenv for example.\r\n```console\r\n[user@host ~]$ zpenv --migrate [PathToEnvironment]\r\n```\r\nIf no path is specified, the app will take the current directory.\r\n<br><br>\r\n\r\n## List available environments\r\n```console\r\n[user@host ~]$ zpenv --list\r\n-Project1\r\n-Project2\r\n```\r\n<br>\r\n\r\n## Display environment information\r\n```console\r\n[user@host ~]$ zpenv --info [EnvironmentName]\r\nEnvironment name: Project1\r\nEnvironment path: C:\\Users\\zephyroff\\Desktop\\ENV\r\nEnvironment version: 3.10.8\r\nEnvironment tag: ProjectConsole,TabBar\r\nProject Folder: C:\\Users\\zephyroff\\Desktop\\ENVCode\r\n```\r\n<br>\r\n\r\n## Opening an environment\r\nTo activate the virtual environment and start working on it, you must open it.\r\n```console\r\n[user@host ~]$ zpenv --open [EnvironmentName]\r\n```\r\n> --shell = To enter the Python shell directly\r\n<br>\r\n\r\n## Package management\r\n### Install a package\r\n```console\r\n[user@host ~]$ zpenv --installmodule [package]\r\n```\r\nor to install packages from a requirement file\r\n```console\r\n[user@host ~]$ zpenv --requirement [RequirementFile]\r\n```\r\n\r\n### Delete a package\r\n```console\r\n[user@host ~]$ zpenv --removemodule [package]\r\n```\r\n\r\n### Update a package\r\n```console\r\n[user@host ~]$ zpenv --upgrademodule [package]\r\n```\r\n\r\n### Install pip\r\n```console\r\n[user@host ~]$ zpenv --installpip\r\n```\r\n\r\n",
"bugtrack_url": null,
"license": "MIT License",
"summary": "Gestionnaire d'environnement virtuel",
"version": "1.3.1",
"project_urls": {
"Documentation": "https://github.com/ZephyrOff/py-zpenv",
"Homepage": "https://github.com/ZephyrOff/py-zpenv"
},
"split_keywords": [
"venv",
"virtualenv",
"terminal",
"zephyroff"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "c0ca33a9d212312c8f76a607d7de898f199c5f91b55d2c6b4afb985409054b9a",
"md5": "72801980e4cc5afd15a57b7dbc35fedf",
"sha256": "412b850c6558f64f0cdc6078676554e99b409919574dec7d69077f7eb89598cb"
},
"downloads": -1,
"filename": "zpenv-1.3.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "72801980e4cc5afd15a57b7dbc35fedf",
"packagetype": "bdist_wheel",
"python_version": "source",
"requires_python": null,
"size": 10642,
"upload_time": "2023-06-13T08:37:45",
"upload_time_iso_8601": "2023-06-13T08:37:45.240979Z",
"url": "https://files.pythonhosted.org/packages/c0/ca/33a9d212312c8f76a607d7de898f199c5f91b55d2c6b4afb985409054b9a/zpenv-1.3.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "0e2fddb641b479f6e52b09403b4ac4d674101d9f9bb150673d66cee187575a87",
"md5": "029aa8dea7b2ef9a80486d8e4b80a806",
"sha256": "895fbee6611483eb5e9ab37a69cdb78aacb72c9bf492876664e6a11626758901"
},
"downloads": -1,
"filename": "zpenv-1.3.1.tar.gz",
"has_sig": false,
"md5_digest": "029aa8dea7b2ef9a80486d8e4b80a806",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 11532,
"upload_time": "2023-06-13T08:37:47",
"upload_time_iso_8601": "2023-06-13T08:37:47.232350Z",
"url": "https://files.pythonhosted.org/packages/0e/2f/ddb641b479f6e52b09403b4ac4d674101d9f9bb150673d66cee187575a87/zpenv-1.3.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-06-13 08:37:45",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "ZephyrOff",
"github_project": "py-zpenv",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "zpenv"
}