Skip to main content

winspot

winspot is a Python utility and command-line tool to export, reset, and download Windows Spotlight images. Additionally, it can download Bing's daily images.

Installation

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 .

If you want to download Bing/Spotlight images, make sure to install the optional dependencies:

pip install winspot[dl]
# or from source
pip install .[dl]

Usage

CLI

winspot uses subcommands to organize different operations:

Extract Windows Spotlight

# Save all images (cached, desktop, lockscreen)
winspot extract

# Save only cached images
winspot extract --cached

# Save only desktop image
winspot extract --desktop

# Save only lock screen image
winspot extract --lockscreen

# Save only landscape images with duplicate prevention
winspot extract --orientation landscape --prevent-duplicates

Download Spotlight Images

# Download images from Spotlight API
winspot download

# Download from both API versions (v3 and v4)
winspot download --api-version both

# Download and organize by orientation or resolution
winspot download --orientation both --organize-by orientation
winspot download --orientation both --organize-by resolution

Download Bing Daily Images

# Download today's Bing image in 4K
winspot bing

# Download the last 7 days of images
winspot bing --count 7

# Download in 1080p with specific locale
winspot bing --resolution 1920x1080 --locale de-DE

Reset Windows Spotlight

# Reset with confirmation prompt
winspot --reset

# Force reset without confirmation
winspot --reset --force

For complete help:

winspot --help
winspot extract --help
winspot bing --help

As a Library

import winspot

# Save with default settings (all sources)
winspot.extract_images()

# Save only cached images
winspot.extract_images(desktop=False, lockscreen=False)

# Save only landscape images with duplicate prevention
winspot.extract_images(
    orientation="landscape",
    prevent_duplicates=True
)

# Save with conflict resolution
winspot.extract_images(
    on_conflict="skip",  # or "overwrite", "rename"
)

# Download Spotlight API images
winspot.download_images(
    orientation="landscape",
    organize_by="resolution",
    prevent_duplicates=True
)

# Download Bing daily images
winspot.download_bing_daily_images(
    count=7,
    resolution="3840x2160",
    locale="en-US",
    prevent_duplicates=True
)

# 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.

Metadata

Release files for winspot 0.3.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for winspot 0.3.2
File Size Uploaded Provenance Actions
winspot-0.3.2.tar.gz 21.0 kB With provenance Details for winspot-0.3.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for winspot 0.3.2
File Interpreter ABI Platform Actions
winspot-0.3.2-py3-none-any.whl Python 3 none any Details for winspot-0.3.2-py3-none-any.whl

Total release size: 43.0 kB

Release files / winspot-0.3.2.tar.gz

Download URL winspot-0.3.2.tar.gz
Size 21.0 kB
Tags Source
SHA-256 checksum
How to use checksums
d35f0e7440822db5be5a564a01da3f1afc135315259754fc4d62736d1d5d3f34
BLAKE2b-256 checksum
How to use checksums
6151c9c64a4cfe0e2b973eda4edd3e50192e47feb587f4b3b8b1646e0422b0b2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 14, 2026.

Transparency log

Release files / winspot-0.3.2-py3-none-any.whl

Download URL winspot-0.3.2-py3-none-any.whl
Size 22.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c3fe184a8c5a1a6734bb61f55dd9d04a531418aad4d77da6db1fd825ce50030e
BLAKE2b-256 checksum
How to use checksums
1963859fa554804d1d4a7d7c856028f7d691405ae3e7dd55e617bfa63afce4a9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 14, 2026.

Transparency log

Security for winspot 0.3.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for winspot-0.3.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 14, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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