compressed-rtf
Compressed Rich Text Format (RTF) compression and decompression package
Decision gist · record as of 2026-08-14
Yes, if you need to work with Microsoft-compressed RTF data. The package is stable, has no dependencies, and carries permissive licensing. However, maintenance is aging with no recent updates; verify that it meets your RTF variant requirements before relying on it for new projects.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low install friction with no runtime dependencies.
- Maintenance is aging—last commit was 2025-06-29, but the package remains in production/stable status with no recent activity.
License · maintenance · safety
MIT (permissive) — MIT license permits commercial and private use with minimal restrictions, requiring only attribution and inclusion of the license notice.
last release 2025-03-24 (508 days) · last repo commit 2025-06-29 · 25 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 6,711,619 downloads/mo, #1,866 on PyPI
Alternatives
Verify before relying
from compressed_rtf import compress, decompress
data = '{\\rtf1\\ansi\\ansicpg1252\\pard test}'
compressed = compress(data, compressed=True)
original = decompress(compressed)- Whether the package handles edge cases or malformed RTF data gracefully
- Performance characteristics on large RTF documents
- Compatibility with modern RTF variants beyond the MSDN specification
What it is and what it does
compressed_rtf is a Python implementation of the LZFu compression algorithm used by Microsoft for Rich Text Format data. It provides two functions—compress() and decompress()—to encode and decode RTF streams according to the Microsoft RTF Compression Algorithm specification. The package has no runtime dependencies and works on both Windows and POSIX systems.
The library is useful when working with RTF data that has been compressed using the Microsoft format, such as email attachments or Office document streams. It implements both the compressed (LZFu) and raw (MELA) encoding variants, allowing round-trip conversion between compressed and decompressed RTF representations.
Use it for
- Decompress RTF data embedded in Microsoft Exchange or Outlook email messages
- Convert between compressed and uncompressed RTF formats for document processing
- Extract readable RTF content from binary streams that use LZFu compression
- Integrate RTF compression/decompression into document conversion pipelines
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need to work with Microsoft-compressed RTF data.
The package is stable, has no dependencies, and carries permissive licensing. However, maintenance is aging with no recent updates; verify that it meets your RTF variant requirements before relying on it for new projects.
Install
compressed-rtf on PyPI
Before you install
Low install friction with no runtime dependencies. Maintenance is aging—last commit was 2025-06-29, but the package remains in production/stable status with no recent activity.
License in practice
MIT license permits commercial and private use with minimal restrictions, requiring only attribution and inclusion of the license notice.
Quickstart
from compressed_rtf import compress, decompress
data = '{\\rtf1\\ansi\\ansicpg1252\\pard test}'
compressed = compress(data, compressed=True)
original = decompress(compressed)
Verify before relying
- Whether the package handles edge cases or malformed RTF data gracefully
- Performance characteristics on large RTF documents
- Compatibility with modern RTF variants beyond the MSDN specification
Package facts
| License | MIT permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Aging 508 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 6,711,619 / month, #1,866 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableEnvironment :: ConsoleEnvironment :: Win32 (MS Windows)Operating System :: Microsoft :: WindowsOperating System :: POSIX :: LinuxProgramming Language :: Python :: 2.7Programming Language :: Python :: 3Topic :: System :: Archiving :: CompressionTopic :: Text Processing |
Evidence: compressed_rtf-1.0.7-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “rtf compression decompression”
- compressed-rtfCompresses and decompresses Rich Text Format (RTF) data using the…
- rtfparseParses Microsoft Rich Text Format (RTF) documents into an in-memory…
- xpress8xpress8 provides Python bindings to Microsoft's Xpress8 compression…
Give your agent the search over MCP, or paste the wish link into any chat.
More Text Processing packages
A drop-in replacement for Python's standard `re` module that adds advanced regex features like nested sets, fuzzy matching, lookaround in conditionals, and full Unicode case-folding while maintaining backward compatibility.
pyparsing provides a library for building text parsers directly in Python code using composable grammar classes, handling quoted strings, whitespace variation, and embedded comments without regex or lex/yacc.
Install it if you need to parse text or define grammars programmatically.
fonttools manipulates font files in multiple formats (TrueType, OpenType, AFM, Type 1, Mac-specific) and includes TTX, a tool to convert fonts to and from XML text format.
Install it if you need to read, write, or manipulate fonts programmatically or via the TTX command-line tool.
Docutils converts plaintext documentation in reStructuredText format into multiple output formats including HTML, XML, and LaTeX using a modular processing system.
RapidFuzz provides fast fuzzy string matching using Levenshtein Distance and related metrics, implemented mostly in C++ with Python bindings for rapid similarity scoring and approximate string matching.
Install it if you need fuzzy string matching; it's a solid replacement for FuzzyWuzzy with better licensing and performance.
tinycss2 parses CSS strings into token and block objects, and generates CSS strings from those objects, following the CSS Syntax Level 3 specification without enforcing specific properties or values.
Install it if your project requires CSS tokenization or syntax manipulation.
See also rtfparse · lzstring · PyRTF3 · unlzw3 · python-neo-lzf · ncompress · python-lzf · listcrunch · striprtf · xpress8