Skip to main content

background changer using unsplash API.

Project description

Background Changer

A small program in Python 3 that grabs a random photo from Unsplash according to your screen resolution and sets it as your background.

Further testing

This hasn't yet been tested on Windows or Mac (being worked on), but it works for Ubuntu Linux. Any commands I might have gotten wrong to set it as your background, please feel free to fix those or add more!

Dependencies

This is pretty light on dependencies, but you will need to make sure you have a couple things:

  • tkinter - a python GUI toolkit, but is only used to get the screen resolution. This is usually installed via a system package.
  • requests - python module for HTTP requests.
  • pywal - generates color schemes and used for changing the wallpaper.

Installation and Usage

NOTE: For Mac, first test if you have tkinter directly installed with your Python version first:

python3
>>> import tkinter

If that doesn't cause an error, you're good. If it does, follow this Stack Overflow Post to get that correctly set up. Then you can continue with the installation:

pip install backgroundchanger

Usage

backgroundchanger

# To view the help menu
backgroundchanger -h
# or
backgroundchanger --help

How to contribute?

For issue and PR guidelines, see CONTRIBUTING.md.

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

backgroundchanger-1.3.0.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

backgroundchanger-1.3.0-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file backgroundchanger-1.3.0.tar.gz.

File metadata

  • Download URL: backgroundchanger-1.3.0.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

File hashes

Hashes for backgroundchanger-1.3.0.tar.gz
Algorithm Hash digest
SHA256 5452c0bc64ff1178bdf1129d74711c044fd4a696c8b796d503682942b7a63b61
MD5 672f9b037ac2d5506424596a0a28b9eb
BLAKE2b-256 1ac44868c8e4eaed2146843bd365adddc8309bf9a986b5456593c3cedd7fc74b

See more details on using hashes here.

File details

Details for the file backgroundchanger-1.3.0-py3-none-any.whl.

File metadata

  • Download URL: backgroundchanger-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 7.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

File hashes

Hashes for backgroundchanger-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e2ac97cb7c02ea0117ab278b06699c58dcd203dbbe492f1364f62b9123576f5d
MD5 95c0835c64b96340ff05bf7cadfe48f2
BLAKE2b-256 d0f49b4d2a4eda7eb2cbe73aebebd2192579edb685a5ce6878398b7a7fc0bdf2

See more details on using hashes here.

Supported by

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