rtflite 
Lightweight RTF composer for Python.
Specializes in precise formatting of production-quality tables and figures. Inspired by r2rtf.
Installation
You can install rtflite from PyPI:
pip install rtflite
Or install the development version from GitHub:
git clone https://github.com/pharmaverse/rtflite.git
cd rtflite
python3 -m pip install -e .
Optional dependencies - DOCX support
Some features in rtflite require additional dependencies. To install rtflite with DOCX assembly support:
pip install rtflite[docx]
To add rtflite as a dependency with DOCX support for projects using uv:
uv add rtflite --extra docx
For rtflite developers, sync all optional dependencies with:
uv sync --all-extras
Optional dependencies - LibreOffice
rtflite can convert RTF documents to PDF and DOCX using LibreOffice. To enable this feature, install LibreOffice (free and open source, MPL license).
See the converter setup guide for detailed instructions.
Contributing
We welcome contributions to rtflite. Please read the rtflite Contributing Guidelines to get started.
All interactions within rtflite repositories and issue trackers should adhere to the rtflite Contributor Code of Conduct.
License
This project is licensed under the terms of the MIT license.
Metadata
Release files for rtflite 2.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rtflite-2.6.0.tar.gz | 1.2 MB | Without provenance | Details for rtflite-2.6.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rtflite-2.6.0-py3-none-any.whl | Python 3 | none | any | Details for rtflite-2.6.0-py3-none-any.whl |
Total release size: 2.3 MB
Release files / rtflite-2.6.0.tar.gz
| Download URL | rtflite-2.6.0.tar.gz |
|---|---|
| Size | 1.2 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
549fd564efaa2f242d20a8ccdf6f0d2dbd5ce789f3ed1136b707d3b348541dba
|
|
BLAKE2b-256 checksum How to use checksums |
9aa12af47b975e4cadd9f0ac89440d79430b869e3c6485012f6745bceb4b0c78
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.10 {"installer":{"name":"uv","version":"0.12.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / rtflite-2.6.0-py3-none-any.whl
| Download URL | rtflite-2.6.0-py3-none-any.whl |
|---|---|
| Size | 1.2 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ed69ccd7bc8cee9a2cb6009fdbfa1d8b33373905179c9d8649a5c7f78e0efc68
|
|
BLAKE2b-256 checksum How to use checksums |
871815fef96b580f99974f3d509663ae480db955842318cd438a1c95e6783c73
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.10 {"installer":{"name":"uv","version":"0.12.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for rtflite 2.6.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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.