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.16.1

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.16.1
File Size Uploaded Provenance Actions
rvt-0.16.1.tar.gz 1.4 MB With provenance Details for rvt-0.16.1.tar.gz

Built distributions (wheels)

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

Total release size: 39.3 MB

Release files / rvt-0.16.1.tar.gz

Download URL rvt-0.16.1.tar.gz
Size 1.4 MB
Tags Source
SHA-256 checksum
How to use checksums
d96478c50be344e2b5ddf7d45b39656693f7eec69b755e5ead7e38b63796db88
BLAKE2b-256 checksum
How to use checksums
c181217150748c91b7065488513dbd6dc3465051a44e31bb43b5ae36b7aecc77
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 9, 2026.

Transparency log

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

Download URL rvt-0.16.1-cp38-abi3-win_amd64.whl
Size 6.1 MB
Tags CPython 3.8 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
93f8d85692ec26644c0950c8bc81c3d754b85b55da7b6fcac60c829bb38f6529
BLAKE2b-256 checksum
How to use checksums
e408e3d038b706e9914f8a0676614c9d8dd2160505d9bbd96a0e5401967c1d7c
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 9, 2026.

Transparency log

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

Download URL rvt-0.16.1-cp38-abi3-musllinux_1_2_x86_64.whl
Size 5.9 MB
Tags CPython 3.8 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
10e23228038dd1134a3d99202ae61e414a6768a52a4a94e758e9c0e69bbae0f8
BLAKE2b-256 checksum
How to use checksums
2019651a673678eaeddf0ff552b3c954c5211c2d298bcc076662f31d0a9631e9
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 9, 2026.

Transparency log

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

Download URL rvt-0.16.1-cp38-abi3-musllinux_1_2_aarch64.whl
Size 5.1 MB
Tags CPython 3.8 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
cc80a3402b8f3bf4607f47c9c6fe1f2eb802c06ee75cb1b4b22071d774d5f0e7
BLAKE2b-256 checksum
How to use checksums
34fd7b3076c0c8710259ac8a0ed2b11dc475bd234d399cbaec1be9d9e28a25aa
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 9, 2026.

Transparency log

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

Download URL rvt-0.16.1-cp38-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 5.7 MB
Tags CPython 3.8 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
0025e0472c3b37067cb0ea577d5d9cbcddc8767e403bb1ec9ab525a5ba33c3e3
BLAKE2b-256 checksum
How to use checksums
c81b333235fc8e57d6a98fb9e88d9c17821014ce3c2068ca56f5058595220110
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 9, 2026.

Transparency log

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

Download URL rvt-0.16.1-cp38-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 4.9 MB
Tags CPython 3.8 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
7a30624202acc7e6d0095d4a3ec9a3e7f61fa636be10bcc8f0e4d9669530563d
BLAKE2b-256 checksum
How to use checksums
f750d0f65a3baf337e9b13f09e2dbd23224125281193372b2aa16e0a0a5a74da
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 9, 2026.

Transparency log

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

Download URL rvt-0.16.1-cp38-abi3-macosx_11_0_arm64.whl
Size 4.8 MB
Tags CPython 3.8 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
bfa51e041e8f8c1718603859bc9196fda6cd4e51623de7ed3367885af77adc62
BLAKE2b-256 checksum
How to use checksums
ea92a1c056079c9a2ad60b057843901532ffed2fc6187b7cff774743828b6d40
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 9, 2026.

Transparency log

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

Download URL rvt-0.16.1-cp38-abi3-macosx_10_12_x86_64.whl
Size 5.5 MB
Tags CPython 3.8 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
71fd9318eae88a12d0c93ca23b2aee71efddd293bd60563cd23eaac26f66d9fa
BLAKE2b-256 checksum
How to use checksums
e68148914ed0dae94962195afe470edca2977c38a3f4bc912b12f5d6096dd6a4
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 9, 2026.

Transparency log

Security for rvt 0.16.1

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.16.1.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 9, 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.16.1 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