Skip to main content

dragala - Imagine an AI assistant that speaks Python, taking your natural language requests and turning them into instant, executable scripts. That's the power of dragala, an open-source command-line tool designed to supercharge your productivity and automate repetitive tasks.

Project description

dragala

Imagine an AI assistant that speaks Python, taking your natural language requests and turning them into instant, executable scripts. That's the power of dragala, an open-source command-line tool designed to supercharge your productivity and automate repetitive tasks.

Quickstart

  1. Install dragala with pip:

    pip install dragala
    
  2. Execute a prompt and close

    dragala Just say hello
    

Configuration

dragala uses gemini-pro model for completions. You can config API KEY by modifying ~/.dragla/config.yaml or run the first time it asks you to input. You can get an API key from ai.google.dev.

Development

To run dragala from source, clone the repository and install the dependencies:

git clone https://github.com/ancs21/dragala
cd dragala

# please install uv first
https://github.com/astral-sh/uv

# create a virtual environment
uv venv .venv -p 3.11

# activate the virtual environment
source .venv/bin/activate

uv pip install -r requirements.txt

# run dragala
dragala "Just say hello"

Contributing

We welcome contributions from the community! If you have an idea for a new feature or want to report a bug, please open an issue. If you'd like to contribute code, please open a pull request.

License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.

Inspiration

This project is inspired by https://github.com/AbanteAI/rawdog. It's designed to be a lightweight, open-source alternative that's easy to use and extend.

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

dragala-0.1.0.tar.gz (9.0 kB view hashes)

Uploaded Source

Built Distribution

dragala-0.1.0-py3-none-any.whl (10.5 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