This project provides a script designed to process and summarize logs generated by FlutterFlow. The purpose of this tool is to accurately track and estimate project time by analyzing user actions within the FlutterFlow platform.
-
Input: The script accepts a CSV file containing logs from FlutterFlow, which includes information such as the user’s email, the action type (e.g., add, edit), timestamps, and whether the action was undone.
-
Processing:
- The script cleans the data by removing logs with missing user information or marked as "undo".
- It then processes the logs chronologically for each user, detecting task repetitions based on time gaps or changes in the action type.
- For each task, it calculates the total time spent and counts the number of occurrences.
-
Output:
- A summarized version of the logs by day, user and type of activity.
- Python 3.7+
- pandas library
You can install the required dependencies using pip:
pip install -r requirements.txtpython logs_processing.py
The repository includes en example input (input.csv) and output (output.csv) files to use as reference
If you'd like to contribute to the project, feel free to fork the repository, create a new branch, and submit a pull request. Contributions are always welcome!
This project is licensed under the MIT License - see the LICENSE file for details.