Personal tools
Skip to content. | Skip to navigation
Jupyter Packaging Tools to help build and install Jupyter Python packages that require a pre-build step that may include JavaScript build steps. Install pip install jupyter-packaging Usage There are three ways to use jupyter-packaging in another package. In general, you should not depend on jupyter_packaging as a runtime dependency, only as a build dependency. As a Build Requirement Use a pyproject.toml file as outlined in pep-518. An example: [build-system] requires = ["jupyter_packaging>=0.10,<2"] build-backend = "setuptools.build_meta" Below is an example setup.py using the above config. It assumes the rest of your metadata is in setup.cfg. We wrap the import in a try/catch to allow the file to be run without jupyter_packaging so that python setup.py can be run directly when not building. from setuptools import setup try: from jupyter_packaging import wrap_installers, npm_builder builder = npm_builder() cmdclass = wrap_installers(pre_develop=builder, pre_dist=builder)
This package contains a Jupyter kernel for polymake.
Jupyter Server The Jupyter Server provides the backend (i.e. the core services, APIs, and REST endpoints) for Jupyter web applications like Jupyter notebook, JupyterLab, and Voila. For more information, read our documentation here. Installation and Basic usage To install the latest release locally, make sure you have pip installed and run: pip install jupyter_server Jupyter Server currently supports Python>=3.6 on Linux, OSX and Windows. Versioning and Branches If Jupyter Server is a dependency of your project/application, it is important that you pin it to a version that works for your application. Currently, Jupyter Server only has minor and patch versions. Different minor versions likely include API-changes while patch versions do not change API. When a new minor version is released on PyPI, a branch for that version will be created in this repository, and the version of the main branch will be bumped to the next minor version number. That way, the main branch always reflects the
jupyter_server_fileid A Jupyter Server extension providing an implementation of the File ID service. Requirements Jupyter Server Install To install the extension, execute: pip install jupyter_server_fileid Uninstall To remove the extension, execute: pip uninstall jupyter_server_fileid Troubleshoot If you are seeing the frontend extension, but it is not working, check that the server extension is enabled: jupyter server extension list Contributing Development install pip install -e . You can watch the source directory and run your Jupyter Server-based application at the same time in different terminals to watch for changes in the extension's source and automatically rebuild the extension. For example, when running JupyterLab: jupyter lab --autoreload If your extension does not depend a part
Jupyter Server Kernels Jupyter Server Kernels is a Jupyter Server Extension providing support for kernels.