Skip to main content

getwinbg

Retrieve Windows background image paths from Python or the command line.

getwinbg is a lightweight Windows utility for accessing the current desktop background path.

Features

  • Retrieve the current Windows desktop background path
  • Simple Python API
  • Command-line interface
  • Fully typed package (py.typed)

Installation

PyPI

pip install getwinbg

From Source

git clone https://github.com/ViratiAkiraNandhanReddy/getwinbg.git
cd getwinbg

pip install .

Usage

CLI

getwinbg background

Example output:

C:\Users\User\Pictures\wallpaper.jpg

Python API

from getwinbg import get_background

path = get_background()
print(path)

Example output:

C:\Users\User\Pictures\wallpaper.jpg

Metadata

Release files for getwinbg 0.1.0

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

Source distribution (sdist)

Source distribution for getwinbg 0.1.0
File Size Uploaded
getwinbg-0.1.0.tar.gz 4.6 kB Details

Built distribution (wheel)

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

Total release size: 10.0 kB

Release files / getwinbg-0.1.0.tar.gz

Download URL getwinbg-0.1.0.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
c40b2063582e63c6ab33d41de4961c0cc423e53a78db7e181b90ecb469e49177
BLAKE2b-256 checksum
How to use checksums
35d9f51f87d538a6c0dfac6052bb4038b7e0ad8fa48beb976d8e5529e108355c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

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 Jun 20, 2026.

Transparency log

Release files / getwinbg-0.1.0-py3-none-any.whl

Download URL getwinbg-0.1.0-py3-none-any.whl
Size 5.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
db1a4f72a950857ac44af12e28ed07ba60150a9f72a35d92682ef67569232da4
BLAKE2b-256 checksum
How to use checksums
8a9724723b8e4ce9509794fd01d80d517f3f736878e63235c0bb3c27165d00d6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

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 Jun 20, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

0.0.0

2 release files

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