Skip to main content

Parsers for output of various programs

Project description

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.

Project details


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

miscreaders-0.2.0-py3-none-any.whl (12.1 kB view details)

Uploaded Python 3

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

Hashes for miscreaders-0.2.0.tar.gz
Algorithm Hash digest
SHA256 0da594529b65e3f1a99a25a7ac8f63769a09dc3252e6fd72535e9bbb8da2e243
MD5 faef5cd901e4e9d944e4afd8fd31d7fe
BLAKE2b-256 e79bec59352c3bbaa47d656b0a3bc1815acc942b3665511108c55bbbd141ca1b

See more details on using hashes here.

File details

Details for the file miscreaders-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for miscreaders-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1adad22689d74c67be96bf6ff16eddc31ae18b14ab1c88ea3257fe0a5598574e
MD5 cfbb09931d3b00cf7327e774d27b0b83
BLAKE2b-256 48fa68bdf35c839d855c62650744841ec4d91761c4fb1d7bd6acf1ee7b063df6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page