contentstack-utils
contentstack_utils is a Utility package for Contentstack headless CMS with an API-first approach.
Decision gist · record as of 2026-08-14
Yes, if you are using Contentstack as your CMS and need to render rich-text or embedded content in Python. The package is actively maintained, has no dependencies, installs easily, carries a permissive MIT license, and solves a specific problem in the Contentstack ecosystem. No known security vulnerabilities. Install it when you need to convert Contentstack JSON to HTML; skip it if you are not using Contentstack or handle rendering entirely on the front-end.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.6 or later; typically used alongside the Contentstack Python SDK to fetch entries before rendering.
- Low friction install with no runtime dependencies.
- Active maintenance, last release 16 days ago, repository not archived.
License · maintenance · safety
MIT (permissive) — MIT license permits free use, modification, and distribution with minimal restrictions—suitable for commercial and open-source projects.
last release 2026-07-29 (16 days) · last repo commit 2026-08-11
0 known vulnerabilities (OSV.dev, 2026-08-14) · 227,012 downloads/mo, #9,190 on PyPI
Alternatives
Verify before relying
pip install contentstack_utils
from contentstack_utils.utils import Utils
from contentstack_utils.render.options import Options
json_array = {} # dictionary or list from Contentstack
option = Options()
response = Utils.render_content('html_string', json_array, option)
print(response)- Whether the package handles all Contentstack field types or only specific RTE/embedded-item scenarios.
- Performance characteristics when rendering large or deeply nested content structures.
- Whether custom rendering options support all HTML/CSS features or have limitations.
What it is and what it does
contentstack_utils is a utility library for Contentstack, a headless CMS platform. It provides helper functions to transform JSON content retrieved from Contentstack's Content Delivery API into rendered HTML suitable for display on web pages. The package focuses on rendering rich-text editor fields and embedded items—content types that Contentstack stores as structured JSON but need to be converted to HTML for front-end consumption.
The library is designed to work alongside the main Contentstack Python SDK. You fetch entries using the SDK, then pass them to contentstack_utils functions like `render_content()` or `json_to_html()` along with configuration options to specify which fields to render and how. It supports Python 3.6 through 3.9 and has no external runtime dependencies, making it lightweight to add to existing projects.
Use it for
- Convert Contentstack RTE (rich-text editor) field data to HTML for server-side rendering in a web application.
- Process embedded items and linked content from Contentstack entries before sending them to a front-end template engine.
- Batch-render content from multiple Contentstack entries for bulk content export or static site generation.
- Transform Contentstack JSON responses into HTML for email templates or document generation workflows.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are using Contentstack as your CMS and need to render rich-text or embedded content in Python.
The package is actively maintained, has no dependencies, installs easily, carries a permissive MIT license, and solves a specific problem in the Contentstack ecosystem. No known security vulnerabilities. Install it when you need to convert Contentstack JSON to HTML; skip it if you are not using Contentstack or handle rendering entirely on the front-end.
Install
contentstack-utils on PyPI
Before you install
Low friction install with no runtime dependencies. Active maintenance, last release 16 days ago, repository not archived.
Requires Python 3.6 or later; typically used alongside the Contentstack Python SDK to fetch entries before rendering.
License in practice
MIT license permits free use, modification, and distribution with minimal restrictions—suitable for commercial and open-source projects.
Quickstart
pip install contentstack_utils
from contentstack_utils.utils import Utils
from contentstack_utils.render.options import Options
json_array = {} # dictionary or list from Contentstack
option = Options()
response = Utils.render_content('html_string', json_array, option)
print(response)
Verify before relying
- Whether the package handles all Contentstack field types or only specific RTE/embedded-item scenarios.
- Performance characteristics when rendering large or deeply nested content structures.
- Whether custom rendering options support all HTML/CSS features or have limitations.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.6 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 16 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 227,012 / month, #9,190 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Intended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9 |
Evidence: contentstack_utils-1.6.1-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 › “contentstack cms utilities”
- contentstack-utilsRenders embedded content and rich-text fields from Contentstack's…
- mplhepmplhep provides matplotlib styling and helper functions to produce…
- Products.CMFPlonePlone is a Python-based content management system that provides a…
Give your agent the search over MCP, or paste the wish link into any chat.
More Dynamic Content packages
MarkupSafe provides a text object that escapes special characters so untrusted strings can be safely embedded in HTML and XML without injection attacks.
Jinja2 is a templating engine that renders dynamic content by combining templates with Python-like syntax and data, supporting template inheritance, macros, autoescaping, and sandboxed execution.
Soupsieve is a CSS selector library designed to work with Beautiful Soup 4 to select, match, and filter HTML and XML elements using modern CSS selectors from CSS level 1 through CSS level 4 specifications.
Install it if you use Beautiful Soup for HTML or XML parsing and want modern CSS selector support.
Werkzeug is a WSGI utility library providing request/response objects, URL routing, an interactive debugger, HTTP utilities, and a development server for building web applications.
Flask is a lightweight WSGI web application framework for building web applications in Python, from simple single-page sites to complex multi-route applications.
Mako compiles Python-embedded templates into Python modules for fast rendering, supporting layout inheritance, custom functions, and direct Python expressions within template syntax.
See also rich-text-renderer · contentful · djangocms-attributes-field · django-cms · contentful_management · streamlit-quill · django-tinymce · rich-rst · wagtail · omnigent-ui-sdk