Language Model Command Line Interface
Project description
Lang Model CLI
A command line interface for interacting with large language models.
Quick Start
Install with pip
pip install lang-model-cli
Export provider API keys
export OPENAI_API_KEY="sk-..."
export ANTHROPIC_API_KEY="sk-..."
...
Use the CLI
You can construct user messages in several ways.
Pass in a prompt directly,
lmc -p hello
Pipe input in,
cat <filename> | lmc
Or combine the two,
cat <filename> | lmc -p "Explain the following text: @pipe"
Here @pipe will be replaced with the contents of <filename>.
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
lang_model_cli-0.1.4.tar.gz
(54.3 kB
view details)
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 lang_model_cli-0.1.4.tar.gz.
File metadata
- Download URL: lang_model_cli-0.1.4.tar.gz
- Upload date:
- Size: 54.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
035df00377264a8d6000deede5dcd0331a0bbfd6bfd6ca6de2099896fc3e2026
|
|
| MD5 |
042a7cbf967e653b1851e13bb53c866e
|
|
| BLAKE2b-256 |
78c9559b76d781346f551249049520477982c2e1b4d8bea5df6a19354e810a87
|
File details
Details for the file lang_model_cli-0.1.4-py3-none-any.whl.
File metadata
- Download URL: lang_model_cli-0.1.4-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6ce5bb340058ef062e04952e8cfc6fd9461ecb511248528e845c469fc1c84ea4
|
|
| MD5 |
2a1470334d50352c4e6b36464abbe7aa
|
|
| BLAKE2b-256 |
187b0b020221526e6bfff6598e7ca3d982d20e76bdd970d40b9fafa253470a75
|