--- id: dracopy version: "2.0.0" license: Apache-2.0 license_treatment: permissive maintenance: active --- # DracoPy — Python wrapper for Google's Draco Mesh Compression Library License: permissive · Maintenance: active · Downloads: 304.8K/mo ## What it is and what it does DracoPy wraps Google's Draco mesh compression library to compress and decompress 3D mesh geometry in Python. It reads and writes Draco-encoded files (.drc), supporting both triangle meshes and point clouds. The library lets you control compression trade-offs through quantization bits, compression level, and quantization range, making it useful for applications that need to reduce 3D geometry file sizes while managing precision loss. The package ships with prebuilt wheels for modern Python versions on major platforms, though source builds require a C++11 compiler. It has no runtime dependencies beyond numpy and is actively maintained with a stable API. Use it for: - Compress 3D mesh models for storage or network transmission in graphics and CAD applications. - Decode Draco-compressed geometry in web-based 3D viewers or game engines that use compressed assets. - Reduce file sizes of point cloud datasets from 3D scanning or LiDAR capture. - Batch-process mesh files with tunable quantization to balance compression ratio and geometric fidelity. - Integrate mesh compression into data pipelines for 3D reconstruction or photogrammetry workflows. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. DracoPy is a Python wrapper for Google's Draco mesh compression library that encodes and decodes 3D mesh data with optional quantization and compression. Yes. DracoPy is a stable, actively maintained wrapper around a widely-used compression standard with no security vulnerabilities, permissive licensing, and prebuilt wheels that minimize install friction. Install it if you need to compress or decompress 3D mesh data; the medium friction is offset by broad platform support and a straightforward API. ## Install pip install dracopy uv add dracopy poetry add dracopy ## Installing DracoPy Before you install: Medium install friction due to compiled C++ components, but prebuilt wheels are available for Python 3.10–3.13 on macOS, Linux, and Windows. Repository is actively maintained with recent commits. License in practice: Licensed under Apache-2.0 (permissive), allowing commercial and private use with minimal restrictions. Quickstart: pip install DracoPy import DracoPy with open('bunny.drc', 'rb') as draco_file: mesh = DracoPy.decode(draco_file.read()) binary = DracoPy.encode(mesh.points, mesh.faces, quantization_bits=14) Requires numpy; source builds need a C++11-compatible compiler. Verify before relying: - Whether numpy is automatically installed as a dependency or must be installed separately. - Performance characteristics (compression ratio, encode/decode speed) for typical mesh sizes. - Support status for Python 3.14 (listed in classifiers but not in wheel evidence). ## Package facts - License: Apache-2.0 (permissive) - Python support: unspecified - Install friction: medium - Maintenance: active - Downloads: 304.8K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags mesh compression python, draco 3d encoding decoding, point cloud compression, 3d geometry compression, mesh quantization, google draco wrapper, 3d mesh encoding, 3d-graphics, compression, mesh-processing [View on SkillFed](https://skillfed.io/packages/dracopy) · [View on PyPI](https://pypi.org/project/dracopy/)