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: MySQL, SQL Server, ClickHouse, 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)
  • 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.7.tar.gz (9.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.7-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dataxi-0.0.7.tar.gz
  • Upload date:
  • Size: 9.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.7.tar.gz
Algorithm Hash digest
SHA256 c383d67a6bfe6c94f35475715b364ea7bd310c4d8a6750bd5ae4994260c975c3
MD5 a5d58314b542f3719832a8aacdfcea77
BLAKE2b-256 14f025639200567d6e9457701227036b9569becd117851f974a333785f037805

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dataxi-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 9.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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 45a3ce7fc772547151df2b1c41a20848534ff09b45f4c96fabe0203db3974dd2
MD5 63bff9ce430baa29906decce8d054036
BLAKE2b-256 e19dea1cc185c55733ae032a15dc7061844f4edd7172352e773db3c0534f2481

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