Registry / serialization / chevron-blue

chevron-blue

JSON →
library0.3.0pypypi✓ verified 81d ago

A Python implementation of the Mustache template language, fork of chevron with fixes and updates. Current version 0.3.0, requires Python >=3.8. Released occasionally, not aggressively maintained.

pip install chevron-blue
INSTALL
IMPORT
SIG · CHEVRON-BLUE
C
chevron-blue
serializationpythonv0.3.0
Install
1.5s avg
Import
Disk
16MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v0.3.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 17.8MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 1.5s · import 0.000s · 18MB
16MB installed
● package 16MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

render
from chevron_blue import render
import chevron
main
from chevron_blue import main
ChevronError
from chevron_blue import ChevronError

Render a simple Mustache template with a context dict.

import chevron template = "Hello, {{name}}!" context = {"name": "World"} result = chevron.render(template, context) print(result) # Hello, World!
Debug
Known issues
gotchaThe import is 'chevron' not 'chevron_blue'. The library is installed as chevron-blue but module name is chevron. Many users try 'from chevron_blue import ...' which fails.
fix
Use 'import chevron'
affects: all
deprecatedchevron-blue is a fork of chevron. The original chevron library is incompatible with chevron-blue's API. Do not mix the two.
fix
Uninstall chevron if installed and use only chevron-blue.
affects: <0.3.0
gotchachevron.render() expects a string or file-like object for the template. Passing a file path as a string will silently fail to open the file; it will treat the path as the template text.
fix
Use chevron.render(template=open('file.mustache'), data=context) or read the file first.
affects: all
Upgrade
Version history
0.3.0latest on PyPI · released Jul 16, 2025
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
6
OpenAI (training)
1
Resources
chevron-blue — pip install chevron-blue · libregistry