{"id":13647552,"url":"https://github.com/Calysto/scilab_kernel","last_synced_at":"2025-04-22T02:32:00.647Z","repository":{"id":19537703,"uuid":"22785606","full_name":"Calysto/scilab_kernel","owner":"Calysto","description":"A Scilab Kernel for IPython","archived":false,"fork":false,"pushed_at":"2025-03-07T08:25:21.000Z","size":181,"stargazers_count":60,"open_issues_count":12,"forks_count":23,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-05T05:02:21.170Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Calysto.png","metadata":{"files":{"readme":"README.rst","changelog":"HISTORY.rst","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-08-09T12:21:43.000Z","updated_at":"2025-03-07T08:25:25.000Z","dependencies_parsed_at":"2022-08-24T03:30:54.478Z","dependency_job_id":"89f8522f-8b26-4958-8f9c-3641200b318e","html_url":"https://github.com/Calysto/scilab_kernel","commit_stats":null,"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Calysto%2Fscilab_kernel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Calysto%2Fscilab_kernel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Calysto%2Fscilab_kernel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Calysto%2Fscilab_kernel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Calysto","download_url":"https://codeload.github.com/Calysto/scilab_kernel/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250163712,"owners_count":21385294,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-02T01:03:38.385Z","updated_at":"2025-04-22T02:32:00.429Z","avatar_url":"https://github.com/Calysto.png","language":"Jupyter Notebook","funding_links":[],"categories":["Jupyter Notebook"],"sub_categories":[],"readme":"A Jupyter kernel for Scilab\n\nPrerequisites\n-------------\n`Jupyter Notebook \u003chttp://jupyter.readthedocs.org/en/latest/install.html\u003e`_, and `Scilab \u003chttp://www.scilab.org/download/latest\u003e`_.\n\nInstallation\n------------\nTo install using pip::\n\n    pip install scilab_kernel\n\nAdd ``--user`` to install in the user-level environment instead of the system environment.\n\nThis kernel needs the Scilab executable to be run, it which will be searched in this order:\n - Using environment variable ``SCILAB_EXECUTABLE``,\n - Under Windows, based on registry,\n - Under macOS, based on Spotlight database,\n - Using the ``PATH`` environment variable.\n\nUse the ``scilab-adv-cli`` executable if using a Posix-like OS, and ``WScilex-cli.exe`` if using Windows.\n\nUsage\n-----\n\nTo use the kernel, run one of:\n\n.. code:: shell\n\n    jupyter notebook  # or ``jupyter lab``, if available\n    # In the notebook interface, select Scilab from the 'New' menu\n    jupyter qtconsole --kernel scilab\n    jupyter console --kernel scilab\n\nIf ``jupyter`` executable is not found in your ``PATH``, try ``python -m notebook`` instead.\n\nThis kernel is based on `MetaKernel \u003chttp://pypi.python.org/pypi/metakernel\u003e`_,\nwhich means it features a standard set of magics (such as ``%%html``). For a full list of magics,\nrun ``%lsmagic`` in a cell.\n\nA sample notebook is available online_.\n\nConfiguration\n-------------\nThe kernel can be configured by adding an ``scilab_kernel_config.py`` file to the\n``jupyter`` config path (for example ``~/.jupyter/scilab_kernel_config.py``.  The ``ScilabKernel`` class offers ``plot_settings`` as a configurable traits.\nThe available plot settings are:\n\n - 'format': 'svg' (default), 'png', 'jpg',\n - 'backend': 'inline',\n - 'size': '\u003cwidth\u003e,\u003cheight\u003e' ('560,420' by default),\n - 'antialiasing': for 'svg' backend only, True by default.\n\n.. code:: python\n\n    c.ScilabKernel.plot_settings = dict(format='svg', backend='inline', size='560,420', antialiasing=False)\n\nScilab default behavior is setup using `lines(0, 800)` and `mode(0)`. You can change these behaviors using scilab code on cells.\n\nFiles ending with `.sci` in the current directory are loaded.\n\nTroubleshooting\n---------------\n\nKernel Times Out While Starting\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\nIf the kernel does not start, run the following command from a terminal:\n\n.. code:: shell\n\n  python -m scilab_kernel.check\n\nThis can help diagnose problems with setting up integration with Scilab.  If in doubt,\ncreate an issue with the output of that command.\n\nKernel is Not Listed\n~~~~~~~~~~~~~~~~~~~~\nIf the kernel is not listed as an available kernel, first try the following command:\n\n.. code:: shell\n\n    python -m scilab_kernel install --user\n\nIf the kernel is still not listed, verify that the following point to the same\nversion of python:\n\n.. code:: shell\n\n    which python  # use \"where\" if using cmd.exe\n    which jupyter\n\nAdvanced Installation Notes\n---------------------------\nWe automatically install a Jupyter kernelspec when installing the\npython package.  This location can be found using ``jupyter kernelspec list``.\nIf the default location is not desired, you can remove the directory for the\n``scilab`` kernel, and install using `python -m scilab_kernel install`.  See\n``python -m scilab_kernel install --help`` for available options.\n\n.. _online: http://nbviewer.ipython.org/github/calysto/scilab_kernel/blob/master/scilab_kernel.ipynb\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCalysto%2Fscilab_kernel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FCalysto%2Fscilab_kernel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCalysto%2Fscilab_kernel/lists"}