Skip to main content

Dooo

Dooo Logo

Open In Colab

Dooo makes LLMs ridiculously easy to use. There is only one function, do(), with nearly no abstraction. Thanks to litellm integration, do() is compatible with 100s of LLMs, including OpenAI and Anthropic's, by just changing the model name!

You shouldn't use Dooo for any conversational tasks requiring message history. Try LangChain for that. Dooo is for fun, but might be somewhat useful!

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. Dooo works with OpenAI, Anthropic, OpenRouter, and Hugging Face.
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.

Metadata

Release files for dooo 0.1.5

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

Source distribution (sdist)

Source distribution for dooo 0.1.5
File Size Uploaded Provenance
dooo-0.1.5.tar.gz 5.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for dooo 0.1.5
File Interpreter ABI Platform
dooo-0.1.5-py3-none-any.whl Python 3 none any Details

Total release size: 11.1 kB

Release files / dooo-0.1.5.tar.gz

Download URL dooo-0.1.5.tar.gz
Size 5.1 kB
Tags Source
SHA-256 checksum
How to use checksums
bcd88e29d83201f80dcbaf5eff185ad929d82c6cdf653f89d337e2ea576a3f73
BLAKE2b-256 checksum
How to use checksums
97d6556c96f7b948cf1d3bf48f7b48226f53251add661bfdaf911be7e963a0c5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.4

Release files / dooo-0.1.5-py3-none-any.whl

Download URL dooo-0.1.5-py3-none-any.whl
Size 6.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
98930582b68f451e2d29deaad0a48a9cfb10f4b1bd78ca5ab415875bd381b06a
BLAKE2b-256 checksum
How to use checksums
e4fd8b987776bd36011742baf196a0b77a42dbac0e2a610d2635d2badfaf31e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.4

Security for dooo 0.1.5

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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