ipyk-unlock 7.2.0__py3-none-any.whl

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.
@@ -0,0 +1,121 @@
1
+ Metadata-Version: 2.4
2
+ Name: ipyk-unlock
3
+ Version: 7.2.0
4
+ Summary: IPython Kernel for Jupyter
5
+ Project-URL: Homepage, https://ipython.org
6
+ Project-URL: Documentation, https://ipykernel.readthedocs.io
7
+ Project-URL: Source, https://github.com/ipython/ipykernel
8
+ Project-URL: Tracker, https://github.com/ipython/ipykernel/issues
9
+ Author-email: IPython Development Team <ipython-dev@scipy.org>
10
+ License-Expression: BSD-3-Clause
11
+ License-File: LICENSE
12
+ Keywords: Interactive,Interpreter,Shell,Web
13
+ Classifier: Intended Audience :: Developers
14
+ Classifier: Intended Audience :: Science/Research
15
+ Classifier: Intended Audience :: System Administrators
16
+ Classifier: Programming Language :: Python
17
+ Classifier: Programming Language :: Python :: 3
18
+ Requires-Python: >=3.10
19
+ Requires-Dist: appnope>=0.1.2; platform_system == 'Darwin'
20
+ Requires-Dist: comm>=0.1.1
21
+ Requires-Dist: debugpy>=1.6.5
22
+ Requires-Dist: ipython>=7.23.1
23
+ Requires-Dist: jupyter-client>=8.8.0
24
+ Requires-Dist: jupyter-core!=6.0.*,>=5.1
25
+ Requires-Dist: matplotlib-inline>=0.1
26
+ Requires-Dist: nest-asyncio>=1.4
27
+ Requires-Dist: packaging>=22
28
+ Requires-Dist: psutil>=5.7
29
+ Requires-Dist: pyzmq>=25
30
+ Requires-Dist: tornado>=6.4.1
31
+ Requires-Dist: traitlets>=5.4.0
32
+ Provides-Extra: cov
33
+ Requires-Dist: coverage[toml]; extra == 'cov'
34
+ Requires-Dist: matplotlib; extra == 'cov'
35
+ Requires-Dist: pytest-cov; extra == 'cov'
36
+ Requires-Dist: trio; extra == 'cov'
37
+ Provides-Extra: docs
38
+ Requires-Dist: intersphinx-registry; extra == 'docs'
39
+ Requires-Dist: myst-parser; extra == 'docs'
40
+ Requires-Dist: pydata-sphinx-theme; extra == 'docs'
41
+ Requires-Dist: sphinx-autodoc-typehints; extra == 'docs'
42
+ Requires-Dist: sphinx<8.2.0; extra == 'docs'
43
+ Requires-Dist: sphinxcontrib-github-alt; extra == 'docs'
44
+ Requires-Dist: sphinxcontrib-spelling; extra == 'docs'
45
+ Requires-Dist: trio; extra == 'docs'
46
+ Provides-Extra: pyqt5
47
+ Requires-Dist: pyqt5; extra == 'pyqt5'
48
+ Provides-Extra: pyside6
49
+ Requires-Dist: pyside6; extra == 'pyside6'
50
+ Provides-Extra: test
51
+ Requires-Dist: flaky; extra == 'test'
52
+ Requires-Dist: ipyparallel; extra == 'test'
53
+ Requires-Dist: pre-commit; extra == 'test'
54
+ Requires-Dist: pytest-asyncio>=0.23.5; extra == 'test'
55
+ Requires-Dist: pytest-cov; extra == 'test'
56
+ Requires-Dist: pytest-timeout; extra == 'test'
57
+ Requires-Dist: pytest<10,>=7.0; extra == 'test'
58
+ Description-Content-Type: text/markdown
59
+
60
+ # IPython Kernel for Jupyter
61
+
62
+ [![Build Status](https://github.com/ipython/ipykernel/actions/workflows/ci.yml/badge.svg?query=branch%3Amain++)](https://github.com/ipython/ipykernel/actions/workflows/ci.yml/badge.svg?query=branch%3Amain++)
63
+ [![Documentation Status](https://readthedocs.org/projects/ipykernel/badge/?version=latest)](http://ipykernel.readthedocs.io/en/latest/?badge=latest)
64
+
65
+ This package provides the IPython kernel for Jupyter.
66
+
67
+ ## Installation from source
68
+
69
+ 1. `git clone`
70
+ 1. `cd ipykernel`
71
+ 1. `pip install -e ".[test]"`
72
+
73
+ After that, all normal `ipython` commands will use this newly-installed version of the kernel.
74
+
75
+ ## Running tests
76
+
77
+ Follow the instructions from `Installation from source`.
78
+
79
+ and then from the root directory
80
+
81
+ ```bash
82
+ pytest
83
+ ```
84
+
85
+ ## Running tests with coverage
86
+
87
+ Follow the instructions from `Installation from source`.
88
+
89
+ and then from the root directory
90
+
91
+ ```bash
92
+ pytest -vv -s --cov ipykernel --cov-branch --cov-report term-missing:skip-covered --durations 10
93
+ ```
94
+
95
+ ## About the IPython Development Team
96
+
97
+ The IPython Development Team is the set of all contributors to the IPython project.
98
+ This includes all of the IPython subprojects.
99
+
100
+ The core team that coordinates development on GitHub can be found here:
101
+ https://github.com/ipython/.
102
+
103
+ ## Our Copyright Policy
104
+
105
+ IPython uses a shared copyright model. Each contributor maintains copyright
106
+ over their contributions to IPython. But, it is important to note that these
107
+ contributions are typically only changes to the repositories. Thus, the IPython
108
+ source code, in its entirety is not the copyright of any single person or
109
+ institution. Instead, it is the collective copyright of the entire IPython
110
+ Development Team. If individual contributors want to maintain a record of what
111
+ changes/contributions they have specific copyright on, they should indicate
112
+ their copyright in the commit message of the change, when they commit the
113
+ change to one of the IPython repositories.
114
+
115
+ With this in mind, the following banner should be used in any source code file
116
+ to indicate the copyright and license terms:
117
+
118
+ ```
119
+ # Copyright (c) IPython Development Team.
120
+ # Distributed under the terms of the Modified BSD License.
121
+ ```
@@ -0,0 +1,5 @@
1
+ ipykernel_launcher.py,sha256=-e63UZjDeYNngw3Mf-wx-5EyROM0GhuWOWD233pJhaA,512
2
+ ipyk_unlock-7.2.0.dist-info/METADATA,sha256=I0tYLPmS7C5rrjCd46a1AM91N5Mws5QkQAmj8Sp-vOE,4481
3
+ ipyk_unlock-7.2.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
4
+ ipyk_unlock-7.2.0.dist-info/licenses/LICENSE,sha256=NuwpyHH3o4LN4wHLpHaYGRzzJ8P5X_XCQAZeld3oC_0,1533
5
+ ipyk_unlock-7.2.0.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.28.0
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,30 @@
1
+ BSD 3-Clause License
2
+
3
+ Copyright (c) 2015, IPython Development Team
4
+
5
+ All rights reserved.
6
+
7
+ Redistribution and use in source and binary forms, with or without
8
+ modification, are permitted provided that the following conditions are met:
9
+
10
+ 1. Redistributions of source code must retain the above copyright notice, this
11
+ list of conditions and the following disclaimer.
12
+
13
+ 2. Redistributions in binary form must reproduce the above copyright notice,
14
+ this list of conditions and the following disclaimer in the documentation
15
+ and/or other materials provided with the distribution.
16
+
17
+ 3. Neither the name of the copyright holder nor the names of its
18
+ contributors may be used to endorse or promote products derived from
19
+ this software without specific prior written permission.
20
+
21
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
22
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
23
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
24
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
25
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
26
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
27
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
28
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
29
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
ipykernel_launcher.py ADDED
@@ -0,0 +1,18 @@
1
+ """Entry point for launching an IPython kernel.
2
+
3
+ This is separate from the ipykernel package so we can avoid doing imports until
4
+ after removing the cwd from sys.path.
5
+ """
6
+
7
+ import sys
8
+ from pathlib import Path
9
+
10
+ if __name__ == "__main__":
11
+ # Remove the CWD from sys.path while we load stuff.
12
+ # This is added back by InteractiveShellApp.init_path()
13
+ if sys.path[0] == "" or Path(sys.path[0]) == Path.cwd():
14
+ del sys.path[0]
15
+
16
+ from ipykernel import kernelapp as app
17
+
18
+ app.launch_new_instance()