Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
sherlock-project
GitHub Repository: sherlock-project/sherlock
Path: blob/master/sherlock_project/__main__.py
761 views
1
#! /usr/bin/env python3
2
3
"""
4
Sherlock: Find Usernames Across Social Networks Module
5
6
This module contains the main logic to search for usernames at social
7
networks.
8
"""
9
10
import sys
11
12
13
if __name__ == "__main__":
14
# Check if the user is using the correct version of Python
15
python_version = sys.version.split()[0]
16
17
if sys.version_info < (3, 9):
18
print(f"Sherlock requires Python 3.9+\nYou are using Python {python_version}, which is not supported by Sherlock.")
19
sys.exit(1)
20
21
from sherlock_project import sherlock
22
sherlock.main()
23
24