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.
Files changed (66) hide show
  1. {flyshell-1.4.4/src/flyshell.egg-info → flyshell-1.4.5}/PKG-INFO +7 -7
  2. {flyshell-1.4.4 → flyshell-1.4.5}/README.md +6 -6
  3. {flyshell-1.4.4 → flyshell-1.4.5}/src/flyshell/constants.py +2 -2
  4. {flyshell-1.4.4 → flyshell-1.4.5/src/flyshell.egg-info}/PKG-INFO +7 -7
  5. {flyshell-1.4.4 → flyshell-1.4.5}/LICENSE +0 -0
  6. {flyshell-1.4.4 → flyshell-1.4.5}/MANIFEST.in +0 -0
  7. {flyshell-1.4.4 → flyshell-1.4.5}/c_src/diskops/diskops.c +0 -0
  8. {flyshell-1.4.4 → flyshell-1.4.5}/c_src/diskops/posix/cat.c +0 -0
  9. {flyshell-1.4.4 → flyshell-1.4.5}/c_src/diskops/posix/dir.c +0 -0
  10. {flyshell-1.4.4 → flyshell-1.4.5}/c_src/diskops/posix/touch.c +0 -0
  11. {flyshell-1.4.4 → flyshell-1.4.5}/c_src/diskops/shared/dir_types.c +0 -0
  12. {flyshell-1.4.4 → flyshell-1.4.5}/c_src/diskops/shared/dir_types.h +0 -0
  13. {flyshell-1.4.4 → flyshell-1.4.5}/c_src/diskops/shared/native_errors.h +0 -0
  14. {flyshell-1.4.4 → flyshell-1.4.5}/c_src/diskops/shared/win32_utf.h +0 -0
  15. {flyshell-1.4.4 → flyshell-1.4.5}/c_src/diskops/win32/cat.c +0 -0
  16. {flyshell-1.4.4 → flyshell-1.4.5}/c_src/diskops/win32/dir.c +0 -0
  17. {flyshell-1.4.4 → flyshell-1.4.5}/c_src/diskops/win32/touch.c +0 -0
  18. {flyshell-1.4.4 → flyshell-1.4.5}/pyproject.toml +0 -0
  19. {flyshell-1.4.4 → flyshell-1.4.5}/setup.cfg +0 -0
  20. {flyshell-1.4.4 → flyshell-1.4.5}/setup.py +0 -0
  21. {flyshell-1.4.4 → flyshell-1.4.5}/src/flyshell/__init__.py +0 -0
  22. {flyshell-1.4.4 → flyshell-1.4.5}/src/flyshell/abstract/__init__.py +0 -0
  23. {flyshell-1.4.4 → flyshell-1.4.5}/src/flyshell/abstract/base_cmd.py +0 -0
  24. {flyshell-1.4.4 → flyshell-1.4.5}/src/flyshell/abstract/base_plugin.py +0 -0
  25. {flyshell-1.4.4 → flyshell-1.4.5}/src/flyshell/abstract/parent_cmd.py +0 -0
  26. {flyshell-1.4.4 → flyshell-1.4.5}/src/flyshell/accounts/__init__.py +0 -0
  27. {flyshell-1.4.4 → flyshell-1.4.5}/src/flyshell/accounts/auth.py +0 -0
  28. {flyshell-1.4.4 → flyshell-1.4.5}/src/flyshell/bin/__init__.py +0 -0
  29. {flyshell-1.4.4 → flyshell-1.4.5}/src/flyshell/builtin/__init__.py +0 -0
  30. {flyshell-1.4.4 → flyshell-1.4.5}/src/flyshell/builtin/diskops.py +0 -0
  31. {flyshell-1.4.4 → flyshell-1.4.5}/src/flyshell/builtin/fs.py +0 -0
  32. {flyshell-1.4.4 → flyshell-1.4.5}/src/flyshell/builtin/pkg.py +0 -0
  33. {flyshell-1.4.4 → flyshell-1.4.5}/src/flyshell/builtin/system.py +0 -0
  34. {flyshell-1.4.4 → flyshell-1.4.5}/src/flyshell/builtin/utils.py +0 -0
  35. {flyshell-1.4.4 → flyshell-1.4.5}/src/flyshell/core/__init__.py +0 -0
  36. {flyshell-1.4.4 → flyshell-1.4.5}/src/flyshell/core/console.py +0 -0
  37. {flyshell-1.4.4 → flyshell-1.4.5}/src/flyshell/core/data.py +0 -0
  38. {flyshell-1.4.4 → flyshell-1.4.5}/src/flyshell/core/directory.py +0 -0
  39. {flyshell-1.4.4 → flyshell-1.4.5}/src/flyshell/main.py +0 -0
  40. {flyshell-1.4.4 → flyshell-1.4.5}/src/flyshell/native/__init__.py +0 -0
  41. {flyshell-1.4.4 → flyshell-1.4.5}/src/flyshell/native/diskops_bridge.py +0 -0
  42. {flyshell-1.4.4 → flyshell-1.4.5}/src/flyshell/native/diskops_handler.py +0 -0
  43. {flyshell-1.4.4 → flyshell-1.4.5}/src/flyshell/native/legacy/__init__.py +0 -0
  44. {flyshell-1.4.4 → flyshell-1.4.5}/src/flyshell/native/legacy/diskops.py +0 -0
  45. {flyshell-1.4.4 → flyshell-1.4.5}/src/flyshell/startup/__init__.py +0 -0
  46. {flyshell-1.4.4 → flyshell-1.4.5}/src/flyshell/startup/deps.py +0 -0
  47. {flyshell-1.4.4 → flyshell-1.4.5}/src/flyshell/startup/env.py +0 -0
  48. {flyshell-1.4.4 → flyshell-1.4.5}/src/flyshell/startup/loader.py +0 -0
  49. {flyshell-1.4.4 → flyshell-1.4.5}/src/flyshell.egg-info/SOURCES.txt +0 -0
  50. {flyshell-1.4.4 → flyshell-1.4.5}/src/flyshell.egg-info/dependency_links.txt +0 -0
  51. {flyshell-1.4.4 → flyshell-1.4.5}/src/flyshell.egg-info/entry_points.txt +0 -0
  52. {flyshell-1.4.4 → flyshell-1.4.5}/src/flyshell.egg-info/requires.txt +0 -0
  53. {flyshell-1.4.4 → flyshell-1.4.5}/src/flyshell.egg-info/top_level.txt +0 -0
  54. {flyshell-1.4.4 → flyshell-1.4.5}/tests/test_auth.py +0 -0
  55. {flyshell-1.4.4 → flyshell-1.4.5}/tests/test_data.py +0 -0
  56. {flyshell-1.4.4 → flyshell-1.4.5}/tests/test_deps.py +0 -0
  57. {flyshell-1.4.4 → flyshell-1.4.5}/tests/test_directory.py +0 -0
  58. {flyshell-1.4.4 → flyshell-1.4.5}/tests/test_diskops_ext.py +0 -0
  59. {flyshell-1.4.4 → flyshell-1.4.5}/tests/test_diskops_lgc.py +0 -0
  60. {flyshell-1.4.4 → flyshell-1.4.5}/tests/test_diskops_old.py +0 -0
  61. {flyshell-1.4.4 → flyshell-1.4.5}/tests/test_env.py +0 -0
  62. {flyshell-1.4.4 → flyshell-1.4.5}/tests/test_fs.py +0 -0
  63. {flyshell-1.4.4 → flyshell-1.4.5}/tests/test_loader.py +0 -0
  64. {flyshell-1.4.4 → flyshell-1.4.5}/tests/test_pkg.py +0 -0
  65. {flyshell-1.4.4 → flyshell-1.4.5}/tests/test_security.py +0 -0
  66. {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.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
  ![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.4.0
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\plugin.py)
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
- identifier = "" # (OPTIONAL) Alternative name for your plugin command (defaults to dir / file name)
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(key)`: Fetches the specified API key from `flyshell_keys.env`.
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
  ![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.4.0
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\plugin.py)
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
- identifier = "" # (OPTIONAL) Alternative name for your plugin command (defaults to dir / file name)
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(key)`: Fetches the specified API key from `flyshell_keys.env`.
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
 
@@ -5,8 +5,8 @@ import os
5
5
  import platform
6
6
  import time
7
7
 
8
- BUILD = 158
9
- VERSION = "1.4.4"
8
+ BUILD = 159
9
+ VERSION = "1.4.5"
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.4.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
  ![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.4.0
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\plugin.py)
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
- identifier = "" # (OPTIONAL) Alternative name for your plugin command (defaults to dir / file name)
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(key)`: Fetches the specified API key from `flyshell_keys.env`.
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