Skip to main content

CLI for ThothAI data exchange - CSV and SQLite database management

Project description

thothai-data-cli

CLI tool for managing CSV files and SQLite databases in ThothAI Docker deployments.

Features

  • CSV Management: Upload, download, list, and delete CSV files in the thothai-data-exchange volume
  • SQLite Database Management: Insert and remove SQLite databases in the thoth-shared-data volume
  • Flexible Deployment Support:
    • Local Docker or remote (SSH)
    • Docker Compose or Docker Swarm
  • Interactive Configuration: Automatic config file creation on first use

Installation

# Create virtual environment
mkdir thothai-data && cd thothai-data
uv venv
source .venv/bin/activate  # Linux/macOS
# .venv\Scripts\activate   # Windows

# Install CLI
uv pip install thothai-data-cli

Quick Start

# First usage creates config interactively
thothai-data csv list

# Upload CSV file
thothai-data csv upload data.csv

# Insert SQLite database
thothai-data db insert mydb.sqlite

# Test Docker connection
thothai-data config test

Documentation

License

Apache License 2.0 - See LICENSE.md for details.

Author

Marco Pancotti - ThothAI Project

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

thothai_data_cli-1.0.2.tar.gz (26.6 kB view details)

Uploaded Source

Built Distribution

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

thothai_data_cli-1.0.2-py3-none-any.whl (18.8 kB view details)

Uploaded Python 3

File details

Details for the file thothai_data_cli-1.0.2.tar.gz.

File metadata

  • Download URL: thothai_data_cli-1.0.2.tar.gz
  • Upload date:
  • Size: 26.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for thothai_data_cli-1.0.2.tar.gz
Algorithm Hash digest
SHA256 527441a8e7d29e4849886409cc1b65bba39d5d9af99c25a496aef860fa65ab78
MD5 35df1e685041770a2260fc98944b2d34
BLAKE2b-256 a1352f66fd63d68734b27a12d8885c0ac86b07da9361d03ba47f4de5da33e54c

See more details on using hashes here.

File details

Details for the file thothai_data_cli-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: thothai_data_cli-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 18.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for thothai_data_cli-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 eef641ab00fe470b674af70dc4effd23d81e211c75212402b953b05e151acbb2
MD5 07b4788cc0ee759866e215fc7dc3dde6
BLAKE2b-256 7a3fe589aa2cab2ed4640779cf8b2d069fde60273ce88e1d0054557ed0cb28d4

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