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 details)

Uploaded Source

Built Distribution

dragala-0.1.0-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

File details

Details for the file dragala-0.1.0.tar.gz.

File metadata

  • Download URL: dragala-0.1.0.tar.gz
  • Upload date:
  • Size: 9.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.12.3 Darwin/23.4.0

File hashes

Hashes for dragala-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5f1bc65257fb9c9358da52e3dbf25a8f2ef4ef70e8fc9f9af1c8f2290f285672
MD5 6d036f8fa168c89ac7aafa503a2bf4de
BLAKE2b-256 98de122000b14de63bdf18bff63e3453087b9034fc3ac480ae00bef8955bfeca

See more details on using hashes here.

File details

Details for the file dragala-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: dragala-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 10.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.12.3 Darwin/23.4.0

File hashes

Hashes for dragala-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f603789c97a5140e788ab9119068f96f2f64e3cca4f7d3e56811a503f31a44eb
MD5 a07a2180002208537bf080c8c9067091
BLAKE2b-256 9372d1466177be611951cd7f9c3cabc827b8e2a7e2b1d055d87da94700f295bf

See more details on using hashes here.

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