Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

menpo

BSD License Documentation

menpo3d - Tools for manipulating meshes

A library inside the Menpo Project that makes manipulating 3D mesh data a simple task. In particular, this project provides the ability to import, visualize and rasterize 3D meshes. Although 3D meshes can be created within the main Menpo project, this package adds the real functionality for working with 3D data.

Installation

pip install menpo3d
conda install -c conda-forge menpo3d

menpo3d.correspond.solve_pnp needs OpenCV (pip install "menpo3d[opencv]"). Importing and exporting meshes, closest point queries, rasterization and offline rendering need nothing extra. The interactive viewers need one of these extras:

Extra Gives you
menpo3d[viz] everything below, including H.264
menpo3d[viz_notebook] the notebook widget and the browser window (JPEG frames)
menpo3d[viz_h264] H.264 video for the streamed viewers
menpo3d[viz_native_window] the native window

Visualizing 3D objects

menpo3d draws 3D objects with a moderngl renderer (OpenGL, no Qt or Mayavi). mesh.view() and the other view methods work in a Jupyter notebook as an interactive widget, in a native window, in a browser window (over SSH too) and offline to a PNG. In a notebook, with menpo3d[viz_notebook] installed, there is nothing else to set up (no %matplotlib magic):

import menpo3d

mesh = menpo3d.io.import_builtin_asset("james.obj")
mesh.view()  # drag to rotate, shift-drag to pan, wheel to zoom
renderer = mesh.view()
renderer.save_figure("james.png")  # offline, needs no extra
renderer.figure.show()  # a native window (or a browser window)
pose = renderer.figure.get_pose()  # the camera as you left it with the mouse

See the documentation for the full viewer API.

Releasing

Releases are made from git tags: tag vX.Y.Z (a signed, annotated tag) and push it. The Release workflow builds the wheel and the sdist and publishes them to PyPI with trusted publishing after the pypi environment is approved; conda-forge's bot then updates the feedstock. A manual run of the workflow with publish: testpypi is a dry run on TestPyPI.

Metadata

Release files for menpo3d 0.11.0rc1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for menpo3d 0.11.0rc1
File Size Uploaded Provenance Actions
menpo3d-0.11.0rc1.tar.gz 3.8 MB With provenance Details for menpo3d-0.11.0rc1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for menpo3d 0.11.0rc1
File Interpreter ABI Platform Actions
menpo3d-0.11.0rc1-py3-none-any.whl Python 3 none any Details for menpo3d-0.11.0rc1-py3-none-any.whl

Total release size: 7.5 MB

Release files / menpo3d-0.11.0rc1.tar.gz

Download URL menpo3d-0.11.0rc1.tar.gz
Size 3.8 MB
Tags Source
SHA-256 checksum
How to use checksums
69a9e9171b7c7f559636d9b7258c3c66421c6f5f376431aa4cbdbdafca4b40bf
BLAKE2b-256 checksum
How to use checksums
2afe63efe1d45bf2ff966b9f327ed4f6479581a0153562d5b5e458c0e6471c49
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 30, 2026.

Transparency log

Release files / menpo3d-0.11.0rc1-py3-none-any.whl

Download URL menpo3d-0.11.0rc1-py3-none-any.whl
Size 3.7 MB
Tags Python 3
SHA-256 checksum
How to use checksums
221d470d114a20ef616396ba6a0ee2e97a8ab3a1a6188977b008ca84b14ddfaf
BLAKE2b-256 checksum
How to use checksums
0c7877dce16e49b9b7175e39909811dbc8cf6ab20721170ea71d385e9e75b35f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 30, 2026.

Transparency log

Security for menpo3d 0.11.0rc1

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for menpo3d-0.11.0rc1.tar.gz

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 Nov 30, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page