Skip to content

Commit 81a8a44

Browse files
committed
update README
1 parent c8d1a29 commit 81a8a44

1 file changed

Lines changed: 118 additions & 90 deletions

File tree

README.rst

Lines changed: 118 additions & 90 deletions
Original file line numberDiff line numberDiff line change
@@ -1,201 +1,229 @@
11
.. image:: https://raw.githubusercontent.com/sinusphi/venvipy/main/img/cover_slim.png
2+
:alt: VenviPy cover
3+
4+
VenviPy
5+
=======
26

37
**A GUI for managing multiple Python virtual environments**
48

5-
.. image:: https://img.shields.io/badge/pypi-v0.3.8-blue?logo=pypi&logoColor=gold
6-
:target: https://pypi.org/project/venvipy/0.3.8
9+
.. image:: https://img.shields.io/pypi/v/venvipy?logo=pypi&logoColor=gold
10+
:target: https://pypi.org/project/venvipy/
711

8-
.. image:: https://img.shields.io/badge/python-3.6+-blue?logo=python&logoColor=gold
9-
:target: https://www.python.org/downloads
12+
.. image:: https://img.shields.io/badge/python-3.7%2B-blue?logo=python&logoColor=gold
13+
:target: https://www.python.org/downloads/
1014

1115
.. image:: https://img.shields.io/badge/pyqt-5.15.9-darkgreen?logo=qt&logoColor=green
12-
:target: https://pypi.org/project/PyQt5
16+
:target: https://pypi.org/project/PyQt5/5.15.9/
1317

1418
.. image:: https://pepy.tech/badge/venvipy
1519
:target: https://pepy.tech/project/venvipy
1620

17-
.. image:: https://img.shields.io/badge/platform-linux-darkblue?logo=linux&logoColor=FFE873
18-
:target: https://www.linux.org/pages/download
21+
.. image:: https://img.shields.io/badge/platform-linux-orange?logo=linux&logoColor=FFE873
22+
:target: https://www.linux.org/pages/download/
1923

2024
.. image:: https://img.shields.io/badge/code%20style-black-000000
2125
:target: https://github.com/psf/black
2226

2327
.. image:: https://img.shields.io/badge/license-GPL%203.0-darkviolet
2428
:target: https://github.com/sinusphi/venvipy/blob/main/LICENSE
2529

26-
.. image:: https://img.shields.io/badge/donations-paypal-orange?logo=paypal&logoColor=darkblue
30+
.. image:: https://img.shields.io/badge/donations-paypal-darkblue?logo=paypal&logoColor=darkblue
2731
:target: https://paypal.me/yserestou
2832

29-
..
30-
.. image:: https://img.shields.io/travis/sinusphi/venvipy/main?label=Travis%20CI&logo=travis
31-
:target: https://travis-ci.org/sinusphi/venvipy
32-
3333
|
3434
3535
Introduction
3636
------------
3737

38-
*VenviPy* is a graphical user interface for creating or modifing customized
39-
virtual environments quick and easy. It was developed for \*NIX systems and
40-
has been tested on various distributions.
38+
*VenviPy* is a desktop GUI to create, manage, and maintain many Python virtual
39+
environments from one place. It focuses on a fast workflow:
4140

42-
*VenviPy* provides a set of features like a wizard, that guides the user through
43-
the creation process, a table that shows an overview of installed
44-
environments in a specific directory and a collection of context menu
45-
actions like listing detailed information about an environment and much
46-
more.
41+
* create environments via a wizard (Python version, name, location, packages)
42+
* keep an overview table of all environments in a directory
43+
* install / update / inspect packages with context-menu actions
44+
45+
VenviPy was originally built for \*NIX systems. Windows support exists via a
46+
platform abstraction layer, but should be considered experimental unless stated otherwise.
4747

4848
|
4949
50-
**The main menu:**
50+
Screenshots
51+
-----------
52+
53+
**Main menu**
5154

5255
.. image:: https://raw.githubusercontent.com/sinusphi/venvipy/main/img/screen-1.png
56+
:alt: Main menu screenshot
5357

5458
|
5559
56-
**The wizard:**
60+
**Wizard**
5761

5862
.. image:: https://raw.githubusercontent.com/sinusphi/venvipy/main/img/screen-2.png
63+
:alt: Wizard screenshot
5964

6065
|
6166
62-
**Output when running pip commands:**
67+
**Pip output**
6368

6469
.. image:: https://raw.githubusercontent.com/sinusphi/venvipy/main/img/screen-3.png
70+
:alt: Pip output screenshot
6571

6672
|
6773
6874
Key Features
6975
------------
7076

71-
* Create virtual environments with any Python version (3.3+)
72-
* Clone an environment from a requirements file
73-
* Generate requirements from an existing environment
74-
* Add a description to an environment
77+
Environment management
78+
~~~~~~~~~~~~~~~~~~~~~~
7579

76-
|
80+
* Create virtual environments with a selectable Python version (3.3+)
81+
* Clone an environment from a requirements file
82+
* Generate requirements from an existing environment
83+
* Add a description to an environment
7784

78-
* Install and update Pip and Wheel with one click
79-
* Search and install packages from `PyPI <https://pypi.org/>`__
80-
* Install from requirements files
81-
* Install from local stored project directories
82-
* Install from a VCS project url *(currently git only)*
83-
* Install from local or remote source archives
85+
Package management
86+
~~~~~~~~~~~~~~~~~~
8487

85-
|
88+
* Install and update Pip and Wheel with one click
89+
* Search and install packages from `PyPI <https://pypi.org/>`__
90+
* Install from requirements files
91+
* Install from local project directories
92+
* Install from a VCS URL *(currently git only)*
93+
* Install from local or remote source archives
94+
95+
Inspection & tooling
96+
~~~~~~~~~~~~~~~~~~~~
8697

87-
* List detailed information about installed packages
88-
* Show dependency tree (using
89-
`pipdeptree <https://pypi.org/project/pipdeptree/#description>`__ package)
90-
* Open a project's `PyPI <https://pypi.org/>`__ website in your browser
98+
* List detailed information about installed packages
99+
* Show dependency tree *(via* `pipdeptree <https://pypi.org/project/pipdeptree/>`__ *)*
100+
* Open a project's PyPI page in your browser
91101

92102
|
93103
94-
Prerequisits
95-
------------
104+
Prerequisites
105+
-------------
106+
107+
* Python **3.7+** (PyQt5 5.15.9 requires Python >= 3.7)
108+
* A working ``venv`` module for the Python versions you want to use
109+
110+
Linux (Debian/Ubuntu)
111+
~~~~~~~~~~~~~~~~~~~~~
112+
113+
Install the basics:
114+
115+
.. code-block:: bash
116+
117+
sudo apt update
118+
sudo apt install python3-pip python3-venv
96119
97-
If you don't have a Python built from source, you'll have to run *VenviPy*
98-
using your operating system's Python (3.6+). In this case please make sure
99-
that the following packages are installed on your system:
120+
If you want to create venvs for a specific Python version, install its ``-venv`` package as well
121+
(example for Python 3.10):
100122

101123
.. code-block:: bash
102124
103-
python3-pip
104-
python3-venv
105-
python3.10-venv
125+
sudo apt install python3.10-venv
126+
127+
Windows
128+
~~~~~~~
129+
130+
Install Python from python.org and make sure it is on ``PATH``. No additional system packages are required.
106131

107132
|
108133
109134
Installation
110135
------------
111136

112-
Installing packages directly into your operating system's Python is
113-
discouraged. If you want to do it anyway, do it like this:
137+
Installing into the system Python is discouraged. Use a dedicated venv (recommended) or ``pipx``.
138+
139+
Recommended: install into a venv
140+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
114141

115142
.. code-block:: bash
116143
117-
$ python3.x -m pip install venvipy
144+
python -m venv .venv
118145
119-
The better way however is to create a virtual environment and install
120-
*VenviPy* into it:
146+
# on Linux/macOS:
147+
source .venv/bin/activate
121148
122-
.. code-block:: bash
149+
# on Windows (PowerShell):
150+
# .venv\\Scripts\\Activate.ps1
123151
124-
$ python3.x -m venv [your_venv]
125-
$ source [your_venv]/bin/activate
152+
pip install -U pip
153+
pip install venvipy
126154
127-
To install the latest stable version of *VenviPy*:
155+
Development version (GitHub):
128156

129157
.. code-block:: bash
130158
131-
$ (your_venv) pip install venvipy
159+
pip install -U pip
160+
pip install git+https://github.com/sinusphi/venvipy.git
132161
133-
for the developement version:
162+
Alternative: install with pipx
163+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
134164

135165
.. code-block:: bash
136166
137-
$ (your_venv) pip install git+https://github.com/sinusphi/venvipy.git
167+
pipx install venvipy
138168
139-
Now you can launch
169+
|
140170
141-
- the main menu via:
171+
Usage
172+
-----
142173

143-
- .. code-block:: bash
174+
After installation you get the entry point:
144175

145-
$ (your_venv) venvipy
176+
.. code-block:: bash
146177
147-
- or run the wizard standalone to quickly create and set up an environment:
178+
venvipy
148179
149-
- .. code-block:: bash
180+
For command line options run:
150181

151-
$ (your_venv) venvipy-wizard
182+
.. code-block:: bash
183+
184+
venvipy --help
152185
153186
|
154187
155188
Running from source
156189
-------------------
157190

158-
Clone the repository (use the ``--depth`` option):
191+
Clone and install dependencies:
159192

160193
.. code-block:: bash
161194
162-
$ (your_venv) git clone --depth 50 git@github.com:sinusphi/venvipy.git
195+
git clone --depth 50 https://github.com/sinusphi/venvipy.git
196+
cd venvipy
197+
python -m venv .venv
163198
164-
Cd into the repo folder and install the dependencies. On Python 3.6 you will also
165-
need to install the ``dataclasses`` package if you're not using the provided
166-
`requirements.txt <https://github.com/sinusphi/venvipy/blob/main/requirements.txt>`__:
199+
# on Linux/macOS:
200+
source .venv/bin/activate
167201
168-
.. code-block:: bash
202+
# on Windows (PowerShell):
203+
# .venv\\Scripts\\Activate.ps1
169204
170-
$ (your_venv) pip install -r requirements.txt
205+
pip install -U pip
206+
pip install -r requirements.txt
171207
172-
or manually:
208+
If you prefer a minimal manual install:
173209

174210
.. code-block:: bash
175211
176-
$ (your_venv) pip install requests beautifoulsoup4 pyqt5==5.15.9
177-
178-
Then you can
212+
pip install requests beautifulsoup4 PyQt5==5.15.9
179213
180-
- launch the main menu:
214+
Run:
181215

182-
- .. code-block:: bash
183-
184-
$ (your_venv) python venvipy/venvi.py
185-
186-
- or run the wizard standalone to quickly create and set up an environment:
187-
188-
- .. code-block:: bash
216+
.. code-block:: bash
189217
190-
$ (your_venv) python venvipy/wizard.py
218+
python venvipy/venvi.py
191219
192220
|
193221
194222
Contributing
195223
------------
196224

197-
Contributions are welcomed, as well as `Pull
198-
requests <https://github.com/sinusphi/venvipy/pulls>`__, `bug
199-
reports <https://github.com/sinusphi/venvipy/issues>`__, and `feature
200-
requests <https://github.com/sinusphi/venvipy/issues>`__.
225+
Contributions are welcome:
201226

227+
* `Pull requests <https://github.com/sinusphi/venvipy/pulls>`__
228+
* `Bug reports <https://github.com/sinusphi/venvipy/issues>`__
229+
* `Feature requests <https://github.com/sinusphi/venvipy/issues>`__

0 commit comments

Comments
 (0)