Giter Site home page Giter Site logo

ruuvigate's Introduction

RuuviGate

Python package to push RuuviTag data to a cloud service.

Acknowledgments

Prerequisites

  • Python (>=3.8)
  • Azure IoT Central application with a RuuviGate device
  • Poetry (>=1.5.1)

Installing

Install local version

> poetry build
> pip install ./dist/ruuvigate-<version>-py3-none-any.whl

Install from GitHub releases

> pip install https://github.com/jlipponen/RuuviGate/releases/download/<version>/ruuvigate-<version>-py3-none-any.whl

Usage

Examples of configuration files:

Produce sample data to stdout

> python3 -m ruuvigate -r /path/to/ruuvitags.yml --mode stdout --interval 5 --loglevel INFO --simulate

Produce sample data to Azure IoT Central

> python3 -m ruuvigate -r /path/to/ruuvitags.yml -c /path/to/azure.yml --interval 5 --loglevel INFO --simulate

Publish RuuviTag data to Azure IoT Central

> python3 -m ruuvigate -r /path/to/ruuvitags.yml -c /path/to/azure.yml --interval 5 --loglevel INFO

Development

Install dependencies

> poetry install

Run unit tests

> poetry run pytest

Typing

Check typing

> poetry run mypy .

Formatting

Check formatting

> poetry run yapf --diff --recursive .

Apply formatting

> poetry run yapf -i --recursive .

ruuvigate's People

Contributors

jlipponen avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.