Skip to main content

No project description provided

Project description

official project PyPI version License

Databao CLI

A command-line interface tool for working with Databao Agent and Databao Context Engine

WebsiteQuickstartDocsDiscord


Installation

Databao CLI is available on PyPI and can be installed with uv, pip, or another package manager.

Using uv

uv add databao

Using pip

pip install databao

Quickstart

  1. Create a project directory and navigate to it:

    mkdir databao-project && cd databao-project
    

    [!TIP] Databao is not terminal-only. If you prefer the web interface, run databao app in your project directory.

  2. Initialize the project:

    databao init
    
  3. When prompted, agree to configure a domain – a dedicated space where data context, context, and agent chats live.

    Then follow the prompts to add one or several data sources.

  4. Build context:

    databao build
    
  5. Pass your API key as an environment variable:

    # OpenAI or OpenAI-compatible APIs
    export OPENAI_API_KEY=<your-key>
    
    # Anthropic Claude
    export ANTHROPIC_API_KEY=<your-key>
    
  6. Run the Databao Agent:

    databao ask
    
  7. Ask questions about your data:

    # Example questions:
    What is our refund rate by month?
    What is our 90-day repeat purchase rate
    

For more details about commands, supported data sources, and configuration options, visit the docs.

Releasing

# Tag and push a specific version (CI publishes to PyPI)
make release VERSION=0.3.0

# Bump the patch version automatically (e.g. 0.3.0 -> 0.3.1)
make patch-release

# Bump the minor version automatically (e.g. 0.3.1 -> 0.4.0)
make minor-release

# Bump the major version automatically (e.g. 0.4.0 -> 1.0.0)
make major-release

# Trigger a dev release via GitHub Actions
make dev-release

Contributing

We love contributions! Here’s how you can help:

  • Star this repo — it helps others find us!
  • 🐛 Found a bug? Open an issue
  • 💡 Have an idea? We’re all ears — create a feature request
  • 👍 Upvote issues you care about — helps us prioritize
  • 🔧 Submit a PR
  • 📝 Improve docs — typos, examples, tutorials — everything helps!

New to open source? No worries! We’re friendly and happy to help you get started.

License

Apache 2.0 — use it however you want.

See the LICENSE file for details.


Like Databao? Give us a ⭐! It will help to distribute the technology.

WebsiteDocsDiscord

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

databao-0.4.0.tar.gz (651.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

databao-0.4.0-py3-none-any.whl (161.2 kB view details)

Uploaded Python 3

File details

Details for the file databao-0.4.0.tar.gz.

File metadata

  • Download URL: databao-0.4.0.tar.gz
  • Upload date:
  • Size: 651.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.5 {"installer":{"name":"uv","version":"0.10.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for databao-0.4.0.tar.gz
Algorithm Hash digest
SHA256 c2ce17b718da7e4a250d1e1ff46bc5f14678fcca78b56890896a26214f2ba5b4
MD5 5f003bea1dd44a4a3a4d6ed01d4e4650
BLAKE2b-256 4105630cf2866b6ade76b34943602b3c7f9a1d2bcdc2a769f749e3830ef3e493

See more details on using hashes here.

File details

Details for the file databao-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: databao-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 161.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.5 {"installer":{"name":"uv","version":"0.10.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for databao-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3752ff50da917c820c15e58dc25b969d69661df1ef71f41994b4f967e458c60d
MD5 4c608a4bd61dcfdec36eab01efe826eb
BLAKE2b-256 98dc55a65239b59a30370811f1c010fcc5ef2353735f271346ed8d82a865e1d6

See more details on using hashes here.

Supported by

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