flyshell 1.4.4__tar.gz → 1.4.5__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.
- {flyshell-1.4.4/src/flyshell.egg-info → flyshell-1.4.5}/PKG-INFO +7 -7
- {flyshell-1.4.4 → flyshell-1.4.5}/README.md +6 -6
- {flyshell-1.4.4 → flyshell-1.4.5}/src/flyshell/constants.py +2 -2
- {flyshell-1.4.4 → flyshell-1.4.5/src/flyshell.egg-info}/PKG-INFO +7 -7
- {flyshell-1.4.4 → flyshell-1.4.5}/LICENSE +0 -0
- {flyshell-1.4.4 → flyshell-1.4.5}/MANIFEST.in +0 -0
- {flyshell-1.4.4 → flyshell-1.4.5}/c_src/diskops/diskops.c +0 -0
- {flyshell-1.4.4 → flyshell-1.4.5}/c_src/diskops/posix/cat.c +0 -0
- {flyshell-1.4.4 → flyshell-1.4.5}/c_src/diskops/posix/dir.c +0 -0
- {flyshell-1.4.4 → flyshell-1.4.5}/c_src/diskops/posix/touch.c +0 -0
- {flyshell-1.4.4 → flyshell-1.4.5}/c_src/diskops/shared/dir_types.c +0 -0
- {flyshell-1.4.4 → flyshell-1.4.5}/c_src/diskops/shared/dir_types.h +0 -0
- {flyshell-1.4.4 → flyshell-1.4.5}/c_src/diskops/shared/native_errors.h +0 -0
- {flyshell-1.4.4 → flyshell-1.4.5}/c_src/diskops/shared/win32_utf.h +0 -0
- {flyshell-1.4.4 → flyshell-1.4.5}/c_src/diskops/win32/cat.c +0 -0
- {flyshell-1.4.4 → flyshell-1.4.5}/c_src/diskops/win32/dir.c +0 -0
- {flyshell-1.4.4 → flyshell-1.4.5}/c_src/diskops/win32/touch.c +0 -0
- {flyshell-1.4.4 → flyshell-1.4.5}/pyproject.toml +0 -0
- {flyshell-1.4.4 → flyshell-1.4.5}/setup.cfg +0 -0
- {flyshell-1.4.4 → flyshell-1.4.5}/setup.py +0 -0
- {flyshell-1.4.4 → flyshell-1.4.5}/src/flyshell/__init__.py +0 -0
- {flyshell-1.4.4 → flyshell-1.4.5}/src/flyshell/abstract/__init__.py +0 -0
- {flyshell-1.4.4 → flyshell-1.4.5}/src/flyshell/abstract/base_cmd.py +0 -0
- {flyshell-1.4.4 → flyshell-1.4.5}/src/flyshell/abstract/base_plugin.py +0 -0
- {flyshell-1.4.4 → flyshell-1.4.5}/src/flyshell/abstract/parent_cmd.py +0 -0
- {flyshell-1.4.4 → flyshell-1.4.5}/src/flyshell/accounts/__init__.py +0 -0
- {flyshell-1.4.4 → flyshell-1.4.5}/src/flyshell/accounts/auth.py +0 -0
- {flyshell-1.4.4 → flyshell-1.4.5}/src/flyshell/bin/__init__.py +0 -0
- {flyshell-1.4.4 → flyshell-1.4.5}/src/flyshell/builtin/__init__.py +0 -0
- {flyshell-1.4.4 → flyshell-1.4.5}/src/flyshell/builtin/diskops.py +0 -0
- {flyshell-1.4.4 → flyshell-1.4.5}/src/flyshell/builtin/fs.py +0 -0
- {flyshell-1.4.4 → flyshell-1.4.5}/src/flyshell/builtin/pkg.py +0 -0
- {flyshell-1.4.4 → flyshell-1.4.5}/src/flyshell/builtin/system.py +0 -0
- {flyshell-1.4.4 → flyshell-1.4.5}/src/flyshell/builtin/utils.py +0 -0
- {flyshell-1.4.4 → flyshell-1.4.5}/src/flyshell/core/__init__.py +0 -0
- {flyshell-1.4.4 → flyshell-1.4.5}/src/flyshell/core/console.py +0 -0
- {flyshell-1.4.4 → flyshell-1.4.5}/src/flyshell/core/data.py +0 -0
- {flyshell-1.4.4 → flyshell-1.4.5}/src/flyshell/core/directory.py +0 -0
- {flyshell-1.4.4 → flyshell-1.4.5}/src/flyshell/main.py +0 -0
- {flyshell-1.4.4 → flyshell-1.4.5}/src/flyshell/native/__init__.py +0 -0
- {flyshell-1.4.4 → flyshell-1.4.5}/src/flyshell/native/diskops_bridge.py +0 -0
- {flyshell-1.4.4 → flyshell-1.4.5}/src/flyshell/native/diskops_handler.py +0 -0
- {flyshell-1.4.4 → flyshell-1.4.5}/src/flyshell/native/legacy/__init__.py +0 -0
- {flyshell-1.4.4 → flyshell-1.4.5}/src/flyshell/native/legacy/diskops.py +0 -0
- {flyshell-1.4.4 → flyshell-1.4.5}/src/flyshell/startup/__init__.py +0 -0
- {flyshell-1.4.4 → flyshell-1.4.5}/src/flyshell/startup/deps.py +0 -0
- {flyshell-1.4.4 → flyshell-1.4.5}/src/flyshell/startup/env.py +0 -0
- {flyshell-1.4.4 → flyshell-1.4.5}/src/flyshell/startup/loader.py +0 -0
- {flyshell-1.4.4 → flyshell-1.4.5}/src/flyshell.egg-info/SOURCES.txt +0 -0
- {flyshell-1.4.4 → flyshell-1.4.5}/src/flyshell.egg-info/dependency_links.txt +0 -0
- {flyshell-1.4.4 → flyshell-1.4.5}/src/flyshell.egg-info/entry_points.txt +0 -0
- {flyshell-1.4.4 → flyshell-1.4.5}/src/flyshell.egg-info/requires.txt +0 -0
- {flyshell-1.4.4 → flyshell-1.4.5}/src/flyshell.egg-info/top_level.txt +0 -0
- {flyshell-1.4.4 → flyshell-1.4.5}/tests/test_auth.py +0 -0
- {flyshell-1.4.4 → flyshell-1.4.5}/tests/test_data.py +0 -0
- {flyshell-1.4.4 → flyshell-1.4.5}/tests/test_deps.py +0 -0
- {flyshell-1.4.4 → flyshell-1.4.5}/tests/test_directory.py +0 -0
- {flyshell-1.4.4 → flyshell-1.4.5}/tests/test_diskops_ext.py +0 -0
- {flyshell-1.4.4 → flyshell-1.4.5}/tests/test_diskops_lgc.py +0 -0
- {flyshell-1.4.4 → flyshell-1.4.5}/tests/test_diskops_old.py +0 -0
- {flyshell-1.4.4 → flyshell-1.4.5}/tests/test_env.py +0 -0
- {flyshell-1.4.4 → flyshell-1.4.5}/tests/test_fs.py +0 -0
- {flyshell-1.4.4 → flyshell-1.4.5}/tests/test_loader.py +0 -0
- {flyshell-1.4.4 → flyshell-1.4.5}/tests/test_pkg.py +0 -0
- {flyshell-1.4.4 → flyshell-1.4.5}/tests/test_security.py +0 -0
- {flyshell-1.4.4 → flyshell-1.4.5}/tests/test_utils.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: flyshell
|
|
3
|
-
Version: 1.4.
|
|
3
|
+
Version: 1.4.5
|
|
4
4
|
Summary: A modular, zero-dependency command-line environment in Python.
|
|
5
5
|
License-Expression: MIT
|
|
6
6
|
Requires-Python: >=3.10
|
|
@@ -23,7 +23,7 @@ Dynamic: license-file
|
|
|
23
23
|

|
|
24
24
|

|
|
25
25
|
|
|
26
|
-
> Documentation last updated: v1.4.
|
|
26
|
+
> Documentation last updated: v1.4.5
|
|
27
27
|
|
|
28
28
|
A modular, zero-dependency command-line environment and extensible runtime interface built in Python with compiled C-extensions.
|
|
29
29
|
|
|
@@ -177,7 +177,7 @@ All plugins must have an entry-point file. For single-file plugins, this is the
|
|
|
177
177
|
This file is what enables Flyshell to speak to your plugin.
|
|
178
178
|
|
|
179
179
|
```python
|
|
180
|
-
# Entry-point (my_plugin.py or my_plugin
|
|
180
|
+
# Entry-point (my_plugin.py or my_plugin/plugin.py)
|
|
181
181
|
|
|
182
182
|
from flyshell import BasePlugin # This is required
|
|
183
183
|
|
|
@@ -186,11 +186,11 @@ class MyPlugin(BasePlugin):
|
|
|
186
186
|
description = "This is my plugin." # A short one-line explaining what your plugin does
|
|
187
187
|
version = "1.0.0" # Default is 1.0.0
|
|
188
188
|
author = "kianodev" # You can put your name, your GitHub handle, or leave blank to make it 'Unknown'
|
|
189
|
-
|
|
189
|
+
identifier = "" # (OPTIONAL) Alternative name for your plugin command (defaults to dir / file name)
|
|
190
190
|
usage = "" # (OPTIONAL) Explain how to use your plugin
|
|
191
191
|
extended_help = "" # (OPTIONAL) A more detailed, multi-line guide containing specific assistance
|
|
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
|
|
193
|
-
third_pty_libs = [] # (OPTIONAL) Define all required third party libraries / dependencies here. Use their Python import names as this is how Flyshell checks them
|
|
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
|
|
193
|
+
third_pty_libs = [] # (OPTIONAL) Define all required third party libraries / dependencies here. Use their Python import names as this is how Flyshell checks them
|
|
194
194
|
|
|
195
195
|
def on_load(self): # (OPTIONAL) Enables your program to handle specialist set-up tasks before execute()
|
|
196
196
|
pass
|
|
@@ -211,7 +211,7 @@ Additional functions are available for you to use:
|
|
|
211
211
|
2. `set_data(key, value)`: Updates a key in local memory and automatically persists it to SQLite via `save_storage()`.
|
|
212
212
|
3. `load_storage()`: Reloads fresh key-value pairs directly from SQLite into `self.storage`.
|
|
213
213
|
4. `save_storage()`: Writes all in-memory key-value pairs in `self.storage` back to SQLite.
|
|
214
|
-
5. `get_api_key(
|
|
214
|
+
5. `get_api_key(self, default=None)`: Fetches the specified API key from `flyshell_keys.env`.
|
|
215
215
|
|
|
216
216
|
Plugins save automatically on shut-down.
|
|
217
217
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|

|
|
7
7
|

|
|
8
8
|
|
|
9
|
-
> Documentation last updated: v1.4.
|
|
9
|
+
> Documentation last updated: v1.4.5
|
|
10
10
|
|
|
11
11
|
A modular, zero-dependency command-line environment and extensible runtime interface built in Python with compiled C-extensions.
|
|
12
12
|
|
|
@@ -160,7 +160,7 @@ All plugins must have an entry-point file. For single-file plugins, this is the
|
|
|
160
160
|
This file is what enables Flyshell to speak to your plugin.
|
|
161
161
|
|
|
162
162
|
```python
|
|
163
|
-
# Entry-point (my_plugin.py or my_plugin
|
|
163
|
+
# Entry-point (my_plugin.py or my_plugin/plugin.py)
|
|
164
164
|
|
|
165
165
|
from flyshell import BasePlugin # This is required
|
|
166
166
|
|
|
@@ -169,11 +169,11 @@ class MyPlugin(BasePlugin):
|
|
|
169
169
|
description = "This is my plugin." # A short one-line explaining what your plugin does
|
|
170
170
|
version = "1.0.0" # Default is 1.0.0
|
|
171
171
|
author = "kianodev" # You can put your name, your GitHub handle, or leave blank to make it 'Unknown'
|
|
172
|
-
|
|
172
|
+
identifier = "" # (OPTIONAL) Alternative name for your plugin command (defaults to dir / file name)
|
|
173
173
|
usage = "" # (OPTIONAL) Explain how to use your plugin
|
|
174
174
|
extended_help = "" # (OPTIONAL) A more detailed, multi-line guide containing specific assistance
|
|
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
|
|
176
|
-
third_pty_libs = [] # (OPTIONAL) Define all required third party libraries / dependencies here. Use their Python import names as this is how Flyshell checks them
|
|
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
|
|
176
|
+
third_pty_libs = [] # (OPTIONAL) Define all required third party libraries / dependencies here. Use their Python import names as this is how Flyshell checks them
|
|
177
177
|
|
|
178
178
|
def on_load(self): # (OPTIONAL) Enables your program to handle specialist set-up tasks before execute()
|
|
179
179
|
pass
|
|
@@ -194,7 +194,7 @@ Additional functions are available for you to use:
|
|
|
194
194
|
2. `set_data(key, value)`: Updates a key in local memory and automatically persists it to SQLite via `save_storage()`.
|
|
195
195
|
3. `load_storage()`: Reloads fresh key-value pairs directly from SQLite into `self.storage`.
|
|
196
196
|
4. `save_storage()`: Writes all in-memory key-value pairs in `self.storage` back to SQLite.
|
|
197
|
-
5. `get_api_key(
|
|
197
|
+
5. `get_api_key(self, default=None)`: Fetches the specified API key from `flyshell_keys.env`.
|
|
198
198
|
|
|
199
199
|
Plugins save automatically on shut-down.
|
|
200
200
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: flyshell
|
|
3
|
-
Version: 1.4.
|
|
3
|
+
Version: 1.4.5
|
|
4
4
|
Summary: A modular, zero-dependency command-line environment in Python.
|
|
5
5
|
License-Expression: MIT
|
|
6
6
|
Requires-Python: >=3.10
|
|
@@ -23,7 +23,7 @@ Dynamic: license-file
|
|
|
23
23
|

|
|
24
24
|

|
|
25
25
|
|
|
26
|
-
> Documentation last updated: v1.4.
|
|
26
|
+
> Documentation last updated: v1.4.5
|
|
27
27
|
|
|
28
28
|
A modular, zero-dependency command-line environment and extensible runtime interface built in Python with compiled C-extensions.
|
|
29
29
|
|
|
@@ -177,7 +177,7 @@ All plugins must have an entry-point file. For single-file plugins, this is the
|
|
|
177
177
|
This file is what enables Flyshell to speak to your plugin.
|
|
178
178
|
|
|
179
179
|
```python
|
|
180
|
-
# Entry-point (my_plugin.py or my_plugin
|
|
180
|
+
# Entry-point (my_plugin.py or my_plugin/plugin.py)
|
|
181
181
|
|
|
182
182
|
from flyshell import BasePlugin # This is required
|
|
183
183
|
|
|
@@ -186,11 +186,11 @@ class MyPlugin(BasePlugin):
|
|
|
186
186
|
description = "This is my plugin." # A short one-line explaining what your plugin does
|
|
187
187
|
version = "1.0.0" # Default is 1.0.0
|
|
188
188
|
author = "kianodev" # You can put your name, your GitHub handle, or leave blank to make it 'Unknown'
|
|
189
|
-
|
|
189
|
+
identifier = "" # (OPTIONAL) Alternative name for your plugin command (defaults to dir / file name)
|
|
190
190
|
usage = "" # (OPTIONAL) Explain how to use your plugin
|
|
191
191
|
extended_help = "" # (OPTIONAL) A more detailed, multi-line guide containing specific assistance
|
|
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
|
|
193
|
-
third_pty_libs = [] # (OPTIONAL) Define all required third party libraries / dependencies here. Use their Python import names as this is how Flyshell checks them
|
|
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
|
|
193
|
+
third_pty_libs = [] # (OPTIONAL) Define all required third party libraries / dependencies here. Use their Python import names as this is how Flyshell checks them
|
|
194
194
|
|
|
195
195
|
def on_load(self): # (OPTIONAL) Enables your program to handle specialist set-up tasks before execute()
|
|
196
196
|
pass
|
|
@@ -211,7 +211,7 @@ Additional functions are available for you to use:
|
|
|
211
211
|
2. `set_data(key, value)`: Updates a key in local memory and automatically persists it to SQLite via `save_storage()`.
|
|
212
212
|
3. `load_storage()`: Reloads fresh key-value pairs directly from SQLite into `self.storage`.
|
|
213
213
|
4. `save_storage()`: Writes all in-memory key-value pairs in `self.storage` back to SQLite.
|
|
214
|
-
5. `get_api_key(
|
|
214
|
+
5. `get_api_key(self, default=None)`: Fetches the specified API key from `flyshell_keys.env`.
|
|
215
215
|
|
|
216
216
|
Plugins save automatically on shut-down.
|
|
217
217
|
|
|
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
|
|
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
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|