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"])

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, but most of them are not written to IFC exports yet. 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.7.0

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.7.0
File Size Uploaded Provenance Actions
rvt-0.7.0.tar.gz 3.3 MB With provenance Details for rvt-0.7.0.tar.gz

Built distributions (wheels)

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

Total release size: 24.3 MB

Release files / rvt-0.7.0.tar.gz

Download URL rvt-0.7.0.tar.gz
Size 3.3 MB
Tags Source
SHA-256 checksum
How to use checksums
a1e1c76147b14e13426157417c24e28ee6a76e96d13be6490446b564fc924e04
BLAKE2b-256 checksum
How to use checksums
0b5cfa4f9315e4b6757a051d1a6ff706c5b32d9bad179160f23e8225d2f067ac
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 Oct 24, 2026.

Transparency log

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

Download URL rvt-0.7.0-cp38-abi3-win_amd64.whl
Size 3.2 MB
Tags CPython 3.8 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
e72fc2ae25014d7c9c336c65738da490ba149d65cec2f8a5608a90266a096db4
BLAKE2b-256 checksum
How to use checksums
09c7b2f4915b5455c919e645ab484cbb91b041db502237160d5a4b1bcee75e7e
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 Oct 24, 2026.

Transparency log

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

Download URL rvt-0.7.0-cp38-abi3-musllinux_1_2_x86_64.whl
Size 3.3 MB
Tags CPython 3.8 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
f0fab6621c6a402e8f48b5063902e460f31b6def9c3783a76c6a42d34767730d
BLAKE2b-256 checksum
How to use checksums
615df383215cde3e69e673801e2432419aeb6473eb2283d915be5e4fd7ffb050
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 Oct 24, 2026.

Transparency log

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

Download URL rvt-0.7.0-cp38-abi3-musllinux_1_2_aarch64.whl
Size 2.9 MB
Tags CPython 3.8 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
66d1b7fe890a63ff6679418f302bf428810838bfe2cf55629db7fac93cb24f29
BLAKE2b-256 checksum
How to use checksums
79a036a70df58fc473d8ed3fc47f184cce68e8a98157d8fe99adbad89fc208c7
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 Oct 24, 2026.

Transparency log

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

Download URL rvt-0.7.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 3.1 MB
Tags CPython 3.8 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
0d229c386b8eac75fa8648178ca768d89c7416c9c4acb8a17c5ed73343d9a8dd
BLAKE2b-256 checksum
How to use checksums
d95a1a06bb8406a6bb239b2be59d09d6a7b0c4d39a6b9f8c15ce332438b53eab
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 Oct 24, 2026.

Transparency log

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

Download URL rvt-0.7.0-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 2.7 MB
Tags CPython 3.8 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
2452a0538c62d824e98fdccaaa0315b96d0a532602a3089dd2181be9c8c6f72e
BLAKE2b-256 checksum
How to use checksums
52d2d3c11d3893807bfd5c83928a102be39d852d97176c65fb23f042423d3b2d
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 Oct 24, 2026.

Transparency log

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

Download URL rvt-0.7.0-cp38-abi3-macosx_11_0_arm64.whl
Size 2.7 MB
Tags CPython 3.8 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
8d91204996f980f252c3d7c864790d3032df24c1f4ba0ffdc6a6325655d81461
BLAKE2b-256 checksum
How to use checksums
6e5f243c38eb601e8b1abb07ab0e4c1a08a23e89ee3ae711a99efd156f386fb1
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 Oct 24, 2026.

Transparency log

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

Download URL rvt-0.7.0-cp38-abi3-macosx_10_12_x86_64.whl
Size 3.0 MB
Tags CPython 3.8 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
39b10aa48ff7316456bcc9b6278ded8f7af7e14d03403952278d50478688ef24
BLAKE2b-256 checksum
How to use checksums
1684e1361a316705d4db525d180662588c7ba88aead58643b5178b2ab126a63e
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 Oct 24, 2026.

Transparency log

Security for rvt 0.7.0

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.7.0.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 Oct 24, 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.7.0 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