A simple data ingestion library to guide data flows from some places to other places
Project description
Viadot
A simple data ingestion library to guide data flows from some places to other placesGetting Data from a Source
viadot supports few sources. For instance, the UK Carbon Intensity API does not require credentials.
from viadot.sources.uk_carbon_intensity import UKCarbonIntensity
ukci = UKCarbonIntensity()
ukci.query("/intensity")
ukci.to_df()
The above code pulls the UK Carbon Insentity data from the external API to the local Pandas dataframe (df).
Loading Data to a Source
TODO
Running tests
run.sh
docker exec -it viadot_testing bash
cd tests/ && pytest .
Running flows locally
run.sh
poetry shell
FLOW_NAME=supermetrics_to_azure_sql; python -m viadot.flows.$FLOW_NAME
Uploading pkg to PyPi
Generate the requirements.txt
file from poetry.
poetry export -f requirements.txt --output requirements.txt --with-credentials --dev
And then publish with poetry.
poetry update
poetry publish --build
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.11.tar.gz
(12.8 kB
view details)
Built Distribution
viadot-0.1.11-py3-none-any.whl
(20.9 kB
view details)
File details
Details for the file viadot-0.1.11.tar.gz
.
File metadata
- Download URL: viadot-0.1.11.tar.gz
- Upload date:
- Size: 12.8 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.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 543b9d1471aa05ee6c2fc3e49e44ec83c36f499c88dbdbf44d632e8e02379c1a |
|
MD5 | e38e6e699099e6b864ca4eeb10e180c2 |
|
BLAKE2b-256 | 54b15d740053e7b90e1b0d8b56ed34d9402f6af0be43ae174b91c786b47e7056 |
File details
Details for the file viadot-0.1.11-py3-none-any.whl
.
File metadata
- Download URL: viadot-0.1.11-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.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3fa07804b652f6f35907fe12ba314ad4b6e324901eee2534d53eb44e8f72c14 |
|
MD5 | e54f7be89336f29a7c385727856db373 |
|
BLAKE2b-256 | 87a9fcd4149bb9172f24e709736583e60fb2137f341d739f2c7d37476f1c4520 |