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"
Metadata
Release files for dlt-source-morphais 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dlt_source_morphais-0.0.5.tar.gz | 11.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dlt_source_morphais-0.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 24.3 kB
Release files / dlt_source_morphais-0.0.5.tar.gz
| Download URL | dlt_source_morphais-0.0.5.tar.gz |
|---|---|
| Size | 11.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4818278f82e9ccd3a2d0e0db454436cd574dbaa6a105d6954f1f06042d4e181b
|
|
BLAKE2b-256 checksum How to use checksums |
e4153173929fe8571ab029f7ae7d8f6f1de465665c9076340a6a615de435e44b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 10, 2025.
Transparency logRelease files / dlt_source_morphais-0.0.5-py3-none-any.whl
| Download URL | dlt_source_morphais-0.0.5-py3-none-any.whl |
|---|---|
| Size | 12.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e010a5a4ab854c3cfe3e9869e56d821e66041c7c2b47e6c5953adf5e75883e7b
|
|
BLAKE2b-256 checksum How to use checksums |
e611399cb98b110b4b89c7711361ff8c70d64a237416b2e22b7c5afc52e6c703
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 10, 2025.
Transparency log