Ziggy Pydust
A framework for writing and packaging native Python extension modules written in Zig.
Documentation: https://pydust.fulcrum.so/latest
API: https://pydust.fulcrum.so/latest/zig
Source Code: https://github.com/fulcrum-so/ziggy-pydust
Template: https://github.com/fulcrum-so/ziggy-pydust-template
Ziggy Pydust is a framework for writing and packaging native Python extension modules written in Zig.
- Package Python extension modules written in Zig.
- Pytest plugin to discover and run Zig tests.
- Comptime argument wrapping / unwrapping for interop with native Zig types.
const py = @import("pydust");
pub fn fibonacci(args: struct { n: u64 }) u64 {
if (args.n < 2) return args.n;
var sum: u64 = 0;
var last: u64 = 0;
var curr: u64 = 1;
for (1..args.n) {
sum = last + curr;
last = curr;
curr = sum;
}
return sum;
}
comptime {
py.rootmodule(@This());
}
Compatibility
Pydust supports:
Please reach out if you're interested in helping us to expand compatibility.
Getting Started
Pydust docs can be found here. Zig documentation (beta) can be found here.
There is also a template repository including Poetry build, Pytest and publishing from Github Actions.
Contributing
We welcome contributions! Pydust is in its early stages so there is lots of low hanging fruit when it comes to contributions.
- Assist other Pydust users with GitHub issues or discussions.
- Suggest or implement features, fix bugs, fix performance issues.
- Improve our documentation.
- Write articles or other content demonstrating how you have used Pydust.
License
Pydust is released under the Apache-2.0 license.
Metadata
Release files for ziggy-pydust 0.26.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ziggy_pydust-0.26.0.tar.gz | 59.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ziggy_pydust-0.26.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 145.6 kB
Release files / ziggy_pydust-0.26.0.tar.gz
| Download URL | ziggy_pydust-0.26.0.tar.gz |
|---|---|
| Size | 59.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
21644420f550705dbe418ad6daa8c4cec933adb67e8a129b2c69329554ca9c4d
|
|
BLAKE2b-256 checksum How to use checksums |
363d676c76e1374452469674f53af4c2f0a00eb7f9e01b22ef471bb4d2c437d0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 18, 2025.
Transparency logRelease files / ziggy_pydust-0.26.0-py3-none-any.whl
| Download URL | ziggy_pydust-0.26.0-py3-none-any.whl |
|---|---|
| Size | 86.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4ce5c4fd08f764290cb25891dc330f45b08c04208ead0838d177da6e64e0c2a5
|
|
BLAKE2b-256 checksum How to use checksums |
5ab8995f8eec192a6892407e3f66217fd6f56e8632e1593caba185ccf59f92df
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 18, 2025.
Transparency log