skillfed

py-lib3mf

Python bindings for Lib3MF

py-lib3mf v2.5.0 153.7K downloads/30d#10,869 on PyPI
Permissive license Apache-2.0 Active released

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-lib3mf

uv

uv add py-lib3mf

poetry

poetry add py-lib3mf

Installing 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

3MF file format python3D model file handlinglib3mf python bindings3MF reader writer3D printing file format
3d-modelingfile-formatbindings

More Graphics packages