Download the Astronomy Picture of the Day every day, keeping only the most recent 100 images. For use in a screensaver and wallpaper folder.
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 pyenvFollow 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.dylibin your.bash_profile(or whatever) file to make sure thatpylintworks properly. Without it you would encounter apylinterror:argument --spelling-dict: invalid choice: 'en_US' (choose from '').
Setup python:
pyenv install 3.12Setup pipenv:
pip install --user pipenvNote: If you have
PIP_REQUIRE_VIRTUALENVthen 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