Check a list of domains for both domain expiration and SSL certificate expiration.
git clone https://github.com/Adobe-Android/cert-alert.git
Install virtualenv if it is not already installed or use the Python 3.5+ venv.
python -m pipx install virtualenv
If you do not have pipx installed, either install it with pip (command below) or first install pipx.
python -m pip install --user virtualenv
Go to the project directory.
cd cert-alert
Next, we can actually create our virtual environment inside of our newly cloned directory.
virtualenv env
Activate the virtual environment using the appropriate files for our environment. I'll include commands for the most common scenarios below. More information can be found here
Bash (macOS, Linux, or other Unix)
source env/bin/activate
PowerShell (Windows)
.\env\Scripts\Activate.ps1
Command Prompt (Windows)
.\env\Scripts\activate.bat
python -m pip install -r requirements.txt
python -m main.py
Congratulations! You've reached the end of the instructions here, but this is really only the start.
-
https://realpython.com/python-virtual-environments-a-primer/
-
https://www.freecodecamp.org/news/how-to-setup-virtual-environments-in-python/
python -m pip install --user -U pipx
python -m pipx ensurepath
If you are having trouble on Windows specifically, I'd suggest you clean out the following directories. I've found these issues to be common when you've maintained a Windows install long enough to have downloaded at least a few Python versions over time, even if you only have the latest installed now.
C:\Users\tngam\.local - delete bin and pipx folders
C:\Users\tngam\AppData\Roaming\Python - delete all folders
If you are on macOS or Linux, you probably aren't having these sorts of problems, but feel free to open an issue.