$npx skillfedfor your agent

rtfunicode

Encoder for unicode to RTF 1.5 command sequences

Worth itPyPI MarkupReleased Jan 2026134.0K downloads / moBSD-2-ClausePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — rtfunicode-2.3-py3-none-any.whl
v2.3 · released 2026-01-17 · Python >=3.10

Yes. The package is lightweight, actively maintained, has no dependencies, and solves a specific problem with a clean API. It carries permissive licensing and no known vulnerabilities. Install it if you need to generate RTF output with international characters; skip it if you don't work with RTF.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or newer.
  • Low install friction with no runtime dependencies.
  • Actively maintained with recent commits and a stable release history since 2012; last release was 2026-01-17.

License · maintenance · safety

BSD-2-Clause (permissive) — BSD-2-Clause is permissive, allowing commercial and private use with minimal restrictions; attribution and license text preservation are required.

last release 2026-01-17 (209 days) · last repo commit 2026-08-14 · 19 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 133,990 downloads/mo, #11,490 on PyPI

Verify before relying

import rtfunicode
'RTF and unicode mix just fine! \u263A'.encode('rtfunicode')
  • Whether the codec handles all Unicode planes or only the Basic Multilingual Plane (BMP) via 16-bit signed integers.
  • Performance characteristics when encoding large documents or streams with many non-ASCII characters.
Same gist for agents: .md · .json

What it is and what it does

rtfunicode is a codec module that bridges Unicode and RTF by converting Unicode strings into valid RTF 1.5 command sequences. When imported, it registers a new codec that allows you to call `.encode('rtfunicode')` on any Unicode string, transforming international characters into RTF escape codes of the form `\uN?`, where N is a signed 16-bit integer and ? is a placeholder character for older RTF readers.

The package is lightweight with no external dependencies and is designed for developers who need to generate RTF documents containing non-ASCII characters. It has been maintained since 2012 and currently requires Python 3.10 or newer. The implementation is straightforward: it converts each Unicode character to its RTF command equivalent, making it useful for applications that export text data to RTF format while preserving international characters.

Use it for

  • Export Unicode text to RTF documents with proper international character encoding for word processors.
  • Generate RTF reports or templates containing non-ASCII characters from Python applications.
  • Convert user-supplied Unicode strings to RTF-compatible bytecode in document generation pipelines.
  • Ensure backward compatibility with older RTF readers by encoding Unicode as RTF escape sequences.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

The package is lightweight, actively maintained, has no dependencies, and solves a specific problem with a clean API. It carries permissive licensing and no known vulnerabilities. Install it if you need to generate RTF output with international characters; skip it if you don't work with RTF.

Install

rtfunicode on PyPI

Before you install

Low install friction with no runtime dependencies. Actively maintained with recent commits and a stable release history since 2012; last release was 2026-01-17.

Requires Python 3.10 or newer.

License in practice

BSD-2-Clause is permissive, allowing commercial and private use with minimal restrictions; attribution and license text preservation are required.

Quickstart

import rtfunicode
'RTF and unicode mix just fine! \u263A'.encode('rtfunicode')

Verify before relying

  • Whether the codec handles all Unicode planes or only the Basic Multilingual Plane (BMP) via 16-bit signed integers.
  • Performance characteristics when encoding large documents or streams with many non-ASCII characters.

Package facts

LicenseBSD-2-Clause permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 209 days since the last release
Last repo commit
First released
Downloads133,990 / month, #11,490 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseProgramming Language :: Python :: 3

Evidence: rtfunicode-2.3-py3-none-any.whl

Tags

Capabilities
unicode to rtf encodingrtf codec pythoninternational characters rtfunicode rtf conversionrtf command sequencesrtf bytecode encoder
Topics
rtf-exportunicode-codectext-encoding
PyPI keywords
rtf

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 › “unicode to rtf encoding”

  • rtfunicodeEncodes Unicode strings to RTF 1.5 command sequences, registering a…
  • striprtfConverts Rich Text Format (RTF) files to plain text, stripping…
  • compressed-rtfCompresses and decompresses Rich Text Format (RTF) data using the…

Give your agent the search over MCP, or paste the wish link into any chat.

More Markup packages

PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
markdown-it-py Worth it
PyPI · Python Modules · released May 2026

A Python markdown parser that converts markdown to HTML following the CommonMark specification, with support for plugins and custom syntax rules.

Install it if you need reliable markdown-to-HTML conversion.

MITpure Python · 3.10+
613.8Mdownloads / mo
beautifulsoup4 Worth it
PyPI · Python Modules · released Jun 2026

Beautiful Soup parses HTML and XML documents into a navigable tree, providing Pythonic methods to search, iterate, and modify the parsed content.

Install it if you need to parse or extract data from markup documents.

MITpure Python · 3.7.0+
432.1Mdownloads / mo
et-xmlfile With conditions
PyPI · Markup · released Oct 2024

et_xmlfile writes large XML files with minimal memory overhead by serializing elements to disk as they are created, rather than holding the entire tree in memory.

Install it if incremental XML writing fits your use case; skip it if your XML documents are small or you already use lxml.

MITpure Python · 3.8+dormant
343.3Mdownloads / mo
tomlkit Worth it
PyPI · Markup · released Jul 2026

Parses and edits TOML files while preserving formatting, comments, and structure, then serializes them back with layout intact.

Install it if you're building tools that touch TOML files and user readability of the source matters.

MITpure Python · 3.9+
338.0Mdownloads / mo
docstring-parser Worth it
PyPI · Python Modules · released Apr 2026

Parses Python docstrings in ReST, Google, Numpydoc, and Epydoc formats, extracting structured information like descriptions, parameters, return types, and exceptions.

Install it if you need to programmatically read and extract structured data from Python docstrings.

MITpure Python · 3.8+
274.9Mdownloads / mo

See also mbstrdecoder · Unidecode · mutf8 · ebcdic · base2048 · latexcodec · ecoji · anyascii · fold-to-ascii · cwcwidth