replbase 0.0.4__tar.gz → 0.0.6__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: replbase
3
- Version: 0.0.4
3
+ Version: 0.0.6
4
4
  Summary: "Combination of other REPL tools into a reusable class that generates a REPL"
5
5
  License: MIT
6
6
  Author: Joseph Bochinski
@@ -9,10 +9,8 @@ Requires-Python: >=3.12,<4.0
9
9
  Classifier: License :: OSI Approved :: MIT License
10
10
  Classifier: Programming Language :: Python :: 3
11
11
  Classifier: Programming Language :: Python :: 3.12
12
- Requires-Dist: argcomplete (>=3.5.2,<4.0.0)
13
12
  Requires-Dist: prompt-toolkit (>=3.0.48,<4.0.0)
14
13
  Requires-Dist: ptpython (>=3.0.29,<4.0.0)
15
- Requires-Dist: pyyaml (>=6.0.2,<7.0.0)
16
14
  Requires-Dist: rich (>=13.9.4,<14.0.0)
17
15
  Description-Content-Type: text/markdown
18
16
 
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
4
4
 
5
5
  [tool.poetry]
6
6
  name = "replbase"
7
- version = "0.0.4"
7
+ version = "0.0.6"
8
8
  description = "\"Combination of other REPL tools into a reusable class that generates a REPL\""
9
9
  authors = [ "Joseph Bochinski <stirgejr@gmail.com>",]
10
10
  license = "MIT"
@@ -12,8 +12,6 @@ readme = "README.md"
12
12
 
13
13
  [tool.poetry.dependencies]
14
14
  python = "^3.12"
15
+ prompt-toolkit = "^3.0.48"
15
16
  ptpython = "^3.0.29"
16
17
  rich = "^13.9.4"
17
- prompt-toolkit = "^3.0.48"
18
- pyyaml = "^6.0.2"
19
- argcomplete = "^3.5.2"
File without changes
File without changes
File without changes
@@ -192,11 +192,11 @@ class ReplBase:
192
192
  def add_command(
193
193
  self,
194
194
  cmd_name: str,
195
+ *def_args,
195
196
  cmd_func: Callable = None,
196
197
  help_txt: str = "",
197
198
  use_parser: bool = False,
198
199
  description: str = "",
199
- *def_args,
200
200
  **def_kwargs,
201
201
  ) -> ReplCommand:
202
202
  """Add a command to the REPL