Metadata-Version: 2.5
Name: getwinbg
Version: 0.1.2
Import-Name: getwinbg
Summary: A Python package and CLI for discovering, retrieving, inspecting, and managing Windows desktop backgrounds, built-in wallpapers, cached Bing images, and lock screen Spotlight collections.
Project-URL: Homepage, https://getwinbg.readthedocs.io
Project-URL: Documentation, https://getwinbg.readthedocs.io
Project-URL: Repository, https://github.com/viratiakiranandhanreddy/getwinbg
Project-URL: Issues, https://github.com/viratiakiranandhanreddy/getwinbg/issues
Project-URL: Changelog, https://getwinbg.readthedocs.io/en/latest/changelog/
Author: Virati Akiranandhan Reddy
License-Expression: MIT
License-File: LICENSE
Keywords: Virati Akiranandhan Reddy,background,bing,desktop,spotlight,viratiakiranandhanreddy,wallpaper,windows
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Operating System :: Microsoft :: Windows
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Desktop Environment
Classifier: Topic :: Software Development :: Libraries
Classifier: Typing :: Typed
Requires-Python: >=3.13
Requires-Dist: rich>=13.9.4
Requires-Dist: typer>=0.26.7
Provides-Extra: dev
Requires-Dist: ruff>=0.17.3; extra == 'dev'
Requires-Dist: ty>=0.0.95; extra == 'dev'
Description-Content-Type: text/markdown

# 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

```bash
pip install getwinbg
```

### From Source

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

pip install .
```

## Usage

### CLI

```bash
getwinbg background
```

Example output:

```text
                     $$\                   $$\           $$\                 
                     $$ |                  \__|          $$ |                
 $$$$$$\   $$$$$$\ $$$$$$\   $$\  $$\  $$\ $$\ $$$$$$$\  $$$$$$$\   $$$$$$\  
$$  __$$\ $$  __$$\\_$$  _|  $$ | $$ | $$ |$$ |$$  __$$\ $$  __$$\ $$  __$$\ 
$$ /  $$ |$$$$$$$$ | $$ |    $$ | $$ | $$ |$$ |$$ |  $$ |$$ |  $$ |$$ /  $$ |
$$ |  $$ |$$   ____| $$ |$$\ $$ | $$ | $$ |$$ |$$ |  $$ |$$ |  $$ |$$ |  $$ |
\$$$$$$$ |\$$$$$$$\  \$$$$  |\$$$$$\$$$$  |$$ |$$ |  $$ |$$$$$$$  |\$$$$$$$ |
 \____$$ | \_______|  \____/  \_____\____/ \__|\__|  \__|\_______/  \____$$ |
$$\   $$ |                                                         $$\   $$ |
\$$$$$$  |                                                         \$$$$$$  |
 \______/                                                           \______/ 

             Retrieve Windows background image paths  •  vX.X.X

╭───────────────────────────────── getwinbg ─────────────────────────────────╮
│ Current desktop background                                                 │
│                                                                            │
│ C:\Users\User\Pictures\wallpaper.jpg                                       │
╰────────────────────────────────────────────────────────────────────────────╯
```

### Python API

```python
from getwinbg import get_background

path = get_background()
print(path)
```

Example output:

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