replbase 0.0.74__tar.gz → 0.0.76__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.74
3
+ Version: 0.0.76
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,7 +9,7 @@ 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: jbutils (>=0.1.47,<0.2.0)
12
+ Requires-Dist: jbutils (>=0.2.0,<0.3.0)
13
13
  Requires-Dist: prompt-toolkit (>=3.0.48,<4.0.0)
14
14
  Requires-Dist: ptpython (>=3.0.29,<4.0.0)
15
15
  Requires-Dist: rich (>=14.1.0,<15.0.0)
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
4
4
 
5
5
  [tool.poetry]
6
6
  name = "replbase"
7
- version = "0.0.74"
7
+ version = "0.0.76"
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"
@@ -15,8 +15,8 @@ python = "^3.12"
15
15
  prompt-toolkit = "^3.0.48"
16
16
  ptpython = "^3.0.29"
17
17
  tabulate = "^0.9.0"
18
- jbutils = "^0.1.47"
19
18
  rich = "^14.1.0"
19
+ jbutils = "^0.2.0"
20
20
 
21
21
  [tool.poetry.scripts]
22
22
  replbase = "replbase.cli:main"
@@ -526,12 +526,12 @@ class ReplBase:
526
526
  def warn(self, msg: str) -> None:
527
527
  """Print a message to the REPL preformatted as a warning"""
528
528
 
529
- self.print(f"[warn]{msg}[/warn]")
529
+ self.print(f"[warn]\\[WARNING]: {msg}[/warn]")
530
530
 
531
531
  def error(self, msg: str) -> None:
532
532
  """Print a message to the REPL preformatted as an error"""
533
533
 
534
- self.print(f"[error]{msg}[/error]")
534
+ self.print(f"[error]\\[ERROR]: {msg}[/error]")
535
535
 
536
536
  def pretty_print(self, obj: Any) -> None:
537
537
  pretty.pprint(obj)
File without changes
File without changes
File without changes