Skip to main content

No project description provided

Project description

PyPI version License: MIT Downloads LinkedIn

pip_name_generator

pip_name_generator is a Python package designed for generating unique, PyPI-compatible package names based on descriptive text. It uses a combination of deterministic fallback mechanisms and simulated LLM signals to produce candidate names, ensuring that the first available name is returned efficiently without requiring network access.

Installation

To install pip_name_generator, use pip:

pip install pip_name_generator

Usage

Here's an example of how to utilize pip_name_generator to generate an available package name for a product described as "Data analysis toolkit":

from pip_name_generator import generate_available_package_name
from langchain_llm7 import ChatLLM7

# Example description
description = "Data analysis toolkit"

llm = ChatLLM7(model="qwen2.5-coder-32b-instruct", base_url="https://api.llm7.io/v1")

# Generate a package name
name = generate_available_package_name(description, llm=llm)

print(f"Suggested package name: {name}")

Features

  • Simulated name availability check to avoid network calls
  • Supports mock LLM inputs for more contextual candidates
  • Falls back to deterministic name generation if LLM signals are unavailable
  • Ensures generated names are valid PyPI names (lowercase, underscores, alphanumeric)

Contributing

Contributions, issues, and feature requests are welcome! Feel free to check the issues page.

License

pip_name_generator is licensed under the MIT License.

Author

Eugene Evstafev hi@eugene.plus
Repository: https://github.com/chigwell/pip_name_generator

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

pip_name_generator-2025.9.101449.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pip_name_generator-2025.9.101449-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file pip_name_generator-2025.9.101449.tar.gz.

File metadata

File hashes

Hashes for pip_name_generator-2025.9.101449.tar.gz
Algorithm Hash digest
SHA256 42d409a92af81598fbaa7d1a5e25b5b21ca3a7a66cf42bb96b8d1972b32de834
MD5 18887c249667d31db24b619a3eeac133
BLAKE2b-256 bc224c345718b3ddfd67c4fb62eee074f5dfdd2c088cd52f2a21896981ea5210

See more details on using hashes here.

File details

Details for the file pip_name_generator-2025.9.101449-py3-none-any.whl.

File metadata

File hashes

Hashes for pip_name_generator-2025.9.101449-py3-none-any.whl
Algorithm Hash digest
SHA256 23f4e86410f6a09367a2b231e7fe788cdd04116ab8ce56ec695eb4a203422c7d
MD5 9b7394607e3dc41de2b603a88b6d3de4
BLAKE2b-256 83113b1c8482eddebbe4172ae79966d6fd95195d7c87843d486eb2f9660d8e91

See more details on using hashes here.

Supported by

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