-
Notifications
You must be signed in to change notification settings - Fork 3
/
README
37 lines (23 loc) · 998 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
pep514tools
===========
Tools for finding, modifying and cleaning up registered Python environments.
See `PEP 514 <https://www.python.org/dev/peps/pep-0514>`_ for the background and specification
of registered environment information.
Installation
============
To install::
pip install pep514tools
Note that this module only works (and is only useful) on Windows.
Usage
=====
The basic functions are ``findall`` and ``find``.
Calling ``findall`` will return all detected registrations. ``find`` will only return those
with the specified tag or company/tag.
For example::
>>> pep514tools.find('2.7')
[<environment PythonCore\2.7>]
>>> pep514tools.find('ContinuumAnalytics', 'Anaconda35-64')
[<environment ContinuumAnalytics\Anaconda35-64>]
>>> list(pep514tools.findall())
[<environment PythonCore\2.7>, <environment PythonCore\3.5>, <environment PythonCore\3.5-32>, <environment PythonCore\3.6>,
<environment ContinuumAnalytics\Anaconda35-64>]