sherlock/sherlock_project/__main__.py

23 lines
559 B
Python
Raw Normal View History

#! /usr/bin/env python3
"""
Sherlock: Find Usernames Across Social Networks Module
This module contains the main logic to search for usernames at social
networks.
"""
import sys
if __name__ == "__main__":
2021-04-27 05:25:04 +00:00
# Check if the user is using the correct version of Python
2021-04-27 04:26:21 +00:00
python_version = sys.version.split()[0]
if sys.version_info < (3, 9):
print(f"Sherlock requires Python 3.9+\nYou are using Python {python_version}, which is not supported by Sherlock.")
sys.exit(1)
2024-06-24 20:40:03 +00:00
from sherlock_project import sherlock
sherlock.main()