coconut-develop 3.2.0.post0.dev15__tar.gz → 3.2.0.post0.dev17__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 (92) hide show
  1. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/DOCS.md +4 -2
  2. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/PKG-INFO +166 -134
  3. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/__coconut__/__init__.pyi +2 -2
  4. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/coconut/_pyparsing.py +2 -2
  5. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/coconut/api.py +3 -3
  6. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/coconut/api.pyi +7 -7
  7. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/coconut/command/command.py +10 -5
  8. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/coconut/compiler/compiler.py +50 -36
  9. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/coconut/compiler/grammar.py +32 -11
  10. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/coconut/constants.py +4 -1
  11. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/coconut/icoconut/root.py +38 -7
  12. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/coconut/root.py +1 -1
  13. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/coconut/tests/main_test.py +19 -0
  14. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/coconut/tests/src/cocotest/agnostic/primary_2.coco +1 -1
  15. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/coconut/tests/src/cocotest/agnostic/specific.coco +1 -1
  16. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/coconut/tests/src/extras.coco +158 -136
  17. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/.claude/CLAUDE.md +0 -0
  18. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/.claude/settings.local.json +1 -1
  19. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/CONTRIBUTING.md +0 -0
  20. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/FAQ.md +0 -0
  21. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/HELP.md +0 -0
  22. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/LICENSE.txt +0 -0
  23. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/MANIFEST.in +0 -0
  24. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/README.rst +0 -0
  25. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/__coconut__/__init__.py +0 -0
  26. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/__coconut__/py.typed +0 -0
  27. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/_coconut/__init__.py +0 -0
  28. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/_coconut/__init__.pyi +0 -0
  29. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/_coconut/py.typed +0 -0
  30. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/coconut/__coconut__.py +0 -0
  31. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/coconut/__coconut__.pyi +0 -0
  32. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/coconut/__init__.py +0 -0
  33. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/coconut/__init__.pyi +0 -0
  34. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/coconut/__main__.py +0 -0
  35. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/coconut/command/__init__.py +0 -0
  36. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/coconut/command/__init__.pyi +0 -0
  37. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/coconut/command/cli.py +0 -0
  38. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/coconut/command/command.pyi +0 -0
  39. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/coconut/command/mypy.py +0 -0
  40. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/coconut/command/resources/zcoconut.pth +0 -0
  41. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/coconut/command/util.py +0 -0
  42. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/coconut/command/watch.py +0 -0
  43. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/coconut/compiler/__init__.py +0 -0
  44. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/coconut/compiler/header.py +0 -0
  45. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/coconut/compiler/matching.py +0 -0
  46. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/coconut/compiler/templates/header.py_template +0 -0
  47. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/coconut/compiler/util.py +0 -0
  48. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/coconut/convenience.py +0 -0
  49. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/coconut/convenience.pyi +0 -0
  50. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/coconut/exceptions.py +0 -0
  51. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/coconut/highlighter.py +0 -0
  52. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/coconut/icoconut/__init__.py +0 -0
  53. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/coconut/icoconut/__main__.py +0 -0
  54. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/coconut/icoconut/coconut/kernel.json +0 -0
  55. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/coconut/icoconut/coconut_py/kernel.json +0 -0
  56. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/coconut/icoconut/coconut_py2/kernel.json +0 -0
  57. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/coconut/icoconut/coconut_py3/kernel.json +0 -0
  58. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/coconut/icoconut/embed.py +0 -0
  59. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/coconut/integrations.py +0 -0
  60. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/coconut/main.py +0 -0
  61. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/coconut/py.typed +0 -0
  62. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/coconut/requirements.py +0 -0
  63. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/coconut/terminal.py +0 -0
  64. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/coconut/tests/__init__.py +0 -0
  65. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/coconut/tests/__main__.py +0 -0
  66. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/coconut/tests/constants_test.py +0 -0
  67. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/coconut/tests/src/cocotest/agnostic/__init__.coco +0 -0
  68. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/coconut/tests/src/cocotest/agnostic/__main__.coco +0 -0
  69. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/coconut/tests/src/cocotest/agnostic/main.coco +0 -0
  70. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/coconut/tests/src/cocotest/agnostic/primary_1.coco +0 -0
  71. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/coconut/tests/src/cocotest/agnostic/suite.coco +0 -0
  72. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/coconut/tests/src/cocotest/agnostic/tutorial.coco +0 -0
  73. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/coconut/tests/src/cocotest/agnostic/util.coco +0 -0
  74. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/coconut/tests/src/cocotest/non_strict/non_strict_test.coco +0 -0
  75. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/coconut/tests/src/cocotest/target_2/py2_test.coco +0 -0
  76. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/coconut/tests/src/cocotest/target_3/py3_test.coco +0 -0
  77. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/coconut/tests/src/cocotest/target_311/py311_test.coco +0 -0
  78. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/coconut/tests/src/cocotest/target_314/py314_test.coco +0 -0
  79. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/coconut/tests/src/cocotest/target_35/py35_test.coco +0 -0
  80. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/coconut/tests/src/cocotest/target_36/py36_test.coco +0 -0
  81. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/coconut/tests/src/cocotest/target_38/py38_test.coco +0 -0
  82. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/coconut/tests/src/cocotest/target_sys/target_sys_test.coco +0 -0
  83. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/coconut/tests/src/importable.coco +0 -0
  84. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/coconut/tests/src/runnable.coco +0 -0
  85. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/coconut/tests/src/runner.coco +0 -0
  86. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/coconut/util.py +0 -0
  87. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/coconut_develop.egg-info/SOURCES.txt +0 -0
  88. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/conf.py +0 -0
  89. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/pyproject.toml +0 -0
  90. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/setup.cfg +0 -0
  91. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/setup.py +0 -0
  92. {coconut_develop-3.2.0.post0.dev15 → coconut_develop-3.2.0.post0.dev17}/xontrib/coconut.py +0 -0
@@ -1760,6 +1760,8 @@ lazy from module import name1, name2
1760
1760
 
1761
1761
  When a lazy import is encountered, Coconut creates a proxy object instead of immediately loading the module. The actual import only occurs when the name is first accessed (e.g. by accessing an attribute). Import errors are also deferred—if the module doesn't exist, the `ImportError` will be raised at the point of first use, not at the import statement.
1762
1762
 
1763
+ When targeting Python 3.15+, Coconut compiles unindented (top-level) lazy imports to native Python lazy imports. Since Python only allows lazy imports at the top level of a module (not inside functions, classes, or `try`/`except` blocks), Coconut still supports lazy imports in those places by compiling indented lazy imports to the same proxy objects used on older targets.
1764
+
1763
1765
  ##### Example
1764
1766
 
1765
1767
  **Coconut:**
@@ -4913,11 +4915,11 @@ _Deprecated: `coconut.convenience` is a deprecated alias for `coconut.api`._
4913
4915
 
4914
4916
  #### `get_state`
4915
4917
 
4916
- **coconut.api.get\_state**(_state_=`None`)
4918
+ **coconut.api.get\_state**(_state_=`True`)
4917
4919
 
4918
4920
  Gets a state object which stores the current compilation parameters. State objects can be configured with [**setup**](#setup) or [**cmd**](#cmd) and then used in [**parse**](#parse) or other endpoints.
4919
4921
 
4920
- If _state_ is `None`, gets a new state object, whereas if _state_ is `False`, the global state object is returned.
4922
+ If _state_ is `True`, gets a new state object, whereas if _state_ is `False`, the global state object is returned.
4921
4923
 
4922
4924
  #### `parse`
4923
4925
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: coconut-develop
3
- Version: 3.2.0.post0.dev15
3
+ Version: 3.2.0.post0.dev17
4
4
  Summary: Simple, elegant, Pythonic functional programming.
5
5
  Home-page: http://coconut-lang.org
6
6
  Author: Evan Hubinger
@@ -33,6 +33,9 @@ Classifier: Programming Language :: Python :: 3.9
33
33
  Classifier: Programming Language :: Python :: 3.10
34
34
  Classifier: Programming Language :: Python :: 3.11
35
35
  Classifier: Programming Language :: Python :: 3.12
36
+ Classifier: Programming Language :: Python :: 3.13
37
+ Classifier: Programming Language :: Python :: 3.14
38
+ Classifier: Programming Language :: Python :: 3.15
36
39
  Classifier: Programming Language :: Other
37
40
  Classifier: Programming Language :: Other Scripting Engines
38
41
  Classifier: Programming Language :: Python :: Implementation :: CPython
@@ -80,200 +83,229 @@ Requires-Dist: numpy>=1.26; python_version >= "3.9" and extra == "numpy"
80
83
  Requires-Dist: pandas>=1.1; python_version >= "3.6" and extra == "numpy"
81
84
  Requires-Dist: xarray>=2025; python_version >= "3.10" and extra == "numpy"
82
85
  Provides-Extra: jupyter
83
- Requires-Dist: ipython>=5.4; python_version < "3" and extra == "jupyter"
84
- Requires-Dist: ipython<7.10,>=7.9; (python_version >= "3" and python_version < "3.7") and extra == "jupyter"
85
- Requires-Dist: ipython>=7.34; (python_version >= "3.7" and python_version < "3.8") and extra == "jupyter"
86
- Requires-Dist: ipython>=8.12; (python_version >= "3.8" and python_version < "3.9") and extra == "jupyter"
87
- Requires-Dist: ipython>=8.18; (python_version >= "3.9" and python_version < "3.11") and extra == "jupyter"
88
- Requires-Dist: ipython>=9; python_version >= "3.11" and extra == "jupyter"
86
+ Requires-Dist: pywinpty<0.6,>=0.5; (python_version < "3" and os_name == "nt") and extra == "jupyter"
87
+ Requires-Dist: ipykernel>=7; python_version >= "3.10" and extra == "jupyter"
88
+ Requires-Dist: jupyter-client<6.1.13,>=6.1.12; (python_version >= "3.5" and python_version < "3.6") and extra == "jupyter"
89
89
  Requires-Dist: ipykernel>=4.10; python_version < "3" and extra == "jupyter"
90
+ Requires-Dist: ipython>=8.18; (python_version >= "3.9" and python_version < "3.11") and extra == "jupyter"
91
+ Requires-Dist: papermill>=1.2; extra == "jupyter"
90
92
  Requires-Dist: ipykernel>=5.5; (python_version >= "3" and python_version < "3.8") and extra == "jupyter"
91
- Requires-Dist: ipykernel>=6; (python_version >= "3.8" and python_version < "3.10") and extra == "jupyter"
92
- Requires-Dist: ipykernel>=7; python_version >= "3.10" and extra == "jupyter"
93
+ Requires-Dist: ipython>=8.12; (python_version >= "3.8" and python_version < "3.9") and extra == "jupyter"
94
+ Requires-Dist: ipython>=7.34; (python_version >= "3.7" and python_version < "3.8") and extra == "jupyter"
95
+ Requires-Dist: ipython<7.10,>=7.9; (python_version >= "3" and python_version < "3.7") and extra == "jupyter"
96
+ Requires-Dist: jupyter>=1.1; extra == "jupyter"
97
+ Requires-Dist: ipython>=5.4; python_version < "3" and extra == "jupyter"
93
98
  Requires-Dist: jupyter-client>=5.3; python_version < "3.5" and extra == "jupyter"
94
- Requires-Dist: jupyter-client<6.1.13,>=6.1.12; (python_version >= "3.5" and python_version < "3.6") and extra == "jupyter"
95
- Requires-Dist: jupyter-client>=7.1.2; python_version >= "3.6" and extra == "jupyter"
99
+ Requires-Dist: jupyter-console>=6.6; python_version >= "3.7" and extra == "jupyter"
96
100
  Requires-Dist: jedi<0.18,>=0.17; python_version < "3.9" and extra == "jupyter"
101
+ Requires-Dist: ipykernel>=6; (python_version >= "3.8" and python_version < "3.10") and extra == "jupyter"
97
102
  Requires-Dist: jedi>=0.19; python_version >= "3.9" and extra == "jupyter"
98
- Requires-Dist: pywinpty<0.6,>=0.5; (python_version < "3" and os_name == "nt") and extra == "jupyter"
99
- Requires-Dist: jupyter>=1.1; extra == "jupyter"
100
- Requires-Dist: jupyter-console>=5.2; python_version < "3.5" and extra == "jupyter"
101
103
  Requires-Dist: jupyter-console>=6.1; (python_version >= "3.5" and python_version < "3.7") and extra == "jupyter"
102
- Requires-Dist: jupyter-console>=6.6; python_version >= "3.7" and extra == "jupyter"
103
- Requires-Dist: papermill>=1.2; extra == "jupyter"
104
+ Requires-Dist: jupyter-client>=7.1.2; python_version >= "3.6" and extra == "jupyter"
105
+ Requires-Dist: jupyter-console>=5.2; python_version < "3.5" and extra == "jupyter"
106
+ Requires-Dist: ipython>=9; python_version >= "3.11" and extra == "jupyter"
104
107
  Provides-Extra: jupyterlab
105
- Requires-Dist: ipython>=5.4; python_version < "3" and extra == "jupyterlab"
106
- Requires-Dist: ipython<7.10,>=7.9; (python_version >= "3" and python_version < "3.7") and extra == "jupyterlab"
107
- Requires-Dist: ipython>=7.34; (python_version >= "3.7" and python_version < "3.8") and extra == "jupyterlab"
108
- Requires-Dist: ipython>=8.12; (python_version >= "3.8" and python_version < "3.9") and extra == "jupyterlab"
109
- Requires-Dist: ipython>=8.18; (python_version >= "3.9" and python_version < "3.11") and extra == "jupyterlab"
110
- Requires-Dist: ipython>=9; python_version >= "3.11" and extra == "jupyterlab"
108
+ Requires-Dist: pywinpty<0.6,>=0.5; (python_version < "3" and os_name == "nt") and extra == "jupyterlab"
109
+ Requires-Dist: ipykernel>=7; python_version >= "3.10" and extra == "jupyterlab"
110
+ Requires-Dist: jupyter-client<6.1.13,>=6.1.12; (python_version >= "3.5" and python_version < "3.6") and extra == "jupyterlab"
111
111
  Requires-Dist: ipykernel>=4.10; python_version < "3" and extra == "jupyterlab"
112
+ Requires-Dist: jupyterlab>=2.2; python_version >= "3.5" and extra == "jupyterlab"
113
+ Requires-Dist: ipython>=8.18; (python_version >= "3.9" and python_version < "3.11") and extra == "jupyterlab"
114
+ Requires-Dist: papermill>=1.2; extra == "jupyterlab"
112
115
  Requires-Dist: ipykernel>=5.5; (python_version >= "3" and python_version < "3.8") and extra == "jupyterlab"
113
- Requires-Dist: ipykernel>=6; (python_version >= "3.8" and python_version < "3.10") and extra == "jupyterlab"
114
- Requires-Dist: ipykernel>=7; python_version >= "3.10" and extra == "jupyterlab"
116
+ Requires-Dist: ipython>=8.12; (python_version >= "3.8" and python_version < "3.9") and extra == "jupyterlab"
117
+ Requires-Dist: ipython>=7.34; (python_version >= "3.7" and python_version < "3.8") and extra == "jupyterlab"
118
+ Requires-Dist: ipython<7.10,>=7.9; (python_version >= "3" and python_version < "3.7") and extra == "jupyterlab"
119
+ Requires-Dist: jupyter>=1.1; extra == "jupyterlab"
120
+ Requires-Dist: ipython>=5.4; python_version < "3" and extra == "jupyterlab"
115
121
  Requires-Dist: jupyter-client>=5.3; python_version < "3.5" and extra == "jupyterlab"
116
- Requires-Dist: jupyter-client<6.1.13,>=6.1.12; (python_version >= "3.5" and python_version < "3.6") and extra == "jupyterlab"
117
- Requires-Dist: jupyter-client>=7.1.2; python_version >= "3.6" and extra == "jupyterlab"
122
+ Requires-Dist: jupyter-console>=6.6; python_version >= "3.7" and extra == "jupyterlab"
118
123
  Requires-Dist: jedi<0.18,>=0.17; python_version < "3.9" and extra == "jupyterlab"
124
+ Requires-Dist: ipykernel>=6; (python_version >= "3.8" and python_version < "3.10") and extra == "jupyterlab"
119
125
  Requires-Dist: jedi>=0.19; python_version >= "3.9" and extra == "jupyterlab"
120
- Requires-Dist: pywinpty<0.6,>=0.5; (python_version < "3" and os_name == "nt") and extra == "jupyterlab"
121
- Requires-Dist: jupyter>=1.1; extra == "jupyterlab"
122
- Requires-Dist: jupyter-console>=5.2; python_version < "3.5" and extra == "jupyterlab"
123
126
  Requires-Dist: jupyter-console>=6.1; (python_version >= "3.5" and python_version < "3.7") and extra == "jupyterlab"
124
- Requires-Dist: jupyter-console>=6.6; python_version >= "3.7" and extra == "jupyterlab"
125
- Requires-Dist: papermill>=1.2; extra == "jupyterlab"
126
- Requires-Dist: jupyterlab>=2.2; python_version >= "3.5" and extra == "jupyterlab"
127
+ Requires-Dist: jupyter-client>=7.1.2; python_version >= "3.6" and extra == "jupyterlab"
128
+ Requires-Dist: jupyter-console>=5.2; python_version < "3.5" and extra == "jupyterlab"
129
+ Requires-Dist: ipython>=9; python_version >= "3.11" and extra == "jupyterlab"
127
130
  Provides-Extra: jupytext
128
- Requires-Dist: ipython>=5.4; python_version < "3" and extra == "jupytext"
129
- Requires-Dist: ipython<7.10,>=7.9; (python_version >= "3" and python_version < "3.7") and extra == "jupytext"
130
- Requires-Dist: ipython>=7.34; (python_version >= "3.7" and python_version < "3.8") and extra == "jupytext"
131
- Requires-Dist: ipython>=8.12; (python_version >= "3.8" and python_version < "3.9") and extra == "jupytext"
132
- Requires-Dist: ipython>=8.18; (python_version >= "3.9" and python_version < "3.11") and extra == "jupytext"
133
- Requires-Dist: ipython>=9; python_version >= "3.11" and extra == "jupytext"
131
+ Requires-Dist: pywinpty<0.6,>=0.5; (python_version < "3" and os_name == "nt") and extra == "jupytext"
132
+ Requires-Dist: ipykernel>=7; python_version >= "3.10" and extra == "jupytext"
133
+ Requires-Dist: jupyter-client<6.1.13,>=6.1.12; (python_version >= "3.5" and python_version < "3.6") and extra == "jupytext"
134
134
  Requires-Dist: ipykernel>=4.10; python_version < "3" and extra == "jupytext"
135
+ Requires-Dist: ipython>=8.18; (python_version >= "3.9" and python_version < "3.11") and extra == "jupytext"
136
+ Requires-Dist: papermill>=1.2; extra == "jupytext"
135
137
  Requires-Dist: ipykernel>=5.5; (python_version >= "3" and python_version < "3.8") and extra == "jupytext"
136
- Requires-Dist: ipykernel>=6; (python_version >= "3.8" and python_version < "3.10") and extra == "jupytext"
137
- Requires-Dist: ipykernel>=7; python_version >= "3.10" and extra == "jupytext"
138
+ Requires-Dist: jupytext>=1.8; python_version >= "3" and extra == "jupytext"
139
+ Requires-Dist: ipython>=8.12; (python_version >= "3.8" and python_version < "3.9") and extra == "jupytext"
140
+ Requires-Dist: ipython>=7.34; (python_version >= "3.7" and python_version < "3.8") and extra == "jupytext"
141
+ Requires-Dist: ipython<7.10,>=7.9; (python_version >= "3" and python_version < "3.7") and extra == "jupytext"
142
+ Requires-Dist: jupyter>=1.1; extra == "jupytext"
143
+ Requires-Dist: ipython>=5.4; python_version < "3" and extra == "jupytext"
138
144
  Requires-Dist: jupyter-client>=5.3; python_version < "3.5" and extra == "jupytext"
139
- Requires-Dist: jupyter-client<6.1.13,>=6.1.12; (python_version >= "3.5" and python_version < "3.6") and extra == "jupytext"
140
- Requires-Dist: jupyter-client>=7.1.2; python_version >= "3.6" and extra == "jupytext"
145
+ Requires-Dist: jupyter-console>=6.6; python_version >= "3.7" and extra == "jupytext"
141
146
  Requires-Dist: jedi<0.18,>=0.17; python_version < "3.9" and extra == "jupytext"
147
+ Requires-Dist: ipykernel>=6; (python_version >= "3.8" and python_version < "3.10") and extra == "jupytext"
142
148
  Requires-Dist: jedi>=0.19; python_version >= "3.9" and extra == "jupytext"
143
- Requires-Dist: pywinpty<0.6,>=0.5; (python_version < "3" and os_name == "nt") and extra == "jupytext"
144
- Requires-Dist: jupyter>=1.1; extra == "jupytext"
145
- Requires-Dist: jupyter-console>=5.2; python_version < "3.5" and extra == "jupytext"
146
149
  Requires-Dist: jupyter-console>=6.1; (python_version >= "3.5" and python_version < "3.7") and extra == "jupytext"
147
- Requires-Dist: jupyter-console>=6.6; python_version >= "3.7" and extra == "jupytext"
148
- Requires-Dist: papermill>=1.2; extra == "jupytext"
149
- Requires-Dist: jupytext>=1.8; python_version >= "3" and extra == "jupytext"
150
+ Requires-Dist: jupyter-client>=7.1.2; python_version >= "3.6" and extra == "jupytext"
151
+ Requires-Dist: jupyter-console>=5.2; python_version < "3.5" and extra == "jupytext"
152
+ Requires-Dist: ipython>=9; python_version >= "3.11" and extra == "jupytext"
150
153
  Provides-Extra: all
151
- Requires-Dist: ipython>=5.4; python_version < "3" and extra == "all"
152
- Requires-Dist: ipython<7.10,>=7.9; (python_version >= "3" and python_version < "3.7") and extra == "all"
153
- Requires-Dist: ipython>=7.34; (python_version >= "3.7" and python_version < "3.8") and extra == "all"
154
- Requires-Dist: ipython>=8.12; (python_version >= "3.8" and python_version < "3.9") and extra == "all"
155
- Requires-Dist: ipython>=8.18; (python_version >= "3.9" and python_version < "3.11") and extra == "all"
156
- Requires-Dist: ipython>=9; python_version >= "3.11" and extra == "all"
157
- Requires-Dist: ipykernel>=4.10; python_version < "3" and extra == "all"
158
- Requires-Dist: ipykernel>=5.5; (python_version >= "3" and python_version < "3.8") and extra == "all"
159
- Requires-Dist: ipykernel>=6; (python_version >= "3.8" and python_version < "3.10") and extra == "all"
154
+ Requires-Dist: pywinpty<0.6,>=0.5; (python_version < "3" and os_name == "nt") and extra == "all"
160
155
  Requires-Dist: ipykernel>=7; python_version >= "3.10" and extra == "all"
161
- Requires-Dist: jupyter-client>=5.3; python_version < "3.5" and extra == "all"
162
156
  Requires-Dist: jupyter-client<6.1.13,>=6.1.12; (python_version >= "3.5" and python_version < "3.6") and extra == "all"
163
- Requires-Dist: jupyter-client>=7.1.2; python_version >= "3.6" and extra == "all"
164
- Requires-Dist: jedi<0.18,>=0.17; python_version < "3.9" and extra == "all"
165
- Requires-Dist: jedi>=0.19; python_version >= "3.9" and extra == "all"
166
- Requires-Dist: pywinpty<0.6,>=0.5; (python_version < "3" and os_name == "nt") and extra == "all"
157
+ Requires-Dist: ipykernel>=4.10; python_version < "3" and extra == "all"
158
+ Requires-Dist: jupyterlab>=2.2; python_version >= "3.5" and extra == "all"
159
+ Requires-Dist: ipython>=8.18; (python_version >= "3.9" and python_version < "3.11") and extra == "all"
160
+ Requires-Dist: papermill>=1.2; extra == "all"
161
+ Requires-Dist: xonsh>=0.11; (python_version >= "3.6" and python_version < "3.11") and extra == "all"
162
+ Requires-Dist: pyright>=1.1; extra == "all"
163
+ Requires-Dist: ipykernel>=5.5; (python_version >= "3" and python_version < "3.8") and extra == "all"
164
+ Requires-Dist: jupytext>=1.8; python_version >= "3" and extra == "all"
165
+ Requires-Dist: ipython>=8.12; (python_version >= "3.8" and python_version < "3.9") and extra == "all"
166
+ Requires-Dist: ipython>=7.34; (python_version >= "3.7" and python_version < "3.8") and extra == "all"
167
167
  Requires-Dist: watchdog>=0.10; extra == "all"
168
168
  Requires-Dist: mypy[python2]>=1.19; extra == "all"
169
+ Requires-Dist: ipython<7.10,>=7.9; (python_version >= "3" and python_version < "3.7") and extra == "all"
170
+ Requires-Dist: numpy>=1.16; (python_version < "3" and platform_python_implementation == "CPython") and extra == "all"
171
+ Requires-Dist: jupyter>=1.1; extra == "all"
172
+ Requires-Dist: ipython>=5.4; python_version < "3" and extra == "all"
173
+ Requires-Dist: jupyter-client>=5.3; python_version < "3.5" and extra == "all"
169
174
  Requires-Dist: types-backports>=0.1; extra == "all"
170
- Requires-Dist: typing>=3.10; python_version < "3.5" and extra == "all"
171
- Requires-Dist: pyright>=1.1; extra == "all"
172
- Requires-Dist: xonsh>=0.9; python_version < "3.6" and extra == "all"
173
- Requires-Dist: xonsh>=0.11; (python_version >= "3.6" and python_version < "3.11") and extra == "all"
175
+ Requires-Dist: jupyter-console>=6.6; python_version >= "3.7" and extra == "all"
174
176
  Requires-Dist: xonsh>=0.22; python_version >= "3.11" and extra == "all"
175
- Requires-Dist: numpy>=1.16; (python_version < "3" and platform_python_implementation == "CPython") and extra == "all"
177
+ Requires-Dist: typing>=3.10; python_version < "3.5" and extra == "all"
178
+ Requires-Dist: jedi<0.18,>=0.17; python_version < "3.9" and extra == "all"
179
+ Requires-Dist: ipykernel>=6; (python_version >= "3.8" and python_version < "3.10") and extra == "all"
176
180
  Requires-Dist: numpy>=1.18; (python_version >= "3.4" and python_version < "3.9") and extra == "all"
177
181
  Requires-Dist: numpy>=1.26; python_version >= "3.9" and extra == "all"
178
- Requires-Dist: pandas>=1.1; python_version >= "3.6" and extra == "all"
179
182
  Requires-Dist: xarray>=2025; python_version >= "3.10" and extra == "all"
180
- Requires-Dist: jupyter>=1.1; extra == "all"
181
- Requires-Dist: jupyter-console>=5.2; python_version < "3.5" and extra == "all"
183
+ Requires-Dist: pandas>=1.1; python_version >= "3.6" and extra == "all"
184
+ Requires-Dist: jedi>=0.19; python_version >= "3.9" and extra == "all"
182
185
  Requires-Dist: jupyter-console>=6.1; (python_version >= "3.5" and python_version < "3.7") and extra == "all"
183
- Requires-Dist: jupyter-console>=6.6; python_version >= "3.7" and extra == "all"
184
- Requires-Dist: papermill>=1.2; extra == "all"
185
- Requires-Dist: jupyterlab>=2.2; python_version >= "3.5" and extra == "all"
186
- Requires-Dist: jupytext>=1.8; python_version >= "3" and extra == "all"
186
+ Requires-Dist: jupyter-client>=7.1.2; python_version >= "3.6" and extra == "all"
187
+ Requires-Dist: jupyter-console>=5.2; python_version < "3.5" and extra == "all"
188
+ Requires-Dist: ipython>=9; python_version >= "3.11" and extra == "all"
189
+ Requires-Dist: xonsh>=0.9; python_version < "3.6" and extra == "all"
187
190
  Provides-Extra: ipython
188
- Requires-Dist: ipython>=5.4; python_version < "3" and extra == "ipython"
189
- Requires-Dist: ipython<7.10,>=7.9; (python_version >= "3" and python_version < "3.7") and extra == "ipython"
190
- Requires-Dist: ipython>=7.34; (python_version >= "3.7" and python_version < "3.8") and extra == "ipython"
191
- Requires-Dist: ipython>=8.12; (python_version >= "3.8" and python_version < "3.9") and extra == "ipython"
192
- Requires-Dist: ipython>=8.18; (python_version >= "3.9" and python_version < "3.11") and extra == "ipython"
193
- Requires-Dist: ipython>=9; python_version >= "3.11" and extra == "ipython"
191
+ Requires-Dist: pywinpty<0.6,>=0.5; (python_version < "3" and os_name == "nt") and extra == "ipython"
192
+ Requires-Dist: ipykernel>=7; python_version >= "3.10" and extra == "ipython"
193
+ Requires-Dist: jupyter-client<6.1.13,>=6.1.12; (python_version >= "3.5" and python_version < "3.6") and extra == "ipython"
194
194
  Requires-Dist: ipykernel>=4.10; python_version < "3" and extra == "ipython"
195
+ Requires-Dist: ipython>=8.18; (python_version >= "3.9" and python_version < "3.11") and extra == "ipython"
196
+ Requires-Dist: papermill>=1.2; extra == "ipython"
195
197
  Requires-Dist: ipykernel>=5.5; (python_version >= "3" and python_version < "3.8") and extra == "ipython"
196
- Requires-Dist: ipykernel>=6; (python_version >= "3.8" and python_version < "3.10") and extra == "ipython"
197
- Requires-Dist: ipykernel>=7; python_version >= "3.10" and extra == "ipython"
198
+ Requires-Dist: ipython>=8.12; (python_version >= "3.8" and python_version < "3.9") and extra == "ipython"
199
+ Requires-Dist: ipython>=7.34; (python_version >= "3.7" and python_version < "3.8") and extra == "ipython"
200
+ Requires-Dist: ipython<7.10,>=7.9; (python_version >= "3" and python_version < "3.7") and extra == "ipython"
201
+ Requires-Dist: jupyter>=1.1; extra == "ipython"
202
+ Requires-Dist: ipython>=5.4; python_version < "3" and extra == "ipython"
198
203
  Requires-Dist: jupyter-client>=5.3; python_version < "3.5" and extra == "ipython"
199
- Requires-Dist: jupyter-client<6.1.13,>=6.1.12; (python_version >= "3.5" and python_version < "3.6") and extra == "ipython"
200
- Requires-Dist: jupyter-client>=7.1.2; python_version >= "3.6" and extra == "ipython"
204
+ Requires-Dist: jupyter-console>=6.6; python_version >= "3.7" and extra == "ipython"
201
205
  Requires-Dist: jedi<0.18,>=0.17; python_version < "3.9" and extra == "ipython"
206
+ Requires-Dist: ipykernel>=6; (python_version >= "3.8" and python_version < "3.10") and extra == "ipython"
202
207
  Requires-Dist: jedi>=0.19; python_version >= "3.9" and extra == "ipython"
203
- Requires-Dist: pywinpty<0.6,>=0.5; (python_version < "3" and os_name == "nt") and extra == "ipython"
204
- Requires-Dist: jupyter>=1.1; extra == "ipython"
205
- Requires-Dist: jupyter-console>=5.2; python_version < "3.5" and extra == "ipython"
206
208
  Requires-Dist: jupyter-console>=6.1; (python_version >= "3.5" and python_version < "3.7") and extra == "ipython"
207
- Requires-Dist: jupyter-console>=6.6; python_version >= "3.7" and extra == "ipython"
208
- Requires-Dist: papermill>=1.2; extra == "ipython"
209
+ Requires-Dist: jupyter-client>=7.1.2; python_version >= "3.6" and extra == "ipython"
210
+ Requires-Dist: jupyter-console>=5.2; python_version < "3.5" and extra == "ipython"
211
+ Requires-Dist: ipython>=9; python_version >= "3.11" and extra == "ipython"
209
212
  Provides-Extra: docs
210
- Requires-Dist: sphinx>=8; extra == "docs"
211
213
  Requires-Dist: pygments>=2.3; python_version < "3.9" and extra == "docs"
212
- Requires-Dist: pygments>=2.19; python_version >= "3.9" and extra == "docs"
213
214
  Requires-Dist: myst-parser>=4; extra == "docs"
215
+ Requires-Dist: sphinx>=8; extra == "docs"
214
216
  Requires-Dist: pydata-sphinx-theme>=0.16; extra == "docs"
217
+ Requires-Dist: pygments>=2.19; python_version >= "3.9" and extra == "docs"
215
218
  Requires-Dist: sphinxcontrib_applehelp>=2; extra == "docs"
216
219
  Requires-Dist: sphinxcontrib_htmlhelp>=2; extra == "docs"
217
220
  Provides-Extra: tests
218
- Requires-Dist: pytest>=3; python_version < "3.6" and extra == "tests"
221
+ Requires-Dist: pywinpty<0.6,>=0.5; (python_version < "3" and os_name == "nt") and extra == "tests"
222
+ Requires-Dist: ipykernel>=7; python_version >= "3.10" and extra == "tests"
223
+ Requires-Dist: jupyter-client<6.1.13,>=6.1.12; (python_version >= "3.5" and python_version < "3.6") and extra == "tests"
224
+ Requires-Dist: ipykernel>=4.10; python_version < "3" and extra == "tests"
225
+ Requires-Dist: ipython>=8.18; (python_version >= "3.9" and python_version < "3.11") and extra == "tests"
226
+ Requires-Dist: papermill>=1.2; extra == "tests"
227
+ Requires-Dist: pexpect>=4; extra == "tests"
228
+ Requires-Dist: xonsh>=0.11; (python_version >= "3.6" and python_version < "3.11") and extra == "tests"
229
+ Requires-Dist: ipykernel>=5.5; (python_version >= "3" and python_version < "3.8") and extra == "tests"
230
+ Requires-Dist: ipython>=8.12; (python_version >= "3.8" and python_version < "3.9") and extra == "tests"
231
+ Requires-Dist: ipython>=7.34; (python_version >= "3.7" and python_version < "3.8") and extra == "tests"
232
+ Requires-Dist: numpy>=1.16; (python_version < "3" and platform_python_implementation == "CPython") and extra == "tests"
233
+ Requires-Dist: ipython<7.10,>=7.9; (python_version >= "3" and python_version < "3.7") and extra == "tests"
234
+ Requires-Dist: jupyter>=1.1; extra == "tests"
235
+ Requires-Dist: ipython>=5.4; python_version < "3" and extra == "tests"
219
236
  Requires-Dist: pytest>=7; (python_version >= "3.6" and python_version < "3.8") and extra == "tests"
237
+ Requires-Dist: jupyter-client>=5.3; python_version < "3.5" and extra == "tests"
220
238
  Requires-Dist: pytest<8.1,>=8.0; python_version >= "3.8" and extra == "tests"
221
- Requires-Dist: pexpect>=4; extra == "tests"
239
+ Requires-Dist: jupyter-console>=6.6; python_version >= "3.7" and extra == "tests"
240
+ Requires-Dist: xonsh>=0.22; python_version >= "3.11" and extra == "tests"
241
+ Requires-Dist: jedi<0.18,>=0.17; python_version < "3.9" and extra == "tests"
222
242
  Requires-Dist: pytest_remotedata>=0.3; extra == "tests"
243
+ Requires-Dist: ipykernel>=6; (python_version >= "3.8" and python_version < "3.10") and extra == "tests"
244
+ Requires-Dist: numpy>=1.18; (python_version >= "3.4" and python_version < "3.9") and extra == "tests"
245
+ Requires-Dist: numpy>=1.26; python_version >= "3.9" and extra == "tests"
246
+ Requires-Dist: xarray>=2025; python_version >= "3.10" and extra == "tests"
247
+ Requires-Dist: pandas>=1.1; python_version >= "3.6" and extra == "tests"
248
+ Requires-Dist: jedi>=0.19; python_version >= "3.9" and extra == "tests"
249
+ Requires-Dist: jupyter-console>=6.1; (python_version >= "3.5" and python_version < "3.7") and extra == "tests"
250
+ Requires-Dist: jupyter-client>=7.1.2; python_version >= "3.6" and extra == "tests"
251
+ Requires-Dist: jupyter-console>=5.2; python_version < "3.5" and extra == "tests"
252
+ Requires-Dist: ipython>=9; python_version >= "3.11" and extra == "tests"
253
+ Requires-Dist: xonsh>=0.9; python_version < "3.6" and extra == "tests"
254
+ Requires-Dist: pytest>=3; python_version < "3.6" and extra == "tests"
223
255
  Provides-Extra: dev
224
- Requires-Dist: ipython>=5.4; python_version < "3" and extra == "dev"
225
- Requires-Dist: ipython<7.10,>=7.9; (python_version >= "3" and python_version < "3.7") and extra == "dev"
226
- Requires-Dist: ipython>=7.34; (python_version >= "3.7" and python_version < "3.8") and extra == "dev"
227
- Requires-Dist: ipython>=8.12; (python_version >= "3.8" and python_version < "3.9") and extra == "dev"
228
- Requires-Dist: ipython>=8.18; (python_version >= "3.9" and python_version < "3.11") and extra == "dev"
229
- Requires-Dist: ipython>=9; python_version >= "3.11" and extra == "dev"
230
- Requires-Dist: ipykernel>=4.10; python_version < "3" and extra == "dev"
231
- Requires-Dist: ipykernel>=5.5; (python_version >= "3" and python_version < "3.8") and extra == "dev"
232
- Requires-Dist: ipykernel>=6; (python_version >= "3.8" and python_version < "3.10") and extra == "dev"
256
+ Requires-Dist: pywinpty<0.6,>=0.5; (python_version < "3" and os_name == "nt") and extra == "dev"
233
257
  Requires-Dist: ipykernel>=7; python_version >= "3.10" and extra == "dev"
234
- Requires-Dist: jupyter-client>=5.3; python_version < "3.5" and extra == "dev"
258
+ Requires-Dist: sphinx>=8; extra == "dev"
235
259
  Requires-Dist: jupyter-client<6.1.13,>=6.1.12; (python_version >= "3.5" and python_version < "3.6") and extra == "dev"
236
- Requires-Dist: jupyter-client>=7.1.2; python_version >= "3.6" and extra == "dev"
237
- Requires-Dist: jedi<0.18,>=0.17; python_version < "3.9" and extra == "dev"
238
- Requires-Dist: jedi>=0.19; python_version >= "3.9" and extra == "dev"
239
- Requires-Dist: pywinpty<0.6,>=0.5; (python_version < "3" and os_name == "nt") and extra == "dev"
260
+ Requires-Dist: ipykernel>=4.10; python_version < "3" and extra == "dev"
261
+ Requires-Dist: pygments>=2.19; python_version >= "3.9" and extra == "dev"
262
+ Requires-Dist: jupyterlab>=2.2; python_version >= "3.5" and extra == "dev"
263
+ Requires-Dist: ipython>=8.18; (python_version >= "3.9" and python_version < "3.11") and extra == "dev"
264
+ Requires-Dist: papermill>=1.2; extra == "dev"
265
+ Requires-Dist: pexpect>=4; extra == "dev"
266
+ Requires-Dist: sphinxcontrib_applehelp>=2; extra == "dev"
267
+ Requires-Dist: xonsh>=0.11; (python_version >= "3.6" and python_version < "3.11") and extra == "dev"
268
+ Requires-Dist: pyright>=1.1; extra == "dev"
269
+ Requires-Dist: ipykernel>=5.5; (python_version >= "3" and python_version < "3.8") and extra == "dev"
270
+ Requires-Dist: jupytext>=1.8; python_version >= "3" and extra == "dev"
271
+ Requires-Dist: ipython>=8.12; (python_version >= "3.8" and python_version < "3.9") and extra == "dev"
272
+ Requires-Dist: ipython>=7.34; (python_version >= "3.7" and python_version < "3.8") and extra == "dev"
240
273
  Requires-Dist: watchdog>=0.10; extra == "dev"
241
274
  Requires-Dist: mypy[python2]>=1.19; extra == "dev"
275
+ Requires-Dist: ipython<7.10,>=7.9; (python_version >= "3" and python_version < "3.7") and extra == "dev"
276
+ Requires-Dist: numpy>=1.16; (python_version < "3" and platform_python_implementation == "CPython") and extra == "dev"
277
+ Requires-Dist: pyparsing<2.4.8,>=2.4.7; extra == "dev"
278
+ Requires-Dist: jupyter>=1.1; extra == "dev"
279
+ Requires-Dist: ipython>=5.4; python_version < "3" and extra == "dev"
280
+ Requires-Dist: pytest>=7; (python_version >= "3.6" and python_version < "3.8") and extra == "dev"
281
+ Requires-Dist: vprof>=0.36; extra == "dev"
282
+ Requires-Dist: jupyter-client>=5.3; python_version < "3.5" and extra == "dev"
242
283
  Requires-Dist: types-backports>=0.1; extra == "dev"
243
- Requires-Dist: typing>=3.10; python_version < "3.5" and extra == "dev"
244
- Requires-Dist: pyright>=1.1; extra == "dev"
245
- Requires-Dist: xonsh>=0.9; python_version < "3.6" and extra == "dev"
246
- Requires-Dist: xonsh>=0.11; (python_version >= "3.6" and python_version < "3.11") and extra == "dev"
284
+ Requires-Dist: pytest<8.1,>=8.0; python_version >= "3.8" and extra == "dev"
285
+ Requires-Dist: pygments>=2.3; python_version < "3.9" and extra == "dev"
286
+ Requires-Dist: jupyter-console>=6.6; python_version >= "3.7" and extra == "dev"
247
287
  Requires-Dist: xonsh>=0.22; python_version >= "3.11" and extra == "dev"
248
- Requires-Dist: numpy>=1.16; (python_version < "3" and platform_python_implementation == "CPython") and extra == "dev"
288
+ Requires-Dist: typing>=3.10; python_version < "3.5" and extra == "dev"
289
+ Requires-Dist: pre-commit>=4; python_version >= "3" and extra == "dev"
290
+ Requires-Dist: jedi<0.18,>=0.17; python_version < "3.9" and extra == "dev"
291
+ Requires-Dist: pytest_remotedata>=0.3; extra == "dev"
292
+ Requires-Dist: ipykernel>=6; (python_version >= "3.8" and python_version < "3.10") and extra == "dev"
249
293
  Requires-Dist: numpy>=1.18; (python_version >= "3.4" and python_version < "3.9") and extra == "dev"
250
294
  Requires-Dist: numpy>=1.26; python_version >= "3.9" and extra == "dev"
251
- Requires-Dist: pandas>=1.1; python_version >= "3.6" and extra == "dev"
252
295
  Requires-Dist: xarray>=2025; python_version >= "3.10" and extra == "dev"
253
- Requires-Dist: jupyter>=1.1; extra == "dev"
254
- Requires-Dist: jupyter-console>=5.2; python_version < "3.5" and extra == "dev"
255
- Requires-Dist: jupyter-console>=6.1; (python_version >= "3.5" and python_version < "3.7") and extra == "dev"
256
- Requires-Dist: jupyter-console>=6.6; python_version >= "3.7" and extra == "dev"
257
- Requires-Dist: papermill>=1.2; extra == "dev"
258
- Requires-Dist: jupyterlab>=2.2; python_version >= "3.5" and extra == "dev"
259
- Requires-Dist: jupytext>=1.8; python_version >= "3" and extra == "dev"
260
- Requires-Dist: sphinx>=8; extra == "dev"
261
- Requires-Dist: pygments>=2.3; python_version < "3.9" and extra == "dev"
262
- Requires-Dist: pygments>=2.19; python_version >= "3.9" and extra == "dev"
296
+ Requires-Dist: pandas>=1.1; python_version >= "3.6" and extra == "dev"
297
+ Requires-Dist: jedi>=0.19; python_version >= "3.9" and extra == "dev"
263
298
  Requires-Dist: myst-parser>=4; extra == "dev"
299
+ Requires-Dist: py-spy>=0.4; extra == "dev"
300
+ Requires-Dist: requests>=2.32; extra == "dev"
264
301
  Requires-Dist: pydata-sphinx-theme>=0.16; extra == "dev"
265
- Requires-Dist: sphinxcontrib_applehelp>=2; extra == "dev"
302
+ Requires-Dist: jupyter-console>=6.1; (python_version >= "3.5" and python_version < "3.7") and extra == "dev"
303
+ Requires-Dist: jupyter-client>=7.1.2; python_version >= "3.6" and extra == "dev"
304
+ Requires-Dist: jupyter-console>=5.2; python_version < "3.5" and extra == "dev"
305
+ Requires-Dist: ipython>=9; python_version >= "3.11" and extra == "dev"
306
+ Requires-Dist: xonsh>=0.9; python_version < "3.6" and extra == "dev"
266
307
  Requires-Dist: sphinxcontrib_htmlhelp>=2; extra == "dev"
267
308
  Requires-Dist: pytest>=3; python_version < "3.6" and extra == "dev"
268
- Requires-Dist: pytest>=7; (python_version >= "3.6" and python_version < "3.8") and extra == "dev"
269
- Requires-Dist: pytest<8.1,>=8.0; python_version >= "3.8" and extra == "dev"
270
- Requires-Dist: pexpect>=4; extra == "dev"
271
- Requires-Dist: pytest_remotedata>=0.3; extra == "dev"
272
- Requires-Dist: pyparsing<2.4.8,>=2.4.7; extra == "dev"
273
- Requires-Dist: pre-commit>=4; python_version >= "3" and extra == "dev"
274
- Requires-Dist: requests>=2.32; extra == "dev"
275
- Requires-Dist: vprof>=0.36; extra == "dev"
276
- Requires-Dist: py-spy>=0.4; extra == "dev"
277
309
  Requires-Dist: argparse>=1.4; python_version < "2.7"
278
310
  Requires-Dist: psutil>=6; python_version >= "2.7" and python_version < "3"
279
311
  Requires-Dist: psutil>=7; python_version >= "3"
@@ -296,7 +328,7 @@ Requires-Dist: async_generator>=1.10; python_version >= "3.5"
296
328
  Requires-Dist: tstr>=0.4; python_version >= "3.10"
297
329
  Requires-Dist: exceptiongroup>=1; python_version >= "3.7" and python_version < "3.11"
298
330
  Requires-Dist: anyio>=3; python_version >= "3.6"
299
- Requires-Dist: cPyparsing<2.4.7.2.5,>=2.4.7.2.4.1; platform_python_implementation == "CPython"
331
+ Requires-Dist: cPyparsing<2.4.7.2.5,>=2.4.7.2.4.3; platform_python_implementation == "CPython"
300
332
  Requires-Dist: pyparsing<2.4.8,>=2.4.7; platform_python_implementation != "CPython"
301
333
  Dynamic: author
302
334
  Dynamic: author-email
@@ -3,7 +3,7 @@
3
3
  # -----------------------------------------------------------------------------------------------------------------------
4
4
 
5
5
  """
6
- Author: Evan Hubinger
6
+ Authors: Evan Hubinger, Claude
7
7
  License: Apache 2.0
8
8
  Description: MyPy stub file for __coconut__.py.
9
9
  """
@@ -1439,7 +1439,7 @@ class multiset(_t.Generic[_T], _coconut.collections.Counter[_T]):
1439
1439
  def discard(self, item: _T) -> None: ...
1440
1440
  def remove(self, item: _T) -> None: ...
1441
1441
  def isdisjoint(self, other: _coconut.collections.Counter[_T]) -> bool: ...
1442
- def __xor__(self, other: _coconut.collections.Counter[_T]) -> multiset[_T]: ...
1442
+ def __xor__(self, other: _coconut.collections.Counter[_U]) -> multiset[_T | _U]: ...
1443
1443
  def count(self, item: _T) -> int: ...
1444
1444
  def __fmap__(self, func: _t.Callable[[_T], _U]) -> multiset[_U]: ...
1445
1445
  _coconut_multiset = multiset
@@ -6,7 +6,7 @@
6
6
  # -----------------------------------------------------------------------------------------------------------------------
7
7
 
8
8
  """
9
- Author: Evan Hubinger
9
+ Authors: Evan Hubinger, Claude
10
10
  License: Apache 2.0
11
11
  Description: Wrapper around PyParsing that selects the best available implementation.
12
12
  """
@@ -248,7 +248,7 @@ USE_COMPUTATION_GRAPH = get_bool_env_var(
248
248
  # it breaks some features and balloons the memory footprint
249
249
  # and not PYPY
250
250
  ),
251
- )
251
+ ) # type: bool
252
252
 
253
253
  SUPPORTS_ADAPTIVE = (
254
254
  USE_COMPUTATION_GRAPH
@@ -53,10 +53,10 @@ from coconut.constants import (
53
53
  GLOBAL_STATE = None
54
54
 
55
55
 
56
- def get_state(state=None):
57
- """Get a Coconut state object; None gets a new state, False gets the global state."""
56
+ def get_state(state=True):
57
+ """Get a Coconut state object; True gets a new state, False gets the global state."""
58
58
  global GLOBAL_STATE
59
- if state is None:
59
+ if state is None or state is True:
60
60
  return Command()
61
61
  elif state is False:
62
62
  if GLOBAL_STATE is None:
@@ -38,7 +38,7 @@ class CoconutException(Exception):
38
38
  GLOBAL_STATE: Optional[Command] = None
39
39
 
40
40
 
41
- def get_state(state: Optional[Command] = None) -> Command:
41
+ def get_state(state: Optional[Command] | bool = None) -> Command:
42
42
  """Get a Coconut state object; None gets a new state, False gets the global state."""
43
43
  ...
44
44
 
@@ -46,7 +46,7 @@ def get_state(state: Optional[Command] = None) -> Command:
46
46
  def cmd(
47
47
  args: Text | bytes | Iterable,
48
48
  *,
49
- state: Command | None = ...,
49
+ state: Optional[Command] | bool = ...,
50
50
  argv: Iterable[Text] | None = None,
51
51
  interact: bool = False,
52
52
  default_target: Text | None = None,
@@ -81,7 +81,7 @@ def setup(
81
81
  no_tco: bool = False,
82
82
  no_wrap: bool = False,
83
83
  pure: bool = False,
84
- state: Optional[Command] = ...,
84
+ state: Optional[Command] | bool = ...,
85
85
  ) -> None:
86
86
  """Set up the given state object."""
87
87
  ...
@@ -91,7 +91,7 @@ def warm_up(
91
91
  streamline: bool = False,
92
92
  enable_incremental_mode: bool = False,
93
93
  *,
94
- state: Optional[Command] = ...,
94
+ state: Optional[Command] | bool = ...,
95
95
  ) -> None:
96
96
  """Warm up the given state object."""
97
97
  ...
@@ -103,7 +103,7 @@ PARSERS: Dict[Text, Callable] = ...
103
103
  def parse(
104
104
  code: Text,
105
105
  mode: Text = ...,
106
- state: Optional[Command] = ...,
106
+ state: Optional[Command] | bool = ...,
107
107
  keep_internal_state: Optional[bool] = None,
108
108
  ) -> Text:
109
109
  """Compile Coconut code."""
@@ -114,7 +114,7 @@ def coconut_exec(
114
114
  expression: Text,
115
115
  globals: Optional[Dict[Text, Any]] = None,
116
116
  locals: Optional[Dict[Text, Any]] = None,
117
- state: Optional[Command] = ...,
117
+ state: Optional[Command] | bool = ...,
118
118
  keep_internal_state: Optional[bool] = None,
119
119
  ) -> None:
120
120
  """Compile and evaluate Coconut code."""
@@ -125,7 +125,7 @@ def coconut_eval(
125
125
  expression: Text,
126
126
  globals: Optional[Dict[Text, Any]] = None,
127
127
  locals: Optional[Dict[Text, Any]] = None,
128
- state: Optional[Command] = ...,
128
+ state: Optional[Command] | bool = ...,
129
129
  keep_internal_state: Optional[bool] = None,
130
130
  ) -> Any:
131
131
  """Compile and evaluate Coconut code."""
@@ -6,7 +6,7 @@
6
6
  # -----------------------------------------------------------------------------------------------------------------------
7
7
 
8
8
  """
9
- Authors: Evan Hubinger, Fred Buchanan, Noah Lipsyc, Ishaan Verma
9
+ Authors: Evan Hubinger, Fred Buchanan, Noah Lipsyc, Ishaan Verma, Claude
10
10
  License: Apache 2.0
11
11
  Description: The Coconut command-line utility.
12
12
  """
@@ -54,6 +54,7 @@ from coconut.constants import (
54
54
  icoconut_default_kernel_names,
55
55
  icoconut_default_kernel_dirs,
56
56
  icoconut_custom_kernel_name,
57
+ icoconut_custom_kernel_dir,
57
58
  icoconut_old_kernel_names,
58
59
  exit_chars,
59
60
  verbose_mypy_args,
@@ -396,7 +397,7 @@ class Command(object):
396
397
  elif getattr(args, "and"):
397
398
  raise CoconutException("--and should only be used for extra source/dest pairs, not the first source/dest pair")
398
399
  elif (
399
- args.run
400
+ (args.run and not args.interact)
400
401
  or args.no_write
401
402
  or args.force
402
403
  or args.package
@@ -1116,10 +1117,14 @@ class Command(object):
1116
1117
  install_args = args if just_install else []
1117
1118
 
1118
1119
  # always update the custom kernel, but only reinstall it if it isn't already there or just installing
1119
- custom_kernel_dir = install_custom_kernel(logger=logger)
1120
- if custom_kernel_dir is not None and (icoconut_custom_kernel_name not in kernel_list or just_install):
1120
+ custom_kernel_installed = install_custom_kernel(logger=logger) is not None
1121
+ if custom_kernel_installed and (icoconut_custom_kernel_name not in kernel_list or just_install):
1121
1122
  logger.show_sig("Installing Jupyter kernel {name!r}...".format(name=icoconut_custom_kernel_name))
1122
- if self.install_jupyter_kernel(jupyter, custom_kernel_dir, install_args):
1123
+ # we install from icoconut_custom_kernel_dir rather than the directory returned by
1124
+ # install_custom_kernel since the latter might be the same as the destination
1125
+ # jupyter installs to (e.g. when sys.exec_prefix is /usr/local), in which case
1126
+ # jupyter would delete the kernel before copying it
1127
+ if self.install_jupyter_kernel(jupyter, icoconut_custom_kernel_dir, install_args):
1123
1128
  newly_installed_kernels.append(icoconut_custom_kernel_name)
1124
1129
 
1125
1130
  if just_install: