Skip to main content

devide-spec

PyPI version License: MIT Downloads LinkedIn

Transform unstructured developer tool ideas into structured, actionable product specifications.

devide_spec is a Python package that converts natural language descriptions of developer tools into structured, well-defined specifications. It extracts key features, target users, and potential challenges, providing a clear roadmap for development.


🚀 Features

  • Extracts structured specifications from unstructured text inputs
  • Supports customizable LLM backends (LLM7 by default)
  • Configurable via environment variables or direct API key input
  • Works seamlessly with popular LangChain LLM integrations

📦 Installation

pip install devide_spec

🔧 Usage

Basic Usage (with default LLM7)

from devide_spec import devide_spec

response = devide_spec(user_input="I want a CLI tool that helps developers manage their Docker containers with a simple command interface")
print(response)

Custom LLM Integration

You can replace the default ChatLLM7 with any LangChain-compatible LLM:

Using OpenAI

from langchain_openai import ChatOpenAI
from devide_spec import devide_spec

llm = ChatOpenAI()
response = devide_spec(user_input="My tool idea...", llm=llm)

Using Anthropic

from langchain_anthropic import ChatAnthropic
from devide_spec import devide_spec

llm = ChatAnthropic()
response = devide_spec(user_input="My tool idea...", llm=llm)

Using Google Generative AI

from langchain_google_genai import ChatGoogleGenerativeAI
from devide_spec import devide_spec

llm = ChatGoogleGenerativeAI()
response = devide_spec(user_input="My tool idea...", llm=llm)

🔑 API Key Configuration

The package uses LLM7 by default. You can:

  1. Set your API key via environment variable:
    export LLM7_API_KEY="your_api_key_here"
    
  2. Or pass it directly:
    from devide_spec import devide_spec
    response = devide_spec(user_input="My tool idea...", api_key="your_api_key_here")
    

Get a free LLM7 API key at https://token.llm7.io/.


📝 Input Parameters

Parameter Type Description
user_input str The natural language description of your tool idea
api_key Optional[str] LLM7 API key (optional if using environment variable)
llm Optional[BaseChatModel] Custom LangChain LLM (optional, defaults to ChatLLM7)

📌 Output

The function returns a list of structured specifications extracted from the input text, formatted to match a predefined regex pattern.


🔄 Rate Limits

  • LLM7 Free Tier is sufficient for most use cases.
  • For higher rate limits, use your own API key or upgrade your LLM7 plan.

📖 License

MIT


📧 Support & Issues

For bugs, feature requests, or support, please open an issue at: https://github.com/chigwell/devide-spec/issues


👤 Author

Eugene Evstafev 📧 hi@euegne.plus 🔗 GitHub: chigwell


Metadata

Release files for devide-spec 2025.12.21174359

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

Source distribution (sdist)

Source distribution for devide-spec 2025.12.21174359
File Size Uploaded Provenance Actions
devide_spec-2025.12.21174359.tar.gz 4.4 kB Without provenance Details for devide_spec-2025.12.21174359.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for devide-spec 2025.12.21174359
File Interpreter ABI Platform Actions
devide_spec-2025.12.21174359-py3-none-any.whl Python 3 none any Details for devide_spec-2025.12.21174359-py3-none-any.whl

Total release size: 9.3 kB

Release files / devide_spec-2025.12.21174359.tar.gz

Download URL devide_spec-2025.12.21174359.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
f23205392d52a13feb5a0952d53799bff35aa4eb30071d3a1d8c6c8958f3f3b4
BLAKE2b-256 checksum
How to use checksums
b4f49861aed89cc3bbe25f55cf174eb4741b4126236cdae260a8aa75159b2773
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.1

Release files / devide_spec-2025.12.21174359-py3-none-any.whl

Download URL devide_spec-2025.12.21174359-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e6729c266f1f822059da32ba357246b0509bf31545ae11e88dca5df8befc2d6f
BLAKE2b-256 checksum
How to use checksums
5020a75a25a9546c7421f33bc4d86331d475b00e1c90ce824186182c87dc786a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.1

Security for devide-spec 2025.12.21174359

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