wallme
Description
Wallme is a python tool to change your wallpaper every day based on websites. You can check WEBSITES.md for a full list ad supported websites (comming soon).
From GUI
Install
Download the latest release on github.
Usage
Double click the exe file to open the GUI.
From CLI
Install / Update
From PyPi :
pip install wallme -U
Uninstall
pip uninstall wallme
Usage
Open the GUI:
wallme
Display the help:
wallme -h
List all the available websites:
wallme -list
Open the webpage on which the image is taken from:
wallme -info <website>
Retrieve the image url from the website:
wallme -url <website>
Change the wallpaper:
wallme -set <website>
Change your wallpaper on startup:
wallme -set-startup <website>
Stop changing your wallpaper on startup:
wallme -unset-startup
Prank your friends:
wallme -prank
Contribute by adding a new website
-
Fork
-
Create a new branch and checkout
-
Create a new file from template
# coding: utf8
from .website import Website
class Nasa(Website):
key = 'nasa'
description = 'Pictures related to Nasa\'s missions'
url = 'https://www.nasa.gov/multimedia/imagegallery/iotd.html'
def process(self, date, subkey):
json = self.get_json_from_url('https://www.nasa.gov/api/2/ubernode/_search?size=1&from=0&sort=promo-date-time%3Adesc&q=((ubernode-type%3Aimage)%20AND%20(routes%3A1446))&_source_include=promo-date-time%2Cmaster-image%2Cnid%2Ctitle%2Ctopics%2Cmissions%2Ccollections%2Cother-tags%2Cubernode-type%2Cprimary-tag%2Csecondary-tag%2Ccardfeed-title%2Ctype%2Ccollection-asset-link%2Clink-or-attachment%2Cpr-leader-sentence%2Cimage-feature-caption%2Cattachments%2Curi')
uri = json['hits']['hits'][0]['_source']['master-image']['uri']
return "https://www.nasa.gov/sites/default/files/styles/full_width_feature/public/" + uri.replace("public://", "")
-
Import your file in
__init__.py -
Create a new test from template
# coding: utf8
from .test_website import TestWebsite
class TestNasa(TestWebsite):
def test_info(self):
self._test_info("nasa")
def test_url(self):
self._test_url("nasa")
def test_set(self):
self._test_set("nasa")
def test_set_unset_startup(self):
self._test_set_unset_startup("nasa")
- Test your code by calling
pytest test/test_nasa.py
- Commit and pull request
Contact
Please contact @LucBerge for more informations.
Metadata
Release files for wallme 1.7
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 | Actions |
|---|---|---|---|---|
| wallme-1.7.tar.gz | 15.9 kB | Without provenance | Details for wallme-1.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| wallme-1.7-py3-none-any.whl | Python 3 | none | any | Details for wallme-1.7-py3-none-any.whl |
Total release size: 40.4 kB
Release files / wallme-1.7.tar.gz
| Download URL | wallme-1.7.tar.gz |
|---|---|
| Size | 15.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f337ad06edc9be10e0306f0a19887b621fb787aa6b8616f0791e44280f90cf4a
|
|
BLAKE2b-256 checksum How to use checksums |
5b764f7506e0bc6eca3cdc50da6412d8b406931242f8748a25f8f775be10b530
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.7
|
Release files / wallme-1.7-py3-none-any.whl
| Download URL | wallme-1.7-py3-none-any.whl |
|---|---|
| Size | 24.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
170adcf2f2711872ac92df2cc001ad16b639f3a39ccae746c42b7a9085d1342c
|
|
BLAKE2b-256 checksum How to use checksums |
89d19eabf54b4d86dabe8293457e23ed4508480843c30302726de70bd3b72e7c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.7
|
Security for wallme 1.7
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.