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.3.tar.gz
(54.1 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.3.tar.gz.
File metadata
- Download URL: lang_model_cli-0.1.3.tar.gz
- Upload date:
- Size: 54.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3571571713683952c4a5b6b7513c217c048dbb196cefe9fe704e8ed936de37b8
|
|
| MD5 |
7b38a8c8616cf6d764534711a85edfa8
|
|
| BLAKE2b-256 |
98add108e1a2958e4d19c4bc98c3164be58dcc7127d0620334452f180c710970
|
File details
Details for the file lang_model_cli-0.1.3-py3-none-any.whl.
File metadata
- Download URL: lang_model_cli-0.1.3-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bd06d3c53db8ef270006dbd1c4b84db3e3218956755c91c47499dab05fd79b5d
|
|
| MD5 |
a2478e24bd620603f863ff59bada1fb1
|
|
| BLAKE2b-256 |
af87b03b27d1ba5353675753eab5a3885d1e545a14f34394b03ce1d7b0df2bbc
|