https://github.com/planet-a-ventures/dlt-source-morphais
DLT (www.github.com/dlt-hub/dlt) source for Morphais (www.morphais.com)
https://github.com/planet-a-ventures/dlt-source-morphais
data-engineering data-load-tool data-loading dlt dlthub morphais python
Last synced: 3 months ago
JSON representation
DLT (www.github.com/dlt-hub/dlt) source for Morphais (www.morphais.com)
- Host: GitHub
- URL: https://github.com/planet-a-ventures/dlt-source-morphais
- Owner: planet-a-ventures
- License: mit
- Created: 2025-02-11T10:18:02.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-02-16T21:08:23.000Z (3 months ago)
- Last Synced: 2025-02-16T21:27:08.805Z (3 months ago)
- Topics: data-engineering, data-load-tool, data-loading, dlt, dlthub, morphais, python
- Language: Python
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
---
description: dlt source for morphais.com
keywords: [Morphais API, morphais.com]
---# dlt-source-morphais
[](https://pypi.org/project/dlt-source-morphais/)
[DLT](htps://www.github.com/dlt-hub/dlt) source for [Morphais](https://www.morphais.com/).
## Usage
Create a `.dlt/secrets.toml` with your API key and email:
```toml
morphais_email=""
morphais_api_key=""
```and then run the default source with optional list references:
```py
from dlt_source_morphais import source as morphais_sourcepipeline = 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](https://devenv.sh/).
### Run the sample
```sh
MORPHAIS_EMAIL=[...] \
MORPHAIS_API_KEY=[...] \
python morphais_pipeline.py
```### Regenerate the model
Run
```sh
generate-model
```