Skip to main content

zpenv

Langue/Language

English Version

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.
Tout se passe directement en console.
Il est possible de migrer ces anciens environnements virtuels sur cette solution.

Prerequis

  • Python 3

Installation

pip install zpenv

Utilisation

Affichage de toutes les commandes disponibles

[user@host ~]$ zpenv -h

Installation d'un environnement

[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)

Suppression d'un environnement

[user@host ~]$ zpenv --remove [NomEnvironnement]

--nopurge = Ne pas supprimer le dossier de l'environnement Le dossier du projet ne sera jamais supprimé


Migration d'un environnement

Permet de récupérer la gestion d'un environnement créé par venv ou virtualenv par exemple.

[user@host ~]$ zpenv --migrate [CheminVersEnvironnement]

Si aucun chemin n'est spécifié, l'app prendra le répertoire courant.

Lister les environnements disponibles

[user@host ~]$ zpenv --list
- Project1
- Project2

Afficher les informations d'un environnement

[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

Ouverture d'un environnement

Pour activer l'environnement virtuel et commencer à travailler dessus, il faut l'ouvrir.

[user@host ~]$ zpenv --open [NomDeLEnvironnement]

--shell = Pour entrer directement dans le shell Python


Gestion de package

Installer un package

[user@host ~]$ zpenv --installmodule [package]

ou pour installer des packages depuis un fichier requirement

[user@host ~]$ zpenv --requirement [RequirementFile]

Supprimer un package

[user@host ~]$ zpenv --removemodule [package]

Mettre à jour un package

[user@host ~]$ zpenv --upgrademodule [package]

Installation de pip

[user@host ~]$ zpenv --installpip



EN - Informations

Cross-platform Python virtual environment management tool for creating, editing, deleting, or working with a virtual environment.
Everything happens directly in console.
It is possible to migrate these old virtual environments to this solution.

Prerequisites

-Python 3

Installation

pip install zpenv

Use

Showing all available commands

[user@host ~]$ zpenv -h

Installing an environment

[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)

Deleting an environment

[user@host ~]$ zpenv --remove [EnvironmentName]

--nopurge = Don't delete environment folder The project folder will never be deleted


Migrating an environment

Allows to recover the management of an environment created by venv or virtualenv for example.

[user@host ~]$ zpenv --migrate [PathToEnvironment]

If no path is specified, the app will take the current directory.

List available environments

[user@host ~]$ zpenv --list
-Project1
-Project2

Display environment information

[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

Opening an environment

To activate the virtual environment and start working on it, you must open it.

[user@host ~]$ zpenv --open [EnvironmentName]

--shell = To enter the Python shell directly


Package management

Install a package

[user@host ~]$ zpenv --installmodule [package]

or to install packages from a requirement file

[user@host ~]$ zpenv --requirement [RequirementFile]

Delete a package

[user@host ~]$ zpenv --removemodule [package]

Update a package

[user@host ~]$ zpenv --upgrademodule [package]

Install pip

[user@host ~]$ zpenv --installpip

Release files for zpenv 1.3.1

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

Source distribution (sdist)

Source distribution for zpenv 1.3.1
File Size Uploaded
zpenv-1.3.1.tar.gz 11.5 kB Details

Built distribution (wheel)

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

Total release size: 22.2 kB

Release files / zpenv-1.3.1.tar.gz

Download URL zpenv-1.3.1.tar.gz
Size 11.5 kB
Tags Source
SHA-256 checksum
How to use checksums
895fbee6611483eb5e9ab37a69cdb78aacb72c9bf492876664e6a11626758901
BLAKE2b-256 checksum
How to use checksums
0e2fddb641b479f6e52b09403b4ac4d674101d9f9bb150673d66cee187575a87
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via nexus/0.5.0 CPython/3.10.6 Windows/10

Release files / zpenv-1.3.1-py3-none-any.whl

Download URL zpenv-1.3.1-py3-none-any.whl
Size 10.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
412b850c6558f64f0cdc6078676554e99b409919574dec7d69077f7eb89598cb
BLAKE2b-256 checksum
How to use checksums
c0ca33a9d212312c8f76a607d7de898f199c5f91b55d2c6b4afb985409054b9a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via nexus/0.5.0 CPython/3.10.6 Windows/10

Release history Release notifications | RSS feed

This release

1.3.1 This release

2 release files

1.3.0

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

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