zencleaner 1.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,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 ZenCleaner
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,15 @@
1
+ include LICENSE
2
+ include README.md
3
+ recursive-include zencleaner/templates *
4
+ recursive-include zencleaner/static *
5
+ global-exclude *.py[cod] __pycache__
6
+ global-exclude *.exe *.spec
7
+ prune build
8
+ prune dist
9
+ prune node_modules
10
+ prune .pw_browsers
11
+ prune .pytest_cache
12
+ prune .test_lic
13
+ prune .venv
14
+ prune tests
15
+ prune zenkeygen-cs
@@ -0,0 +1,112 @@
1
+ Metadata-Version: 2.4
2
+ Name: zencleaner
3
+ Version: 1.0.1
4
+ Summary: ZenCleaner - type 'zencleaner' in your terminal to open a localhost web UI that actually cleans your PC.
5
+ Author: ZenCleaner
6
+ License: MIT
7
+ Project-URL: Homepage, https://github.com/zencleaner/zencleaner
8
+ Keywords: pc-cleaner,windows,privacy,temp-files,localhost,flask,system-cleaner
9
+ Classifier: Development Status :: 4 - Beta
10
+ Classifier: Environment :: Web Environment
11
+ Classifier: Intended Audience :: End Users/Desktop
12
+ Classifier: License :: OSI Approved :: MIT License
13
+ Classifier: Operating System :: Microsoft :: Windows
14
+ Classifier: Programming Language :: Python :: 3
15
+ Classifier: Programming Language :: Python :: 3.9
16
+ Classifier: Programming Language :: Python :: 3.10
17
+ Classifier: Programming Language :: Python :: 3.11
18
+ Classifier: Programming Language :: Python :: 3.12
19
+ Classifier: Programming Language :: Python :: 3.13
20
+ Classifier: Topic :: System :: Systems Administration
21
+ Classifier: Topic :: Utilities
22
+ Requires-Python: >=3.9
23
+ Description-Content-Type: text/markdown
24
+ License-File: LICENSE
25
+ Requires-Dist: flask>=3.0
26
+ Requires-Dist: flask-cors>=4.0
27
+ Dynamic: license-file
28
+
29
+ # ZenCleaner ๐Ÿงน
30
+
31
+ > **`pip install zencleaner`** โ†’ type **`zencleaner`** in your terminal โ†’ a localhost web UI opens โ†’ click buttons โ†’ it actually cleans your PC.
32
+
33
+ The website is just the remote control. The real work happens **on your own PC** via a tiny local server bound to `127.0.0.1` โ€” nothing is sent to the internet.
34
+
35
+ ---
36
+
37
+ ## Quick start (Windows)
38
+
39
+ ```bash
40
+ pip install zencleaner
41
+ ```
42
+
43
+ Open a **new** terminal and type:
44
+
45
+ ```bash
46
+ zencleaner
47
+ ```
48
+
49
+ Your browser opens automatically at `http://127.0.0.1:8765` with the ZenCleaner web UI.
50
+
51
+ ## Troubleshooting
52
+
53
+ **`'zencleaner' is not recognized as an internal or external command`**
54
+
55
+ The install worked, but Windows can't find the command because pip's `Scripts` folder is not on your `PATH` (pip even prints a yellow `WARNING: The script zencleaner.exe is installed in ... which is not on PATH` during install). Any of these fixes work โ€” try them in order:
56
+
57
+ ```bash
58
+ py -m zencleaner
59
+ ```
60
+
61
+ or run the shim directly:
62
+
63
+ ```bash
64
+ python -m zencleaner
65
+ ```
66
+
67
+ Or add the `Scripts` folder to PATH: pip's warning shows the exact folder, e.g. `C:\Users\<you>\AppData\Local\Python\pythoncore-3.14-64\Scripts`. Add it via **Settings โ†’ search "environment variables" โ†’ Edit the system environment variables โ†’ Environment Variables โ†’ Path โ†’ Edit โ†’ New**, paste that folder, OK, then open a **new** terminal and `zencleaner` will work.
68
+
69
+ **`'pip' is not recognized as an internal or external command`**
70
+
71
+ Python itself isn't installed or wasn't added to PATH. Install Python from [python.org/downloads](https://www.python.org/downloads/) and make sure the **"Add python.exe to PATH"** checkbox is ticked in the installer's first screen, then reopen the terminal and run `py -m pip install zencleaner`.
72
+
73
+ ## What it can clean
74
+
75
+ | Task | What it does |
76
+ |---|---|
77
+ | Temp Files | `%TEMP%`, `C:\Windows\Temp` |
78
+ | Prefetch | `C:\Windows\Prefetch` (admin only) |
79
+ | Recycle Bin | Empty recycle bin |
80
+ | Registry MRU | RunMRU, RecentDocs, ComDlg32 (safe keys only) |
81
+ | DNS Cache | `ipconfig /flushdns` |
82
+ | Clean All | All of the above at once |
83
+
84
+ ## Command-line options
85
+
86
+ ```
87
+ zencleaner --help
88
+
89
+ --port PORT Port to run on (default 8765)
90
+ --no-browser Don't auto-open the browser
91
+ --host HOST Bind address (default 127.0.0.1 โ€” localhost only)
92
+ --no-elevate Skip the Windows UAC admin prompt
93
+ --no-auto-kill Don't kill an old ZenCleaner already on this port
94
+ ```
95
+
96
+ ## Admin rights
97
+
98
+ Some tasks (Prefetch, Registry, Forensic) need Windows Admin. On startup ZenCleaner shows a **UAC prompt** โ€” accept it for full power, or cancel/click `--no-elevate` and the UI still works with admin-only tasks disabled.
99
+
100
+ ## Security
101
+
102
+ - Server binds to `127.0.0.1` only โ€” **nobody on your network or the internet can reach it**.
103
+ - No telemetry, no data collection, no outbound calls.
104
+ - Every clean action is a real Python function running locally on your machine.
105
+
106
+ ## Stop it
107
+
108
+ Press `Ctrl+C` in the terminal. The localhost site stops instantly.
109
+
110
+ ## License
111
+
112
+ MIT โ€” see [LICENSE](LICENSE)
@@ -0,0 +1,84 @@
1
+ # ZenCleaner ๐Ÿงน
2
+
3
+ > **`pip install zencleaner`** โ†’ type **`zencleaner`** in your terminal โ†’ a localhost web UI opens โ†’ click buttons โ†’ it actually cleans your PC.
4
+
5
+ The website is just the remote control. The real work happens **on your own PC** via a tiny local server bound to `127.0.0.1` โ€” nothing is sent to the internet.
6
+
7
+ ---
8
+
9
+ ## Quick start (Windows)
10
+
11
+ ```bash
12
+ pip install zencleaner
13
+ ```
14
+
15
+ Open a **new** terminal and type:
16
+
17
+ ```bash
18
+ zencleaner
19
+ ```
20
+
21
+ Your browser opens automatically at `http://127.0.0.1:8765` with the ZenCleaner web UI.
22
+
23
+ ## Troubleshooting
24
+
25
+ **`'zencleaner' is not recognized as an internal or external command`**
26
+
27
+ The install worked, but Windows can't find the command because pip's `Scripts` folder is not on your `PATH` (pip even prints a yellow `WARNING: The script zencleaner.exe is installed in ... which is not on PATH` during install). Any of these fixes work โ€” try them in order:
28
+
29
+ ```bash
30
+ py -m zencleaner
31
+ ```
32
+
33
+ or run the shim directly:
34
+
35
+ ```bash
36
+ python -m zencleaner
37
+ ```
38
+
39
+ Or add the `Scripts` folder to PATH: pip's warning shows the exact folder, e.g. `C:\Users\<you>\AppData\Local\Python\pythoncore-3.14-64\Scripts`. Add it via **Settings โ†’ search "environment variables" โ†’ Edit the system environment variables โ†’ Environment Variables โ†’ Path โ†’ Edit โ†’ New**, paste that folder, OK, then open a **new** terminal and `zencleaner` will work.
40
+
41
+ **`'pip' is not recognized as an internal or external command`**
42
+
43
+ Python itself isn't installed or wasn't added to PATH. Install Python from [python.org/downloads](https://www.python.org/downloads/) and make sure the **"Add python.exe to PATH"** checkbox is ticked in the installer's first screen, then reopen the terminal and run `py -m pip install zencleaner`.
44
+
45
+ ## What it can clean
46
+
47
+ | Task | What it does |
48
+ |---|---|
49
+ | Temp Files | `%TEMP%`, `C:\Windows\Temp` |
50
+ | Prefetch | `C:\Windows\Prefetch` (admin only) |
51
+ | Recycle Bin | Empty recycle bin |
52
+ | Registry MRU | RunMRU, RecentDocs, ComDlg32 (safe keys only) |
53
+ | DNS Cache | `ipconfig /flushdns` |
54
+ | Clean All | All of the above at once |
55
+
56
+ ## Command-line options
57
+
58
+ ```
59
+ zencleaner --help
60
+
61
+ --port PORT Port to run on (default 8765)
62
+ --no-browser Don't auto-open the browser
63
+ --host HOST Bind address (default 127.0.0.1 โ€” localhost only)
64
+ --no-elevate Skip the Windows UAC admin prompt
65
+ --no-auto-kill Don't kill an old ZenCleaner already on this port
66
+ ```
67
+
68
+ ## Admin rights
69
+
70
+ Some tasks (Prefetch, Registry, Forensic) need Windows Admin. On startup ZenCleaner shows a **UAC prompt** โ€” accept it for full power, or cancel/click `--no-elevate` and the UI still works with admin-only tasks disabled.
71
+
72
+ ## Security
73
+
74
+ - Server binds to `127.0.0.1` only โ€” **nobody on your network or the internet can reach it**.
75
+ - No telemetry, no data collection, no outbound calls.
76
+ - Every clean action is a real Python function running locally on your machine.
77
+
78
+ ## Stop it
79
+
80
+ Press `Ctrl+C` in the terminal. The localhost site stops instantly.
81
+
82
+ ## License
83
+
84
+ MIT โ€” see [LICENSE](LICENSE)
@@ -0,0 +1,45 @@
1
+ [build-system]
2
+ requires = ["setuptools>=68"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "zencleaner"
7
+ version = "1.0.1"
8
+ description = "ZenCleaner - type 'zencleaner' in your terminal to open a localhost web UI that actually cleans your PC."
9
+ authors = [{name="ZenCleaner"}]
10
+ readme = "README.md"
11
+ requires-python = ">=3.9"
12
+ license = {text = "MIT"}
13
+ keywords = ["pc-cleaner", "windows", "privacy", "temp-files", "localhost", "flask", "system-cleaner"]
14
+ classifiers = [
15
+ "Development Status :: 4 - Beta",
16
+ "Environment :: Web Environment",
17
+ "Intended Audience :: End Users/Desktop",
18
+ "License :: OSI Approved :: MIT License",
19
+ "Operating System :: Microsoft :: Windows",
20
+ "Programming Language :: Python :: 3",
21
+ "Programming Language :: Python :: 3.9",
22
+ "Programming Language :: Python :: 3.10",
23
+ "Programming Language :: Python :: 3.11",
24
+ "Programming Language :: Python :: 3.12",
25
+ "Programming Language :: Python :: 3.13",
26
+ "Topic :: System :: Systems Administration",
27
+ "Topic :: Utilities",
28
+ ]
29
+ dependencies = [
30
+ "flask>=3.0",
31
+ "flask-cors>=4.0",
32
+ ]
33
+
34
+ [project.urls]
35
+ Homepage = "https://github.com/zencleaner/zencleaner"
36
+
37
+ [project.scripts]
38
+ zencleaner = "zencleaner.cli:main"
39
+ zenkeygen = "zencleaner.keygen_app:main"
40
+
41
+ [tool.setuptools.packages.find]
42
+ include = ["zencleaner*"]
43
+
44
+ [tool.setuptools.package-data]
45
+ zencleaner = ["templates/*", "static/*"]
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1 @@
1
+ __version__ = "1.0.0"
@@ -0,0 +1,11 @@
1
+ """Allow running the package as a module: ``py -m zencleaner``.
2
+
3
+ This works even when the pip Scripts folder is not on PATH (a very common
4
+ Windows install where ``zencleaner`` alone is "not recognized as an internal
5
+ or external command").
6
+ """
7
+
8
+ from zencleaner.cli import main
9
+
10
+ if __name__ == "__main__":
11
+ main()