Content-Length: 130798 | pFad | http://dqops.com/docs/getting-started/installation/

DQOps local installation with pip
Skip to content

Last updated: September 16, 2024

DQOps local installation with pip

This guide will tell you how to quickly install DQOps locally from PyPI and create a DQOps Cloud account to enable the data quality dashboards.

Overview

DQOps is available in the PyPi repository as a dqops package. You can also look at the installation of DQOps using pip, if you have any issues when installing DQOps using a simplified installation process described in this article.

You can also start DQOps as a docker container, which is a preferred option for production installation.

Prerequisites

To start DQOps locally, you need:

  • Python version 3.8 or greater (for details see Python's documentation and download sites).

    To confirm that you have Python installed run the following command

    python --version
    

    To view the Python 3 version, run python3 --version instead.

  • Ability to install Python packages with pip.

    To confirm that you have pip installed run the following command

    pip --version
    

    Current version of pip should be displayed.

Install DQOps with pip manager

  1. Create an empty folder that will be used to store the configuration. This folder is called the DQOps user home and is documented in the DQOps user home concept guide. DQOps will store the configuration of data sources, configured data quality checks and the data quality check results in this folder.

    Starting DQOps in an empty folder is required

    Please do not go directly to the next step. First, create an empty folder, then change the current folder to this new new directory that we are calling DQOps User Home. During the first run, DQOps will create the folder structure described in the DQOps user home folder concept, creating DQOps files in an empty folder is advised.

    mkdir dqouserhome
    cd dqouserhome
    
  2. Open a terminal, change the working folder to our DQOps user home, and install DQOps via pip manager

    python -m pip install --user dqops
    

Start DQOps command-line shell

First start

Run dqops Python package to finalize the installation. This process may take some time as the DQOps distribution will be downloaded and the Python environment will be initialized in the DQOps home directory. DQOps will also download and install Adoptium Java JDK 17.

python -m dqops

DQOps will download the full DQOps release package from GitHub, or some alternative mirrors.

When the download of the DQOps distribution starts (a ~400MB zip file), you should see the progress.

dqops starts downloading full distribution

After the distribution is downloaded and unzipped, DQOps will also download and install Java JRE 17. Once it is done, you should see the following screen.

dqops finishes downloading full distribution

In case that download stops due to network issues, DQOps will retry the download, or use an alternative mirror.

Initialize your DQOps user home folder.

After installation, you will be asked whether to initialize the DQOps user home folder in the default location. This is the empty folder mentioned before in which you started DQOps. Type Y to initialize the folder structure. Please remember that the current working folder must be empty.

Initializing DQOps user home folder

Login to DQOps Cloud.

To use all DQOps features, such as storing data quality definitions and results in the cloud and use data quality dashboards, you must create a DQOps Cloud account.

Registration of a DQOps Cloud account is optional

You can skip this step and start DQOps without registering a DQOps Cloud account. However, having a DQOps Cloud is required to use data quality dashboards and activate SSO login.

All other DQOps features will work fine because DQOps is an open-source data quality solution.

The open-source version supports the following features for free:

Once the DQOps user home folder is initialized, DQOps will ask you to log in to your DQOps Cloud account.

Log in to DQOps Cloud

After typing Y, DQOps will open your browser and navigate to the DQOps Cloud registration page. If the browser did not open correctly, you can copy the link from the console and open it in your browser of choice. The DQOps Cloud account registration page is https://cloud.dqops.com/registration.

You can create your account by signing in with your Google account or use a custom email/password authentication. You can also log in to your existing DQOps Cloud account.

During the first registration, DQOps Cloud will generate your DQOps Cloud Pairing Key that is used to connect your local DQOps instance to the data quality dashboards. You don't need to copy the DQOps Cloud Pairing Key. DQOps is smart enough to pick the DQOps Cloud API Key for you.

DQOps API Key retrieved

In case that you cancelled the registration procedure, you can copy the DQOps Cloud Pairing Key and configure your DQOps instance by using the following command from the DQOps command-line shell

dqo> settings apikey set <your DQOps Cloud Pairing API Key>

Starting DQOps UI

Open the DQOps User Interface Console in your browser by CTRL-clicking on the link displayed on the command line (for example http://localhost:8888) or by copying the link. You will see the welcome screen as shown below.

DQOps user interface

Next step

Now that you have installed and opened DQOps, it is time to connect your first data source.

Questions and answers

If you have any questions, here are a few of the most common questions we answered.

What happens after the trial period?

You can always use almost all the features of our open-source platform as a free user. However, we sponsor your data quality data warehouse, which powers the data quality dashboards. After 15 days, your trial of a PROFESSIONAL account will end, and you will be downgraded to a FREE license.

Under a FREE license, your DQOps instance will work, but we must limit one benefit. Your complimentary data quality data warehouse will store the data quality results only for the first five tables that you monitor. Every other DQOps feature will continue to work without any implications.

Do I need a DQOps Cloud account?

You don't need a DQOps Cloud account to use DQOps. Without a DQOps Cloud account, you won't have access to data quality dashboards, making it difficult to demonstrate data reliability to business sponsors and data customers.

How to install DQOps without Python?

Starting DQOps locally as a Python package is not the only option. Review other installation options to learn more.

How to run DQOps on a server?

Using our docker image is the preferred way to start a long-running DQOps instance that constantly monitors your data sources. Follow the installation guide for running DQOps in Docker to learn more.

How to activate user & role management?

FREE and PERSONAL editions are limited to a single user who runs DQOps locally. You must contact our sales team and request a trial period for a TEAM or ENTERPRISE edition that provides multi-user management and integration with your single sign-on authentication.

Other installation options









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://dqops.com/docs/getting-started/installation/

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy