A DLT source for Morphais
Project description
description: dlt source for morphais.com keywords: [Morphais API, morphais.com]
dlt-source-morphais
Currently loads the following data:
| Table | Contains |
|---|---|
persons |
Items of the Person model with all properties |
persons_* |
Multi-value properties derived of the Person model |
highlights |
Unique highlights |
audiences |
Unique audiences (B2B, B2C, etc.) |
legal_forms |
Unique legal forms (GmbH, Ltd., etc.) |
funding_stages |
Unique funding stages (Pre-Seed, Seed, etc.) |
industries |
Unique industries |
solutions |
Unique solutions |
startups |
Items of the Startup model with all properties |
startups_* |
Multi-value properties derived of the Startup model |
Usage
Create a .dlt/secrets.toml with your API key and email:
morphais_email="<YOUR-EMAIL>"
morphais_api_key="<YOUR_API_KEY>"
and then run the default source with optional list references:
from dlt_source_morphais import source as morphais_source
pipeline = dlt.pipeline(
pipeline_name="morphais_pipeline",
destination="duckdb",
dev_mode=True,
)
morphais_data = morphais_source()
pipeline.run(morphais_data)
Development
This project is using devenv.
Commands:
| Command | What does it do? |
|---|---|
generate-model |
generates the morphais Pydantic model from the current spec file, applies patches, etc. |
update-spec |
Pulls in the latest main#HEAD of planet-a-ventures/morphais-openapi-spec |
refresh-model |
Both commands above plus adds it to git and commits the changes. |
format |
Formats & lints all code |
sample-pipeline-run |
Runs the sample pipeline. By default dev_mode=True which fetches resources with a limit of 1 (page) |
sample-pipeline-show |
Starts the streamlit-based dlt hub |
Run the sample
MORPHAIS_EMAIL=[...] \
MORPHAIS_API_KEY=[...] \
sample-pipeline-run
alternatively you can also create a .dlt/secrets.toml
(excluded from git) with the following content:
morphais_api_key="..."
morphais_email="you@domain.com"
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dlt_source_morphais-0.0.3.tar.gz.
File metadata
- Download URL: dlt_source_morphais-0.0.3.tar.gz
- Upload date:
- Size: 11.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0fe07b789691dfbd1b1a716c1e0670aa2dcbc7b282ea3748cea0576fe2057dfd
|
|
| MD5 |
242e9277be74b3f98dcb8557b25afbac
|
|
| BLAKE2b-256 |
734157a86f674ffc9ed60b96f8ac96fb330c74e4c39c30514064389082c7ae6f
|
Provenance
The following attestation bundles were made for dlt_source_morphais-0.0.3.tar.gz:
Publisher:
test.yml on planet-a-ventures/dlt-source-morphais
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dlt_source_morphais-0.0.3.tar.gz -
Subject digest:
0fe07b789691dfbd1b1a716c1e0670aa2dcbc7b282ea3748cea0576fe2057dfd - Sigstore transparency entry: 178086958
- Sigstore integration time:
-
Permalink:
planet-a-ventures/dlt-source-morphais@cb58b9f6107781ab4ebdc61d64080a1f2d85e2fe -
Branch / Tag:
refs/tags/0.0.3 - Owner: https://github.com/planet-a-ventures
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
test.yml@cb58b9f6107781ab4ebdc61d64080a1f2d85e2fe -
Trigger Event:
push
-
Statement type:
File details
Details for the file dlt_source_morphais-0.0.3-py3-none-any.whl.
File metadata
- Download URL: dlt_source_morphais-0.0.3-py3-none-any.whl
- Upload date:
- Size: 12.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2cad6e7a4500d338ae4688b722322349378217a0955f1523d873d787c4f1822c
|
|
| MD5 |
0dadb196c022b53ce2828ef01d3f64fd
|
|
| BLAKE2b-256 |
5cd96b6df6f812a0193de2291678f678feccc4f655f233f99034ec76931578ba
|
Provenance
The following attestation bundles were made for dlt_source_morphais-0.0.3-py3-none-any.whl:
Publisher:
test.yml on planet-a-ventures/dlt-source-morphais
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dlt_source_morphais-0.0.3-py3-none-any.whl -
Subject digest:
2cad6e7a4500d338ae4688b722322349378217a0955f1523d873d787c4f1822c - Sigstore transparency entry: 178086959
- Sigstore integration time:
-
Permalink:
planet-a-ventures/dlt-source-morphais@cb58b9f6107781ab4ebdc61d64080a1f2d85e2fe -
Branch / Tag:
refs/tags/0.0.3 - Owner: https://github.com/planet-a-ventures
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
test.yml@cb58b9f6107781ab4ebdc61d64080a1f2d85e2fe -
Trigger Event:
push
-
Statement type: