Skip to main content

snooper_pkg

snooper_pkg records a simple, useful signal: which application and window is in the foreground, and for how long. It is intended to make productive-work sessions easier to review together, without capturing the contents of that work.

Time away from the keyboard is treated separately from active foreground use. For example, if a browser remains open while someone is away, that interval can be reported as idle time rather than browser activity.

Privacy boundaries

This application is designed for transparent, consensual use. It is not intended to record:

  • keystrokes
  • screenshots
  • messages
  • passwords
  • complete webpage contents
  • detailed personal content

Window titles can themselves contain sensitive information. Title display is configurable through SHOW_WINDOW_TITLES; disable it when titles should not appear in reports.

Current MVP features

The current notebooks implement:

  • automatic monitoring startup
  • monitoring sessions stored in SQLite
  • foreground application and window interval tracking
  • Windows idle detection
  • process start and stop events
  • cleanup of old session data
  • pause and automatic resume
  • system-tray controls
  • session report generation
  • a table-style Tkinter report window
  • clean application exit

Requirements

The package metadata now declares the runtime dependencies used by the implementation notebooks:

  • fastcore
  • fastlite
  • pandas
  • psutil
  • Pillow
  • pystray on Windows
  • pywin32 on Windows

The package still needs to be verified from a built wheel on a clean Windows installation. That test must confirm that the dependencies install correctly, the foreground-window and idle tracking work, the system-tray application starts, and the report UI opens successfully.

tkinter is not listed as a PyPI dependency because it is part of Python’s standard library. Its availability should instead be checked on the target Windows Python installation.

Development installation

From the project root, install the package in editable mode:

python -m pip install -e .

Export notebook changes into the package with:

nbdev-export

Run notebook tests with:

nbdev-test

Use the combined preparation command before committing:

nbdev-prepare

Running the MVP

The application startup flow creates a MonitorController, starts monitoring, opens the most recent completed-session report, and enters the system-tray loop. Run it only in a Windows environment after the notebook modules have been exported and the required runtime packages are installed.

The immediate project priority is a real Windows MVP test: confirm tray startup, foreground intervals, idle handling, reporting, pause/resume, and clean exit before expanding scope.

Release files for snooper-pkg 0.0.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 snooper-pkg 0.0.1
File Size Uploaded
snooper_pkg-0.0.1.tar.gz 23.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for snooper-pkg 0.0.1
File Interpreter ABI Platform
snooper_pkg-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 48.5 kB

Release files / snooper_pkg-0.0.1.tar.gz

Download URL snooper_pkg-0.0.1.tar.gz
Size 23.0 kB
Tags Source
SHA-256 checksum
How to use checksums
7acb6da9499b00e02b780d02f2d7c23fe6e1c80da690f2f945a329292b4e5674
BLAKE2b-256 checksum
How to use checksums
4ca92336c0c97258116576567827fbbb8e851f380b53d54e4138f88dad6a4cc7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.13

Release files / snooper_pkg-0.0.1-py3-none-any.whl

Download URL snooper_pkg-0.0.1-py3-none-any.whl
Size 25.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ab4ff2c2e42bc7a2c8adffa480cab78bba03526d7f5bb474f9cec876cf745730
BLAKE2b-256 checksum
How to use checksums
44dd7d32ef61b84e6ae1d0cc2c6c70a9a8a7456cbccf9f0eed0e779b893759ab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.13

Release history Release notifications | RSS feed

This release

0.0.1 This release

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