Skip to content

konstantinlokotunin/HabitFlux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧠📈 HabitFlux — Behavioral Tracking & Insights System (Python)

A Python-based habit tracking and analysis tool that transforms daily behavioral data into actionable insights. The project combines data processing, statistical analysis, and visualization to evaluate consistency, streaks, and overall habit performance.

This project demonstrates an end-to-end data workflow:

  • CSV data ingestion
  • analytical computation (NumPy)
  • visualization (Matplotlib)
  • reporting and export

✨ Features

  • 📥 Load habit data from CSV files

  • 📊 Compute key metrics:

    • Habit completion rates
    • Current streaks
    • Longest streaks
  • 🔥 GitHub-style habit heatmap visualization

  • 💾 Generate structured reports in CSV format

  • 🧠 Clean, modular project structure (data / src / outputs)


🧱 Project Structure

habitflux/
│
├── data/              # Raw input data
├── src/               # Core logic
│   ├── data_loader.py
│   ├── analysis.py
│   ├── visualization.py
│
├── outputs/           # Generated files (plots, exports)
├── main.py            # Entry point
├── README.md

📸 Example Output

Habit Heatmap


⚙️ Tech Stack

  • Python 3.14
  • NumPy
  • Matplotlib

▶️ How to Run

pip install -r requirements.txt
python main.py

🎯 Purpose

This project demonstrates:

  • Processing and analyzing behavioral data in Python
  • Designing modular and scalable project structures
  • Applying NumPy for efficient numerical computation
  • Building insightful visualizations with Matplotlib
  • Creating reproducible personal analytics workflows

🔮 Future Improvements

  • Interactive visualizations (mplcursors / Plotly)
  • CLI interface (argparse / Typer)
  • Streamlit dashboard
  • Automated habit tracking pipeline

📜 License

CC0-1.0

About

Data-driven habit tracking tool in Python — analyze daily and weekly streaks, completion rates, and visualize consistency with heatmaps.

Topics

Resources

License

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages