Skip to main content

Render Engine TailwindCSS Plugin

Add tailwindcss to your Render Engine site.

TailwindCSS is a utility-first CSS framework for rapidly building custom designs.

The pytailwindcss package is used to install compile the tailwindcss stylesheets without the need of npm.

This plugin installs builds a tailwindcss file from the default configuration and adds a tailwind.css file to your static files.

Warning: This is in early development.

Installation

Install the extension with pip:

pip install render-engine-tailwindcss

Usage

  1. Import the plugin.

    # app.py
    
    from render_engine import Site
    from render_engine_tailwindcss import TailwindCSS
    
  2. Add the plugin to your site.

    # app.py
    
    class site(Site):
    
        static_path = 'static'
        plugins=[
            TailwindCSS(),
        ]
    
    )
    
  3. In your 'static_path', add your pre-tailwindcss stylesheets.

    # static/styles.css
    
    @tailwind base;
    @tailwind components;
    @tailwind utilities; 
    

You can add multiple CSS files to the static path and they will all converted into their own files.

Development & Testing

This project uses just for common development tasks and nox for testing across multiple Python versions.

Quick Start with Just

# Run tests
just test

# Run tests with coverage
just test-coverage

# Run both (if available)
just check

Using Nox for Multi-Version Testing

Test the plugin across Python 3.11, 3.12, 3.13, and 3.14:

# Run tests on all Python versions
nox -s test

# Run all checks
nox -s check

Development Setup

# Install with uv (recommended)
uv sync

# Install with pip
pip install -e ".[test]"

# Run tests
just test

Available Just Commands

  • just test - Run pytest on current Python version
  • just test-coverage - Run pytest with coverage reporting
  • just check - Run tests

Metadata

Release files for render-engine-tailwindcss 2025.11.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for render-engine-tailwindcss 2025.11.1
File Size Uploaded Provenance
render_engine_tailwindcss-2025.11.1.tar.gz 9.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for render-engine-tailwindcss 2025.11.1
File Interpreter ABI Platform
render_engine_tailwindcss-2025.11.1-py3-none-any.whl Python 3 none any Details

Total release size: 13.2 kB

Release files / render_engine_tailwindcss-2025.11.1.tar.gz

Download URL render_engine_tailwindcss-2025.11.1.tar.gz
Size 9.1 kB
Tags Source
SHA-256 checksum
How to use checksums
5fccc9d0854c70ffb895003ba9a731dd4d54ed1e14f2bdd7a173f73b76b3df2e
BLAKE2b-256 checksum
How to use checksums
f80e2810a93a06244f98eaf061d06448aab335cd525f674541719f51163c314f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / render_engine_tailwindcss-2025.11.1-py3-none-any.whl

Download URL render_engine_tailwindcss-2025.11.1-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8a600ecb4e7a1a05588fe708f2c8918cdabc593f6db12cdce7b38222141972a5
BLAKE2b-256 checksum
How to use checksums
d66880edfd703815c34236b7fbb2cadf53fcd8646644913fbf6a1429a893fec1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Security for render-engine-tailwindcss 2025.11.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page