{"id":37130884,"url":"https://github.com/crackcomm/go-jupyter","last_synced_at":"2026-01-14T15:02:41.277Z","repository":{"id":208439173,"uuid":"721630666","full_name":"crackcomm/go-jupyter","owner":"crackcomm","description":"Jupyter Protocol client in Go.","archived":false,"fork":false,"pushed_at":"2025-11-28T10:31:53.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-30T18:28:01.299Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/crackcomm.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-11-21T13:05:33.000Z","updated_at":"2025-11-28T10:31:57.000Z","dependencies_parsed_at":"2023-11-21T14:45:19.071Z","dependency_job_id":null,"html_url":"https://github.com/crackcomm/go-jupyter","commit_stats":null,"previous_names":["crackcomm/go-jupyter"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/crackcomm/go-jupyter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crackcomm%2Fgo-jupyter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crackcomm%2Fgo-jupyter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crackcomm%2Fgo-jupyter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crackcomm%2Fgo-jupyter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/crackcomm","download_url":"https://codeload.github.com/crackcomm/go-jupyter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crackcomm%2Fgo-jupyter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28424040,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T13:30:50.153Z","status":"ssl_error","status_checked_at":"2026-01-14T13:29:08.907Z","response_time":107,"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":[],"created_at":"2026-01-14T15:02:40.514Z","updated_at":"2026-01-14T15:02:41.266Z","avatar_url":"https://github.com/crackcomm.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-jupyter\n\n`go-jupyter` is a Go package that provides a Jupyter Protocol client for communication with Jupyter kernels. It enables Go programs to interact with Jupyter kernels, execute code, and receive responses.\n\n## Installation\n\nTo install the package, use the following `go get` command:\n\n```shell\ngo get -u github.com/crackcomm/go-jupyter\n```\n\n## Usage\n\nHere's a basic example of using the `go-jupyter` package to create a Jupyter kernel client and execute code:\n\n```Go\npackage main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\t\"log\"\n\n\t\"github.com/crackcomm/go-jupyter/jupyter\"\n)\n\nfunc main() {\n\t// Load Jupyter kernel connection info from a configuration file\n\tinfo, err := jupyter.ReadConfigFile(\"path/to/connection_info.json\")\n\tif err != nil {\n\t\tlog.Fatal(err)\n\t}\n\n\t// Create a new Jupyter kernel client\n\tclient, err := jupyter.NewClient(context.Background(), \u0026info)\n\tif err != nil {\n\t\tlog.Fatal(err)\n\t}\n\tdefer client.Close()\n\n\t// Define the code to be executed\n\tcode := \"print('Hello, Jupyter!')\"\n\n\t// Execute the code\n\tresult, ch, err := client.Execute(\u0026jupyter.ExecutionRequest{\n\t\tCode: code,\n\t})\n\tif err != nil {\n\t\tlog.Fatal(err)\n\t}\n\n\tfor msg := range ch {\n\t\tfmt.Printf(\"Kernel output: %#v\", msg)\n\t}\n\n\t// Print the execution result\n\tfmt.Printf(\"Execution Status: %s\\n\", result.Status)\n\tfmt.Printf(\"Execution Count: %d\\n\", result.ExecutionCount)\n}\n\n```\n\nThis example demonstrates loading connection information from a file, creating a client, and executing a simple code snippet. The `go-jupyter` package provides additional functionality for inspecting code, handling input/output channels, and more.\n\n## Documentation\n\nFor more detailed information and advanced usage, please refer to the package documentation on [godoc](https://godoc.org/github.com/crackcomm/go-jupyter/jupyter) or [GitHub](https://github.com/crackcomm/go-jupyter) and [Jupyter Protocol documentation](https://jupyter-protocol.readthedocs.io/en/latest/messaging.html).\n\n## Contribution\n\nContributions and feedback are welcome! If you encounter issues or have suggestions for improvements, please open an issue on the [GitHub repository](https://github.com/crackcomm/go-jupyter).\n\nHappy coding with Jupyter in Go!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrackcomm%2Fgo-jupyter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrackcomm%2Fgo-jupyter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrackcomm%2Fgo-jupyter/lists"}