Skip to main content

CI - build CI - coverage MyPy & Ruffle checked PyPI - Version PyPI - Python Version License

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.

Metadata

Release files for miscreaders 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for miscreaders 0.2.1
File Size Uploaded
miscreaders-0.2.1.tar.gz 92.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for miscreaders 0.2.1
File Interpreter ABI Platform
miscreaders-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 104.7 kB

Release files / miscreaders-0.2.1.tar.gz

Download URL miscreaders-0.2.1.tar.gz
Size 92.5 kB
Tags Source
SHA-256 checksum
How to use checksums
727aa6d87d46df33f74eda539d6c9e8861a9a9afcc73213565a14f213b2afb83
BLAKE2b-256 checksum
How to use checksums
5f2e257bc133defe2c52c6f70211e6331cd0e1e71e418d82075a9887044d36e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.12

Release files / miscreaders-0.2.1-py3-none-any.whl

Download URL miscreaders-0.2.1-py3-none-any.whl
Size 12.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bf621b7169dd2a2c2a515e883a96577e99b3c2829a2bfafaf5c351947230a657
BLAKE2b-256 checksum
How to use checksums
c4cafb943ce418d04eee0ed7c99c688cb2a7771a2b8617244642aa90d9d7c3ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.12

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page