Skip to main content

Welcome

pip-importer is a small utility that can import a package, or pip install first if the package does not exist.

Installation

pip install pip-importer

Usage

from pip_importer import pip_import

# If the environment has pytest, this is same as `import pytest`.
# Otherwise, it will run `pip install pytest` then `import pytest`.
pytest = pip_import("pytest")

Metadata

Release files for pip-importer 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pip-importer 0.2.0
File Size Uploaded Provenance Actions
pip_importer-0.2.0.tar.gz 3.4 kB With provenance Details for pip_importer-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pip-importer 0.2.0
File Interpreter ABI Platform Actions
pip_importer-0.2.0-py3-none-any.whl Python 3 none any Details for pip_importer-0.2.0-py3-none-any.whl

Total release size: 5.6 kB

Release files / pip_importer-0.2.0.tar.gz

Download URL pip_importer-0.2.0.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
21be7c4cc13bb524e4384f6f0eb28babfe3b4e6ec203ef91b212121ec60750a8
BLAKE2b-256 checksum
How to use checksums
63ab4fa349312fd698bf6be8be76ad8afb0adb4538f786fecca7f6a5f82d1585
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 15, 2025.

Transparency log

Release files / pip_importer-0.2.0-py3-none-any.whl

Download URL pip_importer-0.2.0-py3-none-any.whl
Size 2.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
884fecc8203b528fcd4c74470535b40ad1972692176267289b00dae7c371e68d
BLAKE2b-256 checksum
How to use checksums
b962f3152dbdf7ca87f437fe8dabb306f2deaba4fc3ec93923473e1e2a8aef1d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 15, 2025.

Transparency log

Security for pip-importer 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pip_importer-0.2.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 15, 2025.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page