A collection of Python-based 'connectors' that extract metadata from various sources to ingest into the Metaphor app.
Project description
Metaphor Connectors
This repository contains a collection of Python-based "connectors" that extract metadata from various sources to ingest into the Metaphor platform.
Installation
This package requires Python 3.8+ installed. You can verify the version on your system by running the following command,
python -V # or python3 on some systems
Once verified, you can install the package using pip,
pip install "metaphor-connectors[all]" # or pip3 on some systems
This will install all the connectors and required dependencies. You can also choose to install only a subset of the dependencies by installing the specific extra, e.g.
pip install "metaphor-connectors[snowflake]"
Similarly, you can also install the package using requirements.txt
or pyproject.toml
.
Docker
We automatically push a docker image to Docker Hub as part of the CI/CD. See this page for more details.
GitHub Action
You can also run the connectors in your CI/CD pipeline using the Metaphor Connectors GitHub Action.
Connectors
Each connector is placed under its own directory under metaphor and extends the metaphor.common.BaseExtractor
class.
Connector Name | Metadata |
---|---|
azure_data_factory | Lineage, Pipeline |
bigquery | Schema, description, statistics, queries |
bigquery.lineage | Lineage |
bigquery.profile | Data profile |
custom.data_quality | Data quality |
custom.governance | Ownership, tags, description |
custom.lineage | Lineage |
custom.metadata | Custom metadata |
custom.query_attributions | Query attritutions |
datahub | Description, tag, ownership |
dbt | dbt model, test, lineage |
dbt.cloud | dbt model, test, lineage |
fivetran | Lineage, Pipeline |
glue | Schema, description |
looker | Looker view, explore, dashboard, lineage |
kafka | Schema, description |
metabase | Dashboard, lineage |
monte_carlo | Data monitor |
mssql | Schema |
mysql | Schema, description |
notion | Document embeddings |
postgresql | Schema, description, statistics |
postgresql.profile | Data profile |
postgresql.usage | Usage |
power_bi | Dashboard, lineage |
redshift | Schema, description, statistics, queries |
redshift.lineage | Lineage |
redshift.profile | Data profile |
snowflake | Schema, description, statistics, queries |
snowflake.lineage | Lineage |
snowflake.profile | Data profile |
synapse | Schema, queries |
tableau | Dashboard, lineage |
thought_spot | Dashboard, lineage |
trino | Schema, description, queries |
unity_catalog | Schema, description |
unity_catalog.profile | Statistics |
Development
See Development Environment for more instructions on how to set up your local development environment.
Custom Connectors
See Adding a Custom Connector for instructions and a full example of creating your custom connectors.
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 metaphor_connectors-0.13.147.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | af2ff8283550bcfe060c026329663cb6d2c7e0d73799a1507e444fade21c5a5e |
|
MD5 | 5cb641a33f747437272fd866f409f5d6 |
|
BLAKE2b-256 | 35a4d803cca47cfabd740b4f026632df264e5dedc73ad8ea2c5eaa4de97dd0d4 |
Hashes for metaphor_connectors-0.13.147-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0421f5e979113e278556e7ec361c6a5b7e269e5d1f0e6431b8a1713a8c86d63 |
|
MD5 | 380e6baa64a16ca2beb5d544e427c13f |
|
BLAKE2b-256 | 8f399828b8fab3bebca799e4e779fda4a61fe01a34aec98e2c2d407ca02f3bb4 |