qlikflow
This module allows you to create simple Apache Airflow DAG files-constructors for QlikView, Qlik Sense and NPrinting.
Information files
-
Changelog : https://github.com/bintocher/qlikflow/blob/main/CHANGELOG.md
-
Manual(en) : https://github.com/bintocher/qlikflow/blob/main/doc/readme.md
-
This readme : https://github.com/bintocher/qlikflow/blob/main/README.md
Install
pip3 install qlikflow
Upgrade
pip3 install qlikflow -U
Create config-file
Open config_generator.py with your IDE editor, and set settings, save script
Then run script to create config.json file
Put this config.json file on your Apache Airflow server in folder: AIRFLOW_HOME/config/
Use in DAG-files
from airflow import DAG
from airflow.utils.dates import days_ago
from qlikflow import qlikflow
from datetime import datetime
tasksDict = {
u'qliksense. Test task': {
'Soft' : 'qs1',
'TaskId' : 'c5d80e71-f574-4655-8874-3a6e2aed6218',
'RandomStartDelay' : 10,
},
u'np100. run nprinting tasks' : {
'Soft' : 'np100',
'TaskId' : [
'taskid1',
'taskid2',
'taskid3',
'taskid4',
],
'Dep' : {
u'qliksense. Test task',
}
}
}
default_args = {
'owner': 'test',
'depends_on_past': False,
}
dag = DAG(
dag_id = '_my_test_dag',
default_args = default_args ,
start_date = days_ago(1),
schedule_interval = '@daily',
description = 'Default test dag',
tags = ['qliksense', 'testing'],
catchup = False
)
airflowTasksDict = {}
qlikflow.create_tasks(tasksDict, airflowTasksDict, dag)
This code convert into DAG like this:
Metadata
Release files for qlikflow 1.0.14
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| qlikflow-1.0.14.tar.gz | 12.5 kB | Without provenance | Details for qlikflow-1.0.14.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| qlikflow-1.0.14-py3-none-any.whl | Python 3 | none | any | Details for qlikflow-1.0.14-py3-none-any.whl |
Total release size: 25.5 kB
Release files / qlikflow-1.0.14.tar.gz
| Download URL | qlikflow-1.0.14.tar.gz |
|---|---|
| Size | 12.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
588ae8b3ce2191610fe9c2a6d29b35d4a61eca8130aa9097f55643d9cc13c65c
|
|
BLAKE2b-256 checksum How to use checksums |
1b5dad6d479868074966d654aa4f33693b033ed5a49781201a179b287cbfc75d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.6 CPython/3.9.5 Windows/10
|
Release files / qlikflow-1.0.14-py3-none-any.whl
| Download URL | qlikflow-1.0.14-py3-none-any.whl |
|---|---|
| Size | 12.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6b324aa04935de2ec3a4c6d1b15a6876ffb1f750f25d490ae4b424a8105af97f
|
|
BLAKE2b-256 checksum How to use checksums |
8b4de52e1dac3d2467514028e3729aa3ed9bc30ce1a5c8055780bff4f63fc8d6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.6 CPython/3.9.5 Windows/10
|
Security for qlikflow 1.0.14
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.