epub文档 Jupyter Notebook 5.2.2 Documentation

4.36 MB 183 页 0 评论
语言
英语
格式
.epub
评分
3
摘要
The Jupyter notebook User Documentation The Jupyter Notebook Installation [https://jupyter.readthedocs.io/en/latest/install.html] Running the Notebook [https://jupyter.readthedocs.io/en/latest/running.html] Migrating from IPython [https://jupyter.readthedocs.io/en/latest/migrating.html] UI Components Comms Configuration Configuration Overview Jupyter’s Common Configuration system Notebook server Notebook front-end client Notebook extensions Config file and command line options Options Running a notebook server Securing a notebook server Running a public notebook server Running the notebook with a customized URL prefix Embedding the notebook in another website Known issues Security in the Jupyter notebook server Alternatives to token authentication Security in notebook documents The problem Our security model The details of trust Reporting security issues Affected use cases Configuring the notebook frontend How front end configuration works Example - Changing the notebook’s default indentation Example - Restoring the notebook’s default indentation Persisting configuration settings Distributing Jupyter Extensions as Python Packages Overview Installation of Jupyter Extensions Did it work? Check by listing Jupyter Extensions. Additional resources on creating and distributing packages Example - Server extension Example - Server extension and nbextension Example - Bundler extension Extending the Notebook Contents API File save hooks Custom request handlers Custom front-end extensions Customize keymaps Custom bundler extensions Contributor Documentation Contributing to the Jupyter Notebook Making a Notebook release Developer FAQ Community documentation Examples What is the Jupyter Notebook? Notebook Basics Running Code Markdown Cells Keyboard Shortcut Customization Keyboard Shortcut Customization (Pre Notebook 5.0) Embracing web standards Importing Jupyter Notebooks as Modules Connecting to an existing IPython kernel using the Qt Console Motivating Examples About Jupyter Notebook Jupyter notebook changelog 5.2.2 5.2.1 5.2.0 5.1.0 5.0.0 4.4.0 4.3.2 4.3.1 4.3.0 4.2.3 4.2.2 4.2.1 4.2.0 4.1.0 4.0.x Questions? Suggestions? Jupyter mailing list [https://groups.google.com/forum/#!forum/jupyter] Jupyter website [https://jupyter.org] Stack Overflow - Jupyter [https://stackoverflow.com/questions/tagged/jupyter] Stack Overflow - Jupyter-notebook [https://stackoverflow.com/questions/tagged/jupyter- notebook] The Jupyter Notebook Introduction The notebook extends the console-based approach to interactive computing in a qualitatively new direction, providing a web-based application suitable for capturing the whole computation process: developing, documenting, and executing code, as well as communicating the results. The Jupyter notebook combines two components: A web application: a browser-based tool for interactive authoring of documents which combine explanatory text, mathematics, computations and their rich media output. Notebook documents: a representation of all content visible in the web application, including inputs and outputs of the computations, explanatory text, mathematics, images, and rich media representations of objects. See also See the installation guide [https://jupyter.readthedocs.io/en/latest/install.html#install] on how to install the notebook and its dependencies. Main features of the web application In-browser editing for code, with automatic syntax highlighting, indentation, and tab completion/introspection. The ability to execute code from the browser, with the results of computations attached to the code which generated them. Displaying the result of computation using rich media representations, such as HTML, LaTeX, PNG, SVG, etc. For example, publication-quality figures rendered by the matplotlib [http://matplotlib.org] library, can be included inline. In-browser editing for rich text using the Markdown [https://daringfireball.net/projects/markdown/syntax] markup language, which can provide commentary for the code, is not limited to plain text. The ability to easily include mathematical notation within markdown cells using LaTeX, and rendered natively by MathJax [https://www.mathjax.org/]. Notebook documents Notebook documents contains the inputs and outputs of a interactive session as well as additional text that accompanies the code but is not meant for execution. In this way, notebook files can serve as a complete computational record of a session, interleaving executable code with explanatory text, mathematics, and rich representations of resulting objects. These documents are internally JSON [https://en.wikipedia.org/wiki/JSON] files and are saved with the .ipynb extension. Since JSON is a plain text format, they can be version-controlled and shared with colleagues. Notebooks may be exported to a range of static formats, including HTML (for example, for blog posts), reStructuredText, LaTeX, PDF, and slide shows, via the nbconvert [https://nbconvert.readthedocs.io/en/latest/] command. Furthermore, any .ipynb notebook document available from a public URL can be shared via the Jupyter Notebook Viewer (nbviewer [http://nbviewer.jupyter.org]). This service loads the notebook document from the URL and renders it as a static web page. The results may thus be shared with a colleague, or as a public blog post, without other users needing to install the Jupyter notebook themselves. In effect, nbviewer [http://nbviewer.jupyter.org] is simply nbconvert [https://nbconvert.readthedocs.io/en/latest/] as a web service, so you can do your own static conversions with nbconvert, without relying on nbviewer. See also Details on the notebook JSON file format [https://nbformat.readthedocs.io/en/latest/format_description.html#notebook-file-format] Starting the notebook server You can start running a notebook server from the command line using the following command: jupyter notebook This will print some information about the notebook server in your console, and open a web browser to the URL of the web application (by default, http://127.0.0.1:8888). The landing page of the Jupyter noteboo...
来源jupyter-notebook.readthedocs.io
Jupyter Notebook 5.2.2 Documentation 第2页
Jupyter Notebook 5.2.2 Documentation 第3页
下载文档到本地,方便使用
共 183 页, 还有 5 页可预览, 继续阅读
文档评分
请文明评论,理性发言.