Skip to main content

A Python package to make LLMs easy

Project description

Dooo

Dooo is a Python package to make LLMs easier to use. There is only one function with nearly no abstraction. You can't use Dooo for any conversational tasks requiring message history.

Installation

You can install Dooo using pip:

pip install dooo

Usage

Here's a basic example of how to use Dooo:

from dooo import set_api_key, set_default_model, do

# Set your API key
set_api_key('openai', 'your-api-key-here')

# Set the default model (GPT-4o is recommended, GPT-3.5-turbo is a bit too dumb)
set_default_model('gpt-4o')

# Perform a task
result = do([1, 2, 3, 4, 5], "Calculate the mean and standard deviation")
print(result)

Features

  • AI-assisted task execution
  • Automatic code generation for data analysis tasks
  • Support for various AI providers (OpenAI, Anthropic, HuggingFace, OpenRouter)

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License.

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

dooo-0.1.0.tar.gz (4.7 kB view hashes)

Uploaded Source

Built Distribution

dooo-0.1.0-py3-none-any.whl (5.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page