{"id":13803994,"url":"https://github.com/digikar99/py4cl2","last_synced_at":"2026-01-15T00:56:00.527Z","repository":{"id":40444026,"uuid":"190923050","full_name":"digikar99/py4cl2","owner":"digikar99","description":"Call python from Common Lisp","archived":false,"fork":true,"pushed_at":"2024-08-11T10:12:51.000Z","size":6835,"stargazers_count":48,"open_issues_count":4,"forks_count":10,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-13T17:36:27.608Z","etag":null,"topics":["common-lisp","library","python"],"latest_commit_sha":null,"homepage":"https://digikar99.github.io/py4cl2/","language":"Common Lisp","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"bendudson/py4cl","license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/digikar99.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":"2019-06-08T18:42:16.000Z","updated_at":"2025-05-04T18:35:18.000Z","dependencies_parsed_at":"2023-01-30T00:15:19.532Z","dependency_job_id":null,"html_url":"https://github.com/digikar99/py4cl2","commit_stats":null,"previous_names":[],"tags_count":22,"template":false,"template_full_name":null,"purl":"pkg:github/digikar99/py4cl2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digikar99%2Fpy4cl2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digikar99%2Fpy4cl2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digikar99%2Fpy4cl2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digikar99%2Fpy4cl2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/digikar99","download_url":"https://codeload.github.com/digikar99/py4cl2/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digikar99%2Fpy4cl2/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28440938,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-15T00:55:22.719Z","status":"ssl_error","status_checked_at":"2026-01-15T00:55:20.945Z","response_time":107,"last_error":"SSL_read: 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":["common-lisp","library","python"],"created_at":"2024-08-04T01:00:39.992Z","updated_at":"2026-01-15T00:56:00.509Z","avatar_url":"https://github.com/digikar99.png","language":"Common Lisp","readme":"\u003eThis is a fork of bendudson/py4cl.\n\n# Github Pages\n\nDetailed documentation is available on [github-pages](https://digikar99.github.io/py4cl2/) (could be a bit outdated).\n\n## For MacOS Users\n\nIf you have bash 3.2 please upgrade it to a [more recent version](https://www.shell-tips.com/mac/upgrade-bash/#gsc.tab=0).\n\n# Releases\n\nCheck the [Releases](https://github.com/digikar99/py4cl2/releases) section. That said, if you are looking for stability, look at py4cl and not py4cl2, at least not in 2021. You may use py4cl2 on use-and-throw projects, or use it without using \"edgy\" features (not yet classified).\n\n# Contribution and PRs\n\nPlease test using [py4cl2-tests](https://github.com/digikar99/py4cl2-tests).\n\n# Quick Demonstration\n\n\u003cimg margin=\"auto\" width=\"75%\" src=\"./docs/readme_slime.png\"\u003e\u003c/img\u003e\n\n```lisp\n(ql:quickload :py4cl2 :silent t)\n\n(py4cl2:defpymodule \"numpy\" nil :lisp-package \"NP\")\n(py4cl2:defpymodule \"scipy.integrate\" nil :lisp-package \"INTEGRATE\")\n\n;; Integrate some ODEs\n(defparameter *data*\n  (integrate:odeint \n   :func (lambda (y time) \n           (list (aref y 1)       ; dy[0]/dt = y[1]\n                 (- (aref y 0)))) ; dy[1]/dt = -y[0]\n   :y-0 #(1.0 0.0)   ; Initial state\n   :t (np:linspace :start 0.0 :stop (* 2 pi) :num 20)))\n                                        ; Vector of times\n\n; (array-dimensions *data*) =\u003e (20 2)\n\n;; Make a plot, save and show it in a window\n(py4cl2:defpymodule \"matplotlib.pyplot\" nil :lisp-package \"PLT\")\n\n(plt:plot *data*)\n(plt:xlabel :xlabel \"Time\")\n(plt:savefig \"result.pdf\")\n(plt:show)\n```\n\n\u003cimg margin=\"auto\" width=\"75%\" src=\"./docs/readme_matplotlib.png\"\u003e\u003c/img\u003e\n\nGreat thanks to [Ben Dudson](https://github.com/bendudson) for starting this project, and documenting it enough to make it more-buildable!\n\n","funding_links":[],"categories":["Python ##"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdigikar99%2Fpy4cl2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdigikar99%2Fpy4cl2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdigikar99%2Fpy4cl2/lists"}