This is pip-importer, which can import a package, or pip install first if the package does not exist.
Project description
Welcome
This is a small Python utility which can import a package, or pip install first if the package does not exist.
Installation
pip install pip-importer
Usage
import pip_importer
# This is same as `import pytest`
# Or `pip install pytest` then `import pytest` if pytest is not installed
pip_importer.pip_import("pytest")
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pip_importer-0.1.0.tar.gz.
File metadata
- Download URL: pip_importer-0.1.0.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bea2dd2fd952e8a34c80a54ed08dd5d3eb9e70eb0ebd0a1193c15103ff840cd0
|
|
| MD5 |
08506575aad96f469171e2198178ebfb
|
|
| BLAKE2b-256 |
e46c6fb5ad5be47a6fd4ebd3786b7095a893088479605117f4e2df5376330df0
|
Provenance
The following attestation bundles were made for pip_importer-0.1.0.tar.gz:
Publisher:
deploy-to-pypi.yml on hktonylee/pip-importer
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pip_importer-0.1.0.tar.gz -
Subject digest:
bea2dd2fd952e8a34c80a54ed08dd5d3eb9e70eb0ebd0a1193c15103ff840cd0 - Sigstore transparency entry: 595107607
- Sigstore integration time:
-
Permalink:
hktonylee/pip-importer@84a15d14c4f269fdaaa73c54ba2522a5fc96c2fe -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/hktonylee
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
deploy-to-pypi.yml@84a15d14c4f269fdaaa73c54ba2522a5fc96c2fe -
Trigger Event:
release
-
Statement type:
File details
Details for the file pip_importer-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pip_importer-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f22619e487b2a8b1d4302d75f53b16613f3826eb0ce799cd3b1ed410707de2e3
|
|
| MD5 |
67c2042774b0ad93283ca6c44b7fd92c
|
|
| BLAKE2b-256 |
36db2ff2b2f36dce19c1a55a87bc615004f4f8aa6aba2b2f5e1038160a62d6fa
|
Provenance
The following attestation bundles were made for pip_importer-0.1.0-py3-none-any.whl:
Publisher:
deploy-to-pypi.yml on hktonylee/pip-importer
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pip_importer-0.1.0-py3-none-any.whl -
Subject digest:
f22619e487b2a8b1d4302d75f53b16613f3826eb0ce799cd3b1ed410707de2e3 - Sigstore transparency entry: 595107665
- Sigstore integration time:
-
Permalink:
hktonylee/pip-importer@84a15d14c4f269fdaaa73c54ba2522a5fc96c2fe -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/hktonylee
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
deploy-to-pypi.yml@84a15d14c4f269fdaaa73c54ba2522a5fc96c2fe -
Trigger Event:
release
-
Statement type: