Skip to content

ioxio-dataspace/data-source-guide-example

Repository files navigation

Data Source Guide Example - Weather API

A simple weather API built with FastAPI. This API provides random weather data based on latitude and longitude coordinates. The implementation is found in app/app.py.

Requirements

To set up the pre-commit hooks, run pre-commit install in the repo. After it you can manually run pre-commit only for your changes or pre-commit run --all-files for all files.

Install Dependencies

To install dependencies, first set up your environment with Poetry:

# Using Poetry

poetry install

Run the App

To run the app locally, execute the following command:

poetry run dev

Docker

Make sure Docker is installed.

docker build -t data-source-guide-example .
docker run -p 8000:8000 --rm -it data-source-guide-example

License

This code is released under the BSD 3-Clause license. Details in the LICENSE.md file.

Guides and help

Written guide for how to build a data source

You can also check out our YouTube tutorial:

Defining Data Products for the IOXIO® Dataspace technology

Also join our IOXIO Community Slack

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors