-
Notifications
You must be signed in to change notification settings - Fork 0
/
constants.py
25 lines (18 loc) · 869 Bytes
/
constants.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
EXTENSION_MAP = {
# Documents
'documents': {'.pdf', '.doc', '.docx', '.txt', '.rtf', '.odt', '.xls', '.xlsx', '.ppt', '.pptx', '.csv'},
# Images
'images': {'.jpg', '.jpeg', '.png', '.gif', '.bmp', '.tiff', '.webp', '.svg'},
# Videos
'videos': {'.mp4', '.avi', '.mkv', '.mov', '.wmv', '.flv', '.webm', '.3gp'},
# Audio
'audio': {'.mp3', '.wav', '.flac', '.m4a', '.aac', '.ogg', '.wma'},
# Archives / Compressed Files
'archives': {'.zip', '.rar', '.7z', '.tar', '.gz', '.bz2', '.xz'},
# Code files
'code': {'.py', '.java', '.cpp', '.js', '.html', '.css', '.php', '.rb', '.c', '.sh', '.sql', '.ts', '.rs'},
# Executables / Installers
'executables': {'.exe', '.msi', '.app', '.dmg', '.deb', '.rpm', '.bin'},
# Database files
'databases': {'.db', '.sqlite', '.mdb', '.sql'}
}