python-color-math 0.2.13__tar.gz → 0.2.14__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 (80) hide show
  1. {python_color_math-0.2.13/python_color_math.egg-info → python_color_math-0.2.14}/PKG-INFO +4 -1
  2. {python_color_math-0.2.13 → python_color_math-0.2.14}/color_math/__init__.py +1 -1
  3. {python_color_math-0.2.13 → python_color_math-0.2.14}/color_math/ipython.py +2 -2
  4. {python_color_math-0.2.13 → python_color_math-0.2.14}/pyproject.toml +3 -2
  5. {python_color_math-0.2.13 → python_color_math-0.2.14/python_color_math.egg-info}/PKG-INFO +4 -1
  6. {python_color_math-0.2.13 → python_color_math-0.2.14}/python_color_math.egg-info/requires.txt +4 -0
  7. {python_color_math-0.2.13 → python_color_math-0.2.14}/.pre-commit-hooks.yaml +0 -0
  8. {python_color_math-0.2.13 → python_color_math-0.2.14}/LICENSE +0 -0
  9. {python_color_math-0.2.13 → python_color_math-0.2.14}/MANIFEST.in +0 -0
  10. {python_color_math-0.2.13 → python_color_math-0.2.14}/README.md +0 -0
  11. {python_color_math-0.2.13 → python_color_math-0.2.14}/color_math/__main__.py +0 -0
  12. {python_color_math-0.2.13 → python_color_math-0.2.14}/color_math/adapters.py +0 -0
  13. {python_color_math-0.2.13 → python_color_math-0.2.14}/color_math/colormath.default.json +0 -0
  14. {python_color_math-0.2.13 → python_color_math-0.2.14}/color_math/completions.py +0 -0
  15. {python_color_math-0.2.13 → python_color_math-0.2.14}/color_math/config.py +0 -0
  16. {python_color_math-0.2.13 → python_color_math-0.2.14}/color_math/converters/__init__.py +0 -0
  17. {python_color_math-0.2.13 → python_color_math-0.2.14}/color_math/converters/align.py +0 -0
  18. {python_color_math-0.2.13 → python_color_math-0.2.14}/color_math/converters/block.py +0 -0
  19. {python_color_math-0.2.13 → python_color_math-0.2.14}/color_math/converters/derivative.py +0 -0
  20. {python_color_math-0.2.13 → python_color_math-0.2.14}/color_math/converters/equation.py +0 -0
  21. {python_color_math-0.2.13 → python_color_math-0.2.14}/color_math/converters/generic.py +0 -0
  22. {python_color_math-0.2.13 → python_color_math-0.2.14}/color_math/converters/integral.py +0 -0
  23. {python_color_math-0.2.13 → python_color_math-0.2.14}/color_math/converters/limit.py +0 -0
  24. {python_color_math-0.2.13 → python_color_math-0.2.14}/color_math/converters/matrix.py +0 -0
  25. {python_color_math-0.2.13 → python_color_math-0.2.14}/color_math/converters/semantic.py +0 -0
  26. {python_color_math-0.2.13 → python_color_math-0.2.14}/color_math/converters/unicode_converter.py +0 -0
  27. {python_color_math-0.2.13 → python_color_math-0.2.14}/color_math/custom_definitions.py +0 -0
  28. {python_color_math-0.2.13 → python_color_math-0.2.14}/color_math/gui.py +0 -0
  29. {python_color_math-0.2.13 → python_color_math-0.2.14}/color_math/io.py +0 -0
  30. {python_color_math-0.2.13 → python_color_math-0.2.14}/color_math/jupyter.py +0 -0
  31. {python_color_math-0.2.13 → python_color_math-0.2.14}/color_math/main.py +0 -0
  32. {python_color_math-0.2.13 → python_color_math-0.2.14}/color_math/mcp.py +0 -0
  33. {python_color_math-0.2.13 → python_color_math-0.2.14}/color_math/mcp_server.py +0 -0
  34. {python_color_math-0.2.13 → python_color_math-0.2.14}/color_math/parsers/__init__.py +0 -0
  35. {python_color_math-0.2.13 → python_color_math-0.2.14}/color_math/parsers/alignment.py +0 -0
  36. {python_color_math-0.2.13 → python_color_math-0.2.14}/color_math/parsers/braket.py +0 -0
  37. {python_color_math-0.2.13 → python_color_math-0.2.14}/color_math/parsers/constants.py +0 -0
  38. {python_color_math-0.2.13 → python_color_math-0.2.14}/color_math/parsers/delimiters.py +0 -0
  39. {python_color_math-0.2.13 → python_color_math-0.2.14}/color_math/parsers/differentials.py +0 -0
  40. {python_color_math-0.2.13 → python_color_math-0.2.14}/color_math/parsers/dimensionless.py +0 -0
  41. {python_color_math-0.2.13 → python_color_math-0.2.14}/color_math/parsers/frontmatter.py +0 -0
  42. {python_color_math-0.2.13 → python_color_math-0.2.14}/color_math/parsers/latex_spans.py +0 -0
  43. {python_color_math-0.2.13 → python_color_math-0.2.14}/color_math/parsers/markdown_scanner.py +0 -0
  44. {python_color_math-0.2.13 → python_color_math-0.2.14}/color_math/parsers/math_parser.py +0 -0
  45. {python_color_math-0.2.13 → python_color_math-0.2.14}/color_math/parsers/physics.py +0 -0
  46. {python_color_math-0.2.13 → python_color_math-0.2.14}/color_math/parsers/scanner.py +0 -0
  47. {python_color_math-0.2.13 → python_color_math-0.2.14}/color_math/parsers/taxonomy.py +0 -0
  48. {python_color_math-0.2.13 → python_color_math-0.2.14}/color_math/parsers/units.py +0 -0
  49. {python_color_math-0.2.13 → python_color_math-0.2.14}/color_math/parsers/variable_hash.py +0 -0
  50. {python_color_math-0.2.13 → python_color_math-0.2.14}/color_math/py.typed +0 -0
  51. {python_color_math-0.2.13 → python_color_math-0.2.14}/color_math/self_test.py +0 -0
  52. {python_color_math-0.2.13 → python_color_math-0.2.14}/color_math/tutorial.py +0 -0
  53. {python_color_math-0.2.13 → python_color_math-0.2.14}/color_math/undo.py +0 -0
  54. {python_color_math-0.2.13 → python_color_math-0.2.14}/color_math/unicode.py +0 -0
  55. {python_color_math-0.2.13 → python_color_math-0.2.14}/color_math/utils/__init__.py +0 -0
  56. {python_color_math-0.2.13 → python_color_math-0.2.14}/color_math/utils/coloring.py +0 -0
  57. {python_color_math-0.2.13 → python_color_math-0.2.14}/color_math/utils/latex_helpers.py +0 -0
  58. {python_color_math-0.2.13 → python_color_math-0.2.14}/color_math/utils/spans.py +0 -0
  59. {python_color_math-0.2.13 → python_color_math-0.2.14}/python_color_math/__init__.py +0 -0
  60. {python_color_math-0.2.13 → python_color_math-0.2.14}/python_color_math/__main__.py +0 -0
  61. {python_color_math-0.2.13 → python_color_math-0.2.14}/python_color_math.egg-info/SOURCES.txt +0 -0
  62. {python_color_math-0.2.13 → python_color_math-0.2.14}/python_color_math.egg-info/dependency_links.txt +0 -0
  63. {python_color_math-0.2.13 → python_color_math-0.2.14}/python_color_math.egg-info/entry_points.txt +0 -0
  64. {python_color_math-0.2.13 → python_color_math-0.2.14}/python_color_math.egg-info/top_level.txt +0 -0
  65. {python_color_math-0.2.13 → python_color_math-0.2.14}/setup.cfg +0 -0
  66. {python_color_math-0.2.13 → python_color_math-0.2.14}/tests/test_adversarial.py +0 -0
  67. {python_color_math-0.2.13 → python_color_math-0.2.14}/tests/test_cli.py +0 -0
  68. {python_color_math-0.2.13 → python_color_math-0.2.14}/tests/test_config_tolerance.py +0 -0
  69. {python_color_math-0.2.13 → python_color_math-0.2.14}/tests/test_custom_definitions.py +0 -0
  70. {python_color_math-0.2.13 → python_color_math-0.2.14}/tests/test_extreme_adversarial.py +0 -0
  71. {python_color_math-0.2.13 → python_color_math-0.2.14}/tests/test_features.py +0 -0
  72. {python_color_math-0.2.13 → python_color_math-0.2.14}/tests/test_frontmatter.py +0 -0
  73. {python_color_math-0.2.13 → python_color_math-0.2.14}/tests/test_fuzz.py +0 -0
  74. {python_color_math-0.2.13 → python_color_math-0.2.14}/tests/test_gui.py +0 -0
  75. {python_color_math-0.2.13 → python_color_math-0.2.14}/tests/test_ipython.py +0 -0
  76. {python_color_math-0.2.13 → python_color_math-0.2.14}/tests/test_mcp_hardcore.py +0 -0
  77. {python_color_math-0.2.13 → python_color_math-0.2.14}/tests/test_mcp_server.py +0 -0
  78. {python_color_math-0.2.13 → python_color_math-0.2.14}/tests/test_physics.py +0 -0
  79. {python_color_math-0.2.13 → python_color_math-0.2.14}/tests/test_unicode.py +0 -0
  80. {python_color_math-0.2.13 → python_color_math-0.2.14}/tests/test_unicode_converter.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-color-math
3
- Version: 0.2.13
3
+ Version: 0.2.14
4
4
  Summary: A fast, local semantic LaTeX colorizer for Markdown, Jupyter, and LaTeX math equations.
5
5
  Author: Aditya
6
6
  License: MIT License
@@ -56,10 +56,13 @@ Requires-Dist: mcp>=1.0.0; extra == "mcp"
56
56
  Provides-Extra: tutorial
57
57
  Requires-Dist: rich>=13.0.0; extra == "tutorial"
58
58
  Requires-Dist: questionary>=2.0.0; extra == "tutorial"
59
+ Provides-Extra: jupyter
60
+ Requires-Dist: ipython>=8.0.0; extra == "jupyter"
59
61
  Provides-Extra: all
60
62
  Requires-Dist: mcp>=1.0.0; extra == "all"
61
63
  Requires-Dist: rich>=13.0.0; extra == "all"
62
64
  Requires-Dist: questionary>=2.0.0; extra == "all"
65
+ Requires-Dist: ipython>=8.0.0; extra == "all"
63
66
  Dynamic: license-file
64
67
 
65
68
  # 🎨 Python Color Math
@@ -7,7 +7,7 @@ from .undo import uncolor_text
7
7
 
8
8
  from .ipython import ColorMath, colormath, load_ipython_extension, unload_ipython_extension
9
9
 
10
- __version__ = "0.2.13"
10
+ __version__ = "0.2.14"
11
11
 
12
12
  __all__ = [
13
13
  "__version__",
@@ -72,7 +72,7 @@ if HAS_IPYTHON:
72
72
  @line_magic("color_math")
73
73
  @line_magic("colormath")
74
74
  def color_math_line(self, line: str) -> Any:
75
- """Colorize and display a single LaTeX formula.
75
+ r"""Colorize and display a single LaTeX formula.
76
76
 
77
77
  Usage:
78
78
  %color_math \int_0^1 x^2 dx = \frac{1}{3}
@@ -97,7 +97,7 @@ if HAS_IPYTHON:
97
97
  @cell_magic("color_math")
98
98
  @cell_magic("colormath")
99
99
  def color_math_cell(self, line: str, cell: str) -> Any:
100
- """Colorize and display a cell containing LaTeX or Markdown math.
100
+ r"""Colorize and display a cell containing LaTeX or Markdown math.
101
101
 
102
102
  Usage:
103
103
  %%color_math
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "python-color-math"
7
- version = "0.2.13"
7
+ version = "0.2.14"
8
8
  description = "A fast, local semantic LaTeX colorizer for Markdown, Jupyter, and LaTeX math equations."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.10"
@@ -35,7 +35,8 @@ dependencies = []
35
35
  [project.optional-dependencies]
36
36
  mcp = ["mcp>=1.0.0"]
37
37
  tutorial = ["rich>=13.0.0", "questionary>=2.0.0"]
38
- all = ["mcp>=1.0.0", "rich>=13.0.0", "questionary>=2.0.0"]
38
+ jupyter = ["ipython>=8.0.0"]
39
+ all = ["mcp>=1.0.0", "rich>=13.0.0", "questionary>=2.0.0", "ipython>=8.0.0"]
39
40
 
40
41
  [project.urls]
41
42
  Homepage = "https://github.com/36ty-blip/python-color-math"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-color-math
3
- Version: 0.2.13
3
+ Version: 0.2.14
4
4
  Summary: A fast, local semantic LaTeX colorizer for Markdown, Jupyter, and LaTeX math equations.
5
5
  Author: Aditya
6
6
  License: MIT License
@@ -56,10 +56,13 @@ Requires-Dist: mcp>=1.0.0; extra == "mcp"
56
56
  Provides-Extra: tutorial
57
57
  Requires-Dist: rich>=13.0.0; extra == "tutorial"
58
58
  Requires-Dist: questionary>=2.0.0; extra == "tutorial"
59
+ Provides-Extra: jupyter
60
+ Requires-Dist: ipython>=8.0.0; extra == "jupyter"
59
61
  Provides-Extra: all
60
62
  Requires-Dist: mcp>=1.0.0; extra == "all"
61
63
  Requires-Dist: rich>=13.0.0; extra == "all"
62
64
  Requires-Dist: questionary>=2.0.0; extra == "all"
65
+ Requires-Dist: ipython>=8.0.0; extra == "all"
63
66
  Dynamic: license-file
64
67
 
65
68
  # 🎨 Python Color Math
@@ -3,6 +3,10 @@
3
3
  mcp>=1.0.0
4
4
  rich>=13.0.0
5
5
  questionary>=2.0.0
6
+ ipython>=8.0.0
7
+
8
+ [jupyter]
9
+ ipython>=8.0.0
6
10
 
7
11
  [mcp]
8
12
  mcp>=1.0.0