Skip to content

Download the Astronomy Picture of the Day Every Day, Keeping only the most recent 100

License

Notifications You must be signed in to change notification settings

rgant/APODDownloader

Repository files navigation

APOD Downloader

Download the Astronomy Picture of the Day every day, keeping only the most recent 100 images. For use in a screensaver and wallpaper folder.

Setup

pylint is configured to run spell checking in addition to linting. This requires setting up enchant.

Install enchant and pyenv (on MacOS):

brew install enchant pyenv

Follow instructions for setting up pyenv shell. You need to open a new shell after your .bash_profile (or whatever) changes.

Note: For Silicon Macs: include export PYENCHANT_LIBRARY_PATH=/opt/homebrew/lib/libenchant-2.2.dylib in your .bash_profile (or whatever) file to make sure that pylint works properly. Without it you would encounter a pylint error: argument --spelling-dict: invalid choice: 'en_US' (choose from '').

Setup python:

pyenv install 3.12

Setup pipenv:

pip install --user pipenv

Note: If you have PIP_REQUIRE_VIRTUALENV then you will want to set this to false for this install to be outside of virtual environments.

Update your PATH to include ~/.local/bin as per documentation.

Sync dependencies:

pipenv sync --dev

About

Download the Astronomy Picture of the Day Every Day, Keeping only the most recent 100

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages