DQ for Python API
Last updated
Last updated
Python library which allows to use in the easy way.
Free software: Apache Software License 2.0
Documentation: .
Full API client
Automatic encoding file conversion
This package was created by dev team.
For the full functionality Python 3 is required.
To install Python client for dataquality.pl, run this command in your terminal:
This is the preferred method to install Python client for dataquality.pl, as it will always install the most recent stable release.
You can either clone the public repository:
Once you have a copy of the source, you can install it with:
To use Python client for dataquality.pl in a project:
API token can be obtain on the page “Moje konto”.
Check account status:
Available column functions:
addresses
KOD_POCZTOWY
MIEJSCOWOSC
ULICA_NUMER_DOMU_I_MIESZKANIA
ULICA
NUMER_DOMU
NUMER_MIESZKANIA
NUMER_DOMU_I_MIESZKANIA
WOJEWODZTWO
POWIAT
GMINA
names
IMIE
NAZWISKO
NAZWA_PODMIOTU
IMIE_I_NAZWISKO
people/companies
PESEL
NIP
REGON
contact
EMAIL1
EMAIL2
TELEFON1
TELEFON2
dates
DATA_URODZENIA
CZAS_AKTUALIZACJI
mixed
DANE_OGOLNE
id
ID_REKORDU
others
PRZEPISZ
POMIN
To process input columns, you must enable the corresponding module. Method module_std is used to set active modules:
address
names
contact
id_numbers
For address module to be started it is necessary to ensure at least one column with the role listed below:
DANE_OGOLNE
KOD_POCZTOWY
MIEJSCOWOSC
Analogously for other modules:
names require one of
DANE_OGOLNE
IMIE
NAZWISKO
IMIE_I_NAZWISKO
NAZWA_PODMIOTU
contact
DANE_OGOLNE
EMAIL1
EMAIL2
TELEFON1
TELEFON2
id
DANE_OGOLNE
PESEL
NIP
REGON
Contributions are welcome, and they are greatly appreciated! Every little bit helps, and credit will always be given.
You can contribute in many ways:
If you are reporting a bug, please include:
Your operating system name and version.
Any details about your local setup that might be helpful in troubleshooting.
Detailed steps to reproduce the bug.
Look through the GitHub issues for bugs. Anything tagged with “bug” and “help wanted” is open to whoever wants to implement it.
Look through the GitHub issues for features. Anything tagged with “enhancement” and “help wanted” is open to whoever wants to implement it.
Python client for dataquality.pl could always use more documentation, whether as part of the official Python client for dataquality.pl docs, in docstrings, or even on the web in blog posts, articles, and such.
If you are proposing a feature:
Explain in detail how it would work.
Keep the scope as narrow as possible, to make it easier to implement.
Remember that this is a volunteer-driven project, and that contributions are welcome :)
Ready to contribute? Here’s how to set up dq-batch-client for local development.
Fork the dq_batch_client repo on GitHub.
Clone your fork locally:
Install your local copy into a virtualenv. Assuming you have virtualenvwrapper installed, this is how you set up your fork for local development:
Create a branch for local development:
Now you can make your changes locally.
When you’re done making changes, check that your changes pass flake8 and the tests, including testing other Python versions with tox:
To get flake8 and tox, just pip install them into your virtualenv.
Commit your changes and push your branch to GitHub:
Submit a pull request through the GitHub website.
Before you submit a pull request, check that it meets these guidelines:
The pull request should include tests.
If the pull request adds functionality, the docs should be updated. Put your new functionality into a function with a docstring, and add the feature to the list in README.rst.
To run a subset of tests:
RENAME PACKAGE NAME TO dq-batch-client
Update dependencies: minimal version of Python is now 3.6
Add financial scoring option to JobConfig
Update documentation
First release on PyPI.
If you don’t have installed, this can guide you through the process.
The sources for Python client for dataquality.pl can be downloaded from the .
Or download the :
Report bugs at .
The best way to send feedback is to file an issue at .
The pull request should work for Python versions 3.6 - 3.13, and for PyPy. Check and make sure that the tests pass for all supported Python versions.
Mateusz Białek <>
Łukasz Szpak <>