allykit 1.1.2__tar.gz → 1.2.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. allykit-1.2.2/PKG-INFO +299 -0
  2. allykit-1.2.2/README.md +239 -0
  3. {allykit-1.1.2 → allykit-1.2.2}/pyproject.toml +1 -1
  4. allykit-1.2.2/src/allykit/Security_kit/file_kit.py +189 -0
  5. allykit-1.2.2/src/allykit/Security_kit/password_kit/Scoring_password.py +163 -0
  6. allykit-1.2.2/src/allykit/Security_kit/password_kit/Time_based_password.py +654 -0
  7. allykit-1.2.2/src/allykit/Security_kit/password_kit/__init__.py +28 -0
  8. allykit-1.2.2/src/allykit/Security_kit/password_kit/password.py +66 -0
  9. allykit-1.2.2/src/allykit/Tools_kit/__init__.py +2 -0
  10. allykit-1.2.2/src/allykit/Tools_kit/file_tools.py +210 -0
  11. allykit-1.2.2/src/allykit/Tools_kit/string_tools.py +53 -0
  12. {allykit-1.1.2 → allykit-1.2.2}/src/allykit/__init__.py +45 -39
  13. {allykit-1.1.2 → allykit-1.2.2}/src/allykit/data_kit/IRAN.py +28 -29
  14. {allykit-1.1.2 → allykit-1.2.2}/src/allykit/data_kit/Language.py +0 -1
  15. {allykit-1.1.2 → allykit-1.2.2}/src/allykit/data_kit/country.py +0 -1
  16. {allykit-1.1.2 → allykit-1.2.2}/src/allykit/web_kit/CChrome.py +3 -3
  17. {allykit-1.1.2 → allykit-1.2.2}/src/allykit/web_kit/Communications.py +47 -1
  18. {allykit-1.1.2 → allykit-1.2.2}/src/allykit/web_kit/Cookie.py +6 -6
  19. {allykit-1.1.2 → allykit-1.2.2}/src/allykit/web_kit/Elastic_bands.py +1 -1
  20. allykit-1.2.2/src/allykit.egg-info/PKG-INFO +299 -0
  21. {allykit-1.1.2 → allykit-1.2.2}/src/allykit.egg-info/SOURCES.txt +7 -1
  22. allykit-1.1.2/PKG-INFO +0 -257
  23. allykit-1.1.2/README.md +0 -197
  24. allykit-1.1.2/src/allykit/Security_kit/file_kit.py +0 -646
  25. allykit-1.1.2/src/allykit/Security_kit/password_kit.py +0 -867
  26. allykit-1.1.2/src/allykit.egg-info/PKG-INFO +0 -257
  27. {allykit-1.1.2 → allykit-1.2.2}/LICENSE +0 -0
  28. {allykit-1.1.2 → allykit-1.2.2}/setup.cfg +0 -0
  29. {allykit-1.1.2 → allykit-1.2.2}/src/allykit/Automobile_kit/Automobile/Cmd.py +0 -0
  30. {allykit-1.1.2 → allykit-1.2.2}/src/allykit/Automobile_kit/Automobile/__init__.py +0 -0
  31. {allykit-1.1.2 → allykit-1.2.2}/src/allykit/Automobile_kit/Automobile/hybrid.py +0 -0
  32. {allykit-1.1.2 → allykit-1.2.2}/src/allykit/Automobile_kit/Automobile/powerShell.py +0 -0
  33. {allykit-1.1.2 → allykit-1.2.2}/src/allykit/Automobile_kit/New_automobile/file.py +0 -0
  34. {allykit-1.1.2 → allykit-1.2.2}/src/allykit/Automobile_kit/New_automobile/git.py +0 -0
  35. {allykit-1.1.2 → allykit-1.2.2}/src/allykit/Automobile_kit/New_automobile/python.py +0 -0
  36. {allykit-1.1.2 → allykit-1.2.2}/src/allykit/Automobile_kit/ProcessManager/ProcessManager.py +0 -0
  37. {allykit-1.1.2 → allykit-1.2.2}/src/allykit/Automobile_kit/ProcessManager/__init__.py +0 -0
  38. {allykit-1.1.2 → allykit-1.2.2}/src/allykit/Automobile_kit/__init__.py +0 -0
  39. {allykit-1.1.2 → allykit-1.2.2}/src/allykit/Security_kit/__init__.py +0 -0
  40. {allykit-1.1.2 → allykit-1.2.2}/src/allykit/Security_kit/hash_kit.py +0 -0
  41. {allykit-1.1.2 → allykit-1.2.2}/src/allykit/web_kit/Get_Code.py +0 -0
  42. {allykit-1.1.2 → allykit-1.2.2}/src/allykit/web_kit/WebAutomation.py +0 -0
  43. {allykit-1.1.2 → allykit-1.2.2}/src/allykit/web_kit/Working_with_code.py +0 -0
  44. {allykit-1.1.2 → allykit-1.2.2}/src/allykit/web_kit/__init__.py +0 -0
  45. {allykit-1.1.2 → allykit-1.2.2}/src/allykit.egg-info/dependency_links.txt +0 -0
  46. {allykit-1.1.2 → allykit-1.2.2}/src/allykit.egg-info/requires.txt +0 -0
  47. {allykit-1.1.2 → allykit-1.2.2}/src/allykit.egg-info/top_level.txt +0 -0
allykit-1.2.2/PKG-INFO ADDED
@@ -0,0 +1,299 @@
1
+ Metadata-Version: 2.4
2
+ Name: allykit
3
+ Version: 1.2.2
4
+ Summary: A comprehensive Python toolkit for security engineering, cryptography, web scraping, filesystem auditing, DFIR, command-line automation, Git, PowerShell, and reusable developer utilities.
5
+ Author-email: allykit Developer <hossein.moradian.ir@outlook.com>
6
+ License-Expression: MIT
7
+ Project-URL: Homepage, https://github.com/hosssein193m-ai/
8
+ Project-URL: Repository, https://github.com/hosssein193m-ai/allykit
9
+ Project-URL: Issues, https://github.com/hosssein193m-ai/allykit/
10
+ Keywords: security,cryptography,hashing,password,password-generator,password-security,web-scraping,selenium,beautifulsoup,filesystem,filesystem-audit,digital-forensics,dfir,integrity,checksum,metadata,utilities,automation,command-line,cmd,powershell,git,python,pip,terminal,developer-tools,devops,shell,persian,iran,country-data
11
+ Classifier: Development Status :: 4 - Beta
12
+ Classifier: Intended Audience :: Developers
13
+ Classifier: Intended Audience :: Information Technology
14
+ Classifier: Intended Audience :: System Administrators
15
+ Classifier: Intended Audience :: Science/Research
16
+ Classifier: Topic :: Security
17
+ Classifier: Topic :: Security :: Cryptography
18
+ Classifier: Topic :: Internet :: WWW/HTTP
19
+ Classifier: Topic :: Internet :: WWW/HTTP :: Indexing/Search
20
+ Classifier: Topic :: System :: Filesystems
21
+ Classifier: Topic :: System :: Systems Administration
22
+ Classifier: Topic :: System :: Shells
23
+ Classifier: Topic :: Software Development
24
+ Classifier: Topic :: Software Development :: Libraries
25
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
26
+ Classifier: Topic :: Utilities
27
+ Classifier: Operating System :: OS Independent
28
+ Classifier: Programming Language :: Python
29
+ Classifier: Programming Language :: Python :: 3
30
+ Classifier: Programming Language :: Python :: 3 :: Only
31
+ Classifier: Programming Language :: Python :: 3.9
32
+ Classifier: Programming Language :: Python :: 3.10
33
+ Classifier: Programming Language :: Python :: 3.11
34
+ Classifier: Programming Language :: Python :: 3.12
35
+ Classifier: Typing :: Typed
36
+ Requires-Python: >=3.9
37
+ Description-Content-Type: text/markdown
38
+ License-File: LICENSE
39
+ Requires-Dist: requests>=2.31.0
40
+ Requires-Dist: beautifulsoup4>=4.12.3
41
+ Requires-Dist: selenium>=4.24.0
42
+ Requires-Dist: tenacity>=9.0.0
43
+ Requires-Dist: deepdiff>=8.0.1
44
+ Requires-Dist: pyautogui>=0.9.54
45
+ Requires-Dist: pyperclip>=1.9.0
46
+ Provides-Extra: dev
47
+ Requires-Dist: pytest>=8.0; extra == "dev"
48
+ Requires-Dist: pytest-cov>=5.0; extra == "dev"
49
+ Requires-Dist: black>=24.0; extra == "dev"
50
+ Requires-Dist: ruff>=0.6; extra == "dev"
51
+ Requires-Dist: mypy>=1.10; extra == "dev"
52
+ Provides-Extra: docs
53
+ Requires-Dist: mkdocs>=1.6; extra == "docs"
54
+ Requires-Dist: mkdocs-material>=9.5; extra == "docs"
55
+ Provides-Extra: web
56
+ Requires-Dist: selenium>=4.24.0; extra == "web"
57
+ Provides-Extra: all
58
+ Requires-Dist: allykit[dev,docs,web]; extra == "all"
59
+ Dynamic: license-file
60
+
61
+ # allykit Library Documentation (Full & Updated Version)
62
+
63
+ The `allykit` library is a comprehensive toolkit designed for security engineers, backend developers, DevOps engineers, system administrators, and digital forensics specialists. It integrates advanced cryptographic operations, automated web interaction, intelligent filesystem auditing, command-line automation, robust password management, language and geographic data, and cookie management into a unified framework.
64
+
65
+ **Important Note**: Versions prior to 1.1.0 do not meet our standards, so please use the newer versions and enjoy.
66
+
67
+ ---
68
+
69
+ ## Modules Overview
70
+
71
+ ### 1. Password Generation & Security Kit (Security Kit)
72
+
73
+ A high-level suite for managing credentials. It supports the generation of complex, randomized strings and time-sensitive passwords with expiration logic.
74
+
75
+ **Core Capabilities**:
76
+ - Customizable password generation (length, character constraints, prefixes/suffixes)
77
+ - Time-based validity (GTP/WPWT)
78
+ - Granular security auditing (Complexity Scoring and validation engines)
79
+ - **`Time_Password` class** for complete time-based password management
80
+ - **`Review_Password` class** for password validation and scoring
81
+ - Secure hashing, integrity verification, and authentication utilities
82
+
83
+ **Usage Examples**:
84
+ - Basic and strong password generation
85
+ - Password generation with prefix/suffix
86
+ - Time-limited password generation (with `generating_password` function)
87
+ - Password complexity validation (character checks, length, repetition)
88
+ - Entropy scoring (strength evaluation)
89
+ - Hashing with various algorithms (SHA256, SHA512, SHA3, BLAKE2)
90
+ - Salted hashing (for secure storage)
91
+ - Double hashing (Hash-in-Hash) for increased difficulty
92
+ - Hash algorithm detection
93
+ - Hash comparison
94
+ - **Professional time-based password management with `Time_Password` class** (expiry check, remaining time, full status report)
95
+
96
+ **Use Cases**: Automated credential management, secure token generation, password auditing, integrity verification, security strength evaluation, and one-time password authentication systems.
97
+
98
+ ---
99
+
100
+ ### 2. Web Kit & Scrapers (Web Kit)
101
+
102
+ A specialized module for seamless web interaction, data extraction, cookie management, and web monitoring.
103
+
104
+ **Core Capabilities**:
105
+ - **Web Interaction**: Advanced HTML fetching (mimicking real browsers to bypass detection), DOM traversal via BeautifulSoup integration, Selenium automation, intelligent HTTP requests, and memory-efficient streaming for large remote file downloads.
106
+ - **Cookie Management**: Saving, loading, managing expired cookies, switching between cookie files, and integration with WebAutomation.
107
+ - **Caching**: Disk-based caching with TTL support for HTML and JavaScript content.
108
+ - **Web Monitoring**: Change detection, data caching, and monitoring of web pages.
109
+
110
+ **Usage Examples**:
111
+ - URL normalization and validation
112
+ - HTTP requests with retry logic
113
+ - Extracting links, images, and text from HTML
114
+ - JavaScript rendering with headless browsers
115
+ - Web automation (form filling, clicking, screenshots)
116
+ - Single and bulk file downloads
117
+ - HTML comparison and change detection
118
+ - Cookie management (save, load, clear expired)
119
+ - Caching web pages for reuse
120
+ - Monitoring web page changes
121
+
122
+ **Use Cases**: Web scraping, data mining, automated browser interaction, website analysis, media/asset acquisition, user session management, and website change monitoring.
123
+
124
+ ---
125
+
126
+ ### 3. Cryptographic Hashing & Integrity Verification
127
+
128
+ A robust cryptographic engine providing multi-algorithm support and advanced protection mechanisms.
129
+
130
+ **Core Capabilities**: Support for the SHA family (SHA-1 through SHAKE-256), intelligent hash detection, Salt management to prevent rainbow table attacks, "Hash-in-Hash" (HH) double-hashing for increased computational difficulty, and integrity verification.
131
+
132
+ **Usage Examples**:
133
+ - String and file hashing
134
+ - Salt generation
135
+ - Salted hashing and password verification
136
+ - Automatic hash algorithm detection
137
+
138
+ **Use Cases**: Digital forensics (DFIR), data integrity verification, secure authentication, password protection, and digital evidence validation.
139
+
140
+ ---
141
+
142
+ ### 4. Filesystem Management & Metadata Mapping (Security Kit - File)
143
+
144
+ An advanced exploration engine for deep filesystem analysis and auditing.
145
+
146
+ **Core Capabilities**: Recursive directory crawling, hierarchical metadata mapping (size, ownership, timestamps), structured filesystem inventory generation, metadata extraction, and filesystem auditing.
147
+
148
+ **New Security Features**:
149
+ - **Create Snapshot** (`create_snapshot`): Capture a complete image of file system state for later use.
150
+ - **Verify Snapshot** (`verify_snapshot`): Compare current state with previous snapshot to detect changes, new files, or deletions.
151
+ - **Security Mapping** (`dict_files_in_directory`, `map_directory_metadata`)
152
+
153
+ **Usage Examples**:
154
+ - Taking a snapshot of a project folder to detect future changes
155
+ - Getting detailed file statistics and information
156
+ - Mapping complete directory metadata (recursively)
157
+ - Generating file dictionaries with hashes
158
+ - Saving dictionaries to JSON files
159
+ - Retrieving file permission strings
160
+ - Bulk file deletion
161
+
162
+ **Use Cases**: Digital forensics (DFIR), system auditing, integrity-based backup solutions, file analysis, and filesystem inspection.
163
+
164
+ ---
165
+
166
+ ### 5. Language & Geography Data (Data Kit)
167
+
168
+ A comprehensive dataset for language detection, country information, and Iranian geographic data.
169
+
170
+ **Core Capabilities**:
171
+ - **Language**: Language detection, filtering by language, digit normalization, RTL character detection, character classification, and ASCII approximation (transliteration).
172
+ - **Countries**: Complete country information (calling codes, ISO codes, capitals, currencies, continents), country search, and phone number formatting.
173
+ - **Iran**: Province and city information (coordinates, population, phone codes, car plate codes), SIM card operator detection, city search, and region-based province lookup.
174
+
175
+ **Usage Examples**:
176
+ - Detecting the language of a text (Persian, English, Arabic, ...)
177
+ - Filtering Persian characters from a text
178
+ - Normalizing digits (converting Persian digits to ASCII)
179
+ - Getting complete information for a country (calling code, capital, currency)
180
+ - Searching for countries by name
181
+ - Getting the province and full information for an Iranian city
182
+ - Detecting the SIM card operator based on the prefix
183
+ - Getting the phone code and car plate code for a city
184
+
185
+ **Use Cases**: Internationalization (i18n), localization (l10n), phone number validation, text analysis, Geographic Information Systems (GIS), and location-based applications.
186
+
187
+ ---
188
+
189
+ ### 6. Core Automation Toolkit (Automobile Kit)
190
+
191
+ A unified automation layer for developers and system administrators that simplifies interaction with the operating system, terminal, Git, Python, package management, PowerShell, filesystem utilities, and process management.
192
+
193
+ **Core Capabilities**:
194
+ - **CMD**: Execute Command Prompt commands with timeout and multiple command support.
195
+ - **PowerShell**: Execute PowerShell commands with structured execution and output capture.
196
+ - **Hybrid**: Execute commands simultaneously in CMD and PowerShell and compare outputs.
197
+ - **Git**: Full Git automation (clone, init, add, commit, push, pull, branch, status, log).
198
+ - **Python**: Execute scripts, modules, and inline code, create virtual environments, and manage packages with Pip.
199
+ - **Filesystem**: Common file and folder operations (create, copy, move, delete, list).
200
+ - **Process Management**: Check, count, get info, suspend, resume, and kill processes, with special support for browsers.
201
+ - **System Class**: A unified interface to access all automation capabilities.
202
+
203
+ **Usage Examples**:
204
+ - Developer automation (code management, testing)
205
+ - DevOps workflows (deployment, monitoring)
206
+ - Windows automation (system management)
207
+ - New project initialization (init, venv)
208
+ - Command-line utilities
209
+ - Git automation (commit, push, branch)
210
+ - Python environment management (venv, pip)
211
+ - Process management (monitoring, closing browsers)
212
+ - System auditing and cleanup
213
+
214
+ **Use Cases**: Developer automation, DevOps workflows, Windows automation, project initialization, command-line utilities, Git automation, Python environment management, process management, and system administration.
215
+
216
+ ---
217
+
218
+ ### 7. General Tools Kit (Tools Kit) ** NEW **
219
+
220
+ A foundational layer providing common, reusable utilities for other modules and developers.
221
+
222
+ **Core Capabilities**:
223
+
224
+ * **File Tools (`file_tools.py`)**:
225
+ * Basic file and folder operations (create, read, write, delete)
226
+ * JSON file handling (`dump_file`, `load_file`)
227
+ * File permission management (`get_permission`, `change_permission`)
228
+ * Complete file metadata extraction (`information_files_dict`)
229
+
230
+ * **String Tools (`string_tools.py`)**:
231
+ * Secure random string generation with `secrets`
232
+ * Helper functions for random character generation
233
+ * **Random character generation source for `password_kit` module**
234
+
235
+ * **Use Cases**: Developer automation, DevOps workflows, Windows automation, project initialization, command-line utilities, Git automation, Python environment management, process management, and system administration.
236
+
237
+ ---
238
+
239
+ ## Technical Requirements
240
+
241
+ ### Environment
242
+ * Python 3.9+
243
+
244
+ ### Dependencies
245
+ ```bash
246
+ pip install requests beautifulsoup4 selenium tenacity deepdiff pyautogui pyperclip
247
+ ```
248
+
249
+ ### Standard Libraries
250
+ `hashlib`, `os`, `pathlib`, `datetime`, `json`, `shutil`, `string`, `random`, `re`, `typing`, `subprocess`, `time`, `pickle`
251
+
252
+ ---
253
+
254
+ ## Package Structure
255
+
256
+ ```
257
+ src/allykit/
258
+ ├── __init__.py
259
+ ├── Security_kit/
260
+ │ ├── __init__.py
261
+ │ ├── file_kit.py
262
+ │ ├── password_kit.py
263
+ │ └── hash_kit.py
264
+ ├── web_kit/
265
+ │ ├── __init__.py
266
+ │ ├── CChrome.py
267
+ │ ├── Communications.py
268
+ │ ├── WebAutomation.py
269
+ │ ├── Working_with_code.py
270
+ │ ├── Elastic_bands.py
271
+ │ ├── Get_Code.py
272
+ │ └── Cookie.py
273
+ ├── data_kit/
274
+ │ ├── __init__.py
275
+ │ ├── IRAN.py
276
+ │ ├── Language.py
277
+ │ └── country.py
278
+ └── Automobile_kit/
279
+ ├── __init__.py
280
+ ├── ProcessManager.py
281
+ ├── Automobile/
282
+ │ ├── __init__.py
283
+ │ ├── Cmd.py
284
+ │ ├── powershell.py
285
+ │ └── hybrid.py
286
+ └── New_automobile/
287
+ ├── __init__.py
288
+ ├── file.py
289
+ ├── python.py
290
+ └── git.py
291
+ ```
292
+ ## Version Summary
293
+
294
+ This version represents a significant step forward with the addition of Tools_kit and the modular rewrite of password_kit. The Security_kit modules now benefit from a foundational layer (Tools_kit), greatly improving code reusability and maintainability.
295
+
296
+ **Key Changes**:
297
+ - Added Tools_kit with file_tools and string_tools
298
+ - Complete modular rewrite of password_kit with Time_Password and Review_Password classes
299
+ - Added snapshot and integrity verification capabilities to file_kit
@@ -0,0 +1,239 @@
1
+ # allykit Library Documentation (Full & Updated Version)
2
+
3
+ The `allykit` library is a comprehensive toolkit designed for security engineers, backend developers, DevOps engineers, system administrators, and digital forensics specialists. It integrates advanced cryptographic operations, automated web interaction, intelligent filesystem auditing, command-line automation, robust password management, language and geographic data, and cookie management into a unified framework.
4
+
5
+ **Important Note**: Versions prior to 1.1.0 do not meet our standards, so please use the newer versions and enjoy.
6
+
7
+ ---
8
+
9
+ ## Modules Overview
10
+
11
+ ### 1. Password Generation & Security Kit (Security Kit)
12
+
13
+ A high-level suite for managing credentials. It supports the generation of complex, randomized strings and time-sensitive passwords with expiration logic.
14
+
15
+ **Core Capabilities**:
16
+ - Customizable password generation (length, character constraints, prefixes/suffixes)
17
+ - Time-based validity (GTP/WPWT)
18
+ - Granular security auditing (Complexity Scoring and validation engines)
19
+ - **`Time_Password` class** for complete time-based password management
20
+ - **`Review_Password` class** for password validation and scoring
21
+ - Secure hashing, integrity verification, and authentication utilities
22
+
23
+ **Usage Examples**:
24
+ - Basic and strong password generation
25
+ - Password generation with prefix/suffix
26
+ - Time-limited password generation (with `generating_password` function)
27
+ - Password complexity validation (character checks, length, repetition)
28
+ - Entropy scoring (strength evaluation)
29
+ - Hashing with various algorithms (SHA256, SHA512, SHA3, BLAKE2)
30
+ - Salted hashing (for secure storage)
31
+ - Double hashing (Hash-in-Hash) for increased difficulty
32
+ - Hash algorithm detection
33
+ - Hash comparison
34
+ - **Professional time-based password management with `Time_Password` class** (expiry check, remaining time, full status report)
35
+
36
+ **Use Cases**: Automated credential management, secure token generation, password auditing, integrity verification, security strength evaluation, and one-time password authentication systems.
37
+
38
+ ---
39
+
40
+ ### 2. Web Kit & Scrapers (Web Kit)
41
+
42
+ A specialized module for seamless web interaction, data extraction, cookie management, and web monitoring.
43
+
44
+ **Core Capabilities**:
45
+ - **Web Interaction**: Advanced HTML fetching (mimicking real browsers to bypass detection), DOM traversal via BeautifulSoup integration, Selenium automation, intelligent HTTP requests, and memory-efficient streaming for large remote file downloads.
46
+ - **Cookie Management**: Saving, loading, managing expired cookies, switching between cookie files, and integration with WebAutomation.
47
+ - **Caching**: Disk-based caching with TTL support for HTML and JavaScript content.
48
+ - **Web Monitoring**: Change detection, data caching, and monitoring of web pages.
49
+
50
+ **Usage Examples**:
51
+ - URL normalization and validation
52
+ - HTTP requests with retry logic
53
+ - Extracting links, images, and text from HTML
54
+ - JavaScript rendering with headless browsers
55
+ - Web automation (form filling, clicking, screenshots)
56
+ - Single and bulk file downloads
57
+ - HTML comparison and change detection
58
+ - Cookie management (save, load, clear expired)
59
+ - Caching web pages for reuse
60
+ - Monitoring web page changes
61
+
62
+ **Use Cases**: Web scraping, data mining, automated browser interaction, website analysis, media/asset acquisition, user session management, and website change monitoring.
63
+
64
+ ---
65
+
66
+ ### 3. Cryptographic Hashing & Integrity Verification
67
+
68
+ A robust cryptographic engine providing multi-algorithm support and advanced protection mechanisms.
69
+
70
+ **Core Capabilities**: Support for the SHA family (SHA-1 through SHAKE-256), intelligent hash detection, Salt management to prevent rainbow table attacks, "Hash-in-Hash" (HH) double-hashing for increased computational difficulty, and integrity verification.
71
+
72
+ **Usage Examples**:
73
+ - String and file hashing
74
+ - Salt generation
75
+ - Salted hashing and password verification
76
+ - Automatic hash algorithm detection
77
+
78
+ **Use Cases**: Digital forensics (DFIR), data integrity verification, secure authentication, password protection, and digital evidence validation.
79
+
80
+ ---
81
+
82
+ ### 4. Filesystem Management & Metadata Mapping (Security Kit - File)
83
+
84
+ An advanced exploration engine for deep filesystem analysis and auditing.
85
+
86
+ **Core Capabilities**: Recursive directory crawling, hierarchical metadata mapping (size, ownership, timestamps), structured filesystem inventory generation, metadata extraction, and filesystem auditing.
87
+
88
+ **New Security Features**:
89
+ - **Create Snapshot** (`create_snapshot`): Capture a complete image of file system state for later use.
90
+ - **Verify Snapshot** (`verify_snapshot`): Compare current state with previous snapshot to detect changes, new files, or deletions.
91
+ - **Security Mapping** (`dict_files_in_directory`, `map_directory_metadata`)
92
+
93
+ **Usage Examples**:
94
+ - Taking a snapshot of a project folder to detect future changes
95
+ - Getting detailed file statistics and information
96
+ - Mapping complete directory metadata (recursively)
97
+ - Generating file dictionaries with hashes
98
+ - Saving dictionaries to JSON files
99
+ - Retrieving file permission strings
100
+ - Bulk file deletion
101
+
102
+ **Use Cases**: Digital forensics (DFIR), system auditing, integrity-based backup solutions, file analysis, and filesystem inspection.
103
+
104
+ ---
105
+
106
+ ### 5. Language & Geography Data (Data Kit)
107
+
108
+ A comprehensive dataset for language detection, country information, and Iranian geographic data.
109
+
110
+ **Core Capabilities**:
111
+ - **Language**: Language detection, filtering by language, digit normalization, RTL character detection, character classification, and ASCII approximation (transliteration).
112
+ - **Countries**: Complete country information (calling codes, ISO codes, capitals, currencies, continents), country search, and phone number formatting.
113
+ - **Iran**: Province and city information (coordinates, population, phone codes, car plate codes), SIM card operator detection, city search, and region-based province lookup.
114
+
115
+ **Usage Examples**:
116
+ - Detecting the language of a text (Persian, English, Arabic, ...)
117
+ - Filtering Persian characters from a text
118
+ - Normalizing digits (converting Persian digits to ASCII)
119
+ - Getting complete information for a country (calling code, capital, currency)
120
+ - Searching for countries by name
121
+ - Getting the province and full information for an Iranian city
122
+ - Detecting the SIM card operator based on the prefix
123
+ - Getting the phone code and car plate code for a city
124
+
125
+ **Use Cases**: Internationalization (i18n), localization (l10n), phone number validation, text analysis, Geographic Information Systems (GIS), and location-based applications.
126
+
127
+ ---
128
+
129
+ ### 6. Core Automation Toolkit (Automobile Kit)
130
+
131
+ A unified automation layer for developers and system administrators that simplifies interaction with the operating system, terminal, Git, Python, package management, PowerShell, filesystem utilities, and process management.
132
+
133
+ **Core Capabilities**:
134
+ - **CMD**: Execute Command Prompt commands with timeout and multiple command support.
135
+ - **PowerShell**: Execute PowerShell commands with structured execution and output capture.
136
+ - **Hybrid**: Execute commands simultaneously in CMD and PowerShell and compare outputs.
137
+ - **Git**: Full Git automation (clone, init, add, commit, push, pull, branch, status, log).
138
+ - **Python**: Execute scripts, modules, and inline code, create virtual environments, and manage packages with Pip.
139
+ - **Filesystem**: Common file and folder operations (create, copy, move, delete, list).
140
+ - **Process Management**: Check, count, get info, suspend, resume, and kill processes, with special support for browsers.
141
+ - **System Class**: A unified interface to access all automation capabilities.
142
+
143
+ **Usage Examples**:
144
+ - Developer automation (code management, testing)
145
+ - DevOps workflows (deployment, monitoring)
146
+ - Windows automation (system management)
147
+ - New project initialization (init, venv)
148
+ - Command-line utilities
149
+ - Git automation (commit, push, branch)
150
+ - Python environment management (venv, pip)
151
+ - Process management (monitoring, closing browsers)
152
+ - System auditing and cleanup
153
+
154
+ **Use Cases**: Developer automation, DevOps workflows, Windows automation, project initialization, command-line utilities, Git automation, Python environment management, process management, and system administration.
155
+
156
+ ---
157
+
158
+ ### 7. General Tools Kit (Tools Kit) ** NEW **
159
+
160
+ A foundational layer providing common, reusable utilities for other modules and developers.
161
+
162
+ **Core Capabilities**:
163
+
164
+ * **File Tools (`file_tools.py`)**:
165
+ * Basic file and folder operations (create, read, write, delete)
166
+ * JSON file handling (`dump_file`, `load_file`)
167
+ * File permission management (`get_permission`, `change_permission`)
168
+ * Complete file metadata extraction (`information_files_dict`)
169
+
170
+ * **String Tools (`string_tools.py`)**:
171
+ * Secure random string generation with `secrets`
172
+ * Helper functions for random character generation
173
+ * **Random character generation source for `password_kit` module**
174
+
175
+ * **Use Cases**: Developer automation, DevOps workflows, Windows automation, project initialization, command-line utilities, Git automation, Python environment management, process management, and system administration.
176
+
177
+ ---
178
+
179
+ ## Technical Requirements
180
+
181
+ ### Environment
182
+ * Python 3.9+
183
+
184
+ ### Dependencies
185
+ ```bash
186
+ pip install requests beautifulsoup4 selenium tenacity deepdiff pyautogui pyperclip
187
+ ```
188
+
189
+ ### Standard Libraries
190
+ `hashlib`, `os`, `pathlib`, `datetime`, `json`, `shutil`, `string`, `random`, `re`, `typing`, `subprocess`, `time`, `pickle`
191
+
192
+ ---
193
+
194
+ ## Package Structure
195
+
196
+ ```
197
+ src/allykit/
198
+ ├── __init__.py
199
+ ├── Security_kit/
200
+ │ ├── __init__.py
201
+ │ ├── file_kit.py
202
+ │ ├── password_kit.py
203
+ │ └── hash_kit.py
204
+ ├── web_kit/
205
+ │ ├── __init__.py
206
+ │ ├── CChrome.py
207
+ │ ├── Communications.py
208
+ │ ├── WebAutomation.py
209
+ │ ├── Working_with_code.py
210
+ │ ├── Elastic_bands.py
211
+ │ ├── Get_Code.py
212
+ │ └── Cookie.py
213
+ ├── data_kit/
214
+ │ ├── __init__.py
215
+ │ ├── IRAN.py
216
+ │ ├── Language.py
217
+ │ └── country.py
218
+ └── Automobile_kit/
219
+ ├── __init__.py
220
+ ├── ProcessManager.py
221
+ ├── Automobile/
222
+ │ ├── __init__.py
223
+ │ ├── Cmd.py
224
+ │ ├── powershell.py
225
+ │ └── hybrid.py
226
+ └── New_automobile/
227
+ ├── __init__.py
228
+ ├── file.py
229
+ ├── python.py
230
+ └── git.py
231
+ ```
232
+ ## Version Summary
233
+
234
+ This version represents a significant step forward with the addition of Tools_kit and the modular rewrite of password_kit. The Security_kit modules now benefit from a foundational layer (Tools_kit), greatly improving code reusability and maintainability.
235
+
236
+ **Key Changes**:
237
+ - Added Tools_kit with file_tools and string_tools
238
+ - Complete modular rewrite of password_kit with Time_Password and Review_Password classes
239
+ - Added snapshot and integrity verification capabilities to file_kit
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "allykit"
7
- version = "1.1.2"
7
+ version = "1.2.2"
8
8
  description = "A comprehensive Python toolkit for security engineering, cryptography, web scraping, filesystem auditing, DFIR, command-line automation, Git, PowerShell, and reusable developer utilities."
9
9
  readme = "README.md"
10
10
  license = "MIT"