{"id":13503367,"url":"https://github.com/spiraldb/ziggy-pydust","last_synced_at":"2025-05-15T17:05:33.157Z","repository":{"id":193488716,"uuid":"685475102","full_name":"spiraldb/ziggy-pydust","owner":"spiraldb","description":"A toolkit for building Python extensions in Zig.","archived":false,"fork":false,"pushed_at":"2025-05-15T09:00:03.000Z","size":43051,"stargazers_count":554,"open_issues_count":30,"forks_count":24,"subscribers_count":11,"default_branch":"develop","last_synced_at":"2025-05-15T09:42:36.292Z","etag":null,"topics":["python","zig"],"latest_commit_sha":null,"homepage":"https://pydust.fulcrum.so/","language":"Zig","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/spiraldb.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}},"created_at":"2023-08-31T10:09:27.000Z","updated_at":"2025-05-15T08:57:58.000Z","dependencies_parsed_at":"2023-09-22T01:39:55.242Z","dependency_job_id":"cb997816-f530-4304-ab94-3cdde2048812","html_url":"https://github.com/spiraldb/ziggy-pydust","commit_stats":{"total_commits":316,"total_committers":7,"mean_commits":"45.142857142857146","dds":0.5379746835443038,"last_synced_commit":"ad0bc8751048382455c72e2105ec268b0578a5c8"},"previous_names":["fulcrum-so/ziggy-pydust","spiraldb/ziggy-pydust"],"tags_count":63,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spiraldb%2Fziggy-pydust","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spiraldb%2Fziggy-pydust/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spiraldb%2Fziggy-pydust/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spiraldb%2Fziggy-pydust/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spiraldb","download_url":"https://codeload.github.com/spiraldb/ziggy-pydust/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254384988,"owners_count":22062422,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["python","zig"],"created_at":"2024-07-31T22:02:48.561Z","updated_at":"2025-05-15T17:05:28.144Z","avatar_url":"https://github.com/spiraldb.png","language":"Zig","funding_links":[],"categories":["Zig"],"sub_categories":[],"readme":"# Ziggy Pydust\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://pydust.fulcrum.so\"\u003e\n    \u003cimg src=\"https://pydust.fulcrum.so/assets/ziggy-pydust.png\" style=\"border-radius: 20px\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n    \u003cem\u003eA framework for writing and packaging native Python extension modules written in Zig.\u003c/em\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://github.com/fulcrum-so/ziggy-pydust/actions\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/actions/workflow/status/fulcrum-so/ziggy-pydust/ci.yml?branch=develop\u0026logo=github\u0026style=\" alt=\"Actions\"\u003e\n\u003c/a\u003e\n\u003ca href=\"https://pypi.org/project/ziggy-pydust\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://img.shields.io/pypi/v/ziggy-pydust\" alt=\"Package version\"\u003e\n\u003c/a\u003e\n\u003ca href=\"https://docs.python.org/3/whatsnew/3.11.html\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://img.shields.io/pypi/pyversions/ziggy-pydust\" alt=\"Python version\"\u003e\n\u003c/a\u003e\n\u003ca href=\"https://github.com/fulcrum-so/ziggy-pydust/blob/develop/LICENSE\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/license/fulcrum-so/ziggy-pydust\" alt=\"License\"\u003e\n\u003c/a\u003e\n\u003c/p\u003e\n\n---\n\n**Documentation**: \u003ca href=\"https://pydust.fulcrum.so/latest\" target=\"_blank\"\u003ehttps://pydust.fulcrum.so/latest\u003c/a\u003e\n\n**API**: \u003ca href=\"https://pydust.fulcrum.so/latest/zig\" target=\"_blank\"\u003ehttps://pydust.fulcrum.so/latest/zig\u003c/a\u003e\n\n**Source Code**: \u003ca href=\"https://github.com/fulcrum-so/ziggy-pydust\" target=\"_blank\"\u003ehttps://github.com/fulcrum-so/ziggy-pydust\u003c/a\u003e\n\n**Template**: \u003ca href=\"https://github.com/fulcrum-so/ziggy-pydust-template\" target=\"_blank\"\u003ehttps://github.com/fulcrum-so/ziggy-pydust-template\u003c/a\u003e\n\n---\n\nZiggy Pydust is a framework for writing and packaging native Python extension modules written in Zig.\n\n- Package Python extension modules written in Zig.\n- Pytest plugin to discover and run Zig tests.\n- Comptime argument wrapping / unwrapping for interop with native Zig types.\n\n```zig\nconst py = @import(\"pydust\");\n\npub fn fibonacci(args: struct { n: u64 }) u64 {\n    if (args.n \u003c 2) return args.n;\n\n    var sum: u64 = 0;\n    var last: u64 = 0;\n    var curr: u64 = 1;\n    for (1..args.n) {\n        sum = last + curr;\n        last = curr;\n        curr = sum;\n    }\n    return sum;\n}\n\ncomptime {\n    py.rootmodule(@This());\n}\n```\n\n## Compatibility\n\nPydust supports:\n\n- [Zig 0.11.0](https://ziglang.org/download/0.11.0/release-notes.html)\n- [CPython \u003e=3.11](https://docs.python.org/3.11/c-api/stable.html)\n\nPlease reach out if you're interested in helping us to expand compatibility.\n\n## Getting Started\n\nPydust docs can be found [here](https://pydust.fulcrum.so).\nZig documentation (beta) can be found [here](https://pydust.fulcrum.so/latest/zig).\n\nThere is also a [template repository](https://github.com/fulcrum-so/ziggy-pydust-template) including Poetry build, Pytest and publishing from Github Actions.\n\n## Contributing\n\nWe welcome contributions! Pydust is in its early stages so there is lots of low hanging\nfruit when it comes to contributions.\n\n- Assist other Pydust users with GitHub issues or discussions.\n- Suggest or implement features, fix bugs, fix performance issues.\n- Improve our documentation.\n- Write articles or other content demonstrating how you have used Pydust.\n\n## License\n\nPydust is released under the [Apache-2.0 license](https://opensource.org/licenses/APACHE-2.0).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspiraldb%2Fziggy-pydust","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspiraldb%2Fziggy-pydust","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspiraldb%2Fziggy-pydust/lists"}