A simple data ingestion library to guide data flows from some places to other places
Project description
Viadot
Documentation: https://dyvenia.github.io/viadot/
Source Code: https://github.com/dyvenia/viadot
A simple data ingestion library to guide data flows from some places to other places.
Getting Data from a Source
Viadot supports several API and RDBMS sources, private and public. Currently, we support the UK Carbon Intensity public API and base the examples on it.
from viadot.sources.uk_carbon_intensity import UKCarbonIntensity
ukci = UKCarbonIntensity()
ukci.query("/intensity")
ukci.to_df()
The above code pulls data from the API to a pandas DataFrame
.
Loading Data to a Source
TODO
Running tests
run.sh
docker exec -it viadot_testing bash
cd tests/ && pytest .
Running flows locally
run.sh
FLOW_NAME=supermetrics_to_azure_sql; python -m viadot.flows.$FLOW_NAME
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
viadot-0.1.12.tar.gz
(13.1 kB
view details)
Built Distribution
viadot-0.1.12-py3-none-any.whl
(20.9 kB
view details)
File details
Details for the file viadot-0.1.12.tar.gz
.
File metadata
- Download URL: viadot-0.1.12.tar.gz
- Upload date:
- Size: 13.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76e274d4184205bd57f53d8e1794afe023bcb4a9855d2b222303941957409db2 |
|
MD5 | 0365dcc8687c06a28f48082f70ce0398 |
|
BLAKE2b-256 | 2d1ea88606cd8632458319ecdec3135d6d0e3dd213869db7ed6384ea024e764f |
File details
Details for the file viadot-0.1.12-py3-none-any.whl
.
File metadata
- Download URL: viadot-0.1.12-py3-none-any.whl
- Upload date:
- Size: 20.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 570c96d3cbf6d9fdf52a2beb2b02e6fcdc26fdeb0a22353f724ff54c01a1e19f |
|
MD5 | b94ea9f2595bae5467e0afe65b2b7601 |
|
BLAKE2b-256 | 819b334f6b4af9f6a63af296f3ddfa9c9286871e076511c1d25466d006b0e42b |