snooper-pkg 0.0.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,87 @@
1
+ # Contributing to Snooper
2
+
3
+
4
+
5
+ Thank you for contributing.
6
+
7
+
8
+
9
+ ## Development setup
10
+
11
+
12
+
13
+ 1. Clone the repository.
14
+
15
+ 2. Create and activate a Python virtual environment.
16
+
17
+ 3. Install the package and development dependencies:
18
+
19
+
20
+
21
+ ```bash
22
+
23
+ python -m pip install -e ".[dev]"
24
+
25
+ ```
26
+
27
+
28
+
29
+ ## Making changes
30
+
31
+
32
+
33
+ - Edit the notebooks under `nbs/`, not the generated files under `snooper_pkg/`.
34
+
35
+ - Keep the MVP scope focused on transparent foreground-application monitoring.
36
+
37
+ - Do not add keystroke, screenshot, password, message, or full-page-content capture.
38
+
39
+ - Run the following before committing:
40
+
41
+
42
+
43
+ ```bash
44
+
45
+ nbdev-prepare
46
+
47
+ ```
48
+
49
+
50
+
51
+ ## Testing
52
+
53
+
54
+
55
+ Run portable tests with:
56
+
57
+
58
+
59
+ ```bash
60
+
61
+ nbdev-test
62
+
63
+ ```
64
+
65
+
66
+
67
+ Windows-specific changes should also be tested on a real Windows installation, especially tray behaviour, foreground tracking, idle detection, pause/resume, and clean exit.
68
+
69
+
70
+
71
+ ## Pull requests
72
+
73
+
74
+
75
+ Please include:
76
+
77
+
78
+
79
+ - a concise description of the change
80
+
81
+ - tests performed
82
+
83
+ - any Windows-specific notes
84
+
85
+ - confirmation that generated files are up to date
86
+
87
+
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright 2022, fastai
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
@@ -0,0 +1,5 @@
1
+ include pyproject.toml
2
+ include LICENSE
3
+ include CONTRIBUTING.md
4
+ include README.md
5
+ recursive-exclude * __pycache__
@@ -0,0 +1,115 @@
1
+ Metadata-Version: 2.4
2
+ Name: snooper_pkg
3
+ Version: 0.0.1
4
+ Summary: A transparent Windows foreground-application usage tracker
5
+ Author-email: Sayan Banerjee <sayanbanerjee32@gmail.com>
6
+ License: Apache-2.0
7
+ Project-URL: Repository, https://github.com/sayanbanerjee32/snooper_pkg
8
+ Project-URL: Documentation, https://sayanbanerjee32.github.io/snooper_pkg/
9
+ Keywords: nbdev,snooper
10
+ Classifier: Development Status :: 3 - Alpha
11
+ Classifier: Environment :: Win32 (MS Windows)
12
+ Classifier: License :: OSI Approved :: Apache Software License
13
+ Classifier: Operating System :: Microsoft :: Windows
14
+ Classifier: Programming Language :: Python :: 3
15
+ Classifier: Programming Language :: Python :: 3 :: Only
16
+ Requires-Python: >=3.10
17
+ Description-Content-Type: text/markdown
18
+ License-File: LICENSE
19
+ Requires-Dist: fastcore
20
+ Requires-Dist: fastlite
21
+ Requires-Dist: pandas
22
+ Requires-Dist: psutil
23
+ Requires-Dist: Pillow
24
+ Requires-Dist: platformdirs
25
+ Requires-Dist: pystray; sys_platform == "win32"
26
+ Requires-Dist: pywin32; sys_platform == "win32"
27
+ Provides-Extra: dev
28
+ Requires-Dist: nbdev; extra == "dev"
29
+ Dynamic: license-file
30
+
31
+ # snooper_pkg
32
+
33
+
34
+ <!-- WARNING: THIS FILE WAS AUTOGENERATED! DO NOT EDIT! -->
35
+
36
+ `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.
37
+
38
+ 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.
39
+
40
+ ## Privacy boundaries
41
+
42
+ This application is designed for transparent, consensual use. It is not intended to record:
43
+
44
+ - keystrokes
45
+ - screenshots
46
+ - messages
47
+ - passwords
48
+ - complete webpage contents
49
+ - detailed personal content
50
+
51
+ Window titles can themselves contain sensitive information. Title display is configurable through `SHOW_WINDOW_TITLES`; disable it when titles should not appear in reports.
52
+
53
+ ## Current MVP features
54
+
55
+ The current notebooks implement:
56
+
57
+ - automatic monitoring startup
58
+ - monitoring sessions stored in SQLite
59
+ - foreground application and window interval tracking
60
+ - Windows idle detection
61
+ - process start and stop events
62
+ - cleanup of old session data
63
+ - pause and automatic resume
64
+ - system-tray controls
65
+ - session report generation
66
+ - a table-style Tkinter report window
67
+ - clean application exit
68
+
69
+ ## Requirements
70
+
71
+ The package metadata now declares the runtime dependencies used by the implementation notebooks:
72
+
73
+ - `fastcore`
74
+ - `fastlite`
75
+ - `pandas`
76
+ - `psutil`
77
+ - `Pillow`
78
+ - `pystray` on Windows
79
+ - `pywin32` on Windows
80
+
81
+ 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.
82
+
83
+ `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.
84
+
85
+ ## Development installation
86
+
87
+ From the project root, install the package in editable mode:
88
+
89
+ ``` bash
90
+ python -m pip install -e .
91
+ ```
92
+
93
+ Export notebook changes into the package with:
94
+
95
+ ``` bash
96
+ nbdev-export
97
+ ```
98
+
99
+ Run notebook tests with:
100
+
101
+ ``` bash
102
+ nbdev-test
103
+ ```
104
+
105
+ Use the combined preparation command before committing:
106
+
107
+ ``` bash
108
+ nbdev-prepare
109
+ ```
110
+
111
+ ## Running the MVP
112
+
113
+ The application startup flow creates a [`MonitorController`](https://sayanbanerjee32.github.io/snooper_pkg/monitoring_controller.html#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.
114
+
115
+ 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.
@@ -0,0 +1,85 @@
1
+ # snooper_pkg
2
+
3
+
4
+ <!-- WARNING: THIS FILE WAS AUTOGENERATED! DO NOT EDIT! -->
5
+
6
+ `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.
7
+
8
+ 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.
9
+
10
+ ## Privacy boundaries
11
+
12
+ This application is designed for transparent, consensual use. It is not intended to record:
13
+
14
+ - keystrokes
15
+ - screenshots
16
+ - messages
17
+ - passwords
18
+ - complete webpage contents
19
+ - detailed personal content
20
+
21
+ Window titles can themselves contain sensitive information. Title display is configurable through `SHOW_WINDOW_TITLES`; disable it when titles should not appear in reports.
22
+
23
+ ## Current MVP features
24
+
25
+ The current notebooks implement:
26
+
27
+ - automatic monitoring startup
28
+ - monitoring sessions stored in SQLite
29
+ - foreground application and window interval tracking
30
+ - Windows idle detection
31
+ - process start and stop events
32
+ - cleanup of old session data
33
+ - pause and automatic resume
34
+ - system-tray controls
35
+ - session report generation
36
+ - a table-style Tkinter report window
37
+ - clean application exit
38
+
39
+ ## Requirements
40
+
41
+ The package metadata now declares the runtime dependencies used by the implementation notebooks:
42
+
43
+ - `fastcore`
44
+ - `fastlite`
45
+ - `pandas`
46
+ - `psutil`
47
+ - `Pillow`
48
+ - `pystray` on Windows
49
+ - `pywin32` on Windows
50
+
51
+ 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.
52
+
53
+ `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.
54
+
55
+ ## Development installation
56
+
57
+ From the project root, install the package in editable mode:
58
+
59
+ ``` bash
60
+ python -m pip install -e .
61
+ ```
62
+
63
+ Export notebook changes into the package with:
64
+
65
+ ``` bash
66
+ nbdev-export
67
+ ```
68
+
69
+ Run notebook tests with:
70
+
71
+ ``` bash
72
+ nbdev-test
73
+ ```
74
+
75
+ Use the combined preparation command before committing:
76
+
77
+ ``` bash
78
+ nbdev-prepare
79
+ ```
80
+
81
+ ## Running the MVP
82
+
83
+ The application startup flow creates a [`MonitorController`](https://sayanbanerjee32.github.io/snooper_pkg/monitoring_controller.html#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.
84
+
85
+ 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.
@@ -0,0 +1,54 @@
1
+ [build-system]
2
+ requires = ["setuptools>=64"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "snooper_pkg"
7
+ dynamic = ["version"]
8
+ description = "A transparent Windows foreground-application usage tracker"
9
+ readme = "README.md"
10
+ requires-python = ">=3.10"
11
+ license = {text = "Apache-2.0"}
12
+ authors = [{name = "Sayan Banerjee", email = "sayanbanerjee32@gmail.com"}]
13
+ keywords = ['nbdev', 'snooper']
14
+ classifiers = [
15
+ "Development Status :: 3 - Alpha",
16
+ "Environment :: Win32 (MS Windows)",
17
+ "License :: OSI Approved :: Apache Software License",
18
+ "Operating System :: Microsoft :: Windows",
19
+ "Programming Language :: Python :: 3",
20
+ "Programming Language :: Python :: 3 :: Only",
21
+ ]
22
+ dependencies = [
23
+ "fastcore",
24
+ "fastlite",
25
+ "pandas",
26
+ "psutil",
27
+ "Pillow",
28
+ "platformdirs",
29
+ "pystray; sys_platform == 'win32'",
30
+ "pywin32; sys_platform == 'win32'",
31
+ ]
32
+
33
+ [project.urls]
34
+ Repository = "https://github.com/sayanbanerjee32/snooper_pkg"
35
+ Documentation = "https://sayanbanerjee32.github.io/snooper_pkg/"
36
+
37
+ [project.entry-points.nbdev]
38
+ snooper_pkg = "snooper_pkg._modidx:d"
39
+
40
+ [project.optional-dependencies]
41
+ dev = [
42
+ "nbdev",
43
+ ]
44
+
45
+ [project.gui-scripts]
46
+ snooper = "snooper_pkg.main:main"
47
+
48
+ [tool.setuptools.dynamic]
49
+ version = {attr = "snooper_pkg.__version__"}
50
+
51
+ [tool.setuptools.packages.find]
52
+ include = ["snooper_pkg"]
53
+
54
+ [tool.nbdev]
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1 @@
1
+ __version__ = "0.0.1"
@@ -0,0 +1,102 @@
1
+ # Autogenerated by nbdev
2
+
3
+ d = { 'settings': { 'branch': 'main',
4
+ 'doc_baseurl': '/snooper_pkg',
5
+ 'doc_host': 'https://sayanbanerjee32.github.io',
6
+ 'git_url': 'https://github.com/sayanbanerjee32/snooper_pkg',
7
+ 'lib_path': 'snooper_pkg'},
8
+ 'syms': { 'snooper_pkg.config': {},
9
+ 'snooper_pkg.db': { 'snooper_pkg.db.ForegroundEvent': ('db.html#foregroundevent', 'snooper_pkg/db.py'),
10
+ 'snooper_pkg.db.ProcessEvent': ('db.html#processevent', 'snooper_pkg/db.py'),
11
+ 'snooper_pkg.db.Session': ('db.html#session', 'snooper_pkg/db.py'),
12
+ 'snooper_pkg.db._db_timestamp': ('db.html#_db_timestamp', 'snooper_pkg/db.py'),
13
+ 'snooper_pkg.db.close_stale_open_sessions': ('db.html#close_stale_open_sessions', 'snooper_pkg/db.py'),
14
+ 'snooper_pkg.db.delete_old_data': ('db.html#delete_old_data', 'snooper_pkg/db.py'),
15
+ 'snooper_pkg.db.end_session': ('db.html#end_session', 'snooper_pkg/db.py'),
16
+ 'snooper_pkg.db.get_foreground_events': ('db.html#get_foreground_events', 'snooper_pkg/db.py'),
17
+ 'snooper_pkg.db.get_last_completed_session': ('db.html#get_last_completed_session', 'snooper_pkg/db.py'),
18
+ 'snooper_pkg.db.get_processes': ('db.html#get_processes', 'snooper_pkg/db.py'),
19
+ 'snooper_pkg.db.get_session_by_session_id': ('db.html#get_session_by_session_id', 'snooper_pkg/db.py'),
20
+ 'snooper_pkg.db.init_db': ('db.html#init_db', 'snooper_pkg/db.py'),
21
+ 'snooper_pkg.db.log_fg_app_events': ('db.html#log_fg_app_events', 'snooper_pkg/db.py'),
22
+ 'snooper_pkg.db.log_process_event': ('db.html#log_process_event', 'snooper_pkg/db.py'),
23
+ 'snooper_pkg.db.start_session': ('db.html#start_session', 'snooper_pkg/db.py')},
24
+ 'snooper_pkg.foreground_tracker': { 'snooper_pkg.foreground_tracker._require_windows': ( 'foreground_tracker.html#_require_windows',
25
+ 'snooper_pkg/foreground_tracker.py'),
26
+ 'snooper_pkg.foreground_tracker.get_foreground_window_info': ( 'foreground_tracker.html#get_foreground_window_info',
27
+ 'snooper_pkg/foreground_tracker.py'),
28
+ 'snooper_pkg.foreground_tracker.is_streaming_app': ( 'foreground_tracker.html#is_streaming_app',
29
+ 'snooper_pkg/foreground_tracker.py'),
30
+ 'snooper_pkg.foreground_tracker.start_foreground_app_monitoring': ( 'foreground_tracker.html#start_foreground_app_monitoring',
31
+ 'snooper_pkg/foreground_tracker.py')},
32
+ 'snooper_pkg.idle_detector': { 'snooper_pkg.idle_detector.LASTINPUTINFO': ( 'idle_detector.html#lastinputinfo',
33
+ 'snooper_pkg/idle_detector.py'),
34
+ 'snooper_pkg.idle_detector._require_windows': ( 'idle_detector.html#_require_windows',
35
+ 'snooper_pkg/idle_detector.py'),
36
+ 'snooper_pkg.idle_detector.get_idle_seconds': ( 'idle_detector.html#get_idle_seconds',
37
+ 'snooper_pkg/idle_detector.py'),
38
+ 'snooper_pkg.idle_detector.get_last_input_tick': ( 'idle_detector.html#get_last_input_tick',
39
+ 'snooper_pkg/idle_detector.py')},
40
+ 'snooper_pkg.main': { 'snooper_pkg.main._acquire_single_instance': ( 'main.html#_acquire_single_instance',
41
+ 'snooper_pkg/main.py'),
42
+ 'snooper_pkg.main.configure_logging': ('main.html#configure_logging', 'snooper_pkg/main.py'),
43
+ 'snooper_pkg.main.main': ('main.html#main', 'snooper_pkg/main.py')},
44
+ 'snooper_pkg.monitoring_controller': { 'snooper_pkg.monitoring_controller.MonitorController': ( 'monitoring_controller.html#monitorcontroller',
45
+ 'snooper_pkg/monitoring_controller.py'),
46
+ 'snooper_pkg.monitoring_controller.MonitorController.__init__': ( 'monitoring_controller.html#monitorcontroller.__init__',
47
+ 'snooper_pkg/monitoring_controller.py'),
48
+ 'snooper_pkg.monitoring_controller.MonitorController._auto_resume': ( 'monitoring_controller.html#monitorcontroller._auto_resume',
49
+ 'snooper_pkg/monitoring_controller.py'),
50
+ 'snooper_pkg.monitoring_controller.MonitorController._midnight_rollover': ( 'monitoring_controller.html#monitorcontroller._midnight_rollover',
51
+ 'snooper_pkg/monitoring_controller.py'),
52
+ 'snooper_pkg.monitoring_controller.MonitorController.generate_current_session_stats': ( 'monitoring_controller.html#monitorcontroller.generate_current_session_stats',
53
+ 'snooper_pkg/monitoring_controller.py'),
54
+ 'snooper_pkg.monitoring_controller.MonitorController.generate_last_report_data': ( 'monitoring_controller.html#monitorcontroller.generate_last_report_data',
55
+ 'snooper_pkg/monitoring_controller.py'),
56
+ 'snooper_pkg.monitoring_controller.MonitorController.is_paused': ( 'monitoring_controller.html#monitorcontroller.is_paused',
57
+ 'snooper_pkg/monitoring_controller.py'),
58
+ 'snooper_pkg.monitoring_controller.MonitorController.is_running': ( 'monitoring_controller.html#monitorcontroller.is_running',
59
+ 'snooper_pkg/monitoring_controller.py'),
60
+ 'snooper_pkg.monitoring_controller.MonitorController.pause_for': ( 'monitoring_controller.html#monitorcontroller.pause_for',
61
+ 'snooper_pkg/monitoring_controller.py'),
62
+ 'snooper_pkg.monitoring_controller.MonitorController.resume_now': ( 'monitoring_controller.html#monitorcontroller.resume_now',
63
+ 'snooper_pkg/monitoring_controller.py'),
64
+ 'snooper_pkg.monitoring_controller.MonitorController.run_startup_housekeeping': ( 'monitoring_controller.html#monitorcontroller.run_startup_housekeeping',
65
+ 'snooper_pkg/monitoring_controller.py'),
66
+ 'snooper_pkg.monitoring_controller.MonitorController.start_monitoring': ( 'monitoring_controller.html#monitorcontroller.start_monitoring',
67
+ 'snooper_pkg/monitoring_controller.py'),
68
+ 'snooper_pkg.monitoring_controller.MonitorController.stop_monitoring': ( 'monitoring_controller.html#monitorcontroller.stop_monitoring',
69
+ 'snooper_pkg/monitoring_controller.py'),
70
+ 'snooper_pkg.monitoring_controller.seconds_until_midnight': ( 'monitoring_controller.html#seconds_until_midnight',
71
+ 'snooper_pkg/monitoring_controller.py')},
72
+ 'snooper_pkg.process_monitor': { 'snooper_pkg.process_monitor.get_current_processes': ( 'process_monitor.html#get_current_processes',
73
+ 'snooper_pkg/process_monitor.py'),
74
+ 'snooper_pkg.process_monitor.start_process_monitoring': ( 'process_monitor.html#start_process_monitoring',
75
+ 'snooper_pkg/process_monitor.py')},
76
+ 'snooper_pkg.report_window': { 'snooper_pkg.report_window.fmt_duration': ( 'report_window.html#fmt_duration',
77
+ 'snooper_pkg/report_window.py'),
78
+ 'snooper_pkg.report_window.show_apps': ( 'report_window.html#show_apps',
79
+ 'snooper_pkg/report_window.py'),
80
+ 'snooper_pkg.report_window.show_report': ( 'report_window.html#show_report',
81
+ 'snooper_pkg/report_window.py'),
82
+ 'snooper_pkg.report_window.show_summary': ( 'report_window.html#show_summary',
83
+ 'snooper_pkg/report_window.py'),
84
+ 'snooper_pkg.report_window.show_titles': ( 'report_window.html#show_titles',
85
+ 'snooper_pkg/report_window.py'),
86
+ 'snooper_pkg.report_window.update_titles': ( 'report_window.html#update_titles',
87
+ 'snooper_pkg/report_window.py')},
88
+ 'snooper_pkg.reporter': { 'snooper_pkg.reporter._clean_events': ('reporter.html#_clean_events', 'snooper_pkg/reporter.py'),
89
+ 'snooper_pkg.reporter._events_data': ('reporter.html#_events_data', 'snooper_pkg/reporter.py'),
90
+ 'snooper_pkg.reporter._session_data': ('reporter.html#_session_data', 'snooper_pkg/reporter.py'),
91
+ 'snooper_pkg.reporter._summary_data': ('reporter.html#_summary_data', 'snooper_pkg/reporter.py'),
92
+ 'snooper_pkg.reporter.build_session_report_data': ( 'reporter.html#build_session_report_data',
93
+ 'snooper_pkg/reporter.py')},
94
+ 'snooper_pkg.tray': { 'snooper_pkg.tray.UiDispatcher': ('tray.html#uidispatcher', 'snooper_pkg/tray.py'),
95
+ 'snooper_pkg.tray.UiDispatcher.__init__': ('tray.html#uidispatcher.__init__', 'snooper_pkg/tray.py'),
96
+ 'snooper_pkg.tray.UiDispatcher._process': ('tray.html#uidispatcher._process', 'snooper_pkg/tray.py'),
97
+ 'snooper_pkg.tray.UiDispatcher.submit': ('tray.html#uidispatcher.submit', 'snooper_pkg/tray.py'),
98
+ 'snooper_pkg.tray.open_current_session_report': ( 'tray.html#open_current_session_report',
99
+ 'snooper_pkg/tray.py'),
100
+ 'snooper_pkg.tray.open_last_session_report': ( 'tray.html#open_last_session_report',
101
+ 'snooper_pkg/tray.py'),
102
+ 'snooper_pkg.tray.run_tray': ('tray.html#run_tray', 'snooper_pkg/tray.py')}}}