https://pypi.org/project/sslyze/
Can use it from the command line too:
python -m sslyze news.ycombinator.com