项目介绍

ErikBjare/quantifiedme 是一个托管在 GitHub 上的开源项目,主要使用 Python 编写,目前获得 89 个 Star、6 次 Fork。

仓库全名
ErikBjare/quantifiedme
Star 数
89
Fork 数
6
未关闭 Issue
3

README 摘要

QuantifiedMe ============ Loading and plotting of various Quantified Self data sources. You can see an example notebook with fake data built in CI down below. Note: This code is only used by me, as far as I know, but I encourage you to try it out anyway, and report or send PRs for any issues you encounter. I will try to keep it tidy and somewhat usable. Features The code in this repository generally loads data from…

完整内容见 GitHub 原始 README 或本页 。

常见问题

quantifiedme 用什么语言开发?

主要使用 Python 编写,目前有 89 个 Star。

如何获取 quantifiedme 的源码?

可以直接克隆仓库:git clone https://github.com/ErikBjare/quantifiedme.git;安装与运行步骤见仓库 README。

quantifiedme 最近还在维护吗?

仓库最近一次更新为 7月11日,当前有 3 个未关闭 Issue;Star 数为 89,可作为社区活跃度的参考。

关于

Analyzing all of my Quantified Self data

描述取自 GitHub 官方 API,中文内容由 GitRead 中文社区 编辑团队整理。

语言占比

Jupyter Notebook
Makefile
Python
Shell

README

QuantifiedMe

Build codecov

Loading and plotting of various Quantified Self data sources.

You can see an example notebook with fake data built in CI down below.

Note: This code is only used by me, as far as I know, but I encourage you to try it out anyway, and report or send PRs for any issues you encounter. I will try to keep it tidy and somewhat usable.

Features

The code in this repository generally loads data from some source into a Pandas dataframe, and provides tools to process, aggregate, and plot the data.

This makes it a useful toolkit for exploratory data analysis with Jupyter notebooks, for example.

Types of data supported:

  • Time tracking data (from ActivityWatch, Toggl, SmarterTime)
  • Sleep data (from Fitbit, Oura, Whoop)
  • Heartrate data (from Fitbit, Oura, Whoop)
  • Exercise data: workouts (Whoop), strength training (Hevy), daily steps (Home Assistant companion-app step sensors)
  • Location data (from Google Location History)
    • Includes basic plotting of time spent in a certain location.
    • Includes function for computing the colocation time of two location histories (time spent together).
  • Habit data (from HabitBull)
    • Includes a calendar plot.
    • Easy to adapt to any other habit app that supports CSV export
  • Drug consumption (from QSlang)
  • Communication data (calls/SMS from the “SMS Backup & Restore” Android app)
    • Low-level streaming XML reader in src/quantifiedme/load/comms_backup.py; consumers apply their own privacy filtering/aggregation on top.

Can load data from:

  • ActivityWatch
  • Fitbit
  • Whoop (live API via OAuth — see src/quantifiedme/load/whoop_api.py — or CSV/GDPR exports)
  • Oura
  • Hevy (strength-training CSV export — see src/quantifiedme/load/hevy.py)
  • Home Assistant (sensor history, and daily steps from long-term statistics — see src/quantifiedme/load/steps.py)
  • SMS Backup & Restore (calls/SMS — see src/quantifiedme/load/comms_backup.py)
  • EEG devices (WIP)
  • …and more (see src/quantifiedme/load/)

It also contains a bunch of useful tools for aggregating or otherwise deriving data from the sources, including helper tools for combining multiple sources for the same type of data (see src/quantifiedme/derived).

Notebooks

There is currently only one example notebook.

  • Dashboard - Preview at: https://erik.bjareholt.com/quantifiedme/Dashboard.html
    • Uses ActivityWatch and SmarterTime data from multiple devices (desktop, laptop, phone) to create a unified overview of time spent.
    • Used by me as a sort of personal-productivity dashboard.
    • Plots things like:
      • hours worked per day (and on what)
      • which categories are consuming most of my time on a 30-day and 365-day basis
      • how much I make in “fictional salary” over time (by assigning an hourly wage to each category)

I also have a collection of private notebooks for exploratory analysis, which I hope to share later.

Configuration

The configuration is used to specify where data files are located, as well as a few settings.

An example configuration file is provided in config.example.toml.

  • HPI (“Human Programming Interface”) by @karlicoss

评论

暂无评论