DQOps Data Quality Operations Center
Project description
DQOps Data Quality Operations Center
DQOps is an DataOps friendly data quality monitoring platform with customizable data quality checks and data quality dashboards. DQOps comes with around 150 predefined data quality checks which helps you monitor the quality of your data.
Key features
- Intuitive graphical interface and access via CLI
- Support of a number of different data sources: BigQuery, Snowflake, PostgreSQL, Redshift, SQL Server and MySQL
- ~600 build-in table and column checks with easy customization
- Table and column-level checks which allows writing your own SQL queries
- Daily and monthly date partition testing
- Data grouping by up to 9 different data grouping levels
- Build-in scheduling
- Calculation of data quality KPIs which can be displayed on multiple built-in data quality dashboards
- Incident analysis
Installation
To use DQOps you need:
- Python version 3.8 or greater (for details see Python's documentation and download sites).
- Ability to install Python packages with pip.
- Installed JDK software (version 17) and set the JAVA_HOME environment variable.
DQOps is available on PyPi repository.
-
To install DQOps via pip manager just run
python -m pip install --user dqops
If you prefer to work with the source code, just clone our GitHub repository https://github.com/dqops/dqo and run
-
Run dqops module to finalize the installation.
python -m dqops
-
Create DQOps userhome folder.
After installation, you will be asked whether to initialize the DQO user's home folder in the default location. Type Y to create the folder.
The user's home folder locally stores data such as sensor readouts and the data quality check results, as well as data source configurations. You can learn more about data storage here. -
Login to DQOps Cloud.
To use DQOps features, such as storing data quality definitions and results in the cloud or data quality dashboards, you must create a DQOps cloud account.
After creating a user's home folder, you will be asked whether to log in to the DQO cloud. After typing Y, you will be redirected to https://cloud.dqops.com/registration, where you can create a new account, use Google single sign-on (SSO) or log in if you already have an account.
During the first registration, a unique identification code (API Key) will be generated and automatically retrieved by DQO application. The API Key is now stored in the configuration file.
-
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.
Documentation
For full documentation with guides and use cases, visit https://dqops.com/docs/
DQOps client
The package contains also a remote DQO client that can connect to a DQOps instance and perform all operations supported by the user interface. The DQOps client could be used inside data pipelines or data preparation code to verify the quality of tables.
Usage of the DQOps client.
from dqops.client import Client
client = Client(base_url="http://localhost:8888")
If the endpoints you're going to hit require authentication, use AuthenticatedClient
instead:
from dqops.client import AuthenticatedClient
client = AuthenticatedClient(base_url="http://localhost:8888", token="Your DQO API Key")
Now call your endpoint and use your models:
from dqops.client.models import MyDataModel
from dqops.client.api.my_tag import get_my_data_model
from dqops.client.types import Response
my_data: MyDataModel = get_my_data_model.sync(client=client)
# or if you need more info (e.g. status_code)
response: Response[MyDataModel] = get_my_data_model.sync_detailed(client=client)
Or do the same thing with an async version:
from dq_ops_client.models import MyDataModel
from dq_ops_client.api.my_tag import get_my_data_model
from dq_ops_client.types import Response
my_data: MyDataModel = await get_my_data_model.asyncio(client=client)
response: Response[MyDataModel] = await get_my_data_model.asyncio_detailed(client=client)
By default, when you're calling an HTTPS API it will attempt to verify that SSL is working correctly. Using certificate verification is highly recommended most of the time, but sometimes you may need to authenticate to a server (especially an internal server) using a custom certificate bundle.
client = AuthenticatedClient(
base_url="https://tenantinstance.us.dqops.com/",
token="SuperSecretToken",
verify_ssl="/path/to/certificate_bundle.pem",
)
You can also disable certificate validation altogether, but beware that this is a security risk.
client = AuthenticatedClient(
base_url="https://tenantinstance.us.dqops.com/",
token="SuperSecretToken",
verify_ssl=False
)
There are more settings on the generated Client
class which let you control more runtime behavior, check out the docstring on that class for more info.
Things to know:
-
Every path/method combo becomes a Python module with four functions:
sync
: Blocking request that returns parsed data (if successful) orNone
sync_detailed
: Blocking request that always returns aRequest
, optionally withparsed
set if the request was successful.asyncio
: Likesync
but async instead of blockingasyncio_detailed
: Likesync_detailed
but async instead of blocking
-
All path/query params, and bodies become method arguments.
-
If your endpoint had any tags on it, the first tag will be used as a module name for the function (my_tag above)
-
Any endpoint which did not have a tag will be in
dqops.client.api.default
Contact and issues
If you find any issues with the tool, just post it here:
https://github.com/dqops/dqo/issues
or contact us via https://dqops.com/
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
Hashes for dqops-0.3.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba4dbff88fea3510b53e41ad1ee50db3905f2acb68b7f418b212b2148bb8a46c |
|
MD5 | 4d4517711fbd74c77e3c8f68a4e8c698 |
|
BLAKE2b-256 | 92009b87d4e0c566f1a0ce5c47332dc5f8109194a993410e8233289bb1a7d8f5 |