Skip to main content

PyPI version License: MIT Downloads LinkedIn

pip_dep_extractor

pip_dep_extractor is a Python package designed to extract exactly 10 Python package names from an LLM response, using a specified pattern and validation.

Installation

To install pip_dep_extractor, use pip:

pip install pip_dep_extractor

Usage

Using pip_dep_extractor is straightforward. Here's an example:

from pip_dep_extractor import extract_pip_dependencies
from langchain_llm7 import ChatLLM7

# Initialize your LLM instance here
llm = ChatLLM7(...)

custom_text = "This is a description of the package source."

try:
    dependencies = extract_pip_dependencies(llm, custom_text)
    print("Extracted dependencies:", dependencies)
except RuntimeError as e:
    print("Error:", e)

Short Example

from pip_dep_extractor import extract_pip_dependencies
from langchain_llm7 import ChatLLM7

llm = ChatLLM7()
custom_text = "Sample description of package that may include dependencies."

try:
    deps = extract_pip_dependencies(llm, custom_text)
    print("Dependencies:", deps)
except RuntimeError as e:
    print("Failed to extract dependencies:", e)

Author

Eugene Evstafev hi@eugene.plus

Repository: https://github.com/chigwell/pip_dep_extractor

Metadata

Release files for pip-dep-extractor 2025.9.101642

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-dep-extractor 2025.9.101642
File Size Uploaded Provenance Actions
pip_dep_extractor-2025.9.101642.tar.gz 3.0 kB Without provenance Details for pip_dep_extractor-2025.9.101642.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pip-dep-extractor 2025.9.101642
File Interpreter ABI Platform Actions
pip_dep_extractor-2025.9.101642-py3-none-any.whl Python 3 none any Details for pip_dep_extractor-2025.9.101642-py3-none-any.whl

Total release size: 6.4 kB

Release files / pip_dep_extractor-2025.9.101642.tar.gz

Download URL pip_dep_extractor-2025.9.101642.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
cd99873a73e5d68be51dcb68d83c74337b2f312bfd84380ccef48aeced9a5471
BLAKE2b-256 checksum
How to use checksums
b86a9cfc3bc70e9377f4d3352240cc73e8d1fafc36ba216ca242eec63f404dac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.11

Release files / pip_dep_extractor-2025.9.101642-py3-none-any.whl

Download URL pip_dep_extractor-2025.9.101642-py3-none-any.whl
Size 3.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
44b754662d7aa9f1cc652bd0cfa59c88ba38880adf3ff5f2ed371779511810c2
BLAKE2b-256 checksum
How to use checksums
f3f90e0c4a569c7f9a3dab488e0db45e9921d1a08e4b06026b943b5877f9647d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.11

Security for pip-dep-extractor 2025.9.101642

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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
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