py-lib3mf
Python bindings for Lib3MF
What it is and what it does
py-lib3mf is a Python wrapper around the Lib3MF C++ library, providing direct access to 3MF file format operations from Python. It packages precompiled bindings for modern Python versions, eliminating the need to build Lib3MF from source. The package wraps the official Lib3MF API (maintained by the 3MF Consortium) and is designed for developers working with 3D model files, particularly in contexts like 3D printing, CAD workflows, or 3D graphics applications.
The package has no runtime dependencies beyond the compiled Lib3MF library bundled in the wheel, making it straightforward to install and use. It requires Python 3.10 or later and is actively maintained; the latest release came 102 days ago. The Apache-2.0 license permits commercial use without restrictions.
Use it for:
- Load and parse 3MF files in 3D printing or CAD applications to extract model geometry and metadata
- Generate or modify 3MF files programmatically for batch processing or design automation workflows
- Integrate 3MF support into Python-based 3D modeling or slicing tools
- Convert between 3MF and other 3D formats by reading 3MF data and exporting to alternative formats
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides Python bindings to Lib3MF, enabling reading, writing, and manipulation of 3D model files in the 3MF format.
Yes, if you need to work with 3MF files in Python. The package is actively maintained, has no external runtime dependencies, carries a permissive license, and offers prebuilt wheels for modern Python versions. Medium install friction is typical for compiled bindings and not a barrier. No known vulnerabilities. Install it when 3MF support is a requirement; skip it if your workflow doesn't involve 3MF files.
Install
py-lib3mf on PyPI
pip
pip install py-lib3mfuv
uv add py-lib3mfpoetry
poetry add py-lib3mfInstalling py-lib3mf
Before you install
Medium install friction due to compiled wheels; prebuilt binaries available for modern Python versions (3.10+) on Linux/macOS and Windows, but requires Python 3.10 or later. Last release 102 days ago with active maintenance status.
License in practice
Licensed under Apache-2.0 (permissive), allowing commercial and private use with minimal restrictions; suitable for most projects without legal concerns.
Quickstart
pip install py-lib3mf
import lib3mf
# Load and work with 3MF files
model = lib3mf.Model()
# Use Lib3MF API methods as documented in the Lib3MF repository
Requires Python 3.10 or later; prebuilt wheels available for Linux/macOS/Windows on supported architectures.
Verify before relying
- Specific Lib3MF API surface and method availability in this wrapper version
- Performance characteristics for large 3MF files
- Whether Windows ARM64 wheels are available (friction evidence shows only aarch64 Linux wheels)
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | medium — platform-specific wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 102 days since the last release |
| First released | |
| Downloads | 153,749/month — #10,869 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: py_lib3mf-2.5.0-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl; py_lib3mf-2.5.0-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl; py_lib3mf-2.5.0-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl; py_lib3mf-2.5.0-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl; py_lib3mf-2.5.0-cp314-cp314-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Tags
More Graphics packages
Pillow adds image processing capabilities to…
permissive · top 100 on PyPI
fonttoolsfonttools manipulates font files in multiple…
permissive · top 1,000 on PyPI
matplotlib-inlineEnables matplotlib figures to display inline…
permissive · top 1,000 on PyPI
pymupdfPyMuPDF extracts, renders, converts, and…
agpl · top 1,000 on PyPI
pypdfium2pypdfium2 is a Python binding to PDFium that…
permissive · top 1,000 on PyPI
altairAltair is a declarative Python library for…
permissive · top 1,000 on PyPI
lib3mflib3mf reads, writes, and validates 3D…
permissive · top 15,000 on PyPI
plyfileplyfile reads and writes ASCII and binary PLY…
copyleft · top 5,000 on PyPI
PyGEL3DPyGEL3D provides Python bindings for a C++…
permissive · top 15,000 on PyPI
rhino3dmrhino3dm provides Python bindings to OpenNURBS…
permissive · top 15,000 on PyPI
build123dbuild123d is a Python CAD framework for…
permissive · top 15,000 on PyPI
numpy-stlReads, writes, and modifies STL mesh files…
permissive · top 15,000 on PyPI
meshioplusplusmeshioplusplus reads and writes mesh files in…
permissive · top 15,000 on PyPI
pygltflibReads, writes, and manipulates GLTF and GLB 3D…
permissive · top 5,000 on PyPI
pycolladapycollada reads, writes, and edits COLLADA 3D…
permissive · top 5,000 on PyPI
manifold3dManifold3d creates and operates on manifold…
permissive · top 5,000 on PyPI