bykof / weser

Weather station API to safe humidity, temperature and air pressure data

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Weser [weather]

Weser is just a small server which provides a OpenAPI specification (/docs) and some api endpoints to save data into a Postgres, SQLite or MySQL database.

Requirements

Installation

pipenv install

Create an .env file with following content:

echo "DB_URL=\"sqlite:///./db.sqlite\"" > .env

Usage

Env Variables

DB_URL = Database URI # See here

Development

pipenv run dev

Production

pipenv run prod

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

About

Weather station API to safe humidity, temperature and air pressure data

License:MIT License


Languages

Language:Python 100.0%