Skip to main content

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.py script 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

winspot-0.2.1.tar.gz (13.9 kB view details)

Uploaded Source

Built Distribution

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

winspot-0.2.1-py3-none-any.whl (15.4 kB view details)

Uploaded Python 3

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

Hashes for winspot-0.2.1.tar.gz
Algorithm Hash digest
SHA256 c5713363da929c0091fc7de843ed4b0d74796d26620f1f03047863a68a56a7b7
MD5 eda693a10a658231ece30b2f4d6335e6
BLAKE2b-256 6b0973a40810d9e5c2c948607fee631db1333033c261dd4595e1c0f1d5651c05

See more details on using hashes here.

Provenance

The following attestation bundles were made for winspot-0.2.1.tar.gz:

Publisher: publish-to-pypi.yml on l1asis/winspot

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for winspot-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 23962c4dfbace36a084f8a2001a99a86dd56863ae1297cb5fe367954048e7860
MD5 be40625f96281da66a874e1c09b9949c
BLAKE2b-256 84013d6ebd0350469e64a3b8243f2fd1a3c0c439f62e0202d9050511c864979b

See more details on using hashes here.

Provenance

The following attestation bundles were made for winspot-0.2.1-py3-none-any.whl:

Publisher: publish-to-pypi.yml on l1asis/winspot

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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