allykit 1.4.2__tar.gz → 1.4.4__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 (45) hide show
  1. {allykit-1.4.2/src/allykit.egg-info → allykit-1.4.4}/PKG-INFO +23 -24
  2. {allykit-1.4.2 → allykit-1.4.4}/README.md +22 -23
  3. {allykit-1.4.2 → allykit-1.4.4}/pyproject.toml +1 -1
  4. {allykit-1.4.2 → allykit-1.4.4}/src/allykit/__init__.py +3 -1
  5. {allykit-1.4.2 → allykit-1.4.4/src/allykit.egg-info}/PKG-INFO +23 -24
  6. {allykit-1.4.2 → allykit-1.4.4}/LICENSE +0 -0
  7. {allykit-1.4.2 → allykit-1.4.4}/setup.cfg +0 -0
  8. {allykit-1.4.2 → allykit-1.4.4}/src/allykit/Automobile_kit/Automobile/Cmd.py +0 -0
  9. {allykit-1.4.2 → allykit-1.4.4}/src/allykit/Automobile_kit/Automobile/__init__.py +0 -0
  10. {allykit-1.4.2 → allykit-1.4.4}/src/allykit/Automobile_kit/Automobile/hybrid.py +0 -0
  11. {allykit-1.4.2 → allykit-1.4.4}/src/allykit/Automobile_kit/Automobile/powerShell.py +0 -0
  12. {allykit-1.4.2 → allykit-1.4.4}/src/allykit/Automobile_kit/New_automobile/file.py +0 -0
  13. {allykit-1.4.2 → allykit-1.4.4}/src/allykit/Automobile_kit/New_automobile/git.py +0 -0
  14. {allykit-1.4.2 → allykit-1.4.4}/src/allykit/Automobile_kit/New_automobile/python.py +0 -0
  15. {allykit-1.4.2 → allykit-1.4.4}/src/allykit/Automobile_kit/ProcessManager/ProcessManager.py +0 -0
  16. {allykit-1.4.2 → allykit-1.4.4}/src/allykit/Automobile_kit/ProcessManager/__init__.py +0 -0
  17. {allykit-1.4.2 → allykit-1.4.4}/src/allykit/Automobile_kit/__init__.py +0 -0
  18. {allykit-1.4.2 → allykit-1.4.4}/src/allykit/Security_kit/__init__.py +0 -0
  19. {allykit-1.4.2 → allykit-1.4.4}/src/allykit/Security_kit/file_kit.py +0 -0
  20. {allykit-1.4.2 → allykit-1.4.4}/src/allykit/Security_kit/hash_kit.py +0 -0
  21. {allykit-1.4.2 → allykit-1.4.4}/src/allykit/Security_kit/password_kit/Scoring_password.py +0 -0
  22. {allykit-1.4.2 → allykit-1.4.4}/src/allykit/Security_kit/password_kit/Time_based_password.py +0 -0
  23. {allykit-1.4.2 → allykit-1.4.4}/src/allykit/Security_kit/password_kit/__init__.py +0 -0
  24. {allykit-1.4.2 → allykit-1.4.4}/src/allykit/Security_kit/password_kit/password.py +0 -0
  25. {allykit-1.4.2 → allykit-1.4.4}/src/allykit/Tools_kit/WorkFileJson.py +0 -0
  26. {allykit-1.4.2 → allykit-1.4.4}/src/allykit/Tools_kit/__init__.py +0 -0
  27. {allykit-1.4.2 → allykit-1.4.4}/src/allykit/Tools_kit/file_tools.py +0 -0
  28. {allykit-1.4.2 → allykit-1.4.4}/src/allykit/Tools_kit/string_tools.py +0 -0
  29. {allykit-1.4.2 → allykit-1.4.4}/src/allykit/data_kit/IRAN.py +0 -0
  30. {allykit-1.4.2 → allykit-1.4.4}/src/allykit/data_kit/Language.py +0 -0
  31. {allykit-1.4.2 → allykit-1.4.4}/src/allykit/data_kit/__init__.py +0 -0
  32. {allykit-1.4.2 → allykit-1.4.4}/src/allykit/data_kit/country.py +0 -0
  33. {allykit-1.4.2 → allykit-1.4.4}/src/allykit/web_kit/CChrome.py +0 -0
  34. {allykit-1.4.2 → allykit-1.4.4}/src/allykit/web_kit/Communications.py +0 -0
  35. {allykit-1.4.2 → allykit-1.4.4}/src/allykit/web_kit/Cookie.py +0 -0
  36. {allykit-1.4.2 → allykit-1.4.4}/src/allykit/web_kit/Elastic_bands.py +0 -0
  37. {allykit-1.4.2 → allykit-1.4.4}/src/allykit/web_kit/Get_Code.py +0 -0
  38. {allykit-1.4.2 → allykit-1.4.4}/src/allykit/web_kit/WebAutomation.py +0 -0
  39. {allykit-1.4.2 → allykit-1.4.4}/src/allykit/web_kit/Working_with_code.py +0 -0
  40. {allykit-1.4.2 → allykit-1.4.4}/src/allykit/web_kit/__init__.py +0 -0
  41. {allykit-1.4.2 → allykit-1.4.4}/src/allykit/web_kit/scroll_manager.py +0 -0
  42. {allykit-1.4.2 → allykit-1.4.4}/src/allykit.egg-info/SOURCES.txt +0 -0
  43. {allykit-1.4.2 → allykit-1.4.4}/src/allykit.egg-info/dependency_links.txt +0 -0
  44. {allykit-1.4.2 → allykit-1.4.4}/src/allykit.egg-info/requires.txt +0 -0
  45. {allykit-1.4.2 → allykit-1.4.4}/src/allykit.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: allykit
3
- Version: 1.4.2
3
+ Version: 1.4.4
4
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
5
  Author-email: allykit Developer <hossein.moradian.ir@outlook.com>
6
6
  License-Expression: MIT
@@ -150,8 +150,8 @@ pwd = generate_strong_password(length=16)
150
150
  # Timed password (valid for 24 hours)
151
151
  timed_pwd = generate_timed_password(time='hours.24')
152
152
  tp = Time_Password(timed_pwd)
153
- print(f"Valid: {tp.is_valid()}")
154
- print(f"Remaining: {tp.remaining_time()}")
153
+ print(f"Valid: {tp.is_password_valid()}")
154
+ print(f"Remaining: {tp.time_remaining()}")
155
155
 
156
156
  # Check password strength
157
157
  reviewer = Review_Password(pwd)
@@ -250,18 +250,19 @@ driver = chrome(incognito=True, headless=False)
250
250
  auto = WebAutomation(driver)
251
251
 
252
252
  # Navigate and interact
253
- auto.goto("https://example.com")
253
+ auto.open("https://example.com")
254
254
  auto.click("#login-button")
255
- auto.type("#username", "myuser")
256
- auto.type("#password", "mypass")
257
- auto.submit("#login-form")
255
+ auto.send_keys("#username", "myuser")
256
+ auto.send_keys("#password", "mypass")
257
+
258
258
 
259
259
  # Cookie management
260
- from allykit import save_cookies, load_cookies, clear_expired_cookies
260
+ from allykit import Cookie
261
+
262
+ cookie = Cookie(driver, "cookies.pkl")
261
263
 
262
- save_cookies(driver, "cookies.pkl")
263
- load_cookies(driver, "cookies.pkl")
264
- clear_expired_cookies(driver)
264
+ cookie.save_cookies()
265
+ cookie.load_cookies()
265
266
  ```
266
267
 
267
268
  #### Scroll Management (`scroll_manager.py`) 🆕
@@ -416,9 +417,9 @@ info = get_process_info(1234)
416
417
  print(f"Name: {info['name']}, CPU: {info['cpu']}%")
417
418
 
418
419
  # Process manager class
419
- pm = ProcessManager()
420
- processes = pm.list_processes()
421
- chrome_processes = pm.find_processes("chrome")
420
+ pm = ProcessManager(process_name = "chrome")
421
+ processes = pm.kill_all()
422
+ chrome_processes = pm.is_running()
422
423
  ```
423
424
 
424
425
  #### Command Line (`Automobile/Cmd.py`, `powerShell.py`)
@@ -430,9 +431,9 @@ chrome_processes = pm.find_processes("chrome")
430
431
  from allykit import cmd, PowerShell
431
432
 
432
433
  # CMD operations
433
- cmd.run("dir")
434
- cmd.open_window()
435
- cmd.auto_type("echo Hello World")
434
+ cmd.cmd("dir")
435
+ cmd.open_cmd()
436
+ cmd.type_text("echo Hello World")
436
437
 
437
438
  # PowerShell operations
438
439
  ps = PowerShell()
@@ -460,7 +461,6 @@ git.push()
460
461
  py = Python()
461
462
  py.create_venv("venv")
462
463
  py.run_script("app.py")
463
- py.install_package("requests")
464
464
 
465
465
  # File operations
466
466
  file = File()
@@ -481,15 +481,14 @@ This module provides a reusable foundation layer for other components.
481
481
 
482
482
  ```python
483
483
  from allykit import (
484
- read_file, write_file, delete_file, get_file_metadata,
485
- str_choice_string, truncate_text, format_thousands,
484
+ read_file, write_file, remove_file,
485
+ str_choice_string, truncate, format_thousands,
486
486
  WorkFileJson
487
487
  )
488
488
 
489
489
  # File operations
490
490
  content = read_file("data.txt")
491
491
  write_file("output.txt", "Hello World")
492
- metadata = get_file_metadata("data.txt")
493
492
 
494
493
  # String utilities
495
494
  random_string = str_choice_string(length=10)
@@ -497,9 +496,9 @@ formatted = format_thousands(1234567) # "1,234,567"
497
496
 
498
497
  # JSON file management
499
498
  json_file = WorkFileJson("data.json")
500
- json_file.add({"name": "John", "age": 30})
501
- json_file.update({"name": "Jane"})
502
- data = json_file.search({"age": 30})
499
+ json_file.save({"name": "John", "age": 30})
500
+ json_file.update_dict({"name": "Jane"})
501
+ data = json_file.search_in_dict({"age": 30})
503
502
  json_file.save()
504
503
  ```
505
504
 
@@ -92,8 +92,8 @@ pwd = generate_strong_password(length=16)
92
92
  # Timed password (valid for 24 hours)
93
93
  timed_pwd = generate_timed_password(time='hours.24')
94
94
  tp = Time_Password(timed_pwd)
95
- print(f"Valid: {tp.is_valid()}")
96
- print(f"Remaining: {tp.remaining_time()}")
95
+ print(f"Valid: {tp.is_password_valid()}")
96
+ print(f"Remaining: {tp.time_remaining()}")
97
97
 
98
98
  # Check password strength
99
99
  reviewer = Review_Password(pwd)
@@ -192,18 +192,19 @@ driver = chrome(incognito=True, headless=False)
192
192
  auto = WebAutomation(driver)
193
193
 
194
194
  # Navigate and interact
195
- auto.goto("https://example.com")
195
+ auto.open("https://example.com")
196
196
  auto.click("#login-button")
197
- auto.type("#username", "myuser")
198
- auto.type("#password", "mypass")
199
- auto.submit("#login-form")
197
+ auto.send_keys("#username", "myuser")
198
+ auto.send_keys("#password", "mypass")
199
+
200
200
 
201
201
  # Cookie management
202
- from allykit import save_cookies, load_cookies, clear_expired_cookies
202
+ from allykit import Cookie
203
+
204
+ cookie = Cookie(driver, "cookies.pkl")
203
205
 
204
- save_cookies(driver, "cookies.pkl")
205
- load_cookies(driver, "cookies.pkl")
206
- clear_expired_cookies(driver)
206
+ cookie.save_cookies()
207
+ cookie.load_cookies()
207
208
  ```
208
209
 
209
210
  #### Scroll Management (`scroll_manager.py`) 🆕
@@ -358,9 +359,9 @@ info = get_process_info(1234)
358
359
  print(f"Name: {info['name']}, CPU: {info['cpu']}%")
359
360
 
360
361
  # Process manager class
361
- pm = ProcessManager()
362
- processes = pm.list_processes()
363
- chrome_processes = pm.find_processes("chrome")
362
+ pm = ProcessManager(process_name = "chrome")
363
+ processes = pm.kill_all()
364
+ chrome_processes = pm.is_running()
364
365
  ```
365
366
 
366
367
  #### Command Line (`Automobile/Cmd.py`, `powerShell.py`)
@@ -372,9 +373,9 @@ chrome_processes = pm.find_processes("chrome")
372
373
  from allykit import cmd, PowerShell
373
374
 
374
375
  # CMD operations
375
- cmd.run("dir")
376
- cmd.open_window()
377
- cmd.auto_type("echo Hello World")
376
+ cmd.cmd("dir")
377
+ cmd.open_cmd()
378
+ cmd.type_text("echo Hello World")
378
379
 
379
380
  # PowerShell operations
380
381
  ps = PowerShell()
@@ -402,7 +403,6 @@ git.push()
402
403
  py = Python()
403
404
  py.create_venv("venv")
404
405
  py.run_script("app.py")
405
- py.install_package("requests")
406
406
 
407
407
  # File operations
408
408
  file = File()
@@ -423,15 +423,14 @@ This module provides a reusable foundation layer for other components.
423
423
 
424
424
  ```python
425
425
  from allykit import (
426
- read_file, write_file, delete_file, get_file_metadata,
427
- str_choice_string, truncate_text, format_thousands,
426
+ read_file, write_file, remove_file,
427
+ str_choice_string, truncate, format_thousands,
428
428
  WorkFileJson
429
429
  )
430
430
 
431
431
  # File operations
432
432
  content = read_file("data.txt")
433
433
  write_file("output.txt", "Hello World")
434
- metadata = get_file_metadata("data.txt")
435
434
 
436
435
  # String utilities
437
436
  random_string = str_choice_string(length=10)
@@ -439,9 +438,9 @@ formatted = format_thousands(1234567) # "1,234,567"
439
438
 
440
439
  # JSON file management
441
440
  json_file = WorkFileJson("data.json")
442
- json_file.add({"name": "John", "age": 30})
443
- json_file.update({"name": "Jane"})
444
- data = json_file.search({"age": 30})
441
+ json_file.save({"name": "John", "age": 30})
442
+ json_file.update_dict({"name": "Jane"})
443
+ data = json_file.search_in_dict({"age": 30})
445
444
  json_file.save()
446
445
  ```
447
446
 
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "allykit"
7
- version = "1.4.2"
7
+ version = "1.4.4"
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"
@@ -57,6 +57,8 @@ from .Tools_kit.string_tools import (
57
57
  choice_string_yield,
58
58
  str_choice_string,
59
59
  list_choice_string,
60
+ truncate,
61
+ format_thousands
60
62
  )
61
63
 
62
64
  # ==================== Security ====================
@@ -626,7 +628,7 @@ from .data_kit.Language import (
626
628
  )
627
629
 
628
630
  # ==================== Version & Metadata ====================
629
- __version__ = "1.3"
631
+ __version__ = "1.4"
630
632
  __author__ = None
631
633
  __license__ = "MIT"
632
634
  __status__ = "Alpha"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: allykit
3
- Version: 1.4.2
3
+ Version: 1.4.4
4
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
5
  Author-email: allykit Developer <hossein.moradian.ir@outlook.com>
6
6
  License-Expression: MIT
@@ -150,8 +150,8 @@ pwd = generate_strong_password(length=16)
150
150
  # Timed password (valid for 24 hours)
151
151
  timed_pwd = generate_timed_password(time='hours.24')
152
152
  tp = Time_Password(timed_pwd)
153
- print(f"Valid: {tp.is_valid()}")
154
- print(f"Remaining: {tp.remaining_time()}")
153
+ print(f"Valid: {tp.is_password_valid()}")
154
+ print(f"Remaining: {tp.time_remaining()}")
155
155
 
156
156
  # Check password strength
157
157
  reviewer = Review_Password(pwd)
@@ -250,18 +250,19 @@ driver = chrome(incognito=True, headless=False)
250
250
  auto = WebAutomation(driver)
251
251
 
252
252
  # Navigate and interact
253
- auto.goto("https://example.com")
253
+ auto.open("https://example.com")
254
254
  auto.click("#login-button")
255
- auto.type("#username", "myuser")
256
- auto.type("#password", "mypass")
257
- auto.submit("#login-form")
255
+ auto.send_keys("#username", "myuser")
256
+ auto.send_keys("#password", "mypass")
257
+
258
258
 
259
259
  # Cookie management
260
- from allykit import save_cookies, load_cookies, clear_expired_cookies
260
+ from allykit import Cookie
261
+
262
+ cookie = Cookie(driver, "cookies.pkl")
261
263
 
262
- save_cookies(driver, "cookies.pkl")
263
- load_cookies(driver, "cookies.pkl")
264
- clear_expired_cookies(driver)
264
+ cookie.save_cookies()
265
+ cookie.load_cookies()
265
266
  ```
266
267
 
267
268
  #### Scroll Management (`scroll_manager.py`) 🆕
@@ -416,9 +417,9 @@ info = get_process_info(1234)
416
417
  print(f"Name: {info['name']}, CPU: {info['cpu']}%")
417
418
 
418
419
  # Process manager class
419
- pm = ProcessManager()
420
- processes = pm.list_processes()
421
- chrome_processes = pm.find_processes("chrome")
420
+ pm = ProcessManager(process_name = "chrome")
421
+ processes = pm.kill_all()
422
+ chrome_processes = pm.is_running()
422
423
  ```
423
424
 
424
425
  #### Command Line (`Automobile/Cmd.py`, `powerShell.py`)
@@ -430,9 +431,9 @@ chrome_processes = pm.find_processes("chrome")
430
431
  from allykit import cmd, PowerShell
431
432
 
432
433
  # CMD operations
433
- cmd.run("dir")
434
- cmd.open_window()
435
- cmd.auto_type("echo Hello World")
434
+ cmd.cmd("dir")
435
+ cmd.open_cmd()
436
+ cmd.type_text("echo Hello World")
436
437
 
437
438
  # PowerShell operations
438
439
  ps = PowerShell()
@@ -460,7 +461,6 @@ git.push()
460
461
  py = Python()
461
462
  py.create_venv("venv")
462
463
  py.run_script("app.py")
463
- py.install_package("requests")
464
464
 
465
465
  # File operations
466
466
  file = File()
@@ -481,15 +481,14 @@ This module provides a reusable foundation layer for other components.
481
481
 
482
482
  ```python
483
483
  from allykit import (
484
- read_file, write_file, delete_file, get_file_metadata,
485
- str_choice_string, truncate_text, format_thousands,
484
+ read_file, write_file, remove_file,
485
+ str_choice_string, truncate, format_thousands,
486
486
  WorkFileJson
487
487
  )
488
488
 
489
489
  # File operations
490
490
  content = read_file("data.txt")
491
491
  write_file("output.txt", "Hello World")
492
- metadata = get_file_metadata("data.txt")
493
492
 
494
493
  # String utilities
495
494
  random_string = str_choice_string(length=10)
@@ -497,9 +496,9 @@ formatted = format_thousands(1234567) # "1,234,567"
497
496
 
498
497
  # JSON file management
499
498
  json_file = WorkFileJson("data.json")
500
- json_file.add({"name": "John", "age": 30})
501
- json_file.update({"name": "Jane"})
502
- data = json_file.search({"age": 30})
499
+ json_file.save({"name": "John", "age": 30})
500
+ json_file.update_dict({"name": "Jane"})
501
+ data = json_file.search_in_dict({"age": 30})
503
502
  json_file.save()
504
503
  ```
505
504
 
File without changes
File without changes