No project description provided
Project description
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
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_name_generator-2025.9.101449.tar.gz.
File metadata
- Download URL: pip_name_generator-2025.9.101449.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
42d409a92af81598fbaa7d1a5e25b5b21ca3a7a66cf42bb96b8d1972b32de834
|
|
| MD5 |
18887c249667d31db24b619a3eeac133
|
|
| BLAKE2b-256 |
bc224c345718b3ddfd67c4fb62eee074f5dfdd2c088cd52f2a21896981ea5210
|
File details
Details for the file pip_name_generator-2025.9.101449-py3-none-any.whl.
File metadata
- Download URL: pip_name_generator-2025.9.101449-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
23f4e86410f6a09367a2b231e7fe788cdd04116ab8ce56ec695eb4a203422c7d
|
|
| MD5 |
9b7394607e3dc41de2b603a88b6d3de4
|
|
| BLAKE2b-256 |
83113b1c8482eddebbe4172ae79966d6fd95195d7c87843d486eb2f9660d8e91
|