Follow this quick guide to install Baselinr and start profiling your databases. You'll be up and running in less than 5 minutes.
Install the package using pip. This will download Baselinr and all required dependencies.
pip install baselinr
Optional: Install with additional features:
pip install baselinr[snowflake] or
pip install baselinr[all]
Create a config.yml file with your database connection and profiling targets.
environment: development
source:
type: postgres
host: localhost
port: 5432
database: mydb
username: user
password: password
schema: public
storage:
connection:
type: postgres
host: localhost
port: 5432
database: mydb
username: user
password: password
results_table: baselinr_results
runs_table: baselinr_runs
create_tables: true
profiling:
tables:
- table: customers
sample_ratio: 1.0
- table: orders
sample_ratio: 1.0
default_sample_ratio: 1.0
compute_histograms: true
histogram_bins: 10
See full example configurations for other database types.
Preview, profile, and detect drift with simple commands:
# Preview what will be profiled
baselinr plan --config config.yml
# Run profiling
baselinr profile --config config.yml
# Detect drift (after multiple runs)
baselinr drift --config config.yml --dataset customers
Join our community or check out the full documentation for detailed guides and examples.