Skip to main content

Dataxi is a cross-DBMS server tool that can help you centralize the data extraction and transfer from different data sources.

Project description

Dataxi

Dataxi is a cross-DBMS server tool based on Polars with credential management that can help you centralize the data extraction and transfer from different data sources.

For detailed documentation, please refer to Dataxi Wiki Page.

Highlights

  • Supports multiple data sources: ClickHouse, MySQL, PostgreSQL, SQL Server, Splunk
  • Supports data parsing from multiple formats: pandas, CSV, XLSX, and Parquet
  • Offers credential management with easy access using conn_id
  • Works on Linux/MacOS/Windows

Install

The preferred way to install Dataxi is via pip

pip install dataxi

Basic Usage

Credential Management

Command Line

Initialize to manage your credentials. This will create a hidden .dataxi folder in your $HOME directory to securely store credentials.

cred_mgr
Use the add command to store new credential interactively. It requires a unique conn_id, and supports 3 credential types: Database, Secret and Token.

You will be prompted to choose among the 3 credential types. For each type, provide the following arguments in order:

Database

  • db_type: one of mysql, mssql (or sql_server), clickhouse (or ch), postgresql (or postgres)
  • username
  • password
  • host
  • port
  • database (optional)

Secret

  • username
  • password

Token

  • token

Note: For token credentials, db_type is automatically set to token and does not need to be provided.

cred_mgr add <conn_id>

Display all saved conn_ids, similar to how pip list works. This is helpful for quickly identifying available credentials.

cred_mgr list

Easily remove credentials you no longer need by specifying their conn_id.

cred_mgr delete <conn_id>

Print the details of a stored credential using its conn_id.

cred_mgr load -id <conn_id>

# Print all stored credentials
cred_mgr load -a

(Warning: This action is irreversible!) Use reset to clear all stored credentials in the .dataxi folder.

cred_mgr reset

(Warning: This action is irreversible!) Use clean to completely remove the .dataxi folder.

cred_mgr clean

License

Copyright 2024-2025 Yuan Yuan.

Distributed under the terms of the MIT license.

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

dataxi-0.0.8.tar.gz (10.1 kB view details)

Uploaded Source

Built Distribution

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

dataxi-0.0.8-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

Details for the file dataxi-0.0.8.tar.gz.

File metadata

  • Download URL: dataxi-0.0.8.tar.gz
  • Upload date:
  • Size: 10.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.7

File hashes

Hashes for dataxi-0.0.8.tar.gz
Algorithm Hash digest
SHA256 30581930363d2819978a4b2ee1003f6cca0c7831ee060fd89b0f73044900912e
MD5 bdf3a8c04e5564b4eb16ac6a7d0eb1cd
BLAKE2b-256 67958cd051014d38482911e87a18f8cf18e35648c2402c20013edf7411d05192

See more details on using hashes here.

File details

Details for the file dataxi-0.0.8-py3-none-any.whl.

File metadata

  • Download URL: dataxi-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 10.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.7

File hashes

Hashes for dataxi-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 06126b26072aa7292767b19f1fc806f92f57078a736ca6f03a7ef5d73233c98c
MD5 50c7fd1d441494e9e7e0e18136d72444
BLAKE2b-256 2f7b56ed654130ced3b1d0a24650bb4e9139fa6830b32f2e824b60a3dcf707e3

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