Catalog PyPI
Back to packageRELEASE DETAILS

1.1.1

PyPI

aicli100

A CLI to use AI directly from the Terminal.

Published5 Aug 2024
Direct dependencies7
Transitive dependenciesNot calculated

README

Version 1.1.1 documentation

aicli100

AICLI100 is a command line interface for using AI.

Features

  • Install and Check Ollama: Automatically installs and checks the Ollama AI tool on Linux systems.
  • API Key Management: Easily set and check API keys for OpenAI and Anthropic.
  • Model Management: List available AI models and set the desired model for AI requests.
  • Command Line Interface: Interact with the AI directly from the terminal using simple commands.

Installation

Using git

  1. Clone the repository:

    git clone https://github.com/yourusername/aicli.git
    cd aicli
    
  2. Create a virtual environment and activate it:

    python -m venv env
    source env/bin/activate  # On Windows use `env\Scripts\activate`
    
  3. Install the required dependencies:

    pip install -r requirements.txt
    
  4. Build the project:

    python -m build
    

Using pip

  1. Install the package:
    pip install aicli100
    
  2. Run the app:
    aicli100
    

Usage

  1. Run the CLI application:

    python src/main.py
    
  2. Use the following commands within the CLI:

    • /help or /?: Show help text.
    • /exit: Exit the application.
    • /clear: Clear the screen.
    • /keys-check: Check the status of API keys.
    • /key-set open_ai <api_key>: Set the OpenAI API key.
    • /key-set anthropic <api_key>: Set the Anthropic API key.
    • /set-model <model>: Set the AI model.
    • /models: List available AI models.

Configuration

The configuration file is located at ~/.aicli_config.ini. It stores API keys and user settings.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contributing

Contributions are welcome! Please open an issue or submit a pull request.

Author

Roberto Fernandino - romfernandino@gmail.com

Acknowledgements

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 7

Native requirements
7 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
aiohttp
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.8",
  "evaluation": "NOT_EVALUATED"
}
aiohttpruntime
anyio
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.8",
  "evaluation": "NOT_EVALUATED"
}
anyioruntime
configparser
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.8",
  "evaluation": "NOT_EVALUATED"
}
configparserruntime
distro
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.8",
  "evaluation": "NOT_EVALUATED"
}
distroruntime
httpx
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.8",
  "evaluation": "NOT_EVALUATED"
}
httpxruntime
openai
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.8",
  "evaluation": "NOT_EVALUATED"
}
openairuntime
requests
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.8",
  "evaluation": "NOT_EVALUATED"
}
requestsruntime

Distribution files

2 collected
aicli100-1.1.1-py3-none-any.whl

bdist_wheel · 9.82 KB · Python py3

Source file
aicli100-1.1.1.tar.gz

sdist · 7.98 KB · Python source

Source file

Repository

PENDING
roberto-fernandino/aicli_project

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 21 Oct, 10:09 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:a6380d9c0a5ba48c2b7fc44f65d983bddff46eaee58c71bd47a38a36dcb98212

Other collected versions

View all collected versions →