fluent.pygments
Pygments lexer for Fluent.
Decision gist · record as of 2026-08-14
Yes, if you use Sphinx or another Pygments-based tool and need to display Fluent localization code with syntax highlighting. Install it as a dependency of your documentation build. The low friction, permissive license, and active repository make it a straightforward addition. However, note that the last release was in 2020; verify compatibility with your current Pygments version before relying on it in production documentation.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low friction installation with a pure-Python wheel and minimal dependencies.
- The package is actively maintained with recent commits, though it has not seen a release since 2020-05-20.
License · maintenance · safety
APL 2 (permissive) — Licensed under Apache License, Version 2.0 (permissive), allowing use in both open-source and proprietary projects with minimal restrictions.
last release 2020-05-20 (2277 days) · last repo commit 2026-06-01 · 244 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 442,982 downloads/mo, #6,632 on PyPI
Alternatives
Verify before relying
pip install fluent.pygments
from pygments import highlight
from pygments.lexers import get_lexer_by_name
from pygments.formatters import TerminalFormatter
lexer = get_lexer_by_name('fluent')
code = 'hello = Hello, { $name }!'
print(highlight(code, lexer, TerminalFormatter()))- Whether the package works with current Pygments versions despite the last release being in 2020
- Compatibility with Python versions beyond 3.5 given the classifier dates
What it is and what it does
fluent.pygments is a Pygments lexer plugin that teaches Pygments how to recognize and highlight Fluent localization syntax. Fluent is a localization system designed to make it easier to express complex plural rules, gender agreement, and other linguistic nuances in application strings. This package integrates that syntax highlighting into Pygments, which means it works with any tool that uses Pygments—most notably Sphinx documentation generators.
The package depends on Pygments itself, fluent.syntax (the Fluent parser and utilities), and six (for Python 2/3 compatibility). It's a small, focused tool: if you're documenting Fluent files or displaying Fluent code in a Sphinx project, this lexer makes that code readable with proper syntax coloring. Without it, Fluent code appears as plain text.
Use it for
- Add colored Fluent syntax to Sphinx documentation for localization projects
- Display Fluent localization files with proper highlighting in code examples
- Enable syntax-aware rendering of Fluent code in documentation generation pipelines
- Provide IDE-like syntax highlighting for Fluent in any Pygments-based tool
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you use Sphinx or another Pygments-based tool and need to display Fluent localization code with syntax highlighting.
Install it as a dependency of your documentation build. The low friction, permissive license, and active repository make it a straightforward addition. However, note that the last release was in 2020; verify compatibility with your current Pygments version before relying on it in production documentation.
Install
fluent-pygments on PyPI
Before you install
Low friction installation with a pure-Python wheel and minimal dependencies. The package is actively maintained with recent commits, though it has not seen a release since 2020-05-20.
License in practice
Licensed under Apache License, Version 2.0 (permissive), allowing use in both open-source and proprietary projects with minimal restrictions.
Quickstart
pip install fluent.pygments
from pygments import highlight
from pygments.lexers import get_lexer_by_name
from pygments.formatters import TerminalFormatter
lexer = get_lexer_by_name('fluent')
code = 'hello = Hello, { $name }!'
print(highlight(code, lexer, TerminalFormatter()))
Verify before relying
- Whether the package works with current Pygments versions despite the last release being in 2020
- Compatibility with Python versions beyond 3.5 given the classifier dates
Package facts
| License | APL 2 permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagespygmentsfluent.syntaxsix |
| Maintenance | Actively maintained 2,277 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 442,982 / month, #6,632 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 3 - AlphaIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 2.7Programming Language :: Python :: 3.5 |
Evidence: fluent.pygments-1.0-py2.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 › “fluent syntax highlighting”
- fluent.pygmentsAdds syntax highlighting support for Fluent localization files to…
- fluent.syntaxParse, write, and transform Fluent localization files with built-in…
- pygments-stylesProvides a curated collection of Pygments syntax-highlighting color…
Give your agent the search over MCP, or paste the wish link into any chat.
More Sphinx packages
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.
Sphinx generates professional documentation from reStructuredText source files, producing HTML, PDF, EPUB, and other formats with automatic cross-references, code highlighting, and hierarchical navigation.
A Sphinx extension that outputs documentation in serialized HTML formats (JSON and pickle) alongside standard HTML.
Alabaster is a clean, responsive Sphinx theme for documentation that requires Python 3.10 or newer and Sphinx 6.2 or newer.
A Sphinx extension that generates HTML help files from reStructuredText documentation source.
A Sphinx extension that converts documentation source files into QtHelp format, enabling integration with Qt-based help systems and documentation viewers.
However, be aware that maintenance is dormant—if you rely on it long-term, monitor Sphinx compatibility and consider whether QtHelp remains the right format for your…
See also fluent.syntax · Pygments · ipython-pygments-lexers · ansible-pygments · pygments-styles · ansys-api-fluent · ansys-fluent-core · jupyterlab-pygments · accessible-pygments · types-Pygments