A CLI utility to export and reset Windows Spotlight images.
Project description
winspot
winspot is a Python utility and command-line tool to export and reset Windows Spotlight images.
Installation
[!WARNING] The project was not uploaded to PyPI yet. The installation instructions below assume that it will be available in the future.
Install directly from PyPI using pip or pipx:
pip install winspot
# or
pipx install winspot
Or install the latest version from source:
git clone https://github.com/l1asis/winspot.git
cd winspot
pip install .
Usage
CLI
Run the tool to automatically save Spotlight images:
winspot
For more options (like output directory):
winspot --help
As a Library
import winspot
# Default: Save everything (cached, desktop, lockscreen)
winspot.extract_wallpapers()
# Save only cached wallpapers
winspot.extract_wallpapers(desktop=False, lockscreen=False)
# Save only desktop wallpapers
winspot.extract_wallpapers(cached=False, lockscreen=False)
# Try to save only lockscreen
winspot.extract_wallpapers(cached=False, desktop=False)
# Reset Windows Spotlight settings
winspot.reset_windows_spotlight()
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Acknowledgments
- Thanks to Paulo Scardine for the
get_image_size.pyscript used in this project.
License
Distributed under the MIT License. See LICENSE for more information.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file winspot-0.2.1.tar.gz.
File metadata
- Download URL: winspot-0.2.1.tar.gz
- Upload date:
- Size: 13.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c5713363da929c0091fc7de843ed4b0d74796d26620f1f03047863a68a56a7b7
|
|
| MD5 |
eda693a10a658231ece30b2f4d6335e6
|
|
| BLAKE2b-256 |
6b0973a40810d9e5c2c948607fee631db1333033c261dd4595e1c0f1d5651c05
|
Provenance
The following attestation bundles were made for winspot-0.2.1.tar.gz:
Publisher:
publish-to-pypi.yml on l1asis/winspot
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
winspot-0.2.1.tar.gz -
Subject digest:
c5713363da929c0091fc7de843ed4b0d74796d26620f1f03047863a68a56a7b7 - Sigstore transparency entry: 813852157
- Sigstore integration time:
-
Permalink:
l1asis/winspot@931fc41655897f93a26e3d6f342f48d423c37bf1 -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/l1asis
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@931fc41655897f93a26e3d6f342f48d423c37bf1 -
Trigger Event:
push
-
Statement type:
File details
Details for the file winspot-0.2.1-py3-none-any.whl.
File metadata
- Download URL: winspot-0.2.1-py3-none-any.whl
- Upload date:
- Size: 15.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
23962c4dfbace36a084f8a2001a99a86dd56863ae1297cb5fe367954048e7860
|
|
| MD5 |
be40625f96281da66a874e1c09b9949c
|
|
| BLAKE2b-256 |
84013d6ebd0350469e64a3b8243f2fd1a3c0c439f62e0202d9050511c864979b
|
Provenance
The following attestation bundles were made for winspot-0.2.1-py3-none-any.whl:
Publisher:
publish-to-pypi.yml on l1asis/winspot
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
winspot-0.2.1-py3-none-any.whl -
Subject digest:
23962c4dfbace36a084f8a2001a99a86dd56863ae1297cb5fe367954048e7860 - Sigstore transparency entry: 813852164
- Sigstore integration time:
-
Permalink:
l1asis/winspot@931fc41655897f93a26e3d6f342f48d423c37bf1 -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/l1asis
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@931fc41655897f93a26e3d6f342f48d423c37bf1 -
Trigger Event:
push
-
Statement type: