termdeployr-llm7
Overview
termdeployr-llm7 is a lightweight Python package that helps developers deploy applications directly from the terminal.
It guides you step‑by‑step with clear, actionable terminal commands, parsing your deployment goals or issues and returning structured responses that match a strict regex pattern.
The core of the package uses LLM7 via the ChatLLM7 class from the langchain_llm7 integration, but you can plug in any other LangChain‑compatible LLM if you prefer.
Installation
pip install termdeployr-llm7
Quick Start
from termdeployr_llm7 import termdeployr_llm7
# Minimal call – uses default ChatLLM7 and the LLM7_API_KEY env variable
response = termdeployr_llm7(
user_input="I want to deploy a Django app to AWS Elastic Beanstalk"
)
print(response) # => list of terminal commands / instructions
Function Signature
def termdeployr_llm7(
user_input: str,
api_key: Optional[str] = None,
llm: Optional[BaseChatModel] = None,
) -> List[str]:
"""
Returns a list of terminal commands that fulfill the deployment request.
Parameters
----------
user_input : str
The natural‑language description of the deployment goal or problem.
api_key : Optional[str]
LLM7 API key. If omitted, the function looks for the `LLM7_API_KEY`
environment variable, falling back to a placeholder key.
llm : Optional[BaseChatModel]
Any LangChain `BaseChatModel` instance. If not provided, the default
`ChatLLM7` client is instantiated.
"""
Using a Custom LLM
You can safely replace the default ChatLLM7 with any LangChain‑compatible chat model.
OpenAI
from langchain_openai import ChatOpenAI
from termdeployr_llm7 import termdeployr_llm7
llm = ChatOpenAI(model="gpt-4o-mini")
response = termdeployr_llm7(
user_input="Deploy a Flask app to Railway",
llm=llm
)
Anthropic
from langchain_anthropic import ChatAnthropic
from termdeployr_llm7 import termdeployr_llm7
llm = ChatAnthropic(model="claude-3-opus-20240229")
response = termdeployr_llm7(
user_input="Set up CI/CD for a Node.js project on GitHub Actions",
llm=llm
)
Google Generative AI
from langchain_google_genai import ChatGoogleGenerativeAI
from termdeployr_llm7 import termdeployr_llm7
llm = ChatGoogleGenerativeAI(model="gemini-1.5-flash")
response = termdeployr_llm7(
user_input="Create Docker images for a Go microservice",
llm=llm
)
API Key & Rate Limits
- The free tier of LLM7 provides sufficient rate limits for typical deployment assistance.
- To obtain a free API key, register at: https://token.llm7.io/
- You can set the key via the environment variable
LLM7_API_KEYor pass it directly:
response = termdeployr_llm7(
user_input="Deploy a static site to Netlify",
api_key="sk_XXXXXXXXXXXXXXXX"
)
If higher usage limits are required, upgrade your LLM7 plan and use the new key.
Contributing
Issues, bug reports, and feature requests are welcomed. Please open a new issue on GitHub:
https://github.com/chigwell/termdeployr-llm7/issues
Author
Eugene Evstafev – hi@euegne.plus
GitHub: chigwell
Happy deploying! 🚀
Metadata
Release files for termdeployr-llmdeploy-stepdeploy-cliassist-deployflow-termguide-llmdeployer-deploymate-terminaldeploy-smartdeploy 2025.12.21142331
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| termdeployr_llmdeploy_stepdeploy_cliassist_deployflow_termguide_llmdeployer_deploymate_terminaldeploy_smartdeploy-2025.12.21142331.tar.gz | 6.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| termdeployr_llmdeploy_stepdeploy_cliassist_deployflow_termguide_llmdeployer_deploymate_terminaldeploy_smartdeploy-2025.12.21142331-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.7 kB
Release files / termdeployr_llmdeploy_stepdeploy_cliassist_deployflow_termguide_llmdeployer_deploymate_terminaldeploy_smartdeploy-2025.12.21142331.tar.gz
| Download URL | termdeployr_llmdeploy_stepdeploy_cliassist_deployflow_termguide_llmdeployer_deploymate_terminaldeploy_smartdeploy-2025.12.21142331.tar.gz |
|---|---|
| Size | 6.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
78aa44f3788a57aceab2bb52accad43dce73603c8da297b8bd6c0f90ab76df17
|
|
BLAKE2b-256 checksum How to use checksums |
d15f5d01a5dabe77ed0dbe0f6cb1eff2b34015148fae611fcfda5a3c0239b61f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.1
|
Release files / termdeployr_llmdeploy_stepdeploy_cliassist_deployflow_termguide_llmdeployer_deploymate_terminaldeploy_smartdeploy-2025.12.21142331-py3-none-any.whl
| Download URL | termdeployr_llmdeploy_stepdeploy_cliassist_deployflow_termguide_llmdeployer_deploymate_terminaldeploy_smartdeploy-2025.12.21142331-py3-none-any.whl |
|---|---|
| Size | 8.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8de42e827d6c5fd39f35cb6a88e7575b8988756215908aa8e66262a6fe1aa498
|
|
BLAKE2b-256 checksum How to use checksums |
ac31cacf827cd6183399a2e89a2550107ac47a67bffbe41b1867a1cba4998dd8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.1
|