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.
- Python 3.10+: For core functionalities.
- Pandas: For efficient data handling and manipulation.
- FastAPI: For creating and handling API endpoints.
- Pydantic: For DataModel Validations.
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]
Python: Version 3.10 or higher is required to run this project.
> pyenv virtualenv 3.10.0 fluidsense-env
# 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)