Git Product home page Git Product logo

fluidsense's Introduction

FluidSense ๐Ÿ’ง

FluidSense is a micro-tool to read, filter, and manipulate sensor data from CSV files based on this Kaggle dataset: Dataset (pump-sensor-data).

  • Load CSV Files: Easily load pump-sensor-data, dataset provided by Kaggle.
  • Custom Filters: No hardcoded values, filtering parameters can be updated easily.
  • DataFrame Management: Utilizes Pandas Dataframes for optimal performance.
  • FastAPI Endpoints: Simple endpoints with documentation generated by FASTAPI.

Tech stack:

  • Python 3.10+: For core functionalities.
  • Pandas: For efficient data handling and manipulation.
  • FastAPI: For creating and handling API endpoints.
  • Pydantic: For DataModel Validations.

Dataframe model:

sensor_lib:          Fecha      Hora     Sensor   Medicion      Estado
0    2018-04-18  04:41:00  sensor_47  29.513890  RECOVERING
1    2018-04-18  04:42:00  sensor_47  29.513890  RECOVERING
2    2018-04-18  04:43:00  sensor_47  29.224540  RECOVERING
3    2018-04-18  04:44:00  sensor_47  29.224537  RECOVERING
4    2018-04-18  04:45:00  sensor_47  29.224537  RECOVERING
..          ...       ...        ...        ...         ...
299  2018-04-19  10:34:00  sensor_07  21.202260  RECOVERING
300  2018-04-19  10:35:00  sensor_07  21.129920  RECOVERING
301  2018-04-19  10:36:00  sensor_07  21.129920  RECOVERING
302  2018-04-18  04:41:00  sensor_47  29.513890  RECOVERING
303  2018-04-18  04:42:00  sensor_47  29.513890  RECOVERING

[304 rows x 5 columns]

Installation:

Python: Version 3.10 or higher is required to run this project.

Virtual Environment (Recommended)

> pyenv virtualenv 3.10.0 fluidsense-env

Install requirements.txt and run main.py

# Install requirements
> pip install -r requirements.txt
# Run main.py
> python main.py

INFO:     Started server process [82427]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)
๐Ÿš€ Finally, go to http://localhost:8000/docs, and you can start playing with this micro app ๐Ÿ’ง.

fluidsense's People

Contributors

nmendev 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.