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)
| File | Size | Uploaded | |
|---|---|---|---|
| getwinbg-0.1.0.tar.gz | 4.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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 logRelease 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