Giter VIP home page Giter VIP logo

date-time-analysis's Introduction

Timestamp Analysis Application

Overview

The Timestamp Analysis Application is a Streamlit-based web application designed to analyze realtime data fetched from a MySQL database. This data records the number of times push-ups were done each day. The application provides insights such as monthly counts, average monthly counts, dates with the highest count, frequency with user input, days with frequency, and hourly frequency.

Setup

  1. Clone the Repository:
    git clone <repository_url>
    
  2. Install Dependencies: Install the required Python packages using pip.
    pip install -r requirements.txt
    
  3. Database Configuration:
    • Ensure you have a MySQL database set up.
    • Create a .env file in the root directory of the project and provide the necessary environment variables:
      DB_HOST=your_database_host
      DB_USER=your_database_user
      DB_PASSWORD=your_database_password
      DB_DATABASE=your_database_name
      

Features

  • Data Visualization: The application provides visualizations such as bar plots to represent monthly counts, average monthly counts, hourly frequency, and days of the week with frequency.
  • Downloadable CSV: Users can download the fetched data in CSV format for further analysis.
  • Insights:
    • Monthly Counts: Displays the total number of entries for each month and year.
    • Average Monthly Counts: Shows the average count for each month along with the highest frequency month.
    • Date with Highest Count: Identifies the date(s) with the highest number of entries.
    • Frequency with User Input: Allows users to input a frequency and displays dates with that frequency.
    • Days with Frequency: Presents a table and bar plot depicting the frequency of each day of the week.
    • Hourly Frequency: Analyzes the frequency of activities performed during each hour section of the day, along with the hour section(s) with the highest frequency.
  • Sidebar Overview: Provides a sidebar with an overview of the application and relevant links to other related apps.

Run

Run the application using the following command:

streamlit run app.py

or

python -m streamlit run app.py

date-time-analysis's People

Contributors

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