e2D 2.0.1__tar.gz → 2.0.2__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.
Files changed (53) hide show
  1. {e2d-2.0.1/e2D.egg-info → e2d-2.0.2}/PKG-INFO +55 -14
  2. {e2d-2.0.1 → e2d-2.0.2}/README.md +47 -10
  3. {e2d-2.0.1 → e2d-2.0.2}/e2D/__init__.py +1 -1
  4. {e2d-2.0.1 → e2d-2.0.2}/e2D/ccolors.c +152 -152
  5. {e2d-2.0.1 → e2d-2.0.2}/e2D/cvectors.c +152 -152
  6. {e2d-2.0.1 → e2d-2.0.2/e2D.egg-info}/PKG-INFO +55 -14
  7. {e2d-2.0.1 → e2d-2.0.2}/e2D.egg-info/requires.txt +7 -1
  8. {e2d-2.0.1 → e2d-2.0.2}/pyproject.toml +9 -3
  9. {e2d-2.0.1 → e2d-2.0.2}/setup.cfg +8 -4
  10. {e2d-2.0.1 → e2d-2.0.2}/LICENSE +0 -0
  11. {e2d-2.0.1 → e2d-2.0.2}/MANIFEST.in +0 -0
  12. {e2d-2.0.1 → e2d-2.0.2}/QUICKSTART.md +0 -0
  13. {e2d-2.0.1 → e2d-2.0.2}/e2D/__init__.pyi +0 -0
  14. {e2d-2.0.1 → e2d-2.0.2}/e2D/ccolors.pyi +0 -0
  15. {e2d-2.0.1 → e2d-2.0.2}/e2D/ccolors.pyx +0 -0
  16. {e2d-2.0.1 → e2d-2.0.2}/e2D/color_defs.py +0 -0
  17. {e2d-2.0.1 → e2d-2.0.2}/e2D/colors.py +0 -0
  18. {e2d-2.0.1 → e2d-2.0.2}/e2D/colors.pyi +0 -0
  19. {e2d-2.0.1 → e2d-2.0.2}/e2D/commons.py +0 -0
  20. {e2d-2.0.1 → e2d-2.0.2}/e2D/commons.pyi +0 -0
  21. {e2d-2.0.1 → e2d-2.0.2}/e2D/cvectors.pxd +0 -0
  22. {e2d-2.0.1 → e2d-2.0.2}/e2D/cvectors.pyi +0 -0
  23. {e2d-2.0.1 → e2d-2.0.2}/e2D/cvectors.pyx +0 -0
  24. {e2d-2.0.1 → e2d-2.0.2}/e2D/devices.py +0 -0
  25. {e2d-2.0.1 → e2d-2.0.2}/e2D/devices.pyi +0 -0
  26. {e2d-2.0.1 → e2d-2.0.2}/e2D/plots.py +0 -0
  27. {e2d-2.0.1 → e2d-2.0.2}/e2D/plots.pyi +0 -0
  28. {e2d-2.0.1 → e2d-2.0.2}/e2D/shaders/curve_fragment.glsl +0 -0
  29. {e2d-2.0.1 → e2d-2.0.2}/e2D/shaders/curve_vertex.glsl +0 -0
  30. {e2d-2.0.1 → e2d-2.0.2}/e2D/shaders/line_instanced_vertex.glsl +0 -0
  31. {e2d-2.0.1 → e2d-2.0.2}/e2D/shaders/plot_grid_fragment.glsl +0 -0
  32. {e2d-2.0.1 → e2d-2.0.2}/e2D/shaders/plot_grid_vertex.glsl +0 -0
  33. {e2d-2.0.1 → e2d-2.0.2}/e2D/shaders/segment_fragment.glsl +0 -0
  34. {e2d-2.0.1 → e2d-2.0.2}/e2D/shaders/segment_vertex.glsl +0 -0
  35. {e2d-2.0.1 → e2d-2.0.2}/e2D/shaders/stream_fragment.glsl +0 -0
  36. {e2d-2.0.1 → e2d-2.0.2}/e2D/shaders/stream_shift_compute.glsl +0 -0
  37. {e2d-2.0.1 → e2d-2.0.2}/e2D/shaders/stream_vertex.glsl +0 -0
  38. {e2d-2.0.1 → e2d-2.0.2}/e2D/shapes.py +0 -0
  39. {e2d-2.0.1 → e2d-2.0.2}/e2D/shapes.pyi +0 -0
  40. {e2d-2.0.1 → e2d-2.0.2}/e2D/test_colors.py +0 -0
  41. {e2d-2.0.1 → e2d-2.0.2}/e2D/text_renderer.py +0 -0
  42. {e2d-2.0.1 → e2d-2.0.2}/e2D/text_renderer.pyi +0 -0
  43. {e2d-2.0.1 → e2d-2.0.2}/e2D/types.py +0 -0
  44. {e2d-2.0.1 → e2d-2.0.2}/e2D/types.pyi +0 -0
  45. {e2d-2.0.1 → e2d-2.0.2}/e2D/vectors.py +0 -0
  46. {e2d-2.0.1 → e2d-2.0.2}/e2D/vectors.pyi +0 -0
  47. {e2d-2.0.1 → e2d-2.0.2}/e2D/winrec.py +0 -0
  48. {e2d-2.0.1 → e2d-2.0.2}/e2D/winrec.pyi +0 -0
  49. {e2d-2.0.1 → e2d-2.0.2}/e2D.egg-info/SOURCES.txt +0 -0
  50. {e2d-2.0.1 → e2d-2.0.2}/e2D.egg-info/dependency_links.txt +0 -0
  51. {e2d-2.0.1 → e2d-2.0.2}/e2D.egg-info/not-zip-safe +0 -0
  52. {e2d-2.0.1 → e2d-2.0.2}/e2D.egg-info/top_level.txt +0 -0
  53. {e2d-2.0.1 → e2d-2.0.2}/setup.py +0 -0
@@ -1,10 +1,10 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: e2D
3
- Version: 2.0.1
3
+ Version: 2.0.2
4
4
  Summary: High-performance 2D graphics and math library with ultra-optimized vector operations
5
5
  Home-page: https://github.com/marick-py/e2D
6
6
  Author: Riccardo Mariani
7
- Author-email: Riccardo Mariani <ricomari2006@gmail.com>
7
+ Author-email: Riccardo Mariani <riccardo.mariani@emptyhead.dev>
8
8
  License: MIT
9
9
  Project-URL: Homepage, https://github.com/marick-py/e2D
10
10
  Project-URL: Repository, https://github.com/marick-py/e2D
@@ -30,10 +30,10 @@ Requires-Python: >=3.9
30
30
  Description-Content-Type: text/markdown
31
31
  License-File: LICENSE
32
32
  Requires-Dist: numpy>=1.19.0
33
- Requires-Dist: pygame
34
33
  Requires-Dist: moderngl
35
34
  Requires-Dist: glfw
36
- Requires-Dist: opencv-python
35
+ Requires-Dist: Pillow>=8.0.0
36
+ Requires-Dist: attrs
37
37
  Provides-Extra: dev
38
38
  Requires-Dist: build; extra == "dev"
39
39
  Requires-Dist: twine; extra == "dev"
@@ -42,6 +42,10 @@ Requires-Dist: black; extra == "dev"
42
42
  Requires-Dist: mypy; extra == "dev"
43
43
  Provides-Extra: performance
44
44
  Requires-Dist: cython>=0.29.0; extra == "performance"
45
+ Provides-Extra: rec
46
+ Requires-Dist: opencv-python; extra == "rec"
47
+ Provides-Extra: all
48
+ Requires-Dist: opencv-python; extra == "all"
45
49
  Dynamic: license-file
46
50
 
47
51
  # e2D - High-Performance 2D Graphics and Math Library
@@ -76,19 +80,51 @@ Dynamic: license-file
76
80
 
77
81
  ## 📦 Installation
78
82
 
83
+ ### Basic Installation
84
+
79
85
  ```bash
80
86
  pip install e2D
81
87
  ```
82
88
 
83
89
  The package will automatically compile the Cython extensions during installation for optimal performance (like numpy). If compilation fails, it falls back to pure Python mode.
84
90
 
91
+ ### Optional Features
92
+
93
+ Install with screen recording support:
94
+ ```bash
95
+ pip install e2D[rec]
96
+ ```
97
+
98
+ Install for development (includes testing tools):
99
+ ```bash
100
+ pip install e2D[dev]
101
+ ```
102
+
103
+ Install with performance monitoring (includes Cython source):
104
+ ```bash
105
+ pip install e2D[performance]
106
+ ```
107
+
108
+ Install everything:
109
+ ```bash
110
+ pip install e2D[all]
111
+ ```
112
+
113
+ ### Legacy Version (1.x with Pygame)
114
+
115
+ If you need the old pygame-based version:
116
+ ```bash
117
+ pip install "e2D<2.0"
118
+ ```
119
+
85
120
  ### Requirements
86
121
  - Python 3.9+
87
- - NumPy
88
- - ModernGL
89
- - GLFW
90
- - Pygame
91
- - OpenCV (for video recording)
122
+ - NumPy (required)
123
+ - ModernGL (required)
124
+ - GLFW (required)
125
+ - Pillow (required - for text rendering)
126
+ - attrs (required - for data structures)
127
+ - OpenCV-Python (optional, for recording - install with `[rec]` extra)
92
128
 
93
129
  ## 🚀 Quick Start
94
130
 
@@ -190,9 +226,9 @@ Perfect for:
190
226
 
191
227
  ## 📚 Documentation
192
228
 
229
+ - **[API Reference](docs/API_REFERENCE.md)** - Complete API documentation
193
230
  - **[Quick Start Guide](QUICKSTART.md)** - Get up and running in minutes
194
- - **[API Reference](https://github.com/marick-py/e2D)** - Full API documentation
195
- - **[Examples](examples/)** - Working code examples
231
+ - **[Developer Guide](DEVELOPER_GUIDE.md)** - Development workflow and contributing
196
232
 
197
233
  ## 🎯 Use Cases
198
234
 
@@ -267,7 +303,7 @@ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file
267
303
  ## 👤 Author
268
304
 
269
305
  **Riccardo Mariani**
270
- - Email: ricomari2006@gmail.com
306
+ - Email: riccardo.mariani@emptyhead.dev
271
307
  - GitHub: [@marick-py](https://github.com/marick-py)
272
308
 
273
309
  ## 🙏 Acknowledgments
@@ -278,8 +314,13 @@ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file
278
314
 
279
315
  ## 📈 Version History
280
316
 
281
- - **2.0.0** - Added ultra-optimized Vector2D with Cython compilation
282
- - **1.4.24** - Previous stable release with pure Python vectors
317
+ ### Version 2.x (ModernGL-based - Current)
318
+ - **2.0.2** (Current) - Bug fixes and documentation improvements
319
+ - **2.0.0** - Complete rewrite with ModernGL rendering, Cython-optimized vectors, modern color system, screen recording, removed pygame dependency
320
+
321
+ ### Version 1.x (Pygame-based - Legacy)
322
+ - **1.4.24** - Previous stable release with pure Python vectors and pygame
323
+ - Legacy versions available via: `pip install "e2D<2.0"`
283
324
 
284
325
  ---
285
326
 
@@ -30,19 +30,51 @@
30
30
 
31
31
  ## 📦 Installation
32
32
 
33
+ ### Basic Installation
34
+
33
35
  ```bash
34
36
  pip install e2D
35
37
  ```
36
38
 
37
39
  The package will automatically compile the Cython extensions during installation for optimal performance (like numpy). If compilation fails, it falls back to pure Python mode.
38
40
 
41
+ ### Optional Features
42
+
43
+ Install with screen recording support:
44
+ ```bash
45
+ pip install e2D[rec]
46
+ ```
47
+
48
+ Install for development (includes testing tools):
49
+ ```bash
50
+ pip install e2D[dev]
51
+ ```
52
+
53
+ Install with performance monitoring (includes Cython source):
54
+ ```bash
55
+ pip install e2D[performance]
56
+ ```
57
+
58
+ Install everything:
59
+ ```bash
60
+ pip install e2D[all]
61
+ ```
62
+
63
+ ### Legacy Version (1.x with Pygame)
64
+
65
+ If you need the old pygame-based version:
66
+ ```bash
67
+ pip install "e2D<2.0"
68
+ ```
69
+
39
70
  ### Requirements
40
71
  - Python 3.9+
41
- - NumPy
42
- - ModernGL
43
- - GLFW
44
- - Pygame
45
- - OpenCV (for video recording)
72
+ - NumPy (required)
73
+ - ModernGL (required)
74
+ - GLFW (required)
75
+ - Pillow (required - for text rendering)
76
+ - attrs (required - for data structures)
77
+ - OpenCV-Python (optional, for recording - install with `[rec]` extra)
46
78
 
47
79
  ## 🚀 Quick Start
48
80
 
@@ -144,9 +176,9 @@ Perfect for:
144
176
 
145
177
  ## 📚 Documentation
146
178
 
179
+ - **[API Reference](docs/API_REFERENCE.md)** - Complete API documentation
147
180
  - **[Quick Start Guide](QUICKSTART.md)** - Get up and running in minutes
148
- - **[API Reference](https://github.com/marick-py/e2D)** - Full API documentation
149
- - **[Examples](examples/)** - Working code examples
181
+ - **[Developer Guide](DEVELOPER_GUIDE.md)** - Development workflow and contributing
150
182
 
151
183
  ## 🎯 Use Cases
152
184
 
@@ -221,7 +253,7 @@ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file
221
253
  ## 👤 Author
222
254
 
223
255
  **Riccardo Mariani**
224
- - Email: ricomari2006@gmail.com
256
+ - Email: riccardo.mariani@emptyhead.dev
225
257
  - GitHub: [@marick-py](https://github.com/marick-py)
226
258
 
227
259
  ## 🙏 Acknowledgments
@@ -232,8 +264,13 @@ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file
232
264
 
233
265
  ## 📈 Version History
234
266
 
235
- - **2.0.0** - Added ultra-optimized Vector2D with Cython compilation
236
- - **1.4.24** - Previous stable release with pure Python vectors
267
+ ### Version 2.x (ModernGL-based - Current)
268
+ - **2.0.2** (Current) - Bug fixes and documentation improvements
269
+ - **2.0.0** - Complete rewrite with ModernGL rendering, Cython-optimized vectors, modern color system, screen recording, removed pygame dependency
270
+
271
+ ### Version 1.x (Pygame-based - Legacy)
272
+ - **1.4.24** - Previous stable release with pure Python vectors and pygame
273
+ - Legacy versions available via: `pip install "e2D<2.0"`
237
274
 
238
275
  ---
239
276
 
@@ -6,7 +6,7 @@ Copyright (c) 2025 Riccardo Mariani
6
6
  MIT License
7
7
  """
8
8
 
9
- __version__ = "2.0.1"
9
+ __version__ = "2.0.2"
10
10
  __author__ = "Riccardo Mariani"
11
11
  __email__ = "riccardo.mariani@emptyhead.dev"
12
12