{"id":24517710,"url":"https://github.com/pyzh/py-call","last_synced_at":"2026-01-30T13:03:14.661Z","repository":{"id":196578448,"uuid":"164686616","full_name":"pyzh/Py-call","owner":"pyzh","description":"Attempts in the Darkart project were abandoned because they were not conducive to code construction and packaging.","archived":false,"fork":false,"pushed_at":"2018-12-28T17:11:22.000Z","size":308,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-10T09:03:00.788Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Scheme","has_issues":false,"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/pyzh.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}},"created_at":"2019-01-08T16:11:53.000Z","updated_at":"2019-07-28T19:57:33.000Z","dependencies_parsed_at":"2023-09-26T08:19:18.764Z","dependency_job_id":null,"html_url":"https://github.com/pyzh/Py-call","commit_stats":null,"previous_names":["pyzh/py-call"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pyzh/Py-call","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyzh%2FPy-call","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyzh%2FPy-call/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyzh%2FPy-call/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyzh%2FPy-call/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pyzh","download_url":"https://codeload.github.com/pyzh/Py-call/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyzh%2FPy-call/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28913307,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-30T12:13:43.263Z","status":"ssl_error","status_checked_at":"2026-01-30T12:13:22.389Z","response_time":66,"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":[],"created_at":"2025-01-22T01:34:56.440Z","updated_at":"2026-01-30T13:03:14.645Z","avatar_url":"https://github.com/pyzh.png","language":"Scheme","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Py-call\nAbandoned.\n\nAttempts in the [Darkart](https://github.com/guenchi/Darkart) project were abandoned because they were not conducive to code construction and packaging.\n\nPy-call attempts to mix the Scheme procedures with the Python functions, which contains a parser for the Py-call source.\n\n### Call foreign language libraries with a easily and lispist syntax: ###\n\n![image](https://github.com/guenchi/Py-call/blob/master/py-call.png)\n\n```\n(define lst '(1 2 3 4 5 6 7 8))\n(py-call \n  '((import numpy as np)\n    (get np array)\n    (get np ndarray)\n    (get np pi)\n    (get np sin)\n    (get np cos)\n    (get np tan)\n    (get ndarray tolist)\n    (define x (list-\u003epy-list 'int lst))\n    (define y (/ (*  pi (array x)) (int 180)))\n    (define sin-lst (py-list-\u003elist 'float (tolist (sin y))))\n    (define cos-lst (py-list-\u003elist 'float (tolist (cos y))))\n    (define tan-lst (py-list-\u003elist 'float (tolist (tan y))))))\n\n=\u003e \n\n(0.01745240643728351 0.03489949670250097 0.05233595624294383 0.0697564737441253 \n0.08715574274765817 0.10452846326765346 0.12186934340514748 0.13917310096006544)\n(0.9998476951563913 0.9993908270190958 0.9986295347545738 0.9975640502598242 \n0.9961946980917455 0.9945218953682733 0.992546151641322 0.9902680687415704)\n(0.017455064928217585 0.03492076949174773 0.0524077792830412 0.06992681194351041 \n0.087488663525924 0.10510423526567646 0.1227845609029046 0.14054083470239143) \n```\n\n\nPy-call is dependented https://github.com/guenchi/match, a pioneering work by Dan Friedman, Erik Hilsdale and Kent Dybvig.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpyzh%2Fpy-call","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpyzh%2Fpy-call","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpyzh%2Fpy-call/lists"}