A tool to compare data from different sources.
Project description
Features
Compare databases
Development Environment Setup
For live installation execute pip install –editable core.
Build wheel executable
Execute python -m build under root dierctory.
Install wheel executable file
Execute pip install <wheel-file.whl>
Connection Profiles
Connection profiles must be setup in profiles.yml file and it must be placed under $HOME/.tulona dierctory. This is how a sample profiles.yml looks like:
integration_project: # project_name
profiles:
pgdb:
type: postgres
host: localhost
port: 5432
database: postgres
username: postgres
password: postgres
mydb:
type: mysql
host: localhost
port: 3306
database: db
username: user
password: password
snowflake:
type: snowflake
account: snowflake_account
warehouse: dev_x_small
role: dev_role
database: dev_stage
schema: user_schema
user: dev_user
private_key: 'rsa_key.p8'
private_key_passphrase: 444444
mssql:
type: mssql
connection_string: 'DRIVER={ODBC Driver 18 for SQL Server};SERVER=dagger;DATABASE=test;UID=user;PWD=password'
Project Config File
Project config must be created in tulona-project.yml file and this file can be placed anywhere. The output folder will be create in the same dierctory where tulona-project.yml file is present. This is how a tulona-project.yml file looks like:
version: '2.0'
name: integration_project
config-version: 1
outdir: output # the folder comparison result is written into
# This is just the list of data sources, doesn't mean tulona will run tasks for all of them.
# Datasources need to be picked in the CLI command to run tasks against.
datasources:
postgres_postgres_public_employee:
connection_profile: pgdb
database: postgres
schema: public
table: employee
primary_key: employee_id
exclude_columns:
- name
compare_column: Employee_ID
mysql_db_db_employee:
connection_profile: mydb
database: db
schema: db
table: employee
primary_key: employee_id
exclude_columns:
- phone_number
compare_column: Employee_ID
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file tulona-0.2.0.tar.gz
.
File metadata
- Download URL: tulona-0.2.0.tar.gz
- Upload date:
- Size: 21.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a95bab8e1ef2d92d39686e2bec6f35b4cc5cb63264003896363d899ef171bbe |
|
MD5 | 235ccba3fafd75ab3df747574f2d5670 |
|
BLAKE2b-256 | 8706d230194f783165049d36674ee3c1607ae75f308743db1ac7b90ccd4c0da1 |
File details
Details for the file tulona-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: tulona-0.2.0-py3-none-any.whl
- Upload date:
- Size: 27.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05bd16b0cc7fe31317ce40039863b743264eacdbafe4798eb5f0b32ccf3ebd46 |
|
MD5 | 1b58f87394b86d4518e1adcef61a3294 |
|
BLAKE2b-256 | c8af5616b40109d6fd0f45ffa5f180ca54e4460b77c2c654a7c2a54ee9097f44 |