$npx skillfedfor your agent

compressed-rtf

Compressed Rich Text Format (RTF) compression and decompression package

With conditionsPyPI Text ProcessingReleased Mar 20256.7M downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — compressed_rtf-1.0.7-py3-none-any.whl
v1.0.7 · released 2025-03-24

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

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
Same gist for agents: .md · .json

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.

With conditions

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

LicenseMIT permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceAging 508 days since the last release
Last repo commit
First released
Downloads6,711,619 / month, #1,866 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone 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

Capabilities
rtf compression decompressionlzfu compressioncompressed rtf formatrtf lzfu encoder decodermicrosoft rtf compressionmela rtf compression
Topics
rtf-compressionlzfu-codecdocument-processing
PyPI keywords
compressed-rtflzfumelartf

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

regex Worth it
PyPI · Python Modules · released Jul 2026

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.

Apache-2.0 AND CNRI-Pythoncompiled wheel · 3.10+
437.7Mdownloads / mo
pyparsing Worth it
PyPI · Text Processing · released Jan 2026

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.

MITpure Python · 3.9+
412.7Mdownloads / mo
fonttools Worth it
PyPI · Text Processing · released May 2026

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.

permissive licensepure Python · 3.10+
235.9Mdownloads / mo
docutils With conditions
PyPI · Software Development · released May 2026

Docutils converts plaintext documentation in reStructuredText format into multiple output formats including HTML, XML, and LaTeX using a modular processing system.

BSD-3-Clausepure Python · 3.9+
225.6Mdownloads / mo
RapidFuzz Worth it
PyPI · Text Processing · released Apr 2026

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.

MITcompiled wheel · 3.10+
184.2Mdownloads / mo
tinycss2 Worth it
PyPI · Text Processing · released Nov 2025

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.

BSD-3-Clausepure Python · 3.10+
113.2Mdownloads / mo

See also rtfparse · lzstring · PyRTF3 · unlzw3 · python-neo-lzf · ncompress · python-lzf · listcrunch · striprtf · xpress8