Skip to main content

A python script which can download bing's beautiful images and set the image to your computer wallpaper.

Project description

pip

bing-wallpaper

A python script which can download bing's beautiful images and set the image to your computer wallpaper. This script can also change wallpaper every once in a while. It is tested and works well on ubuntu.

Installation

pip install BingWallpaper

HOW TO USE

arguments

There are three arguments you can set:

usage: wallpaper [-h] [--interval [INTERVAL]] [--num [NUM]] [--path [PATH]]
                 [stop]

timely replacement wallpaper from bing.

positional arguments:
  stop                  stop wallpaper

optional arguments:
  -h, --help            show this help message and exit
  --interval [INTERVAL]
                        time interval for scripts to change wallpapers. By
                        seconds.
  --num [NUM]           number of images saved in local folder at most
  --path [PATH]         path to save images
  • stop
    stop wallpaper
  • interval
    Time interval for scripts to change wallpapers. The unit of this argument is second and default value is 3 seconds.
  • num
    Number of images saved in local folder at most. Script will only keep num latest bing's images, and the expired will be deleted. Script will choose one image as wallpaper randomly. Default value is 7.
  • path
    Path to save wallpaper. If the current user does not have permission to write to or create the path, you may need administrator privileges. Default value is '/home/user/wallpapers'.

example

wallpaper

This is the simplest command and three arguments are set to the default value. You can customize your commands like this:

wallpaper --interval 4 --num 5 --path /home/bing/test/

If you want to stop the script, you can run the following code.

wallpaper stop

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

BingWallpaper-1.2.2.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

BingWallpaper-1.2.2-py2.py3-none-any.whl (4.7 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file BingWallpaper-1.2.2.tar.gz.

File metadata

  • Download URL: BingWallpaper-1.2.2.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.5.2

File hashes

Hashes for BingWallpaper-1.2.2.tar.gz
Algorithm Hash digest
SHA256 65b587e21c2e3e7f5575c3fb16e9e4346aee985719ee525e21b17738cadc82a5
MD5 23e52bd203924f34d227dea12b4442b1
BLAKE2b-256 ceccdbaddaf17592b4762f3ecf56f18145525ed8d39c198c4fa1b169bb06ec2d

See more details on using hashes here.

File details

Details for the file BingWallpaper-1.2.2-py2.py3-none-any.whl.

File metadata

  • Download URL: BingWallpaper-1.2.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.5.2

File hashes

Hashes for BingWallpaper-1.2.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 47b1beb3d9c0cbf93da6fb1451b67ed74d3a870752b0dd83ac50098f34e605c7
MD5 0ffa4cbba618e88b1715f312b082c47e
BLAKE2b-256 11e9c3137d7fe40b54e2982ea645b7b99ba08292e33f7b2d3321c056e2672c1f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page