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.1.0.tar.gz
(90.8 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.1.0.tar.gz.
File metadata
- Download URL: miscreaders-0.1.0.tar.gz
- Upload date:
- Size: 90.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4c3f5dcf42f86ad232dd4ac18dbe5c0eb5e02b2b1ff2ffc88795fc6fe114d9fa
|
|
| MD5 |
77fb6d7b26abaeeec037586dced82a54
|
|
| BLAKE2b-256 |
28774034fa90d35f7841f4d814287fe52fea223bda33e1eb1e047aa427fd732d
|
File details
Details for the file miscreaders-0.1.0-py3-none-any.whl.
File metadata
- Download URL: miscreaders-0.1.0-py3-none-any.whl
- Upload date:
- Size: 9.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2c9510a69773d3c4df1d07b57b625a92854b3c19d7bd10673b591b88031052b1
|
|
| MD5 |
fd155907e33c18fe79d967c1b2759273
|
|
| BLAKE2b-256 |
d865b298a9d17c26cc149ffd29ee1ad6b56f798e339ab9c6ab361a1701b7d061
|