$npx skillfedfor your agent

pygltflib

Python library for reading, writing and managing 3D objects in the Khronos Group gltf and gltf2 formats.

With conditionsPyPI GraphicsReleased Jul 2025817.4K downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pygltflib-1.16.5-py3-none-any.whl
v1.16.5 · released 2025-07-24 · Python >=3.6 · 3 runtime deps: dataclasses, dataclasses-json, deprecated

Yes, if you need to work with GLTF/GLB files in Python. The package is mature, has no known vulnerabilities, carries a permissive license, and installs cleanly. The aging maintenance status (386 days since last release) is a minor concern for new features but not a blocker for stable, read-write operations on standard GLTF v2 files.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.6 or above.
  • Low install friction with three lightweight runtime dependencies.
  • Maintenance status is aging—last release was 386 days ago—so expect slower response to issues, though the package remains functional for current use.

License · maintenance · safety

permissive license (permissive) — Licensed under MIT (permissive), so you can use, modify, and distribute this package freely in commercial and open-source projects with minimal restrictions.

last release 2025-07-24 (386 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 817,356 downloads/mo, #4,985 on PyPI

Verify before relying

pip install pygltflib

from pygltflib import GLTF2

gltf = GLTF2().load("model.gltf")
gltf.convert_buffers(BufferFormat.BINARYBLOB)
gltf.save("model.glb")
  • Whether the experimental validator covers all GLTF2 specification rules or only a subset.
  • Current state of B3DM file support and whether it has been added since the documentation was written.
  • Performance characteristics when handling large models or many assets.
Same gist for agents: .md · .json

What it is and what it does

pygltflib is a Python library for working with GLTF and GLB 3D model files, the standard formats defined by the Khronos Group. It provides a complete, type-hinted API to load, create, modify, and save 3D scenes with full support for the GLTF v2 specification—including meshes, materials, animations, and vendor extensions. The library handles both text-based GLTF and binary GLB formats, and can convert between them, embed or externalize buffer data, and extract or import image files.

The package is built on three runtime dependencies: dataclasses for structured data, dataclasses-json for serialization, and deprecated for marking obsolete APIs. It works across Python 3.6 and above and is widely used in 3D graphics pipelines where standardized model interchange is needed.

Use it for

  • Load and inspect GLTF/GLB models in a Python application to read mesh geometry, materials, and animations.
  • Convert between GLTF and GLB formats, or switch buffer storage between embedded data URIs, external binary files, and GLB blobs.
  • Extract images from GLTF files and save them as files, or import image files as assets into a model.
  • Programmatically create 3D scenes and meshes from scratch and export them in GLTF format.
  • Validate GLTF objects for specification compliance and troubleshoot structural issues in model files.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need to work with GLTF/GLB files in Python.

The package is mature, has no known vulnerabilities, carries a permissive license, and installs cleanly. The aging maintenance status (386 days since last release) is a minor concern for new features but not a blocker for stable, read-write operations on standard GLTF v2 files.

Install

pygltflib on PyPI

Before you install

Low install friction with three lightweight runtime dependencies. Maintenance status is aging—last release was 386 days ago—so expect slower response to issues, though the package remains functional for current use.

Requires Python 3.6 or above.

License in practice

Licensed under MIT (permissive), so you can use, modify, and distribute this package freely in commercial and open-source projects with minimal restrictions.

Quickstart

pip install pygltflib

from pygltflib import GLTF2

gltf = GLTF2().load("model.gltf")
gltf.convert_buffers(BufferFormat.BINARYBLOB)
gltf.save("model.glb")

Verify before relying

  • Whether the experimental validator covers all GLTF2 specification rules or only a subset.
  • Current state of B3DM file support and whether it has been added since the documentation was written.
  • Performance characteristics when handling large models or many assets.

Package facts

Licensepermissive license permissive
Python supportSupports the current Python release >=3.6
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
dataclassesdataclasses-jsondeprecated
MaintenanceAging 386 days since the last release
First released
Downloads817,356 / month, #4,985 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
License :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3

Evidence: pygltflib-1.16.5-py3-none-any.whl

Tags

Capabilities
gltf file reader writerglb binary 3d modelgltf2 format handling3d model serializationkhronos gltf librarymesh buffer conversiongltf image export
Topics
3d-graphicsfile-formatkhronos-standard

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “gltf file reader writer”

  • pygltflibReads, writes, and manipulates GLTF and GLB 3D model files with full…
  • ndjsonProvides a familiar JSON Lines (ndjson) parser and writer with an API…
  • libconfReads and writes configuration files in libconfig format, a format…

Give your agent the search over MCP, or paste the wish link into any chat.

More Graphics packages

pillow Worth it
PyPI · Graphics · released Jul 2026

Pillow adds image processing capabilities to Python, providing file format support, efficient pixel data handling, and image manipulation operations.

Install it if you need to work with images in Python—it is the de facto standard for this task.

MIT-CMUcompiled wheel · 3.10+
547.1Mdownloads / mo
fonttools Worth it
PyPI · Text Processing · released May 2026

fonttools manipulates font files in multiple formats (TrueType, OpenType, AFM, Type 1, Mac-specific) and includes TTX, a tool to convert fonts to and from XML text format.

Install it if you need to read, write, or manipulate fonts programmatically or via the TTX command-line tool.

permissive licensepure Python · 3.10+
235.9Mdownloads / mo
matplotlib-inline Worth it
PyPI · Graphics · released May 2026

Enables matplotlib figures to display inline directly within Jupyter notebooks and IPython environments instead of in separate windows.

BSD-3-Clausepure Python · 3.9+
130.5Mdownloads / mo
pymupdf Worth it
PyPI · Libraries · released Aug 2026

PyMuPDF extracts, renders, converts, and manipulates PDF and other document formats (XPS, EPUB, images, Office files via Pro) with high performance, providing text, tables, images, and metadata with precise layout information.

The AGPL license requires careful review if you are building proprietary software—commercial licensing is available from Artifex.

AGPLcompiled wheel · 3.10+
114.9Mdownloads / mo
pypdfium2 Worth it
PyPI · Libraries · released Aug 2026

pypdfium2 is a Python binding to PDFium that enables PDF rendering, inspection, manipulation, and creation through a ctypes interface to Google's PDFium library.

Install it if you need PDF rendering, inspection, or manipulation in Python; the medium install friction is offset by comprehensive platform support.

permissive licensecompiled wheel · 3.6+
76.9Mdownloads / mo
altair Worth it
PyPI · Graphics · released Jun 2026

Altair is a declarative Python library for creating interactive statistical visualizations by writing simple, readable code that compiles to Vega-Lite specifications.

BSD-3-Clausepure Python · 3.10+
54.5Mdownloads / mo

See also panda3d-gltf · pyrender · cascadio · lib3mf · meshio · plyfile · moderngl-window · pytetwild · PyGEL3D · xatlas