![]() ![]() -user: install to the per-user kernel registry instead of sys.prefix (use if you get permission errors during installation).There are the following options which can be seen when running python3 -m logtalk_kernel.install -help The kernel is provided as a Python package on the Python Package Index and can be installed with pip: python3 -m pip install logtalk-jupyter-kernel Note that all of them can be viewed with nbviewer without having to install the kernel. The directory notebooks contains some example Juypter notebooks, including a Logtalk short tutorial and a notebook giving an overview of the kernel's features and its implementation. Ability to redirect current output (including user_output and user_error) to a different stream and restoring the previous stream when the redirection is terminated.Programatic solution to check if a quiet command-line option was used to start the Logtalk/Prolog process (e.g.Command-line option(s) to silence (quiet) any banner and informative messages.Prolog backend requirementsĪdding support for other Prolog backends requires: For further information about this, see Configuration.Īlso see the JupyterLab Logtalk CodeMirror Extension for syntax highlighting of Logtalk code in JupyterLab (forked from the JupyterLab Prolog CodeMirror Extension). ![]() This is especially useful for extending the kernel for further Prolog backends or running code with a different version of a backend. The kernel is implemented in a way that basically all functionality except the loading of configuration files can easily be overridden. Note that an online use of this kernel (instead of local) may be restricted to a subset of these backends (notably, due to some systems requiring commercial licenses). GNU Prolog 1.6.0 or later (use git version until 1.6.0 is released).Furthermore, no liability is accepted for correctness and completeness (see the LICENSE file). Major changes are committed and more are expected. It includes back-ports of recent patches and improvements by Michael Leuschel, dgelessus, and Silas Kraume. This project is a fork of the prolog-jupyter-kernel project (developed by Anne Brecklinghaus in her Master's thesis at the University of Düsseldorf under the supervision of Michael Leuschel and Philipp Körner) and still under development. A Jupyter kernel for Logtalk based on prolog-jupyter-kernel and IPython kernel. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |