Helper functions for installing, etc. using `pip`
Project description
# pip-helpers #
Functions to perform common operations with the Python Package Index.
Example usage:
```python
>>> import pip_helpers as ph
>>>
>>> # Install list of Python packages
>>> stdout_and_stderr = ph.install(['numpy>=1.11.1', 'pandas<0.18.1'])
....
>>> # Uninstall list of installed Python packages
>>> stdout_and_stderr = ph.uninstall(['numpy', 'pandas'])
.......................
>>> # Get list of descriptors for installed Python packages
>>> installed_package_descriptors = ph.freeze()
```
# Credits #
Written by Christian Fobel <christian@fobel.net>
Functions to perform common operations with the Python Package Index.
Example usage:
```python
>>> import pip_helpers as ph
>>>
>>> # Install list of Python packages
>>> stdout_and_stderr = ph.install(['numpy>=1.11.1', 'pandas<0.18.1'])
....
>>> # Uninstall list of installed Python packages
>>> stdout_and_stderr = ph.uninstall(['numpy', 'pandas'])
.......................
>>> # Get list of descriptors for installed Python packages
>>> installed_package_descriptors = ph.freeze()
```
# Credits #
Written by Christian Fobel <christian@fobel.net>
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pip_helpers-0.6.zip
(50.6 kB
view hashes)
Built Distribution
Close
Hashes for pip_helpers-0.6-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac17bf1828e40631e319faa5005ec2ab025c126f2b21593cf20d43b95e92947b |
|
MD5 | 09e814071f3ee1d44b26d0e46740c3db |
|
BLAKE2b-256 | 7afb5717b862feced9450af354ea64f32017cd191969b226f57c47af4fd906d6 |