Skip to main content

Python PIP thin wrapper

Project description

Python PIP Wrapper

A thin wrapper around PIP which can be used at runtime.

Run CI

Installation


1. Install package from PyPi

pip install python-pip

2. Create a virtual environment

python -m venv venn

3. Activate the virtual environment

./venv/Scripts/activate

4. Running tests after installation

pip install -r requirements-tests.txt
pytest

Example output

=================== test session starts ===================
platform win32 -- Python 3.9.2, pytest-7.1.1, pluggy-1.0.0
rootdir: D:\Personal Projects\python-pip
collected 6 items
src\tests\test_all.py ...... [100%] 
=================== 6 passed in 9.64s ===================

5. Install all required libraries

There are no requirements at the moment

6. Usage

from python_pip import pip
# Initialize object
pip = pip.PIP()
print(pip.version)
# Install a package
pip.install(package_name='requests')
# Uninstall a package
pip.uninstall(package_name='requests')

Contributing

You are welcome to contribute to the repo as you like

Authors and acknowledgment

Jordan Raychev

Email: jpraychev at gmail dot com

Website: https://jraychev.com

License

MIT. Please refer to LICENSE file

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python-pip-1.1.1.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

python_pip-1.1.1-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file python-pip-1.1.1.tar.gz.

File metadata

  • Download URL: python-pip-1.1.1.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for python-pip-1.1.1.tar.gz
Algorithm Hash digest
SHA256 c8200c636b412acf22655adc71967bb93b0f60d59786742cb9e2c74836594cd8
MD5 8ca9c5ad36f4b975c3ec92f0ccf5a540
BLAKE2b-256 872bcfe7e2dd92d93d59c179812b27be9f7b2e6a877a9e12f7590a859be389dc

See more details on using hashes here.

File details

Details for the file python_pip-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: python_pip-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for python_pip-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 646ee8cc8624cb1086326d5555d64f1a0796da4804f20e71b23a162d619010cf
MD5 3fedb2cf329aa8a07df646db2e8082ac
BLAKE2b-256 22c23eeacf4e9301b58646bc20a91221cb14e369c4f1c219dab74577ee2364bc

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page