memgentic-native
Native Rust acceleration for Memgentic. Optional — the core package runs on pure Python and auto-detects this extension at import time.
pip install memgentic-native
# or as an extra on the core:
pip install 'memgentic[native]'
What it accelerates
| Module | Replaces Python | Typical speedup |
|---|---|---|
textproc |
credential scrubbing, noise detection, content classification | 5–15× |
parsers |
JSONL / Protocol Buffers / Markdown stream parsing | 3–8× |
graph |
knowledge-graph traversal via petgraph |
2–4× on large graphs |
All modules register under the memgentic_native PyO3 namespace. The core package imports them via try / except ImportError so every code path has a pure-Python fallback — memgentic-native is a performance add-on, never a hard requirement.
Platform coverage
Pre-built wheels ship for:
- Linux x86_64, aarch64 (manylinux) — Python 3.12, 3.13
- macOS x86_64, aarch64 — Python 3.12, 3.13
- Windows x64 — Python 3.12, 3.13
Source distribution is published for other targets. Building from source needs a stable Rust toolchain and maturin.
Versioning
Linked with memgentic + memgentic-api. All three ship on the same release cadence.
License
Apache 2.0. See LICENSE.
Release files for memgentic-native 1.4.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 | |
|---|---|---|---|
| memgentic_native-1.4.0.tar.gz | 25.4 kB | Details |
Built distributions (wheels)
Total release size: 11.2 MB
Release files / memgentic_native-1.4.0.tar.gz
| Download URL | memgentic_native-1.4.0.tar.gz |
|---|---|
| Size | 25.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
23c2ad0af705a30507fefef215db193d0f70b45645e07434ec4318cee584c2cf
|
|
BLAKE2b-256 checksum How to use checksums |
c17365be934bbce89d28829aebf34d710e1c147153101b04742b87181deb25a7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jul 3, 2026.
Transparency logRelease files / memgentic_native-1.4.0-cp313-cp313-win_amd64.whl
| Download URL | memgentic_native-1.4.0-cp313-cp313-win_amd64.whl |
|---|---|
| Size | 965.5 kB |
| Tags | CPython 3.13 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
e663546f304ea39c3ca9dbdf269a21ca28637847cfdb787d9549122c4dfe6328
|
|
BLAKE2b-256 checksum How to use checksums |
1898ab53a716cbf93c9dad3aff0de82937d436858691cb8b1a039e384b125f6a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jul 3, 2026.
Transparency logRelease files / memgentic_native-1.4.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | memgentic_native-1.4.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 1.2 MB |
| Tags | CPython 3.13 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
9d5aed375f4635f34345f81cb1474c2e455b8be55018891ddd4cc6e8fa413d66
|
|
BLAKE2b-256 checksum How to use checksums |
86637fe9b3c61d37095045264fbe16ac7aaeaf6f11806dbeebe47318929c8275
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jul 3, 2026.
Transparency logRelease files / memgentic_native-1.4.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | memgentic_native-1.4.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 1.2 MB |
| Tags | CPython 3.13 Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
2303ba81ef6ceb5ec534c9c40332d6ac9f41c881d6db5be6b274b3105eb2abc6
|
|
BLAKE2b-256 checksum How to use checksums |
3ec50eb28bcec25e0e0c881519e69c9dd256a4350473987ab4b2bdc2ab2e041e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jul 3, 2026.
Transparency logRelease files / memgentic_native-1.4.0-cp313-cp313-macosx_11_0_arm64.whl
| Download URL | memgentic_native-1.4.0-cp313-cp313-macosx_11_0_arm64.whl |
|---|---|
| Size | 1.1 MB |
| Tags | CPython 3.13 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
862f039d16a5fc4d512b42ecdacf570a9119f9014c47e225b04a3fab63ffa5b4
|
|
BLAKE2b-256 checksum How to use checksums |
275ca54ccf622d3437bf23f3182d6ce84223639af2a49fb0d35304b4792f97cb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jul 3, 2026.
Transparency logRelease files / memgentic_native-1.4.0-cp313-cp313-macosx_10_12_x86_64.whl
| Download URL | memgentic_native-1.4.0-cp313-cp313-macosx_10_12_x86_64.whl |
|---|---|
| Size | 1.1 MB |
| Tags | CPython 3.13 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
20d2d75bf46aff07e0a247c2dc8d84935f8426c8ff907bc229094e905ebccd64
|
|
BLAKE2b-256 checksum How to use checksums |
404805a3417db484daa1a81f9566af463c4f9cfd2b511567192c86383da3825e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jul 3, 2026.
Transparency logRelease files / memgentic_native-1.4.0-cp312-cp312-win_amd64.whl
| Download URL | memgentic_native-1.4.0-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 965.5 kB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
3b4e9a6a01cf5429459af1502930e16658e443c1a1e85acffc343e308a15dd15
|
|
BLAKE2b-256 checksum How to use checksums |
cc6d2618ab0fbcde40fd6a3eec06796a43f8a2b01672315b6e1310dddba54a8d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jul 3, 2026.
Transparency logRelease files / memgentic_native-1.4.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | memgentic_native-1.4.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 1.2 MB |
| Tags | CPython 3.12 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
1a71755c0f9a1f216fcb413020b9c6f21d0c408406e67d812a080abdfffd31f3
|
|
BLAKE2b-256 checksum How to use checksums |
f63d8fb9347d8fae5eca92b9609ea735e83b5b5dcdb02efe1f3def2477329f8f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jul 3, 2026.
Transparency logRelease files / memgentic_native-1.4.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | memgentic_native-1.4.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 1.2 MB |
| Tags | CPython 3.12 Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
ab79d76f1aaeec52961433e4e7f84ab0077c6194f1f1466425413274b39aa33a
|
|
BLAKE2b-256 checksum How to use checksums |
5842a667e9a927309fbec74bde828e9ca22c1107a6764a4a41bce513a5a365ef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jul 3, 2026.
Transparency logRelease files / memgentic_native-1.4.0-cp312-cp312-macosx_11_0_arm64.whl
| Download URL | memgentic_native-1.4.0-cp312-cp312-macosx_11_0_arm64.whl |
|---|---|
| Size | 1.1 MB |
| Tags | CPython 3.12 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
7cea6e2379ad937e78e98a4c1b42e7d0c86076e4ee751b663af15ec5842a75dc
|
|
BLAKE2b-256 checksum How to use checksums |
9f0c84d59a7bbe8a31aa51d4c5d4a344a0215cf149680737d39bddc48821de28
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jul 3, 2026.
Transparency logRelease files / memgentic_native-1.4.0-cp312-cp312-macosx_10_12_x86_64.whl
| Download URL | memgentic_native-1.4.0-cp312-cp312-macosx_10_12_x86_64.whl |
|---|---|
| Size | 1.1 MB |
| Tags | CPython 3.12 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
4fa8b5bbd0e166714003035502bceb4173b3dc41b047422d6a047e126be3a7eb
|
|
BLAKE2b-256 checksum How to use checksums |
b2d294e3ada91f3f9486a89639289e0baefb6d405b35fbb7f50ce7852f1f3b06
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jul 3, 2026.
Transparency log