flyshell 1.2.14__tar.gz → 1.3.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.
- {flyshell-1.2.14/src/flyshell.egg-info → flyshell-1.3.0}/PKG-INFO +33 -45
- {flyshell-1.2.14 → flyshell-1.3.0}/README.md +32 -44
- {flyshell-1.2.14 → flyshell-1.3.0}/src/flyshell/constants.py +2 -2
- {flyshell-1.2.14 → flyshell-1.3.0/src/flyshell.egg-info}/PKG-INFO +33 -45
- {flyshell-1.2.14 → flyshell-1.3.0}/LICENSE +0 -0
- {flyshell-1.2.14 → flyshell-1.3.0}/pyproject.toml +0 -0
- {flyshell-1.2.14 → flyshell-1.3.0}/setup.cfg +0 -0
- {flyshell-1.2.14 → flyshell-1.3.0}/src/flyshell/__init__.py +0 -0
- {flyshell-1.2.14 → flyshell-1.3.0}/src/flyshell/abstract/__init__.py +0 -0
- {flyshell-1.2.14 → flyshell-1.3.0}/src/flyshell/abstract/base_cmd.py +0 -0
- {flyshell-1.2.14 → flyshell-1.3.0}/src/flyshell/abstract/base_plugin.py +0 -0
- {flyshell-1.2.14 → flyshell-1.3.0}/src/flyshell/abstract/parent_cmd.py +0 -0
- {flyshell-1.2.14 → flyshell-1.3.0}/src/flyshell/builtin/__init__.py +0 -0
- {flyshell-1.2.14 → flyshell-1.3.0}/src/flyshell/builtin/diskops.py +0 -0
- {flyshell-1.2.14 → flyshell-1.3.0}/src/flyshell/builtin/fs.py +0 -0
- {flyshell-1.2.14 → flyshell-1.3.0}/src/flyshell/builtin/pkg.py +0 -0
- {flyshell-1.2.14 → flyshell-1.3.0}/src/flyshell/builtin/system.py +0 -0
- {flyshell-1.2.14 → flyshell-1.3.0}/src/flyshell/builtin/utils.py +0 -0
- {flyshell-1.2.14 → flyshell-1.3.0}/src/flyshell/core/__init__.py +0 -0
- {flyshell-1.2.14 → flyshell-1.3.0}/src/flyshell/core/auth.py +0 -0
- {flyshell-1.2.14 → flyshell-1.3.0}/src/flyshell/core/console.py +0 -0
- {flyshell-1.2.14 → flyshell-1.3.0}/src/flyshell/core/data.py +0 -0
- {flyshell-1.2.14 → flyshell-1.3.0}/src/flyshell/core/deps.py +0 -0
- {flyshell-1.2.14 → flyshell-1.3.0}/src/flyshell/core/directory.py +0 -0
- {flyshell-1.2.14 → flyshell-1.3.0}/src/flyshell/core/env.py +0 -0
- {flyshell-1.2.14 → flyshell-1.3.0}/src/flyshell/core/loader.py +0 -0
- {flyshell-1.2.14 → flyshell-1.3.0}/src/flyshell/main.py +0 -0
- {flyshell-1.2.14 → flyshell-1.3.0}/src/flyshell.egg-info/SOURCES.txt +0 -0
- {flyshell-1.2.14 → flyshell-1.3.0}/src/flyshell.egg-info/dependency_links.txt +0 -0
- {flyshell-1.2.14 → flyshell-1.3.0}/src/flyshell.egg-info/entry_points.txt +0 -0
- {flyshell-1.2.14 → flyshell-1.3.0}/src/flyshell.egg-info/requires.txt +0 -0
- {flyshell-1.2.14 → flyshell-1.3.0}/src/flyshell.egg-info/top_level.txt +0 -0
- {flyshell-1.2.14 → flyshell-1.3.0}/tests/test_auth.py +0 -0
- {flyshell-1.2.14 → flyshell-1.3.0}/tests/test_data.py +0 -0
- {flyshell-1.2.14 → flyshell-1.3.0}/tests/test_directory.py +0 -0
- {flyshell-1.2.14 → flyshell-1.3.0}/tests/test_diskops.py +0 -0
- {flyshell-1.2.14 → flyshell-1.3.0}/tests/test_env_keys.py +0 -0
- {flyshell-1.2.14 → flyshell-1.3.0}/tests/test_fs.py +0 -0
- {flyshell-1.2.14 → flyshell-1.3.0}/tests/test_loader.py +0 -0
- {flyshell-1.2.14 → flyshell-1.3.0}/tests/test_pkg.py +0 -0
- {flyshell-1.2.14 → flyshell-1.3.0}/tests/test_security.py +0 -0
- {flyshell-1.2.14 → flyshell-1.3.0}/tests/test_third_deps_check.py +0 -0
- {flyshell-1.2.14 → flyshell-1.3.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
|
+
Version: 1.3.0
|
|
4
4
|
Summary: A modular, zero-dependency command-line environment in Python.
|
|
5
5
|
License: 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.
|
|
26
|
+
> Documentation last updated: v1.3.0
|
|
27
27
|
|
|
28
28
|
A modular, zero-dependency command-line environment and extensible runtime interface built in Python.
|
|
29
29
|
|
|
@@ -47,47 +47,32 @@ No extra packages required, just install and enjoy!
|
|
|
47
47
|
## System Architecture
|
|
48
48
|
|
|
49
49
|
```
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
│
|
|
54
|
-
├──
|
|
55
|
-
│
|
|
56
|
-
│
|
|
57
|
-
|
|
58
|
-
│
|
|
59
|
-
│
|
|
60
|
-
│
|
|
61
|
-
│
|
|
62
|
-
│
|
|
63
|
-
│
|
|
64
|
-
|
|
65
|
-
│
|
|
66
|
-
│
|
|
67
|
-
│
|
|
68
|
-
│
|
|
69
|
-
│
|
|
70
|
-
│
|
|
71
|
-
│
|
|
72
|
-
│
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
│ └── main.py
|
|
77
|
-
├── tests/
|
|
78
|
-
│ ├── test_auth.py
|
|
79
|
-
│ ├── test_data.py
|
|
80
|
-
│ ├── test_directory.py
|
|
81
|
-
│ ├── test_diskops.py
|
|
82
|
-
│ ├── test_fs.py
|
|
83
|
-
│ ├── test_loader.py
|
|
84
|
-
│ ├── test_security.py
|
|
85
|
-
│ └── test_utils.py
|
|
86
|
-
├── .flake8
|
|
87
|
-
├── .gitignore
|
|
88
|
-
├── LICENSE
|
|
89
|
-
├── pyproject.toml
|
|
90
|
-
└── README.md
|
|
50
|
+
src/
|
|
51
|
+
└── flyshell/
|
|
52
|
+
├── abstract/
|
|
53
|
+
│ ├── __init__.py
|
|
54
|
+
│ ├── base_cmd.py
|
|
55
|
+
│ ├── base_plugin.py
|
|
56
|
+
│ └── parent_cmd.py
|
|
57
|
+
├── builtin/
|
|
58
|
+
│ ├── __init__.py
|
|
59
|
+
│ ├── diskops.py
|
|
60
|
+
│ ├── fs.py
|
|
61
|
+
│ ├── pkg.py
|
|
62
|
+
│ ├── system.py
|
|
63
|
+
│ └── utils.py
|
|
64
|
+
├── core/
|
|
65
|
+
│ ├── __init__.py
|
|
66
|
+
│ ├── auth.py
|
|
67
|
+
│ ├── console.py
|
|
68
|
+
│ ├── data.py
|
|
69
|
+
│ ├── deps.py
|
|
70
|
+
│ ├── directory.py
|
|
71
|
+
│ ├── env.py
|
|
72
|
+
│ └── loader.py
|
|
73
|
+
├── __init__.py
|
|
74
|
+
├── constants.py
|
|
75
|
+
└── main.py
|
|
91
76
|
```
|
|
92
77
|
|
|
93
78
|
## Installing Flyshell
|
|
@@ -182,12 +167,14 @@ class MyPlugin(BasePlugin):
|
|
|
182
167
|
author = "kianodev" # You can put your name, your GitHub handle, or leave blank to make it 'Unknown'
|
|
183
168
|
usage = "" # (OPTIONAL) Explain how to use your plugin
|
|
184
169
|
extended_help = "" # (OPTIONAL) A more detailed, multi-line guide containing specific assistance
|
|
170
|
+
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.
|
|
171
|
+
third_pty_libs = [] # (OPTIONAL) Define all required third party libraries / dependencies here. Use their Python import names as this is how Flyshell checks them.
|
|
185
172
|
|
|
186
173
|
def on_load(self): # (OPTIONAL) Enables your program to handle specialist set-up tasks before execute()
|
|
187
174
|
pass
|
|
188
175
|
|
|
189
176
|
def on_unload(self): # (OPTIONAL) Enables your program to handle specialist shut-down tasks
|
|
190
|
-
|
|
177
|
+
pass
|
|
191
178
|
|
|
192
179
|
def execute(self, args): # This is what Flyshell calls to execute
|
|
193
180
|
print(f"Hello! Arguments: {args}")
|
|
@@ -202,8 +189,9 @@ Additional functions are available for you to use:
|
|
|
202
189
|
2. `set_data(key, value)`: Updates a key in local memory and automatically persists it to SQLite via `save_storage()`.
|
|
203
190
|
3. `load_storage()`: Reloads fresh key-value pairs directly from SQLite into `self.storage`.
|
|
204
191
|
4. `save_storage()`: Writes all in-memory key-value pairs in `self.storage` back to SQLite.
|
|
192
|
+
5. `get_api_key(key)`: Fetches the specified API key from `flyshell_keys.env`.
|
|
205
193
|
|
|
206
|
-
Plugins save automatically on shut-down.
|
|
194
|
+
Plugins save automatically on shut-down.
|
|
207
195
|
|
|
208
196
|
### Built-in Attributes
|
|
209
197
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|

|
|
7
7
|

|
|
8
8
|
|
|
9
|
-
> Documentation last updated: v1.
|
|
9
|
+
> Documentation last updated: v1.3.0
|
|
10
10
|
|
|
11
11
|
A modular, zero-dependency command-line environment and extensible runtime interface built in Python.
|
|
12
12
|
|
|
@@ -30,47 +30,32 @@ No extra packages required, just install and enjoy!
|
|
|
30
30
|
## System Architecture
|
|
31
31
|
|
|
32
32
|
```
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
│
|
|
37
|
-
├──
|
|
38
|
-
│
|
|
39
|
-
│
|
|
40
|
-
|
|
41
|
-
│
|
|
42
|
-
│
|
|
43
|
-
│
|
|
44
|
-
│
|
|
45
|
-
│
|
|
46
|
-
│
|
|
47
|
-
|
|
48
|
-
│
|
|
49
|
-
│
|
|
50
|
-
│
|
|
51
|
-
│
|
|
52
|
-
│
|
|
53
|
-
│
|
|
54
|
-
│
|
|
55
|
-
│
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
│ └── main.py
|
|
60
|
-
├── tests/
|
|
61
|
-
│ ├── test_auth.py
|
|
62
|
-
│ ├── test_data.py
|
|
63
|
-
│ ├── test_directory.py
|
|
64
|
-
│ ├── test_diskops.py
|
|
65
|
-
│ ├── test_fs.py
|
|
66
|
-
│ ├── test_loader.py
|
|
67
|
-
│ ├── test_security.py
|
|
68
|
-
│ └── test_utils.py
|
|
69
|
-
├── .flake8
|
|
70
|
-
├── .gitignore
|
|
71
|
-
├── LICENSE
|
|
72
|
-
├── pyproject.toml
|
|
73
|
-
└── README.md
|
|
33
|
+
src/
|
|
34
|
+
└── flyshell/
|
|
35
|
+
├── abstract/
|
|
36
|
+
│ ├── __init__.py
|
|
37
|
+
│ ├── base_cmd.py
|
|
38
|
+
│ ├── base_plugin.py
|
|
39
|
+
│ └── parent_cmd.py
|
|
40
|
+
├── builtin/
|
|
41
|
+
│ ├── __init__.py
|
|
42
|
+
│ ├── diskops.py
|
|
43
|
+
│ ├── fs.py
|
|
44
|
+
│ ├── pkg.py
|
|
45
|
+
│ ├── system.py
|
|
46
|
+
│ └── utils.py
|
|
47
|
+
├── core/
|
|
48
|
+
│ ├── __init__.py
|
|
49
|
+
│ ├── auth.py
|
|
50
|
+
│ ├── console.py
|
|
51
|
+
│ ├── data.py
|
|
52
|
+
│ ├── deps.py
|
|
53
|
+
│ ├── directory.py
|
|
54
|
+
│ ├── env.py
|
|
55
|
+
│ └── loader.py
|
|
56
|
+
├── __init__.py
|
|
57
|
+
├── constants.py
|
|
58
|
+
└── main.py
|
|
74
59
|
```
|
|
75
60
|
|
|
76
61
|
## Installing Flyshell
|
|
@@ -165,12 +150,14 @@ class MyPlugin(BasePlugin):
|
|
|
165
150
|
author = "kianodev" # You can put your name, your GitHub handle, or leave blank to make it 'Unknown'
|
|
166
151
|
usage = "" # (OPTIONAL) Explain how to use your plugin
|
|
167
152
|
extended_help = "" # (OPTIONAL) A more detailed, multi-line guide containing specific assistance
|
|
153
|
+
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.
|
|
154
|
+
third_pty_libs = [] # (OPTIONAL) Define all required third party libraries / dependencies here. Use their Python import names as this is how Flyshell checks them.
|
|
168
155
|
|
|
169
156
|
def on_load(self): # (OPTIONAL) Enables your program to handle specialist set-up tasks before execute()
|
|
170
157
|
pass
|
|
171
158
|
|
|
172
159
|
def on_unload(self): # (OPTIONAL) Enables your program to handle specialist shut-down tasks
|
|
173
|
-
|
|
160
|
+
pass
|
|
174
161
|
|
|
175
162
|
def execute(self, args): # This is what Flyshell calls to execute
|
|
176
163
|
print(f"Hello! Arguments: {args}")
|
|
@@ -185,8 +172,9 @@ Additional functions are available for you to use:
|
|
|
185
172
|
2. `set_data(key, value)`: Updates a key in local memory and automatically persists it to SQLite via `save_storage()`.
|
|
186
173
|
3. `load_storage()`: Reloads fresh key-value pairs directly from SQLite into `self.storage`.
|
|
187
174
|
4. `save_storage()`: Writes all in-memory key-value pairs in `self.storage` back to SQLite.
|
|
175
|
+
5. `get_api_key(key)`: Fetches the specified API key from `flyshell_keys.env`.
|
|
188
176
|
|
|
189
|
-
Plugins save automatically on shut-down.
|
|
177
|
+
Plugins save automatically on shut-down.
|
|
190
178
|
|
|
191
179
|
### Built-in Attributes
|
|
192
180
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: flyshell
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.3.0
|
|
4
4
|
Summary: A modular, zero-dependency command-line environment in Python.
|
|
5
5
|
License: 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.
|
|
26
|
+
> Documentation last updated: v1.3.0
|
|
27
27
|
|
|
28
28
|
A modular, zero-dependency command-line environment and extensible runtime interface built in Python.
|
|
29
29
|
|
|
@@ -47,47 +47,32 @@ No extra packages required, just install and enjoy!
|
|
|
47
47
|
## System Architecture
|
|
48
48
|
|
|
49
49
|
```
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
│
|
|
54
|
-
├──
|
|
55
|
-
│
|
|
56
|
-
│
|
|
57
|
-
|
|
58
|
-
│
|
|
59
|
-
│
|
|
60
|
-
│
|
|
61
|
-
│
|
|
62
|
-
│
|
|
63
|
-
│
|
|
64
|
-
|
|
65
|
-
│
|
|
66
|
-
│
|
|
67
|
-
│
|
|
68
|
-
│
|
|
69
|
-
│
|
|
70
|
-
│
|
|
71
|
-
│
|
|
72
|
-
│
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
│ └── main.py
|
|
77
|
-
├── tests/
|
|
78
|
-
│ ├── test_auth.py
|
|
79
|
-
│ ├── test_data.py
|
|
80
|
-
│ ├── test_directory.py
|
|
81
|
-
│ ├── test_diskops.py
|
|
82
|
-
│ ├── test_fs.py
|
|
83
|
-
│ ├── test_loader.py
|
|
84
|
-
│ ├── test_security.py
|
|
85
|
-
│ └── test_utils.py
|
|
86
|
-
├── .flake8
|
|
87
|
-
├── .gitignore
|
|
88
|
-
├── LICENSE
|
|
89
|
-
├── pyproject.toml
|
|
90
|
-
└── README.md
|
|
50
|
+
src/
|
|
51
|
+
└── flyshell/
|
|
52
|
+
├── abstract/
|
|
53
|
+
│ ├── __init__.py
|
|
54
|
+
│ ├── base_cmd.py
|
|
55
|
+
│ ├── base_plugin.py
|
|
56
|
+
│ └── parent_cmd.py
|
|
57
|
+
├── builtin/
|
|
58
|
+
│ ├── __init__.py
|
|
59
|
+
│ ├── diskops.py
|
|
60
|
+
│ ├── fs.py
|
|
61
|
+
│ ├── pkg.py
|
|
62
|
+
│ ├── system.py
|
|
63
|
+
│ └── utils.py
|
|
64
|
+
├── core/
|
|
65
|
+
│ ├── __init__.py
|
|
66
|
+
│ ├── auth.py
|
|
67
|
+
│ ├── console.py
|
|
68
|
+
│ ├── data.py
|
|
69
|
+
│ ├── deps.py
|
|
70
|
+
│ ├── directory.py
|
|
71
|
+
│ ├── env.py
|
|
72
|
+
│ └── loader.py
|
|
73
|
+
├── __init__.py
|
|
74
|
+
├── constants.py
|
|
75
|
+
└── main.py
|
|
91
76
|
```
|
|
92
77
|
|
|
93
78
|
## Installing Flyshell
|
|
@@ -182,12 +167,14 @@ class MyPlugin(BasePlugin):
|
|
|
182
167
|
author = "kianodev" # You can put your name, your GitHub handle, or leave blank to make it 'Unknown'
|
|
183
168
|
usage = "" # (OPTIONAL) Explain how to use your plugin
|
|
184
169
|
extended_help = "" # (OPTIONAL) A more detailed, multi-line guide containing specific assistance
|
|
170
|
+
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.
|
|
171
|
+
third_pty_libs = [] # (OPTIONAL) Define all required third party libraries / dependencies here. Use their Python import names as this is how Flyshell checks them.
|
|
185
172
|
|
|
186
173
|
def on_load(self): # (OPTIONAL) Enables your program to handle specialist set-up tasks before execute()
|
|
187
174
|
pass
|
|
188
175
|
|
|
189
176
|
def on_unload(self): # (OPTIONAL) Enables your program to handle specialist shut-down tasks
|
|
190
|
-
|
|
177
|
+
pass
|
|
191
178
|
|
|
192
179
|
def execute(self, args): # This is what Flyshell calls to execute
|
|
193
180
|
print(f"Hello! Arguments: {args}")
|
|
@@ -202,8 +189,9 @@ Additional functions are available for you to use:
|
|
|
202
189
|
2. `set_data(key, value)`: Updates a key in local memory and automatically persists it to SQLite via `save_storage()`.
|
|
203
190
|
3. `load_storage()`: Reloads fresh key-value pairs directly from SQLite into `self.storage`.
|
|
204
191
|
4. `save_storage()`: Writes all in-memory key-value pairs in `self.storage` back to SQLite.
|
|
192
|
+
5. `get_api_key(key)`: Fetches the specified API key from `flyshell_keys.env`.
|
|
205
193
|
|
|
206
|
-
Plugins save automatically on shut-down.
|
|
194
|
+
Plugins save automatically on shut-down.
|
|
207
195
|
|
|
208
196
|
### Built-in Attributes
|
|
209
197
|
|
|
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
|