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.1.tar.gz
(92.5 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.1.tar.gz.
File metadata
- Download URL: miscreaders-0.2.1.tar.gz
- Upload date:
- Size: 92.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
727aa6d87d46df33f74eda539d6c9e8861a9a9afcc73213565a14f213b2afb83
|
|
| MD5 |
9ad1b644f0a4900ff8df51ddd18053aa
|
|
| BLAKE2b-256 |
5f2e257bc133defe2c52c6f70211e6331cd0e1e71e418d82075a9887044d36e9
|
File details
Details for the file miscreaders-0.2.1-py3-none-any.whl.
File metadata
- Download URL: miscreaders-0.2.1-py3-none-any.whl
- Upload date:
- Size: 12.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bf621b7169dd2a2c2a515e883a96577e99b3c2829a2bfafaf5c351947230a657
|
|
| MD5 |
da2cf309dad2fa1fb5739ba18626abba
|
|
| BLAKE2b-256 |
c4cafb943ce418d04eee0ed7c99c688cb2a7771a2b8617244642aa90d9d7c3ed
|