liveConsole 1.4.1__tar.gz → 1.5.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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: liveConsole
3
- Version: 1.4.1
3
+ Version: 1.5.0
4
4
  Summary: An IDLE-like debugger to allow for real-time command injection for debugging and testing python code
5
5
  Author-email: Tzur Soffer <tzur.soffer@gmail.com>
6
6
  License: MIT
@@ -11,9 +11,10 @@ Requires-Dist: customtkinter
11
11
  Requires-Dist: pygments
12
12
  Dynamic: license-file
13
13
 
14
- # Live Interactive Python Console
14
+ # PYSOLE
15
15
 
16
16
  ## You can finally test your code in real time without using idle!
17
+ ### If you found [this repository](https://github.com/TzurSoffer/LiveDebugger) useful, please give it a ⭐!.
17
18
 
18
19
  A fully-featured, **live Python console GUI** built with **CustomTkinter** and **Tkinter**, featuring:
19
20
 
@@ -27,7 +28,7 @@ A fully-featured, **live Python console GUI** built with **CustomTkinter** and *
27
28
 
28
29
  * Multi-line input with auto-indentation
29
30
 
30
- * Clickable history of previous commands
31
+ * History of previous commands
31
32
 
32
33
  * **Integrated Help Panel** for quick access to Python object documentation
33
34
 
@@ -100,8 +101,8 @@ A fully-featured, **live Python console GUI** built with **CustomTkinter** and *
100
101
  ## Usage
101
102
 
102
103
  ```
103
- from liveConsole import InteractiveConsole
104
- InteractiveConsole().probe()
104
+ import pysole
105
+ pysole.probe()
105
106
  ```
106
107
 
107
108
  * Type Python commands in the `>>>` prompt and see live output.
@@ -1,6 +1,7 @@
1
- # Live Interactive Python Console
1
+ # PYSOLE
2
2
 
3
3
  ## You can finally test your code in real time without using idle!
4
+ ### If you found [this repository](https://github.com/TzurSoffer/LiveDebugger) useful, please give it a ⭐!.
4
5
 
5
6
  A fully-featured, **live Python console GUI** built with **CustomTkinter** and **Tkinter**, featuring:
6
7
 
@@ -14,7 +15,7 @@ A fully-featured, **live Python console GUI** built with **CustomTkinter** and *
14
15
 
15
16
  * Multi-line input with auto-indentation
16
17
 
17
- * Clickable history of previous commands
18
+ * History of previous commands
18
19
 
19
20
  * **Integrated Help Panel** for quick access to Python object documentation
20
21
 
@@ -87,8 +88,8 @@ A fully-featured, **live Python console GUI** built with **CustomTkinter** and *
87
88
  ## Usage
88
89
 
89
90
  ```
90
- from liveConsole import InteractiveConsole
91
- InteractiveConsole().probe()
91
+ import pysole
92
+ pysole.probe()
92
93
  ```
93
94
 
94
95
  * Type Python commands in the `>>>` prompt and see live output.
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "liveConsole"
3
- version = "1.4.1"
3
+ version = "1.5.0"
4
4
  description = "An IDLE-like debugger to allow for real-time command injection for debugging and testing python code"
5
5
  authors = [{ name="Tzur Soffer", email="tzur.soffer@gmail.com" }]
6
6
  license = {text = "MIT"}
@@ -8,6 +8,9 @@ readme = "README.md"
8
8
  requires-python = ">=3.7"
9
9
  dependencies = ["customtkinter", "pygments"]
10
10
 
11
+ [project.scripts]
12
+ liveconsole = "liveConsole:main"
13
+
11
14
  [build-system]
12
15
  requires = ["setuptools>=61.0", "wheel"]
13
16
  build-backend = "setuptools.build_meta"
@@ -0,0 +1 @@
1
+ from pysole import probe, InteractiveConsole
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: liveConsole
3
- Version: 1.4.1
3
+ Version: 1.5.0
4
4
  Summary: An IDLE-like debugger to allow for real-time command injection for debugging and testing python code
5
5
  Author-email: Tzur Soffer <tzur.soffer@gmail.com>
6
6
  License: MIT
@@ -11,9 +11,10 @@ Requires-Dist: customtkinter
11
11
  Requires-Dist: pygments
12
12
  Dynamic: license-file
13
13
 
14
- # Live Interactive Python Console
14
+ # PYSOLE
15
15
 
16
16
  ## You can finally test your code in real time without using idle!
17
+ ### If you found [this repository](https://github.com/TzurSoffer/LiveDebugger) useful, please give it a ⭐!.
17
18
 
18
19
  A fully-featured, **live Python console GUI** built with **CustomTkinter** and **Tkinter**, featuring:
19
20
 
@@ -27,7 +28,7 @@ A fully-featured, **live Python console GUI** built with **CustomTkinter** and *
27
28
 
28
29
  * Multi-line input with auto-indentation
29
30
 
30
- * Clickable history of previous commands
31
+ * History of previous commands
31
32
 
32
33
  * **Integrated Help Panel** for quick access to Python object documentation
33
34
 
@@ -100,8 +101,8 @@ A fully-featured, **live Python console GUI** built with **CustomTkinter** and *
100
101
  ## Usage
101
102
 
102
103
  ```
103
- from liveConsole import InteractiveConsole
104
- InteractiveConsole().probe()
104
+ import pysole
105
+ pysole.probe()
105
106
  ```
106
107
 
107
108
  * Type Python commands in the `>>>` prompt and see live output.
@@ -6,10 +6,12 @@ src/commandHistory.py
6
6
  src/helpTab.py
7
7
  src/liveConsole.py
8
8
  src/mainConsole.py
9
+ src/pysole.py
9
10
  src/styledTextbox.py
10
11
  src/suggestionManager.py
11
12
  src/liveConsole.egg-info/PKG-INFO
12
13
  src/liveConsole.egg-info/SOURCES.txt
13
14
  src/liveConsole.egg-info/dependency_links.txt
15
+ src/liveConsole.egg-info/entry_points.txt
14
16
  src/liveConsole.egg-info/requires.txt
15
17
  src/liveConsole.egg-info/top_level.txt
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ liveconsole = liveConsole:main
@@ -3,5 +3,6 @@ commandHistory
3
3
  helpTab
4
4
  liveConsole
5
5
  mainConsole
6
+ pysole
6
7
  styledTextbox
7
8
  suggestionManager
@@ -0,0 +1,8 @@
1
+ import warnings
2
+ warnings.warn(
3
+ "Module 'liveConsole' is deprecated. Use 'pysole' instead.",
4
+ DeprecationWarning,
5
+ stacklevel=2
6
+ )
7
+
8
+ from pysole import *
@@ -109,6 +109,12 @@ class InteractiveConsole(ctk.CTk):
109
109
  """Start the console main loop."""
110
110
  self.mainloop(*args, **kwargs)
111
111
 
112
+ def probe():
113
+ InteractiveConsole().probe()
114
+
115
+ def main():
116
+ from pysole import probe
117
+ probe()
112
118
 
113
119
  # Example usage
114
120
  if __name__ == "__main__":
@@ -123,4 +129,4 @@ if __name__ == "__main__":
123
129
  exampleList = [1, 2, 3, 4, 5]
124
130
 
125
131
  # Start the console
126
- InteractiveConsole().probe()
132
+ probe()
File without changes
File without changes
File without changes
File without changes