Prefect integration with OpenMetadata
Project description
prefect-openmetadata
Welcome!
Using Prefect and OpenMetadata together will help you build and maintain a data platform you can trust.
Prefect allows you to coordinate your dataflow and provides visibility into the health of your workflow execution and workflow lineage. With OpenMetadata integration, you can enrich your orchestration system with metadata about data lineage, data catalog, data quality and governance, giving you more information about the health of your system.
Getting Started
Python setup
Requires an installation of Python 3.8+.
We recommend using a Python virtual environment manager such as pipenv, conda or virtualenv.
Installation
Install prefect-openmetadata
with pip
:
pip install prefect-openmetadata
Install OpenMetadata
and Prefect
Head over to the install OpenMetadata page for detailed instructions on how to install and configure both platforms.
Write and run metadata ingestion flow
from prefect_openmetadata.flows import ingest_metadata
config = """See an example in the section: Run ingestion flow"""
if __name__ == "__main__":
ingest_metadata(config)
For more details, check the run ingestion flow section.
Schedule a metadata ingestion flow
Simple example:
prefect deployment build -a -n dev myflow.py:ingest_metadata --interval 900
For more details, check the schedule ingestion flow section.
Resources
If you encounter any bugs while using prefect-openmetadata
, feel free to open an issue in the prefect-openmetadata repository.
If you have any questions or issues while using prefect-openmetadata
, you can find help in either the Prefect Discourse forum or the Prefect Slack community.
Development
If you'd like to install a version of prefect-openmetadata
for development, clone the repository and perform an editable install with pip
:
git clone https://github.com/PrefectHQ/prefect-openmetadata.git
cd prefect-openmetadata/
pip install -e ".[dev]"
# Install linting pre-commit hooks
pre-commit install
Project details
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
File details
Details for the file prefect-openmetadata-0.3.0.tar.gz
.
File metadata
- Download URL: prefect-openmetadata-0.3.0.tar.gz
- Upload date:
- Size: 27.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5216eebd3bc24419f0131e5a944fbba2491940fc62b92b3e7843eda49bbcd576 |
|
MD5 | be4555d2aa542191d31960014147f9d9 |
|
BLAKE2b-256 | 815436a03487acd566d72e7cc28066d7bb442571e6655903308a60d639f6839f |
File details
Details for the file prefect_openmetadata-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: prefect_openmetadata-0.3.0-py3-none-any.whl
- Upload date:
- Size: 10.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0173dc8f923923096f4b622a427d842f29e97b3cddb66098eee62cccd498a2c4 |
|
MD5 | bc6773382169068b7f14c9b0f98b079f |
|
BLAKE2b-256 | 109f8fd72ade6c6847a23fd2f47adcd9f05822607d850b2aabb1f564f2590c78 |