Skip to main content

prompt_llm

Version

0.1.4

  • Prompt LLMs via cli

Installation

  1. Clone the repo

  2. Install

  • Local:
    • pip install --editable .
  • PyPi:
    • pip install prompt_llm
  1. Install auto-completion:
  • prompt_llm --install-completion
  • source ~/.bashrc

Config:

  • Supported configs: --api-key, --model, --system, --temperature

Set Config

  • prompt_llm config_add --api-key "<api_key>" --system "<system_messgae>" --temperature <temperature>

Save current config to a profile

  • prompt_llm config_save_to --profile="openai"

Load the config from a profile

  • prompt_llm config_load_from --profile="openai"

Remove Config key:

  • prompt_llm config-rm temperature

View Config:

  • prompt_llm config-ls
  • prompt_llm config-ls --profile="openai"

Run cli

  • prompt_llm openai "Tell me something"

To contribute

1. Build project

python -m build

### 2. Upload python3 -m twine upload --repository pypi dist/* --verbose

Release files for prompt-llm 0.1.4

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

Source distribution (sdist)

Source distribution for prompt-llm 0.1.4
File Size Uploaded
prompt_llm-0.1.4.tar.gz 6.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for prompt-llm 0.1.4
File Interpreter ABI Platform
prompt_llm-0.1.4-py3-none-any.whl Python 3 none any Details

Total release size: 12.9 kB

Release files / prompt_llm-0.1.4.tar.gz

Download URL prompt_llm-0.1.4.tar.gz
Size 6.1 kB
Tags Source
SHA-256 checksum
How to use checksums
8014cf83c36efbdaf6f6e54f218a03772c652691e619fea252fa3c308c2c6ddd
BLAKE2b-256 checksum
How to use checksums
911e72224dbb8ba5c4f0306e8e4e2feeba41dc4a72d69e7ea0188d7290da1913
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.8

Release files / prompt_llm-0.1.4-py3-none-any.whl

Download URL prompt_llm-0.1.4-py3-none-any.whl
Size 6.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4e8f9a570292e94756e24fe1b30ef6de0c19a7988c3359f9f09c761ed1bf7f4a
BLAKE2b-256 checksum
How to use checksums
245905cf4386ae1ff0b78a3a25d6afd044d01d7dc2229574bd21186d99e6274a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.8

Release history Release notifications | RSS feed

This release

0.1.4 This release

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

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