Skip to main content

Kedro-Viz helps visualise Kedro data and analytics pipelines

Project description

Kedro-Viz

License Python Version PyPI version npm version code style: prettier

Kedro-Viz shows you how your Kedro data pipelines are structured.

With Kedro-Viz you can:

  • See how your datasets and Python functions (nodes) are resolved in Kedro so that you can understand how your data pipeline is built
  • Get a clear picture when you have lots of datasets and nodes by using tags to visualise sub-pipelines
  • Search for nodes and datasets

This project was bootstrapped with Create React App, for which more complete documentation is available on the project website.

Kedro-Viz Pipeline Visualisation
Example of Kedro-Viz Pipeline Visualisation

How do I install and use Kedro-Viz?

For in-depth development and usage notes, see the Contribution Guidelines.

As a Kedro Python plugin

Kedro-Viz is available as a Python plugin named kedro-viz.

The following conditions must be true in order to visualise your pipeline:

  • Your project directory must be available to the Kedro-Viz plugin.
  • You must be using a Kedro project structure with a complete Data Catalog, nodes and pipeline structure.

To install it:

pip install kedro-viz

This will install kedro as a dependency, and add kedro viz as an additional CLI command.

Kedro CLI command

To visualise your pipeline, go to your project root directory and install the project-specific dependencies by running:

kedro install

This will install the dependencies specified in requirements.txt in your Kedro environment (see the Kedro documentation for how to set up your Python virtual environment).

Finally, run the following command from the project directory to visualise your pipeline:

kedro viz

As a JavaScript React component

Kedro-Viz is also available as an npm package named @quantumblack/kedro-viz. To install it:

npm install @quantumblack/kedro-viz

Then include it in your React application:

import KedroViz from '@quantumblack/kedro-viz';

const MyApp = () => <KedroViz data={json} />;

As a JavaScript React component, the project is designed to be used in two different ways:

  1. Standalone application

    Run npm run build to generate a production build as a full-page app. The built app will be placed in the /build directory. Data for the chart should be placed in /public/logs/nodes.json because this directory is marked gitignore.

  2. React component

    Kedro-Viz can be used as a React component that can be imported into other applications. Publishing the package will run npm run lib, which compiles the source code in /src, and places it in the /lib directory.

What licence do you use?

Kedro-Viz is licensed under the Apache 2.0 License.

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

kedro-viz-1.0.1.tar.gz (814.6 kB view details)

Uploaded Source

Built Distributions

kedro_viz-1.0.1-py3.6.egg (827.7 kB view details)

Uploaded Source

kedro_viz-1.0.1-py3-none-any.whl (826.8 kB view details)

Uploaded Python 3

File details

Details for the file kedro-viz-1.0.1.tar.gz.

File metadata

  • Download URL: kedro-viz-1.0.1.tar.gz
  • Upload date:
  • Size: 814.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8

File hashes

Hashes for kedro-viz-1.0.1.tar.gz
Algorithm Hash digest
SHA256 647b4e94bbc22ead6b998d406d0f3570d74988661922fafa8b787fcbc3aa75c8
MD5 ec3a296ad9fe77704b03bac33f2e7826
BLAKE2b-256 af0f0e44e22c17021555cf64dddb1cfea33d285e7724177c0170f5ee8f5e1fdd

See more details on using hashes here.

File details

Details for the file kedro_viz-1.0.1-py3.6.egg.

File metadata

  • Download URL: kedro_viz-1.0.1-py3.6.egg
  • Upload date:
  • Size: 827.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8

File hashes

Hashes for kedro_viz-1.0.1-py3.6.egg
Algorithm Hash digest
SHA256 2ab5b81db0b7288dc9c8b23e5d41fcd4b4af2d5e162e5a32748c9261ca300bb5
MD5 9da579f6729876600a216b8205da7897
BLAKE2b-256 f6bb89be95ea0d3d1734c3ef33257d013446ec42c7d3bc5c8c75d4f1b269de89

See more details on using hashes here.

File details

Details for the file kedro_viz-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: kedro_viz-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 826.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8

File hashes

Hashes for kedro_viz-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 18fbcc30777c663c34a5fffc0fe3e428d755dab9dcdfbfd136df72973ec28fd9
MD5 728ce874c11e913d63a7db5d6dcb8e5c
BLAKE2b-256 a14d153605e68cf28b2218226a9ed261de37f448a1e2de9127637245013349af

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page