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

# Example description
description = "Data analysis toolkit"

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

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.101312.tar.gz (4.0 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.101312-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for pip_name_generator-2025.9.101312.tar.gz
Algorithm Hash digest
SHA256 892d37a70516860873cb88e3c7edc2b6eb625d56824d787188d9734ab7053acc
MD5 baa3fbee1d20a8245aa0802042e5488f
BLAKE2b-256 ecf08a6251a1e765e882f1989d3e6c046de8c3aa8a84705ed65bc600da41b66a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pip_name_generator-2025.9.101312-py3-none-any.whl
Algorithm Hash digest
SHA256 c56593fd2407770450c8aa4dd3fedd981847c60acecc594636811319924729db
MD5 02eef6459775e73a04eb1bb8abd1f40b
BLAKE2b-256 6a04be471400b80456a7a9f3c05bad9752fdec48efb39f8e340b34ff2a6e0093

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