Skip to main content

Based CLI

A powerful CLI tool for interacting with various AI models including OpenAI, Anthropic, Mistral, Groq, and Hugging Face.

Features

  • Multiple AI providers support
  • Customizable system prompts
  • Chat history management
  • Interactive configuration
  • Beautiful terminal UI

Installation

  1. Clone the repository:
git clone <repository-url>
cd based-cli
  1. Install the package:
pip install -e .

Usage

  1. Login and configure:
based login
  1. Start chatting:
based
  1. Other commands:
based config  # Edit configuration
based list    # List saved chats
based delete  # Delete a chat
based clear   # Clear all chats

Available Models

  • OpenAI: GPT-4, GPT-4 Turbo
  • Anthropic: Claude 3 Sonnet, Claude 3 Opus
  • Mistral: Mistral Large, CodeStraal
  • Groq: Llama2 70B, Mixtral 8x7B
  • Hugging Face: CodeRQween, StarCoder2, CodeLlama

System Prompts

  • Default: General software development assistant
  • Code Assistant: Expert programming helper
  • Terminal Expert: Command-line specialist
  • Debugging Expert: Troubleshooting guide

Requirements

  • Python 3.9 or higher
  • API keys for the providers you want to use

Metadata

Release files for based-cli 0.0.7

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

Source distribution (sdist)

Source distribution for based-cli 0.0.7
File Size Uploaded Provenance
based_cli-0.0.7.tar.gz 9.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for based-cli 0.0.7
File Interpreter ABI Platform
based_cli-0.0.7-py3-none-any.whl Python 3 none any Details

Total release size: 21.0 kB

Release files / based_cli-0.0.7.tar.gz

Download URL based_cli-0.0.7.tar.gz
Size 9.4 kB
Tags Source
SHA-256 checksum
How to use checksums
1235229a40d72b2c3914b842c57f494c655f1e54b779540623b8622826ecc5ee
BLAKE2b-256 checksum
How to use checksums
15bbaee0fc49dae0c16b100a51739021a2dbe373e394f6e352f590fefc830a14
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.5

Release files / based_cli-0.0.7-py3-none-any.whl

Download URL based_cli-0.0.7-py3-none-any.whl
Size 11.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4892c8d979d2f37153f27fa351c3c1d2668a7ba881c0181ca2305e3132d6e6f7
BLAKE2b-256 checksum
How to use checksums
5ec346a6797900bc6bb3f75a50663e0ef08d90ebc662c0dbeedda459122e9e7b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.5

Security for based-cli 0.0.7

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.

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