--- id: plim version: "1.0.0" license: MIT license_treatment: permissive maintenance: abandoned --- # Plim — Plim is a Python port of Ruby's Slim template language built on top of Mako Templates License: permissive · Maintenance: abandoned · Downloads: 86.7K/mo ## What it is and what it does Plim is a Python implementation of Ruby's Slim template language, layered on top of Mako Templates. It uses Mako's preprocessor to convert Slim's compact, indentation-based syntax into standard HTML and Mako markup. Instead of writing verbose HTML tags, you write cleaner, more readable template code that Plim translates before rendering. The package targets web frameworks like Pyramid, Flask, and TurboGears, and includes optional support for embedded CSS preprocessors (Sass/Scss, Stylus) and JavaScript (CoffeeScript). It also provides a command-line tool (plimc) for compiling templates. However, the project is no longer actively maintained—the last release was in 2022 and there have been no updates since. Use it for: - Write web templates in Pyramid or Flask using Slim syntax instead of verbose HTML, reducing boilerplate and improving readability. - Compile Plim templates to plain HTML or Mako markup via the plimc command-line tool for static site generation or build pipelines. - Embed and preprocess Sass, Scss, or Stylus stylesheets directly within Plim templates for integrated styling. - Port existing Ruby Slim templates to Python projects by using Plim as a compatible syntax bridge. - Use Plim's custom parser extension system to add domain-specific template syntax on top of Mako. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Plim translates a concise Ruby-inspired template syntax into HTML and Mako markup, letting you write cleaner template code that compiles down to valid Mako templates. No—install only if you are maintaining legacy code already using Plim. The package is abandoned (last release 1428 days ago), and its 8 runtime dependencies create maintenance risk. For new projects, prefer actively maintained alternatives like Jinja2 or Mako directly. If you need Slim-like syntax, consider whether a modern JavaScript template tool or a different Python template engine better suits your current stack. ## Install pip install plim uv add plim poetry add plim ## Installing Plim Before you install: Low install friction with a pure-Python wheel, but the package is abandoned—last release was 1428 days ago with no recent maintenance. Its 8 runtime dependencies include Mako, Babel, and optional CSS/JavaScript preprocessors (PyExecJS, CoffeeScript, pyScss, stylus), which may add system-level complexity if you need those features. License in practice: MIT license is permissive and poses no restrictions on commercial or proprietary use, modification, or redistribution. Quickstart: pip install Plim from plim import TemplateFile tpl = TemplateFile('template.plim') html = tpl.render(name='World') Mako must be installed and working; optional features (Stylus, CoffeeScript, Sass) require their respective system tools or Python packages. Verify before relying: - Whether the package's 8 runtime dependencies remain compatible with current versions of Mako, Babel, and preprocessor tools. - Whether the abandoned status and lack of maintenance since 2022 poses compatibility risks with modern Python or framework versions. - Specific Python version support beyond 'Python 3' (requires_python is unspecified in the fact sheet). ## Package facts - License: MIT (permissive) - Python support: unspecified - Install friction: low - Maintenance: abandoned - Downloads: 86.7K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags slim template language python, mako template preprocessor, ruby slim port, html template syntax, lightweight template markup, jade haml alternative, indentation-based templates, template-engine, abandoned, mako-based [View on SkillFed](https://skillfed.io/packages/plim) · [View on PyPI](https://pypi.org/project/plim/)