{"id":22867342,"url":"https://github.com/mkashirin/pyzig","last_synced_at":"2026-04-01T21:50:28.155Z","repository":{"id":266769136,"uuid":"899022751","full_name":"mkashirin/pyzig","owner":"mkashirin","description":"Create Python native extensions using Zig and Python C API!","archived":false,"fork":false,"pushed_at":"2026-02-16T21:39:41.000Z","size":52,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-27T23:42:00.321Z","etag":null,"topics":["c-python-extensions","python","python-c-api","zig"],"latest_commit_sha":null,"homepage":"","language":"Zig","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mkashirin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-12-05T13:32:06.000Z","updated_at":"2026-02-23T23:43:02.000Z","dependencies_parsed_at":"2025-05-07T14:08:17.310Z","dependency_job_id":"99a2414f-cc3c-44de-883c-4edf6fe6d01b","html_url":"https://github.com/mkashirin/pyzig","commit_stats":null,"previous_names":["mkashirin/pyzig"],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/mkashirin/pyzig","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkashirin%2Fpyzig","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkashirin%2Fpyzig/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkashirin%2Fpyzig/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkashirin%2Fpyzig/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mkashirin","download_url":"https://codeload.github.com/mkashirin/pyzig/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkashirin%2Fpyzig/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31292571,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-01T21:15:39.731Z","status":"ssl_error","status_checked_at":"2026-04-01T21:15:34.046Z","response_time":53,"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":["c-python-extensions","python","python-c-api","zig"],"created_at":"2024-12-13T12:27:16.277Z","updated_at":"2026-04-01T21:50:28.149Z","avatar_url":"https://github.com/mkashirin.png","language":"Zig","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003ePyZig\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\nCreate Python native extensions using Zig and Python C API!\n\u003c/p\u003e\n\n## Usage\n\nFirst, create and activate a virtual environment and install dev dependencies\n(using UV and bash):\n```sh\nuv venv\nsource .venv/bin/activate\nuv pip install -r pyproject.toml --extra dev\n```\n\n### Manual Build and Installation\n\nThen build a shared library file by executing:\n```sh\nzig build\n```\nThe Python package can be now built and installed like so (using UV):\n```sh\nuv build\nuv pip install .\n```\n\n### Automated Build and Installation\n\nUse `ZIG_INSTALLED` environment variable to specify what type of Zig compiler\nto use (unset is for Python Zig module, 1 is for system-wide installed\nbinary). Then create and activate a virtual environment (example above). After\nthat, run the build shell script:\n```sh\nsource install.sh\n```\n\n### Testing\n\nOnce the installation is complete, the test can be run as follows:\n```sh\npython tests/test_zigmodule.py\n```\n\nHave fun!\n\n## TODOs\n\n- Generate stubs automatically\n- Build some Zig API for more convinient interaction with Python C API.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkashirin%2Fpyzig","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmkashirin%2Fpyzig","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkashirin%2Fpyzig/lists"}