# RedditWallpaperChooser
RedditWallpaperChooser will download the trending wallpapers of the day from any subreddit of your choice.
## Features
Choose the subreddits you like.
Filter by aspect ratio and image size.
## Requirements
We make use of Python’s 3 asynchronous APIs and async/await syntax. For this reason, we only support Python versions ≥ 3.5.
Additional requirements are listed in the requirements.txt file.
## Installation & Usage
Until RedditWallpaperChooser will land on PyPi you can install it as follows:
`bash $ git clone https://github.com/aldur/RedditWallpaperChooser/ $ cd RedditWallpaperChooser $ pip install . .[extras] # --user could also help you `
You’ll find reddit-wallpaper-chooser in your PATH. You can now start collecting wallpapers.
`bash $ reddit-wallpaper-chooser `
The absolute path of one of the downloaded wallpapers will be printed out to standard output.
### macOS
As a bonus, on macOS, you can set the wallpaper to the one just downloaded for you: `bash $ wall=$(reddit-wallpaper-chooser 2> /dev/null) && osascript -e "tell application \"Finder\" to set desktop picture to POSIX file \"$wall\"" `
_Note_: due to a limitation of the macOS APIs, it will only change the wallpaper of the currently selected space.
## Configuration
You can configure RedditWallpaperChooser by providing a ini configuration file. In it, you can specify the following general options:
the subreddits to parse (subreddits)
the number of results per subreddit (result_limit)
the output directory (output_folder)
the subreddit sorting (sorting)
a time parameter for ‘top’/’controversial’ sorting (time)
Additionally, you can also filter the candidate wallpapers to be selected and returned at the end of the download process:
by aspect ratio (aspect_ratio)
by minimum size (size)
Until better documentation will be developed please refer to the default configuration options as a working example; You can dump it as follows:
`bash $ reddit-wallpaper-chooser -d config.ini `
You can then use your configuration with:
`bash $ reddit-wallpaper-chooser -c config.ini `
## Future improvements
Filter wallpapers by color.
Avoid choosing again the same images.
Add a proper test suite.
Metadata
Release files for RedditWallpaperChooser 0.2.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| RedditWallpaperChooser-0.2.3.tar.gz | 9.2 kB | Without provenance | Details |
Release files / RedditWallpaperChooser-0.2.3.tar.gz
| Download URL | RedditWallpaperChooser-0.2.3.tar.gz |
|---|---|
| Size | 9.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a1712527e1d9853f061cf073b513f850026b2ff5cbe39406229b3c8516a85f77
|
|
BLAKE2b-256 checksum How to use checksums |
b3acadd24457df084da4c6ebaa97e3ee32ddb791875186a6b9e8cbdb4190a9f6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for RedditWallpaperChooser 0.2.3
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.