- Notifications
You must be signed in to change notification settings - Fork0
Download the Astronomy Picture of the Day Every Day, Keeping only the most recent 100
License
rgant/APODDownloader
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Download the Astronomy Picture of the Day every day, keeping only the mostrecent 100 images. For use in a screensaver and wallpaper folder.
pylint
is configured to run spell checking in addition to linting. This requiressetting upenchant
.
Install enchant andpyenv
(on MacOS):
brew install enchant pyenv
Follow instructions forsetting uppyenv
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 thatpylint
works properly.Without it you would encounter apylint
error:argument --spelling-dict: invalid choice: 'en_US' (choose from '')
.
Setup python:
pyenv install 3.12
Setuppipenv
:
pip install --user pipenv
Note: If you have
PIP_REQUIRE_VIRTUALENV
then you will want to set this tofalse for this install to be outside of virtual environments.
Update your PATH to include~/.local/bin
as perdocumentation.
Sync dependencies:
pipenv sync --dev