Parsers for output of various programs
Project description
miscreaders
This library provides parsers for output of various programs.
To learn more, please see the documentation.
List of readers
| Program | Description |
|---|---|
| StayFree | Device usage statistics (mobile, desktop, browser) |
| Loop Habit Tracker | Habit tracker (Android) |
| Moonwatch.rs | Privacy-focused device usage statistics (desktop) |
Installation
pip install miscreaders
Example
>>> from miscreaders.stayfree import StayfreeXlsReader
>>> reader = StayfreeXlsReader("StayFree Export - Total Usage - 8_9_24.xls")
>>> reader.get_usage_time_df()
shape: (6_222, 4)
┌────────────┬─────────────┬──────────────┬────────┐
│ date ┆ app ┆ duration ┆ device │
│ --- ┆ --- ┆ --- ┆ --- │
│ date ┆ str ┆ duration[μs] ┆ str │
╞════════════╪═════════════╪══════════════╪════════╡
│ 2023-11-10 ┆ addititious ┆ 0µs ┆ │
│ 2023-11-11 ┆ addititious ┆ 0µs ┆ │
│ 2023-11-12 ┆ addititious ┆ 0µs ┆ │
│ 2023-11-13 ┆ addititious ┆ 0µs ┆ │
│ 2023-11-14 ┆ addititious ┆ 6s ┆ │
│ … ┆ … ┆ … ┆ … │
│ 2024-03-06 ┆ xylometer ┆ 53m 8s ┆ │
│ 2024-03-07 ┆ xylometer ┆ 0µs ┆ │
│ 2024-03-08 ┆ xylometer ┆ 30m 54s ┆ │
│ 2024-03-09 ┆ xylometer ┆ 0µs ┆ │
│ 2024-03-10 ┆ xylometer ┆ 0µs ┆ │
└────────────┴─────────────┴──────────────┴────────┘
License
MIT, see LICENSE.txt.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
miscreaders-0.2.0.tar.gz
(92.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file miscreaders-0.2.0.tar.gz.
File metadata
- Download URL: miscreaders-0.2.0.tar.gz
- Upload date:
- Size: 92.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0da594529b65e3f1a99a25a7ac8f63769a09dc3252e6fd72535e9bbb8da2e243
|
|
| MD5 |
faef5cd901e4e9d944e4afd8fd31d7fe
|
|
| BLAKE2b-256 |
e79bec59352c3bbaa47d656b0a3bc1815acc942b3665511108c55bbbd141ca1b
|
File details
Details for the file miscreaders-0.2.0-py3-none-any.whl.
File metadata
- Download URL: miscreaders-0.2.0-py3-none-any.whl
- Upload date:
- Size: 12.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1adad22689d74c67be96bf6ff16eddc31ae18b14ab1c88ea3257fe0a5598574e
|
|
| MD5 |
cfbb09931d3b00cf7327e774d27b0b83
|
|
| BLAKE2b-256 |
48fa68bdf35c839d855c62650744841ec4d91761c4fb1d7bd6acf1ee7b063df6
|