Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

APOD wallpaper command line client written in Python (it even put's info text on the picture)

License

NotificationsYou must be signed in to change notification settings

errorundefined/getspace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Change your wallpaper to today's Astronomy Picture of the Day, everyday – along with a brief explanation.

This is work in progress

There's a lot to do and help needed, see issues.

Readme

Requirements

API Key

You sould get an API key as this thing here uses the limitedDEMO_KEY – you can do so for free at (NASA Open APIs). After that, in line 43 of getspace.py, removeDEMO_KEY and put your API key afterhttps://api.nasa.gov/planetary/apod?api_key=.

Pillow

In order to get information on the current APOD image onto your background image, you need to install (Pillow) if it is not already shipped with your OS. If this is not done, the image (without info) is still being set as the new desktop background.

Note that this is still Python 2.x: At some point we will move to Python 3.x, but until then note that you have to use the correct Python env/Pillow version.

OSX

$ python -m pip install Pillow

Linux

Use native operating system package manager to install Pillow (comp. the Pillow Docs), for example:

$ apt-get install python-pillow

$ zypper install python-Pillow (openSUSE)

$ dnf (or yum) install python-pillow (Fedora)

Scheduling

In order to schedule getspace to do it's thing automatically you've to:

OSX

  • put thegetspace.py to/Users/USERNAME/.bin/getspace.py
  • change theUSERNAME within the "Program" string inlocal.getspace.plist
  • add the changedlocal.getspace.plist into your~/Library/LaunchAgents

Linux (notes)

30 12 * * * /path/to/getspace.py (alyways 12.30h)

@reboot /path/to/getspace.py (after Reboot, checken, if after hibernate)

(comp. CronHowto on Ubuntu)

executing by hand

if the above is not (yet) done, you can always run the script manually like so:

$ python /path/to/getspace.py

Authors

error:undefined design

License

MIT

It is discouraged to use this script in any project that promotes racism, sexism, homophobia, animal abuse, violence or any other form of hate speech.

About

APOD wallpaper command line client written in Python (it even put's info text on the picture)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp