Skip to main content

rvt

Read Autodesk Revit files (.rvt, .rfa, .rte, .rft) in Python, without Revit: a file's metadata, previews and embedded schema and, on the Revit releases it supports, the building's elements with their names, types, storeys and materials, exported as IFC4 or as CSV schedules. rvt is the Python package of rvt-rs, an Apache-2.0 clean-room reader written in Rust.

pip install rvt

One wheel per platform covers Python 3.8 and later on Linux (x86-64 and ARM64, glibc and musl), macOS (Apple silicon and Intel) and 64-bit Windows, with no Rust toolchain needed. On any other platform pip builds the package from source, which needs a Rust toolchain.

Example

import rvt

# Identity only (release, last save, worksharing): reads two small streams,
# so it is the fast path for an inventory of many files.
meta = rvt.read_metadata("model.rvt")
print(meta["revit_version"], meta["last_saved"])

f = rvt.RevitFile("model.rvt")
counts = f.element_counts()
print(counts["total"], counts["by_class"])

# write_ifc() raises ValueError when part of the file was over the reader's
# resource limits (f.unread_streams() names it): open the file again with a
# larger max_stream_bytes / max_inflate_bytes, or pass allow_partial=True.
with open("model.ifc", "w", encoding="utf-8") as out:
    out.write(f.write_ifc())
# The CSV already ends its rows with \r\n: write it with newline="".
with open("elements.csv", "w", encoding="utf-8", newline="") as out:
    out.write(f.schedule_csv("elements"))

# What the export approximated or left out, as `rvt-ifc --diagnostics`
# writes it: read it before relying on an export.
diagnostics = f.export_diagnostics()

What to expect

Support depends on the Revit release, the file type and the feature. Opening a file and reading its metadata does not mean its elements or geometry can be recovered. RevitFile.decoded_elements() lists each element's saved parameters on Revit 2023 to 2027 files, and experimentally on 2015 to 2022 ones; the CLI rvt-ifc --revit-property-sets writes them into IFC exports as Revit's property sets, and a default export leaves most of them out. What each release gives is in the support table, and every export comes with the diagnostics above.

Documentation

Why the bindings are a crate of their own

This directory, rvt-py, is the pyo3 extension the rvt wheel is built from. The core rvt crate is unconditionally #![forbid(unsafe_code)]: Revit files come from untrusted sources, and every unsafe block is a potential parser vulnerability. pyo3's macros expand into unsafe code, which forbid does not allow, so the bindings live here and the core's boundary stays hard (ADR-001).

Building from source

# Debug build into the active virtualenv, for day-to-day work.
maturin develop --manifest-path rvt-py/Cargo.toml

# The release wheel CI publishes to PyPI.
maturin build --release --manifest-path rvt-py/Cargo.toml --out dist

Licence and trademarks

Apache-2.0, the same licence as the core crate (LICENSE, NOTICE). "Autodesk" and "Revit" are registered trademarks of Autodesk, Inc. rvt-rs is an independent project, not affiliated with, endorsed by or sponsored by Autodesk; it uses the names only to identify the file format it reads, and contains no Autodesk source code (CLEANROOM.md).

Metadata

Release files for rvt 0.12.2

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

Source distribution (sdist)

Source distribution for rvt 0.12.2
File Size Uploaded Provenance Actions
rvt-0.12.2.tar.gz 1.1 MB With provenance Details for rvt-0.12.2.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for rvt 0.12.2
File Actions
rvt-0.12.2-cp38-abi3-win_amd64.whl CPython 3.8 abi3 Windows x86-64 Details for rvt-0.12.2-cp38-abi3-win_amd64.whl
rvt-0.12.2-cp38-abi3-musllinux_1_2_x86_64.whl CPython 3.8 abi3 Linux musl 1.2+ x86-64 Details for rvt-0.12.2-cp38-abi3-musllinux_1_2_x86_64.whl
rvt-0.12.2-cp38-abi3-musllinux_1_2_aarch64.whl CPython 3.8 abi3 Linux musl 1.2+ ARM64 Details for rvt-0.12.2-cp38-abi3-musllinux_1_2_aarch64.whl
rvt-0.12.2-cp38-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl CPython 3.8 abi3 Linux glibc 2.17+ x86-64 Details for rvt-0.12.2-cp38-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
rvt-0.12.2-cp38-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl CPython 3.8 abi3 Linux glibc 2.17+ ARM64 Details for rvt-0.12.2-cp38-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
rvt-0.12.2-cp38-abi3-macosx_11_0_arm64.whl CPython 3.8 abi3 macOS 11.0+ ARM64 Details for rvt-0.12.2-cp38-abi3-macosx_11_0_arm64.whl
rvt-0.12.2-cp38-abi3-macosx_10_12_x86_64.whl CPython 3.8 abi3 macOS 10.12+ x86-64 Details for rvt-0.12.2-cp38-abi3-macosx_10_12_x86_64.whl

Total release size: 30.1 MB

Release files / rvt-0.12.2.tar.gz

Download URL rvt-0.12.2.tar.gz
Size 1.1 MB
Tags Source
SHA-256 checksum
How to use checksums
61c1f770af27ead6d9aa8e6a96d4dacb3c5d0f2f6d25e77c7c5e6443003e00dc
BLAKE2b-256 checksum
How to use checksums
e2a7ef024d9f13d6f0132c5f5f1bb575a58f5db1666f3588e063f0888977e92b
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 3, 2026.

Transparency log

Release files / rvt-0.12.2-cp38-abi3-win_amd64.whl

Download URL rvt-0.12.2-cp38-abi3-win_amd64.whl
Size 4.6 MB
Tags CPython 3.8 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
b0b3ffd8b361467d9fb58098b1dd334e67dbb267b39578aef0e312875a503240
BLAKE2b-256 checksum
How to use checksums
650782d3279f3cbf2248392a190bcf978f2a92e31ca28f6b9c0c9fac4b99ac17
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 3, 2026.

Transparency log

Release files / rvt-0.12.2-cp38-abi3-musllinux_1_2_x86_64.whl

Download URL rvt-0.12.2-cp38-abi3-musllinux_1_2_x86_64.whl
Size 4.5 MB
Tags CPython 3.8 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
436b34327a607267f562043947497e6c214b239a48258dbb70da4e1a39aa8d09
BLAKE2b-256 checksum
How to use checksums
0b19ba711d56a4a3ca9bdaa2921706819955bc84a6b2c5b49dc22cf877637178
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 3, 2026.

Transparency log

Release files / rvt-0.12.2-cp38-abi3-musllinux_1_2_aarch64.whl

Download URL rvt-0.12.2-cp38-abi3-musllinux_1_2_aarch64.whl
Size 4.0 MB
Tags CPython 3.8 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
af15f5c56418edc4b13029d2c2f727bfeaa8468847577696107660ba5c0fcabb
BLAKE2b-256 checksum
How to use checksums
db495f1833b20e55e362d05cc1e23111369979f1da0693c3e838750ec94eed71
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 3, 2026.

Transparency log

Release files / rvt-0.12.2-cp38-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL rvt-0.12.2-cp38-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 4.3 MB
Tags CPython 3.8 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
01961e7e603a42a49098e94510ef1ee18184d90fdc48f9d58209e7c43f5eab08
BLAKE2b-256 checksum
How to use checksums
3959a229fce2ab9fe26b917b12878c0addb8efff87b268d479f40f6dd3f80a35
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 3, 2026.

Transparency log

Release files / rvt-0.12.2-cp38-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL rvt-0.12.2-cp38-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 3.8 MB
Tags CPython 3.8 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
1a0a4c341c7f21074d064efd1600fc9e566b2df85a82be1844842d22bff00132
BLAKE2b-256 checksum
How to use checksums
b3e1eccade6a727a22d363e2009c783627bd52fbe67565e4fed895b0e7082800
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 3, 2026.

Transparency log

Release files / rvt-0.12.2-cp38-abi3-macosx_11_0_arm64.whl

Download URL rvt-0.12.2-cp38-abi3-macosx_11_0_arm64.whl
Size 3.7 MB
Tags CPython 3.8 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
b78b45ade139e5b3f7faae75e0433c69acba0e10d2768082c369cc8ba5a0222e
BLAKE2b-256 checksum
How to use checksums
d069d4801d2be73a08a78765d8d52ea4972d72eedeaa613650a0085119f17c88
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 3, 2026.

Transparency log

Release files / rvt-0.12.2-cp38-abi3-macosx_10_12_x86_64.whl

Download URL rvt-0.12.2-cp38-abi3-macosx_10_12_x86_64.whl
Size 4.2 MB
Tags CPython 3.8 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
21ddba07d460fc6ae116b78c36beb02edcb14f3e651a736a69c83df775bcb864
BLAKE2b-256 checksum
How to use checksums
3cb889994bbc327fffe25449ffe8cadf4e3fa7ea0fb3ffaa1c3cb6acf85a8f7f
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 3, 2026.

Transparency log

Security for rvt 0.12.2

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

All 8 files in this release have been uploaded with provenance metadata.

Select from 8 files

Attestation for rvt-0.12.2.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 3, 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.

Release history Release notifications | RSS feed

This release

0.12.2 This release

8 release files Full provenance

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