j1-template 2022.4.0 → 2022.4.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (104) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/layouts/content_generator_article_navigator.html +1 -1
  3. data/_includes/themes/j1/layouts/content_generator_blog_archive.html +1 -1
  4. data/_includes/themes/j1/layouts/content_generator_news_panel_posts.html +1 -1
  5. data/assets/themes/j1/adapter/js/nbinteract.js +21 -10
  6. data/assets/themes/j1/core/js/template.min.js.map +1 -1
  7. data/assets/themes/j1/modules/bokeh/README.md +380 -0
  8. data/assets/themes/j1/modules/bokeh/js/v2.4.3/bokeh.min.js +596 -0
  9. data/assets/themes/j1/modules/nbInteract/css/theme/uno/nbinteract-core.css +7 -0
  10. data/assets/themes/j1/modules/nbInteract/css/theme/uno/nbinteract-core.min.css +1 -1
  11. data/assets/themes/j1/modules/vega/js/vega/LICENSE +27 -0
  12. data/assets/themes/j1/modules/vega/js/vega/README.md +42 -0
  13. data/assets/themes/j1/modules/vega/js/vega/vega-core.js +34550 -0
  14. data/assets/themes/j1/modules/vega/js/vega/vega-core.min.js +2 -0
  15. data/assets/themes/j1/modules/vega/js/vega/vega-core.min.js.map +1 -0
  16. data/assets/themes/j1/modules/vega/js/vega/vega.js +49095 -0
  17. data/assets/themes/j1/modules/vega/js/vega/vega.min.js +2 -0
  18. data/assets/themes/j1/modules/vega/js/vega/vega.min.js.map +1 -0
  19. data/assets/themes/j1/modules/vega/js/vega-embed/LICENSE +27 -0
  20. data/assets/themes/j1/modules/vega/js/vega-embed/README.md +230 -0
  21. data/assets/themes/j1/modules/vega/js/vega-embed/vega-embed.js +6607 -0
  22. data/assets/themes/j1/modules/vega/js/vega-embed/vega-embed.js.map +1 -0
  23. data/assets/themes/j1/modules/vega/js/vega-embed/vega-embed.min.js +21 -0
  24. data/assets/themes/j1/modules/vega/js/vega-embed/vega-embed.min.js.map +1 -0
  25. data/assets/themes/j1/modules/vega/js/vega-lite/LICENSE +27 -0
  26. data/assets/themes/j1/modules/vega/js/vega-lite/README.md +21 -0
  27. data/assets/themes/j1/modules/vega/js/vega-lite/vega-lite-schema.json +30999 -0
  28. data/assets/themes/j1/modules/vega/js/vega-lite/vega-lite.js +24585 -0
  29. data/assets/themes/j1/modules/vega/js/vega-lite/vega-lite.js.map +1 -0
  30. data/assets/themes/j1/modules/vega/js/vega-lite/vega-lite.min.js +2 -0
  31. data/assets/themes/j1/modules/vega/js/vega-lite/vega-lite.min.js.map +1 -0
  32. data/lib/j1/version.rb +1 -1
  33. data/lib/starter_web/Gemfile +1 -1
  34. data/lib/starter_web/_config.yml +1 -1
  35. data/lib/starter_web/_data/modules/defaults/nbinteract.yml +5 -1
  36. data/lib/starter_web/_data/modules/navigator_menu.yml +60 -56
  37. data/lib/starter_web/_data/modules/nbinteract.yml +83 -87
  38. data/lib/starter_web/_data/resources.yml +101 -0
  39. data/lib/starter_web/_plugins/lunr_index.rb +1 -1
  40. data/lib/starter_web/assets/images/modules/attics/shubham-dhage-2-1920x1280.jpg +0 -0
  41. data/lib/starter_web/assets/images/modules/attics/wrongtog-1920x1280.jpg +0 -0
  42. data/lib/starter_web/assets/images/modules/attics/yellow-cactus-1920x1280.jpg +0 -0
  43. data/lib/starter_web/assets/images/modules/icons/bokeh/bokeh-32x32.ico +0 -0
  44. data/lib/starter_web/assets/images/modules/icons/bokeh/bokeh.ico +0 -0
  45. data/lib/starter_web/assets/images/modules/icons/bokeh/logo-160x160.png +0 -0
  46. data/lib/starter_web/package.json +1 -1
  47. data/lib/starter_web/pages/public/jupyter/examples/{j1-circular-times-table.adoc → distributed/j1-circular-times-table.adoc} +7 -2
  48. data/lib/starter_web/pages/public/jupyter/examples/{j1-interactive-widgets.adoc → distributed/j1-common-used-widgets.adoc} +14 -6
  49. data/lib/starter_web/pages/public/jupyter/examples/{j1-odes-in-python.adoc → distributed/j1-odes-in-python.adoc} +7 -2
  50. data/lib/starter_web/pages/public/jupyter/examples/{j1_climate-change-forecast.adoc → localized/j1_climate-change-forecast.adoc} +10 -5
  51. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_altair_interactive.html +2216 -0
  52. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_altair_non_interactive.html +1170 -0
  53. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_bokeh_01_basic_plotting.html +1479 -0
  54. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_bokeh_02_styling_and_theming.html +1524 -0
  55. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_bokeh_03_data_sources_and_transformations.html +983 -0
  56. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_bokeh_04_adding_annotations.html +1280 -0
  57. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_bokeh_05_presentation_layouts.html +660 -0
  58. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_bokeh_06_linking_and_interactions.html +1563 -0
  59. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_bokeh_07_bar_and_categorical_data_plots.html +1888 -0
  60. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_bokeh_08_graph_and_network_plots.html +689 -0
  61. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_bokeh_09_geographic_plots.html +767 -0
  62. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_circular_times_table.html +2 -1
  63. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_interactive_widgets.html +21 -0
  64. data/lib/starter_web/pages/public/jupyter/where_to_go.adoc +239 -0
  65. data/lib/starter_web/pages/public/learn/where_to_go.adoc +23 -7
  66. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  67. data/lib/starter_web/utilsrv/package.json +1 -1
  68. metadata +47 -42
  69. data/lib/starter_web/pages/public/jupyter/docs/_includes/attributes.asciidoc +0 -58
  70. data/lib/starter_web/pages/public/jupyter/docs/_includes/documents/j1_docs_example_static.asciidoc +0 -232
  71. data/lib/starter_web/pages/public/jupyter/docs/j1-nbinteract-doc.adoc +0 -563
  72. data/lib/starter_web/pages/public/jupyter/docs/nbi-widget-manual.adoc +0 -465
  73. data/lib/starter_web/pages/public/jupyter/docs/nbinteract-doc.adoc +0 -473
  74. data/lib/starter_web/pages/public/jupyter/examples/j1-testing-plotly.adoc +0 -94
  75. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_circular_times_table-checkpoint.ipynb +0 -12387
  76. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_climate_change_forecast-checkpoint.ipynb +0 -1058
  77. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_docs_example_dynamic-checkpoint.ipynb +0 -14478
  78. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_interactive_widgets-checkpoint.ipynb +0 -738
  79. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_ode_selected-checkpoint.ipynb +0 -14478
  80. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_odes_in_python-checkpoint.ipynb +0 -15227
  81. data/lib/starter_web/pages/public/jupyter/notebooks/j1/factor_by_factor.mp4 +0 -0
  82. data/lib/starter_web/pages/public/jupyter/notebooks/j1/line_by_line.mp4 +0 -0
  83. data/lib/starter_web/pages/public/jupyter/notebooks/j1/point_by_point.mp4 +0 -0
  84. data/lib/starter_web/pages/public/jupyter/notebooks/nbi-docs/.ipynb_checkpoints/nbi_docs_examples_central_limit_theorem-checkpoint.ipynb +0 -247
  85. data/lib/starter_web/pages/public/jupyter/notebooks/nbi-docs/.ipynb_checkpoints/nbi_docs_examples_variability_of_the_sample_mean-checkpoint.ipynb +0 -323
  86. data/lib/starter_web/pages/public/jupyter/notebooks/nbi-docs/.ipynb_checkpoints/nbi_docs_recipes_graphing-checkpoint.ipynb +0 -387
  87. data/lib/starter_web/pages/public/jupyter/notebooks/nbi-docs/.ipynb_checkpoints/nbi_docs_recipes_interactive_questions-checkpoint.ipynb +0 -185
  88. data/lib/starter_web/pages/public/jupyter/notebooks/nbi-docs/.ipynb_checkpoints/nbi_docs_recipes_layout-checkpoint.ipynb +0 -384
  89. data/lib/starter_web/pages/public/jupyter/notebooks/nbi-docs/.ipynb_checkpoints/nbi_docs_tutorial_interact-checkpoint.ipynb +0 -254
  90. data/lib/starter_web/pages/public/jupyter/notebooks/nbi-docs/.ipynb_checkpoints/nbi_docs_tutorial_monty_hall-checkpoint.ipynb +0 -732
  91. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/nbi_docs_examples_central_limit_theorem.html +0 -290
  92. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/nbi_docs_examples_correlation.html +0 -818
  93. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/nbi_docs_examples_empirical_distributions.html +0 -351
  94. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/nbi_docs_examples_linear_regression.html +0 -106
  95. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/nbi_docs_examples_probability_distribution_plots.html +0 -228
  96. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/nbi_docs_examples_sampling_from_a_population.html +0 -518
  97. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/nbi_docs_examples_variability_of_the_sample_mean.html +0 -372
  98. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/nbi_docs_recipes_graphing.html +0 -473
  99. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/nbi_docs_recipes_interactive_questions.html +0 -242
  100. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/nbi_docs_recipes_layout.html +0 -496
  101. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/nbi_docs_tutorial_interact.html +0 -329
  102. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/nbi_docs_tutorial_monty_hall.html +0 -866
  103. data/lib/starter_web/pages/public/jupyter/services/binderhub.adoc +0 -564
  104. data/lib/starter_web/pages/public/jupyter/services/jupyterhub.adoc +0 -244
@@ -1,244 +0,0 @@
1
- ---
2
- title: Jupyter
3
- tagline: JupyterHub
4
- date: 2022-03-28 00:00:00
5
- description: >
6
- JupyterHub brings the power of notebooks to groups of users. It
7
- gives users access to computational environments and resources without
8
- burdening the users with installation and maintenance tasks. Users, including
9
- students, researchers, and data scientists, can get their work done in
10
- their own workspaces on shared resources which can be managed efficiently
11
- by system administrators.
12
- keywords: >
13
- opensource, free, load, download, start, starter, example,
14
- high, easy, use, secure, encrypt, standard, popular,
15
- generate, create, learn, distribute, publish, deploy,
16
- beginner, advanced, expert, student, learner, writer, reader, visitor
17
- framework, toolkit, integration, extension, module, api,
18
- dynamic, static, generator, client, server, internet, local, localhost
19
- page, web, website, webdesign, material, design, responsive,
20
- javascript, nodejs, ruby, windows, linux, osx, mac, os,
21
- http, https, html, html5, css, scss, style,
22
- browser, firefox, chrome, edge, opera, safari,
23
- configuration, generator, navigation, menu, dropdown, fab, action, button
24
- application, interface, provider, api, repository,
25
- cookie, language, translation, gdpr, dsgvo, privacy,
26
- asciidoc, aciidoctor, bootstrap, jekyll, liquid,
27
- hyvor, disqus, git, github, netlify, heroku, apple, microsoft,
28
- provider, service, internet, support,
29
- google, analytics, advertising, search, console, silverlight, score,
30
- j1, template, jekyllone, comment,
31
- python, jupyter, notebook, textbook, api, app, nbinteract,
32
- nbi, integration, binder, binderhub, jupyterhub
33
-
34
- categories: [ Software, Python ]
35
- tags: [ JupyterLab, API ]
36
-
37
- scrollbar: false
38
-
39
- permalink: /pages/public/jupyter/docs/jupyterhub/
40
- regenerate: false
41
-
42
- resources: [
43
- animate, clipboard, lightbox, rouge
44
- ]
45
- resource_options:
46
- - attic:
47
- padding_top: 400
48
- padding_bottom: 50
49
- opacity: 0.5
50
- slides:
51
- - url: /assets/images/modules/attics/runner-1920x1200.jpg
52
- ---
53
-
54
- // Page Initializer
55
- // =============================================================================
56
- // Enable the Liquid Preprocessor
57
- :page-liquid:
58
-
59
- // Set (local) page attributes here
60
- // -----------------------------------------------------------------------------
61
- // :page--attr: <attr-value>
62
- :badges-enabled: false
63
- :binder-badge-enabled: false
64
- :binder--home: https://mybinder.org/
65
- :binder--docs: https://mybinder.readthedocs.io/en/latest/
66
- :url-jupyter-server-api--swagger: https://petstore.swagger.io/?url=https://raw.githubusercontent.com/jupyter/jupyter_server/master/jupyter_server/services/api/api.yaml#/
67
-
68
- // Load Liquid procedures
69
- // -----------------------------------------------------------------------------
70
- {% capture load_attributes %}themes/{{site.template.name}}/procedures/global/attributes_loader.proc{%endcapture%}
71
-
72
- // Load page attributes
73
- // -----------------------------------------------------------------------------
74
- {% include {{load_attributes}} scope="global" %}
75
-
76
-
77
- // Page content
78
- // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
79
- ifeval::[{badges-enabled} == true]
80
- {badge-j1--license} {badge-j1--version-latest} {badge-j1-gh--last-commit} {badge-j1--downloads}
81
- endif::[]
82
-
83
- // Include sub-documents (if any)
84
- // -----------------------------------------------------------------------------
85
- ifeval::[{binder-badge-enabled} == true]
86
- image:/assets/images/badges/myBinder.png[[Binder, link="https://mybinder.org/", {browser-window--new}]
87
- image:/assets/images/badges/docsBinder.png[[Binder, link="https://mybinder.readthedocs.io/en/latest/", {browser-window--new}]
88
- endif::[]
89
-
90
- // *JupyterLab* is the latest web-based interactive development environment
91
- // for notebooks, code, and data. Its flexible interface allows users to
92
- // configure and arrange workflows in data science, scientific computing,
93
- // computational journalism, and machine learning. A modular design invites
94
- // extensions to expand and enrich functionality.
95
-
96
- // See: https://jupyter.org/hub
97
-
98
- JupyterHub brings the power of notebooks to groups of users. It gives users
99
- access to computational environments and resources without burdening the users
100
- with installation and maintenance tasks. Users, including students, researchers,
101
- and data scientists, can get their work done in their own workspaces on shared
102
- resources which can be managed efficiently by system administrators.
103
-
104
- JupyterHub runs in the cloud or on your own hardware, and makes it possible
105
- to serve a pre-configured data science environment to any user in the world.
106
- It is customizable and scalable, and is suitable for small and large teams,
107
- academic courses, and large-scale infrastructure.
108
-
109
- == Services API
110
-
111
- Javascript client for the Jupyter services REST APIs. All functions and
112
- classes using the REST API allow a serverSettings parameter to configure
113
- requests. Requests are made using the fetch API, which is available in
114
- modern browsers or via npm install fetch for node users. The whatwg-fetch
115
- npm package can be used to polyfill browsers that do not support the
116
- fetch API.
117
-
118
- This package introduces a number of concepts, such as session context, etc.
119
- Here we give a brief overview of some of the top-level concepts in this
120
- package.
121
-
122
- === Clients
123
-
124
- A client is a single entity connected to a kernel. Since kernel messages
125
- include the client id, it is easy for a client to filter kernel messages for
126
- just messages between it and the kernel. In JupyterLab, different activities,
127
- such as a console and a notebook, are usually considered separate clients
128
- when connected to the same kernel.
129
-
130
- === Kernel specs
131
-
132
- A kernel spec is the data about an available kernel on the system. We can
133
- retrieve a current list of kernel specs from the server.
134
-
135
- === Kernels
136
-
137
- A kernel represents a running process on the server that implements the
138
- Jupyter kernel messaging protocol.
139
-
140
- === Kernel model
141
-
142
- A kernel model mirrors the server kernel models, and represents a single
143
- running kernel on the server. A kernel can be created, restarted, shut down,
144
- etc., through calls to the server. A kernel model's lifecycle mirrors the
145
- server kernel model's lifecycle, and it will be disposed when the server
146
- kernel is shut down.
147
-
148
- === Kernel connection
149
-
150
- A kernel connection represents a single client connecting to a kernel over
151
- a websocket (wss). Typically only one kernel connection handles comms for any
152
- given kernel. The kernel connection is disposed when the client no longer
153
- has a need for the connection. Disposing a kernel connection does not cause
154
- the kernel to shut down. However, if a kernel is shut down, (eventually)
155
- all of its kernel connections should be disposed if they were initiated
156
- from a kernel manager. If the kernel connections were instantiated outside
157
- of a manager, you are responsible for cleaning them up.
158
-
159
- A kernel connection has a number of signals, such as kernel status,
160
- kernel connection status, etc.
161
-
162
- === Kernel manager
163
-
164
- A kernel manager is an object that maintains a list of kernel models by
165
- regular polling. The kernel manager can instantiate a kernel connection
166
- and will manage its lifecycle.E.g., when the kernel is shut down, the
167
- connections will be disposed.
168
-
169
- The manager provides some minimal bookkeeping around kernels and their
170
- connections. Generally, it is easiest to interact with kernels on a server
171
- through a manager.
172
-
173
- === Sessions
174
-
175
- A session is a mapping on the server from an identifying string (the
176
- session's path) to a kernel. A session has a few other pieces of information
177
- to allow for easy categorization and searching of sessions.
178
-
179
- The primary usecase of a session is to enable persisting a connection to a
180
- kernel. For example, a notebook viewer may start a session with session path
181
- of the notebook's file path. When a browser is refreshed, the notebook viewer
182
- can connect to the same kernel by asking the server for the session
183
- corresponding with the notebook file path.
184
-
185
- === Session model
186
-
187
- A session model mirrors a server session. The session models can be refreshed
188
- from the server, created, changed (including creating a new session kernel),
189
- and shut down (which implies that the kernel will be shut down). A session
190
- model's lifecycle mirrors the server session's lifecycle, and it will be
191
- disposed when the server session is shut down.
192
-
193
- === Session connection
194
-
195
- A session connection represents a single client connected to a session's
196
- kernel. A session's kernel connection can change and may be null to signify
197
- no current kernel connection. A session connection owns the kernel connection,
198
- meaning the kernel connection is created and disposed by the session
199
- connection as needed. The session connection proxies signals from the kernel
200
- connection for convenience. E.g. you can listen to the session's status
201
- signal to get status changes for whatever the current kernel is, without
202
- having to disconnect and reconnect your signal handlers every time the session
203
- kernel changes.
204
-
205
- The session connection can be disposed when the client no longer is connected
206
- to that session's kernel, and disposal will not cause the session model to be
207
- deleted.
208
-
209
- === Session manager
210
-
211
- A session manager is an object that maintains a list of session models by
212
- regular polling. The session manager can instantiate a session connection
213
- and will manage its lifecycle. E.g. when the session is shut down, the
214
- connections will be disposed.
215
-
216
- The manager provides some minimal bookkeeping around sessions and their
217
- connections. Generally, it is easiest to interact with sessions on a server
218
- through a manager.
219
-
220
- === Session Context
221
-
222
- A session context is an object which has the same lifecycle as the client.
223
- The session context owns a session connection, which may be null if the
224
- client is not currently associated with a session. The session context
225
- proxies the current session connection's signals for convenience. The
226
- session context primarily serves as a stable object for a client to keep
227
- track of the current session connection. The session context also contains
228
- some convenience functionality, such as preferences for whether a kernel
229
- should be started and a user-friendly kernel name and status.
230
-
231
- Here is a diagram that provides an overview of the different components:
232
-
233
- .JupyterLab Architecture
234
- lightbox::jupyterlab--architecture[ 800, {data-jupyterlab--architecture}, role="mt-3 mb-4" ]
235
-
236
-
237
- == Rest API
238
-
239
- // See:
240
- // https://jupyter-server.readthedocs.io/en/latest/developers/rest-api.html
241
- // https://petstore.swagger.io/?url=https://raw.githubusercontent.com/jupyter/jupyter_server/master/jupyter_server/services/api/api.yaml#/
242
-
243
- Find at swagger.io a selectable list of all API calls available:
244
- link:{url-jupyter-server-api--swagger}[Jupyter Server API, {browser-window--new}].