{"id":16048255,"url":"https://github.com/crystal-data/crystal_kernel","last_synced_at":"2026-05-02T20:00:46.604Z","repository":{"id":62565574,"uuid":"471721489","full_name":"crystal-data/crystal_kernel","owner":"crystal-data","description":"Python wrapper kernel for Crystal","archived":false,"fork":false,"pushed_at":"2025-08-13T10:54:04.000Z","size":50,"stargazers_count":12,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-02T10:09:25.073Z","etag":null,"topics":["crystal","jupyter"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/crystal-data.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-03-19T14:36:57.000Z","updated_at":"2025-08-27T12:30:24.000Z","dependencies_parsed_at":"2023-02-03T15:01:21.974Z","dependency_job_id":null,"html_url":"https://github.com/crystal-data/crystal_kernel","commit_stats":null,"previous_names":["kojix2/crystal_kernel"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/crystal-data/crystal_kernel","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crystal-data%2Fcrystal_kernel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crystal-data%2Fcrystal_kernel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crystal-data%2Fcrystal_kernel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crystal-data%2Fcrystal_kernel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/crystal-data","download_url":"https://codeload.github.com/crystal-data/crystal_kernel/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crystal-data%2Fcrystal_kernel/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32547651,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-02T19:18:06.202Z","status":"ssl_error","status_checked_at":"2026-05-02T19:16:21.335Z","response_time":132,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["crystal","jupyter"],"created_at":"2024-10-09T00:05:33.310Z","updated_at":"2026-05-02T20:00:46.598Z","avatar_url":"https://github.com/crystal-data.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# crystal_kernel\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"https://user-images.githubusercontent.com/5798442/183279700-0f61d484-9460-4802-9c1b-5e6b07b5e1a5.png\"\u003e\u003c/p\u003e\n\n[![PyPI Version](https://img.shields.io/pypi/v/crystal-kernel.svg)](https://pypi.org/project/crystal-kernel/)\n[![License](https://img.shields.io/badge/License-BSD_3--Clause-blue.svg)](https://opensource.org/licenses/BSD-3-Clause)\n\nSimple [Python wrapper kernel](https://jupyter-client.readthedocs.io/en/stable/wrapperkernels.html) for Crystal language.\n[ICrystal](https://github.com/RomainFranceschini/icrystal) is the widely used Jupyter kernel for Crystal,\nwhich uses [ICR](https://github.com/crystal-community/icr).\nOn the other hand, this crystal_kernel uses the official [Crystal interpreter](https://crystal-lang.org/2021/12/29/crystal-i.html).\n\nForked from [bash_kernel](https://github.com/takluyver/bash_kernel)\n\n## Installation\n\nMake sure the [Crystal's interpreter](https://crystal-lang.org/2021/12/29/crystal-i.html) starts with `crystal i`.\n\nThen type the following commands.\n\n```sh\npip install crystal_kernel\n\npython -m crystal_kernel.install\n```\n\n## Compiling Crystal interpreter\n\nCrystal 1.3.2 does not provide the Crystal interpreter by default.\n\nTo enable `crystal i`, you need to [compile Crystal from source code](https://crystal-lang.org/install/from_sources/) with `interpreter` option. Crystal is required to compile Crystal. So please do not remove the existing Crystal just because you are going to install Crystal from source code.\n\n```sh\ngit clone https://github.com/crystal-lang/crystal\ncd crystal\nmake help                               # check available options\nmake interpreter=1 release=1 progress=1 # whatever you want\nsudo make install                       # sudo checkinstall\n```\n\nThen check the interpreter start.\n\n```sh\ncrystal i\n```\n\nDid it work?\n\n## Using Shards\n\nUse shards when you want to use crystal libraries. Go to your working directory and create `shard.yml` with `shards init` and write the necessary libraries to it. After `shards install`, start `jupyter`.\n\n## Development\n\nClone the repository:\n\n```sh\ngit clone https://github.com/crystal-data/crystal_kernel\ncd crystal_kernel\n```\n\nInstall in development mode:\n\n```sh\npip install flit\nflit install --symlink\n```\n\nInstall the kernel spec:\n\n```sh\npython -m crystal_kernel.install\n```\n\nBuild the package:\n\n```sh\nflit build\n```\n\nPublish to PyPI:\n\n```sh\nflit publish\n```\n\nSee [Python wrapper kernel](https://jupyter-client.readthedocs.io/en/stable/wrapperkernels.html) for more information.\n\nFeel free to fork this project and start your own project. The author (kojix2) is not familiar with Python and is ready to transfer this project to a more suitable person. If you are interested in taking over the project, please let us know.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrystal-data%2Fcrystal_kernel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrystal-data%2Fcrystal_kernel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrystal-data%2Fcrystal_kernel/lists"}