flyshell 1.3.13__tar.gz → 1.4.0__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 (65) hide show
  1. {flyshell-1.3.13/src/flyshell.egg-info → flyshell-1.4.0}/PKG-INFO +28 -6
  2. {flyshell-1.3.13 → flyshell-1.4.0}/README.md +27 -5
  3. {flyshell-1.3.13 → flyshell-1.4.0}/src/flyshell/constants.py +2 -2
  4. {flyshell-1.3.13 → flyshell-1.4.0/src/flyshell.egg-info}/PKG-INFO +28 -6
  5. {flyshell-1.3.13 → flyshell-1.4.0}/LICENSE +0 -0
  6. {flyshell-1.3.13 → flyshell-1.4.0}/MANIFEST.in +0 -0
  7. {flyshell-1.3.13 → flyshell-1.4.0}/c_src/diskops/diskops.c +0 -0
  8. {flyshell-1.3.13 → flyshell-1.4.0}/c_src/diskops/posix/cat.c +0 -0
  9. {flyshell-1.3.13 → flyshell-1.4.0}/c_src/diskops/posix/dir.c +0 -0
  10. {flyshell-1.3.13 → flyshell-1.4.0}/c_src/diskops/posix/touch.c +0 -0
  11. {flyshell-1.3.13 → flyshell-1.4.0}/c_src/diskops/shared/dir_types.c +0 -0
  12. {flyshell-1.3.13 → flyshell-1.4.0}/c_src/diskops/shared/dir_types.h +0 -0
  13. {flyshell-1.3.13 → flyshell-1.4.0}/c_src/diskops/shared/native_errors.h +0 -0
  14. {flyshell-1.3.13 → flyshell-1.4.0}/c_src/diskops/win32/cat.c +0 -0
  15. {flyshell-1.3.13 → flyshell-1.4.0}/c_src/diskops/win32/dir.c +0 -0
  16. {flyshell-1.3.13 → flyshell-1.4.0}/c_src/diskops/win32/touch.c +0 -0
  17. {flyshell-1.3.13 → flyshell-1.4.0}/pyproject.toml +0 -0
  18. {flyshell-1.3.13 → flyshell-1.4.0}/setup.cfg +0 -0
  19. {flyshell-1.3.13 → flyshell-1.4.0}/setup.py +0 -0
  20. {flyshell-1.3.13 → flyshell-1.4.0}/src/flyshell/__init__.py +0 -0
  21. {flyshell-1.3.13 → flyshell-1.4.0}/src/flyshell/abstract/__init__.py +0 -0
  22. {flyshell-1.3.13 → flyshell-1.4.0}/src/flyshell/abstract/base_cmd.py +0 -0
  23. {flyshell-1.3.13 → flyshell-1.4.0}/src/flyshell/abstract/base_plugin.py +0 -0
  24. {flyshell-1.3.13 → flyshell-1.4.0}/src/flyshell/abstract/parent_cmd.py +0 -0
  25. {flyshell-1.3.13 → flyshell-1.4.0}/src/flyshell/accounts/__init__.py +0 -0
  26. {flyshell-1.3.13 → flyshell-1.4.0}/src/flyshell/accounts/auth.py +0 -0
  27. {flyshell-1.3.13 → flyshell-1.4.0}/src/flyshell/bin/__init__.py +0 -0
  28. {flyshell-1.3.13 → flyshell-1.4.0}/src/flyshell/builtin/__init__.py +0 -0
  29. {flyshell-1.3.13 → flyshell-1.4.0}/src/flyshell/builtin/diskops.py +0 -0
  30. {flyshell-1.3.13 → flyshell-1.4.0}/src/flyshell/builtin/fs.py +0 -0
  31. {flyshell-1.3.13 → flyshell-1.4.0}/src/flyshell/builtin/pkg.py +0 -0
  32. {flyshell-1.3.13 → flyshell-1.4.0}/src/flyshell/builtin/system.py +0 -0
  33. {flyshell-1.3.13 → flyshell-1.4.0}/src/flyshell/builtin/utils.py +0 -0
  34. {flyshell-1.3.13 → flyshell-1.4.0}/src/flyshell/core/__init__.py +0 -0
  35. {flyshell-1.3.13 → flyshell-1.4.0}/src/flyshell/core/console.py +0 -0
  36. {flyshell-1.3.13 → flyshell-1.4.0}/src/flyshell/core/data.py +0 -0
  37. {flyshell-1.3.13 → flyshell-1.4.0}/src/flyshell/core/directory.py +0 -0
  38. {flyshell-1.3.13 → flyshell-1.4.0}/src/flyshell/main.py +0 -0
  39. {flyshell-1.3.13 → flyshell-1.4.0}/src/flyshell/native/__init__.py +0 -0
  40. {flyshell-1.3.13 → flyshell-1.4.0}/src/flyshell/native/diskops_bridge.py +0 -0
  41. {flyshell-1.3.13 → flyshell-1.4.0}/src/flyshell/native/diskops_handler.py +0 -0
  42. {flyshell-1.3.13 → flyshell-1.4.0}/src/flyshell/native/legacy/__init__.py +0 -0
  43. {flyshell-1.3.13 → flyshell-1.4.0}/src/flyshell/native/legacy/diskops.py +0 -0
  44. {flyshell-1.3.13 → flyshell-1.4.0}/src/flyshell/startup/__init__.py +0 -0
  45. {flyshell-1.3.13 → flyshell-1.4.0}/src/flyshell/startup/deps.py +0 -0
  46. {flyshell-1.3.13 → flyshell-1.4.0}/src/flyshell/startup/env.py +0 -0
  47. {flyshell-1.3.13 → flyshell-1.4.0}/src/flyshell/startup/loader.py +0 -0
  48. {flyshell-1.3.13 → flyshell-1.4.0}/src/flyshell.egg-info/SOURCES.txt +0 -0
  49. {flyshell-1.3.13 → flyshell-1.4.0}/src/flyshell.egg-info/dependency_links.txt +0 -0
  50. {flyshell-1.3.13 → flyshell-1.4.0}/src/flyshell.egg-info/entry_points.txt +0 -0
  51. {flyshell-1.3.13 → flyshell-1.4.0}/src/flyshell.egg-info/requires.txt +0 -0
  52. {flyshell-1.3.13 → flyshell-1.4.0}/src/flyshell.egg-info/top_level.txt +0 -0
  53. {flyshell-1.3.13 → flyshell-1.4.0}/tests/test_auth.py +0 -0
  54. {flyshell-1.3.13 → flyshell-1.4.0}/tests/test_data.py +0 -0
  55. {flyshell-1.3.13 → flyshell-1.4.0}/tests/test_deps.py +0 -0
  56. {flyshell-1.3.13 → flyshell-1.4.0}/tests/test_directory.py +0 -0
  57. {flyshell-1.3.13 → flyshell-1.4.0}/tests/test_diskops_ext.py +0 -0
  58. {flyshell-1.3.13 → flyshell-1.4.0}/tests/test_diskops_lgc.py +0 -0
  59. {flyshell-1.3.13 → flyshell-1.4.0}/tests/test_diskops_old.py +0 -0
  60. {flyshell-1.3.13 → flyshell-1.4.0}/tests/test_env.py +0 -0
  61. {flyshell-1.3.13 → flyshell-1.4.0}/tests/test_fs.py +0 -0
  62. {flyshell-1.3.13 → flyshell-1.4.0}/tests/test_loader.py +0 -0
  63. {flyshell-1.3.13 → flyshell-1.4.0}/tests/test_pkg.py +0 -0
  64. {flyshell-1.3.13 → flyshell-1.4.0}/tests/test_security.py +0 -0
  65. {flyshell-1.3.13 → flyshell-1.4.0}/tests/test_utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: flyshell
3
- Version: 1.3.13
3
+ Version: 1.4.0
4
4
  Summary: A modular, zero-dependency command-line environment in Python.
5
5
  License-Expression: MIT
6
6
  Requires-Python: >=3.10
@@ -23,11 +23,11 @@ Dynamic: license-file
23
23
  ![Dependencies](https://img.shields.io/badge/dependencies-zero-brightgreen.svg)
24
24
  ![Tests](https://github.com/kianodev/flyshell/actions/workflows/build.yml/badge.svg)
25
25
 
26
- > Documentation last updated: v1.3.0
26
+ > Documentation last updated: v1.4.0
27
27
 
28
- A modular, zero-dependency command-line environment and extensible runtime interface built in Python.
28
+ A modular, zero-dependency command-line environment and extensible runtime interface built in Python with compiled C-extensions.
29
29
 
30
- Flyshell provides a modular, extensible shell environment featuring dynamic runtime plugin loading, session persistence, secure authentication, and cross-platform process isolation, using only Python standard libraries.
30
+ Flyshell provides a modular, extensible shell environment featuring dynamic runtime plugin loading, session persistence, secure authentication, and cross-platform process isolation, using only standard libraries.
31
31
 
32
32
  No extra packages required, just install and enjoy!
33
33
 
@@ -38,6 +38,7 @@ No extra packages required, just install and enjoy!
38
38
  3. **Secure Authentication**: Flyshell uses salted PBKDF2 HMAC (SHA-256, 600,000 iterations) with constant-time equality comparisons to prevent timing attacks on password information.
39
39
  4. **Cross-Platform Support**: Flyshell is fully supported by Windows (NT), macOS (Darwin) and Linux installations with native OS management and POSIX-aware parsing. Note that Flyshell is **not** supported by any other systems.
40
40
  5. **State and History Persistence**: Flyshell has a fully encapsulated SQL storage system using SQLite3 providing session metrics and ISO 8601 UTC audit logging.
41
+ 6. **Automatic C-Extension Compilation**: If installed via `pip`, Flyshell is distributed with more than 20 wheels suitable for most builds of popular operating systems.
41
42
 
42
43
  ## System Requirements
43
44
 
@@ -54,6 +55,11 @@ src/
54
55
  │ ├── base_cmd.py
55
56
  │ ├── base_plugin.py
56
57
  │ └── parent_cmd.py
58
+ ├── accounts/
59
+ │ ├── __init__.py
60
+ │ └── auth.py
61
+ ├── bin/
62
+ │ └── __init__.py
57
63
  ├── builtin/
58
64
  │ ├── __init__.py
59
65
  │ ├── diskops.py
@@ -63,11 +69,19 @@ src/
63
69
  │ └── utils.py
64
70
  ├── core/
65
71
  │ ├── __init__.py
66
- │ ├── auth.py
67
72
  │ ├── console.py
68
73
  │ ├── data.py
74
+ │ └── directory.py
75
+ ├── native/
76
+ │ ├── legacy/
77
+ │ │ ├── __init__.py
78
+ │ │ └── diskops.py
79
+ │ ├── __init__.py
80
+ │ ├── diskops_bridge.py
81
+ │ └── diskops_handler.py
82
+ ├── startup/
83
+ │ ├── __init__.py
69
84
  │ ├── deps.py
70
- │ ├── directory.py
71
85
  │ ├── env.py
72
86
  │ └── loader.py
73
87
  ├── __init__.py
@@ -75,6 +89,8 @@ src/
75
89
  └── main.py
76
90
  ```
77
91
 
92
+ For a full tree, please see `docs/project_structure.md`.
93
+
78
94
  ## Installing Flyshell
79
95
 
80
96
  There are two methods to install Flyshell.
@@ -104,6 +120,11 @@ cd flyshell
104
120
  pip install -e .
105
121
  ```
106
122
 
123
+ Flyshell now uses C-binaries, you must compile these:
124
+ ```bash
125
+ python setup.py build_ext --inplace
126
+ ```
127
+
107
128
  After this, you can simply run Flyshell:
108
129
  ```bash
109
130
  flyshell
@@ -165,6 +186,7 @@ class MyPlugin(BasePlugin):
165
186
  description = "This is my plugin." # A short one-line explaining what your plugin does
166
187
  version = "1.0.0" # Default is 1.0.0
167
188
  author = "kianodev" # You can put your name, your GitHub handle, or leave blank to make it 'Unknown'
189
+ identifier = "" # (OPTIONAL) Alternative name for your plugin command (defaults to dir / file name)
168
190
  usage = "" # (OPTIONAL) Explain how to use your plugin
169
191
  extended_help = "" # (OPTIONAL) A more detailed, multi-line guide containing specific assistance
170
192
  api_keys = [] # (OPTIONAL) Define any required key names here. Use get_api_key(key_name) to call the key. Please add all keys in CAPITALS.
@@ -6,11 +6,11 @@
6
6
  ![Dependencies](https://img.shields.io/badge/dependencies-zero-brightgreen.svg)
7
7
  ![Tests](https://github.com/kianodev/flyshell/actions/workflows/build.yml/badge.svg)
8
8
 
9
- > Documentation last updated: v1.3.0
9
+ > Documentation last updated: v1.4.0
10
10
 
11
- A modular, zero-dependency command-line environment and extensible runtime interface built in Python.
11
+ A modular, zero-dependency command-line environment and extensible runtime interface built in Python with compiled C-extensions.
12
12
 
13
- Flyshell provides a modular, extensible shell environment featuring dynamic runtime plugin loading, session persistence, secure authentication, and cross-platform process isolation, using only Python standard libraries.
13
+ Flyshell provides a modular, extensible shell environment featuring dynamic runtime plugin loading, session persistence, secure authentication, and cross-platform process isolation, using only standard libraries.
14
14
 
15
15
  No extra packages required, just install and enjoy!
16
16
 
@@ -21,6 +21,7 @@ No extra packages required, just install and enjoy!
21
21
  3. **Secure Authentication**: Flyshell uses salted PBKDF2 HMAC (SHA-256, 600,000 iterations) with constant-time equality comparisons to prevent timing attacks on password information.
22
22
  4. **Cross-Platform Support**: Flyshell is fully supported by Windows (NT), macOS (Darwin) and Linux installations with native OS management and POSIX-aware parsing. Note that Flyshell is **not** supported by any other systems.
23
23
  5. **State and History Persistence**: Flyshell has a fully encapsulated SQL storage system using SQLite3 providing session metrics and ISO 8601 UTC audit logging.
24
+ 6. **Automatic C-Extension Compilation**: If installed via `pip`, Flyshell is distributed with more than 20 wheels suitable for most builds of popular operating systems.
24
25
 
25
26
  ## System Requirements
26
27
 
@@ -37,6 +38,11 @@ src/
37
38
  │ ├── base_cmd.py
38
39
  │ ├── base_plugin.py
39
40
  │ └── parent_cmd.py
41
+ ├── accounts/
42
+ │ ├── __init__.py
43
+ │ └── auth.py
44
+ ├── bin/
45
+ │ └── __init__.py
40
46
  ├── builtin/
41
47
  │ ├── __init__.py
42
48
  │ ├── diskops.py
@@ -46,11 +52,19 @@ src/
46
52
  │ └── utils.py
47
53
  ├── core/
48
54
  │ ├── __init__.py
49
- │ ├── auth.py
50
55
  │ ├── console.py
51
56
  │ ├── data.py
57
+ │ └── directory.py
58
+ ├── native/
59
+ │ ├── legacy/
60
+ │ │ ├── __init__.py
61
+ │ │ └── diskops.py
62
+ │ ├── __init__.py
63
+ │ ├── diskops_bridge.py
64
+ │ └── diskops_handler.py
65
+ ├── startup/
66
+ │ ├── __init__.py
52
67
  │ ├── deps.py
53
- │ ├── directory.py
54
68
  │ ├── env.py
55
69
  │ └── loader.py
56
70
  ├── __init__.py
@@ -58,6 +72,8 @@ src/
58
72
  └── main.py
59
73
  ```
60
74
 
75
+ For a full tree, please see `docs/project_structure.md`.
76
+
61
77
  ## Installing Flyshell
62
78
 
63
79
  There are two methods to install Flyshell.
@@ -87,6 +103,11 @@ cd flyshell
87
103
  pip install -e .
88
104
  ```
89
105
 
106
+ Flyshell now uses C-binaries, you must compile these:
107
+ ```bash
108
+ python setup.py build_ext --inplace
109
+ ```
110
+
90
111
  After this, you can simply run Flyshell:
91
112
  ```bash
92
113
  flyshell
@@ -148,6 +169,7 @@ class MyPlugin(BasePlugin):
148
169
  description = "This is my plugin." # A short one-line explaining what your plugin does
149
170
  version = "1.0.0" # Default is 1.0.0
150
171
  author = "kianodev" # You can put your name, your GitHub handle, or leave blank to make it 'Unknown'
172
+ identifier = "" # (OPTIONAL) Alternative name for your plugin command (defaults to dir / file name)
151
173
  usage = "" # (OPTIONAL) Explain how to use your plugin
152
174
  extended_help = "" # (OPTIONAL) A more detailed, multi-line guide containing specific assistance
153
175
  api_keys = [] # (OPTIONAL) Define any required key names here. Use get_api_key(key_name) to call the key. Please add all keys in CAPITALS.
@@ -5,8 +5,8 @@ import os
5
5
  import platform
6
6
  import time
7
7
 
8
- BUILD = 153
9
- VERSION = "1.3.13"
8
+ BUILD = 154
9
+ VERSION = "1.4.0"
10
10
 
11
11
 
12
12
  def _resolve_app_dir() -> Path:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: flyshell
3
- Version: 1.3.13
3
+ Version: 1.4.0
4
4
  Summary: A modular, zero-dependency command-line environment in Python.
5
5
  License-Expression: MIT
6
6
  Requires-Python: >=3.10
@@ -23,11 +23,11 @@ Dynamic: license-file
23
23
  ![Dependencies](https://img.shields.io/badge/dependencies-zero-brightgreen.svg)
24
24
  ![Tests](https://github.com/kianodev/flyshell/actions/workflows/build.yml/badge.svg)
25
25
 
26
- > Documentation last updated: v1.3.0
26
+ > Documentation last updated: v1.4.0
27
27
 
28
- A modular, zero-dependency command-line environment and extensible runtime interface built in Python.
28
+ A modular, zero-dependency command-line environment and extensible runtime interface built in Python with compiled C-extensions.
29
29
 
30
- Flyshell provides a modular, extensible shell environment featuring dynamic runtime plugin loading, session persistence, secure authentication, and cross-platform process isolation, using only Python standard libraries.
30
+ Flyshell provides a modular, extensible shell environment featuring dynamic runtime plugin loading, session persistence, secure authentication, and cross-platform process isolation, using only standard libraries.
31
31
 
32
32
  No extra packages required, just install and enjoy!
33
33
 
@@ -38,6 +38,7 @@ No extra packages required, just install and enjoy!
38
38
  3. **Secure Authentication**: Flyshell uses salted PBKDF2 HMAC (SHA-256, 600,000 iterations) with constant-time equality comparisons to prevent timing attacks on password information.
39
39
  4. **Cross-Platform Support**: Flyshell is fully supported by Windows (NT), macOS (Darwin) and Linux installations with native OS management and POSIX-aware parsing. Note that Flyshell is **not** supported by any other systems.
40
40
  5. **State and History Persistence**: Flyshell has a fully encapsulated SQL storage system using SQLite3 providing session metrics and ISO 8601 UTC audit logging.
41
+ 6. **Automatic C-Extension Compilation**: If installed via `pip`, Flyshell is distributed with more than 20 wheels suitable for most builds of popular operating systems.
41
42
 
42
43
  ## System Requirements
43
44
 
@@ -54,6 +55,11 @@ src/
54
55
  │ ├── base_cmd.py
55
56
  │ ├── base_plugin.py
56
57
  │ └── parent_cmd.py
58
+ ├── accounts/
59
+ │ ├── __init__.py
60
+ │ └── auth.py
61
+ ├── bin/
62
+ │ └── __init__.py
57
63
  ├── builtin/
58
64
  │ ├── __init__.py
59
65
  │ ├── diskops.py
@@ -63,11 +69,19 @@ src/
63
69
  │ └── utils.py
64
70
  ├── core/
65
71
  │ ├── __init__.py
66
- │ ├── auth.py
67
72
  │ ├── console.py
68
73
  │ ├── data.py
74
+ │ └── directory.py
75
+ ├── native/
76
+ │ ├── legacy/
77
+ │ │ ├── __init__.py
78
+ │ │ └── diskops.py
79
+ │ ├── __init__.py
80
+ │ ├── diskops_bridge.py
81
+ │ └── diskops_handler.py
82
+ ├── startup/
83
+ │ ├── __init__.py
69
84
  │ ├── deps.py
70
- │ ├── directory.py
71
85
  │ ├── env.py
72
86
  │ └── loader.py
73
87
  ├── __init__.py
@@ -75,6 +89,8 @@ src/
75
89
  └── main.py
76
90
  ```
77
91
 
92
+ For a full tree, please see `docs/project_structure.md`.
93
+
78
94
  ## Installing Flyshell
79
95
 
80
96
  There are two methods to install Flyshell.
@@ -104,6 +120,11 @@ cd flyshell
104
120
  pip install -e .
105
121
  ```
106
122
 
123
+ Flyshell now uses C-binaries, you must compile these:
124
+ ```bash
125
+ python setup.py build_ext --inplace
126
+ ```
127
+
107
128
  After this, you can simply run Flyshell:
108
129
  ```bash
109
130
  flyshell
@@ -165,6 +186,7 @@ class MyPlugin(BasePlugin):
165
186
  description = "This is my plugin." # A short one-line explaining what your plugin does
166
187
  version = "1.0.0" # Default is 1.0.0
167
188
  author = "kianodev" # You can put your name, your GitHub handle, or leave blank to make it 'Unknown'
189
+ identifier = "" # (OPTIONAL) Alternative name for your plugin command (defaults to dir / file name)
168
190
  usage = "" # (OPTIONAL) Explain how to use your plugin
169
191
  extended_help = "" # (OPTIONAL) A more detailed, multi-line guide containing specific assistance
170
192
  api_keys = [] # (OPTIONAL) Define any required key names here. Use get_api_key(key_name) to call the key. Please add all keys in CAPITALS.
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes