METADATA 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. Metadata-Version: 2.4
  2. Name: jupyter_client
  3. Version: 8.8.0
  4. Summary: Jupyter protocol implementation and client libraries
  5. Project-URL: Homepage, https://jupyter.org
  6. Project-URL: Documentation, https://jupyter-client.readthedocs.io/
  7. Project-URL: Source, https://github.com/jupyter/jupyter_client
  8. Author-email: Jupyter Development Team <jupyter@googlegroups.com>
  9. License: BSD 3-Clause License
  10. - Copyright (c) 2001-2015, IPython Development Team
  11. - Copyright (c) 2015-, Jupyter Development Team
  12. All rights reserved.
  13. Redistribution and use in source and binary forms, with or without
  14. modification, are permitted provided that the following conditions are met:
  15. 1. Redistributions of source code must retain the above copyright notice, this
  16. list of conditions and the following disclaimer.
  17. 2. Redistributions in binary form must reproduce the above copyright notice,
  18. this list of conditions and the following disclaimer in the documentation
  19. and/or other materials provided with the distribution.
  20. 3. Neither the name of the copyright holder nor the names of its
  21. contributors may be used to endorse or promote products derived from
  22. this software without specific prior written permission.
  23. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
  24. AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  25. IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  26. DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
  27. FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  28. DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
  29. SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
  30. CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
  31. OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  32. OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  33. License-File: LICENSE
  34. Keywords: Interactive,Interpreter,Shell,Web
  35. Classifier: Framework :: Jupyter
  36. Classifier: Intended Audience :: Developers
  37. Classifier: Intended Audience :: Education
  38. Classifier: Intended Audience :: Science/Research
  39. Classifier: Intended Audience :: System Administrators
  40. Classifier: License :: OSI Approved :: BSD License
  41. Classifier: Operating System :: OS Independent
  42. Classifier: Programming Language :: Python
  43. Classifier: Programming Language :: Python :: 3
  44. Requires-Python: >=3.10
  45. Requires-Dist: jupyter-core>=5.1
  46. Requires-Dist: python-dateutil>=2.8.2
  47. Requires-Dist: pyzmq>=25.0
  48. Requires-Dist: tornado>=6.4.1
  49. Requires-Dist: traitlets>=5.3
  50. Provides-Extra: docs
  51. Requires-Dist: ipykernel; extra == 'docs'
  52. Requires-Dist: myst-parser; extra == 'docs'
  53. Requires-Dist: pydata-sphinx-theme; extra == 'docs'
  54. Requires-Dist: sphinx-autodoc-typehints; extra == 'docs'
  55. Requires-Dist: sphinx>=4; extra == 'docs'
  56. Requires-Dist: sphinxcontrib-github-alt; extra == 'docs'
  57. Requires-Dist: sphinxcontrib-spelling; extra == 'docs'
  58. Provides-Extra: orjson
  59. Requires-Dist: orjson; extra == 'orjson'
  60. Provides-Extra: test
  61. Requires-Dist: anyio; extra == 'test'
  62. Requires-Dist: coverage; extra == 'test'
  63. Requires-Dist: ipykernel>=6.14; extra == 'test'
  64. Requires-Dist: msgpack; extra == 'test'
  65. Requires-Dist: mypy; (platform_python_implementation != 'PyPy') and extra == 'test'
  66. Requires-Dist: paramiko; (sys_platform == 'win32') and extra == 'test'
  67. Requires-Dist: pre-commit; extra == 'test'
  68. Requires-Dist: pytest; extra == 'test'
  69. Requires-Dist: pytest-cov; extra == 'test'
  70. Requires-Dist: pytest-jupyter[client]>=0.6.2; extra == 'test'
  71. Requires-Dist: pytest-timeout; extra == 'test'
  72. Description-Content-Type: text/markdown
  73. # Jupyter Client
  74. [![Build Status](https://github.com/jupyter/jupyter_client/workflows/CI/badge.svg)](https://github.com/jupyter/jupyter_client/actions)
  75. [![Documentation Status](https://readthedocs.org/projects/jupyter-client/badge/?version=latest)](http://jupyter-client.readthedocs.io/en/latest/?badge=latest)
  76. `jupyter_client` contains the reference implementation of the [Jupyter protocol].
  77. It also provides client and kernel management APIs for working with kernels.
  78. It also provides the `jupyter kernelspec` entrypoint
  79. for installing kernelspecs for use with Jupyter frontends.
  80. ## Development Setup
  81. The [Jupyter Contributor Guides](https://jupyter.readthedocs.io/en/latest/contributing/content-contributor.html) provide extensive information on contributing code or documentation to Jupyter projects. The limited instructions below for setting up a development environment are for your convenience.
  82. ## Coding
  83. You'll need Python and `pip` on the search path. Clone the Jupyter Client git repository to your computer, for example in `/my/project/jupyter_client`
  84. ```bash
  85. cd /my/projects/
  86. git clone git@github.com:jupyter/jupyter_client.git
  87. ```
  88. Now create an [editable install](https://pip.pypa.io/en/stable/reference/pip_install/#editable-installs)
  89. and download the dependencies of code and test suite by executing:
  90. ```bash
  91. cd /my/projects/jupyter_client/
  92. pip install -e ".[test]"
  93. pytest
  94. ```
  95. The last command runs the test suite to verify the setup. During development, you can pass filenames to `pytest`, and it will execute only those tests.
  96. ## Documentation
  97. The documentation of Jupyter Client is generated from the files in `docs/` using Sphinx. Instructions for setting up Sphinx with a selection of optional modules are in the [Documentation Guide](https://jupyter.readthedocs.io/en/latest/contributing/docs-contributions/index.html). You'll also need the `make` command.
  98. For a minimal Sphinx installation to process the Jupyter Client docs, execute:
  99. ```bash
  100. pip install ".[doc]"
  101. ```
  102. The following commands build the documentation in HTML format and check for broken links:
  103. ```bash
  104. cd /my/projects/jupyter_client/docs/
  105. make html linkcheck
  106. ```
  107. Point your browser to the following URL to access the generated documentation:
  108. _file:///my/projects/jupyter_client/docs/\_build/html/index.html_
  109. ## Contributing
  110. `jupyter-client` has adopted automatic code formatting so you shouldn't
  111. need to worry too much about your code style.
  112. As long as your code is valid,
  113. the pre-commit hook should take care of how it should look.
  114. You can invoke the pre-commit hook by hand at any time with:
  115. ```bash
  116. pre-commit run
  117. ```
  118. which should run any autoformatting on your code
  119. and tell you about any errors it couldn't fix automatically.
  120. You may also install [black integration](https://black.readthedocs.io/en/stable/integrations/editors.html)
  121. into your text editor to format code automatically.
  122. If you have already committed files before setting up the pre-commit
  123. hook with `pre-commit install`, you can fix everything up using
  124. `pre-commit run --all-files`. You need to make the fixing commit
  125. yourself after that.
  126. Some of the hooks only run on CI by default, but you can invoke them by
  127. running with the `--hook-stage manual` argument.
  128. ## About the Jupyter Development Team
  129. The Jupyter Development Team is the set of all contributors to the Jupyter project.
  130. This includes all of the Jupyter subprojects.
  131. The core team that coordinates development on GitHub can be found here:
  132. https://github.com/jupyter/.
  133. ## Our Copyright Policy
  134. Jupyter uses a shared copyright model. Each contributor maintains copyright
  135. over their contributions to Jupyter. But, it is important to note that these
  136. contributions are typically only changes to the repositories. Thus, the Jupyter
  137. source code, in its entirety is not the copyright of any single person or
  138. institution. Instead, it is the collective copyright of the entire Jupyter
  139. Development Team. If individual contributors want to maintain a record of what
  140. changes/contributions they have specific copyright on, they should indicate
  141. their copyright in the commit message of the change, when they commit the
  142. change to one of the Jupyter repositories.
  143. With this in mind, the following banner should be used in any source code file
  144. to indicate the copyright and license terms:
  145. ```
  146. # Copyright (c) Jupyter Development Team.
  147. # Distributed under the terms of the Modified BSD License.
  148. ```
  149. [jupyter protocol]: https://jupyter-client.readthedocs.io/en/latest/messaging.html