pdit 0.2.0__tar.gz → 0.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.
- pdit-0.3.0/LICENSE +21 -0
- pdit-0.3.0/PKG-INFO +62 -0
- pdit-0.3.0/README.md +27 -0
- {pdit-0.2.0 → pdit-0.3.0}/pdit/_demo.py +5 -8
- pdit-0.2.0/pdit/_static/assets/index-10OgdOl0.js → pdit-0.3.0/pdit/_static/assets/index-CANjXEqm.js +16 -16
- {pdit-0.2.0 → pdit-0.3.0}/pdit/_static/index.html +1 -1
- {pdit-0.2.0 → pdit-0.3.0}/pdit/cli.py +12 -2
- {pdit-0.2.0 → pdit-0.3.0}/pdit/ipython_executor.py +51 -0
- pdit-0.3.0/pdit.egg-info/PKG-INFO +62 -0
- {pdit-0.2.0 → pdit-0.3.0}/pdit.egg-info/SOURCES.txt +2 -1
- {pdit-0.2.0 → pdit-0.3.0}/pyproject.toml +1 -1
- pdit-0.2.0/PKG-INFO +0 -170
- pdit-0.2.0/README.md +0 -137
- pdit-0.2.0/pdit.egg-info/PKG-INFO +0 -170
- {pdit-0.2.0 → pdit-0.3.0}/MANIFEST.in +0 -0
- {pdit-0.2.0 → pdit-0.3.0}/pdit/__init__.py +0 -0
- {pdit-0.2.0 → pdit-0.3.0}/pdit/_static/assets/index-C5r-TK5N.css +0 -0
- {pdit-0.2.0 → pdit-0.3.0}/pdit/_static/export.html +0 -0
- {pdit-0.2.0 → pdit-0.3.0}/pdit/exporter.py +0 -0
- {pdit-0.2.0 → pdit-0.3.0}/pdit/file_watcher.py +0 -0
- {pdit-0.2.0 → pdit-0.3.0}/pdit/server.py +0 -0
- {pdit-0.2.0 → pdit-0.3.0}/pdit.egg-info/dependency_links.txt +0 -0
- {pdit-0.2.0 → pdit-0.3.0}/pdit.egg-info/entry_points.txt +0 -0
- {pdit-0.2.0 → pdit-0.3.0}/pdit.egg-info/requires.txt +0 -0
- {pdit-0.2.0 → pdit-0.3.0}/pdit.egg-info/top_level.txt +0 -0
- {pdit-0.2.0 → pdit-0.3.0}/setup.cfg +0 -0
- {pdit-0.2.0 → pdit-0.3.0}/tests/test_file_watcher.py +0 -0
- {pdit-0.2.0 → pdit-0.3.0}/tests/test_ipython_executor.py +0 -0
- {pdit-0.2.0 → pdit-0.3.0}/tests/test_local_import.py +0 -0
- {pdit-0.2.0 → pdit-0.3.0}/tests/test_server.py +0 -0
pdit-0.3.0/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Harry Vangberg
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
pdit-0.3.0/PKG-INFO
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: pdit
|
|
3
|
+
Version: 0.3.0
|
|
4
|
+
Summary: Interactive Python code editor with inline execution results
|
|
5
|
+
Author: Harry Vangberg
|
|
6
|
+
License: Private
|
|
7
|
+
Project-URL: Homepage, https://github.com/vangberg/pdit
|
|
8
|
+
Project-URL: Repository, https://github.com/vangberg/pdit
|
|
9
|
+
Project-URL: Issues, https://github.com/vangberg/pdit/issues
|
|
10
|
+
Classifier: Development Status :: 3 - Alpha
|
|
11
|
+
Classifier: Intended Audience :: Developers
|
|
12
|
+
Classifier: Programming Language :: Python :: 3
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.8
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
18
|
+
Requires-Python: <3.14,>=3.9
|
|
19
|
+
Description-Content-Type: text/markdown
|
|
20
|
+
License-File: LICENSE
|
|
21
|
+
Requires-Dist: fastapi>=0.104.0
|
|
22
|
+
Requires-Dist: uvicorn[standard]>=0.24.0
|
|
23
|
+
Requires-Dist: typer>=0.9.0
|
|
24
|
+
Requires-Dist: aiofiles>=23.0.0
|
|
25
|
+
Requires-Dist: watchfiles>=0.20.0
|
|
26
|
+
Requires-Dist: jupyter_client>=8.0.0
|
|
27
|
+
Requires-Dist: ipykernel>=6.29.0
|
|
28
|
+
Requires-Dist: itables>=2.6.1
|
|
29
|
+
Requires-Dist: ipython>=8.18.1
|
|
30
|
+
Provides-Extra: demo
|
|
31
|
+
Requires-Dist: great-tables>=0.20.0; extra == "demo"
|
|
32
|
+
Requires-Dist: matplotlib>=3.7.5; extra == "demo"
|
|
33
|
+
Requires-Dist: polars>=1.8.2; extra == "demo"
|
|
34
|
+
Dynamic: license-file
|
|
35
|
+
|
|
36
|
+
# pdit: output-focused Python editor.
|
|
37
|
+
|
|
38
|
+
pdit lets you write regular Python files and see execution results inline, right next to the code that produced them. Edit in your browser or your favorite editor.
|
|
39
|
+
|
|
40
|
+

|
|
41
|
+
|
|
42
|
+
## Quick Start
|
|
43
|
+
|
|
44
|
+
```bash
|
|
45
|
+
pip install "pdit[demo]"
|
|
46
|
+
pdit --demo
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
With [uv](https://docs.astral.sh/uv/):
|
|
50
|
+
|
|
51
|
+
```bash
|
|
52
|
+
uvx --with "pdit[demo]" pdit --demo
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
## Manual
|
|
57
|
+
|
|
58
|
+
See the [website](https://pdit.dev/manual/).
|
|
59
|
+
|
|
60
|
+
## Development
|
|
61
|
+
|
|
62
|
+
See [DEVELOPMENT.md](DEVELOPMENT.md) for development setup and testing.
|
pdit-0.3.0/README.md
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# pdit: output-focused Python editor.
|
|
2
|
+
|
|
3
|
+
pdit lets you write regular Python files and see execution results inline, right next to the code that produced them. Edit in your browser or your favorite editor.
|
|
4
|
+
|
|
5
|
+

|
|
6
|
+
|
|
7
|
+
## Quick Start
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
pip install "pdit[demo]"
|
|
11
|
+
pdit --demo
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
With [uv](https://docs.astral.sh/uv/):
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
uvx --with "pdit[demo]" pdit --demo
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
## Manual
|
|
22
|
+
|
|
23
|
+
See the [website](https://pdit.dev/manual/).
|
|
24
|
+
|
|
25
|
+
## Development
|
|
26
|
+
|
|
27
|
+
See [DEVELOPMENT.md](DEVELOPMENT.md) for development setup and testing.
|
|
@@ -22,14 +22,11 @@ import matplotlib.pyplot as plt
|
|
|
22
22
|
x = [i * 0.1 for i in range(0, 63)]
|
|
23
23
|
y = [math.sin(v) for v in x]
|
|
24
24
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
plt.xlabel('x')
|
|
31
|
-
plt.ylabel('sin(x)')
|
|
32
|
-
plt.show()
|
|
25
|
+
plt.figure()
|
|
26
|
+
plt.plot(x, y)
|
|
27
|
+
plt.xlabel('x')
|
|
28
|
+
plt.ylabel('sin(x)')
|
|
29
|
+
plt.show()
|
|
33
30
|
|
|
34
31
|
"""
|
|
35
32
|
## Polars/Pandas
|