Skip to main content

Convenience classes for simple muffin apps

Project description

A small module containing convenience classes to make it easier to create simple muffin applications.

What it offers:

  • An easy-to-use static file handler that automatically compiles certain types of source files (.plim, .styl, .pyj)
  • Client autoreload
  • Support for plim templating language (.plim)
  • Support for Stylus CSS preprocessor (.styl)
  • Support for RapydScript Python-to-JS compiler (.pyj)
  • Custom muffin.Application subclass with a render() method for plim templates
  • WebSocketHandler class with on_open(), on_close(), and on_message() methods

Installation

pip install muffin-playground

If you want RapydScript and Stylus support, you must install their packages via npm:

npm install -g stylus rapydscript-ng

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for muffin-playground, version 0.0.11
Filename, size File type Python version Upload date Hashes
Filename, size muffin-playground-0.0.11.tar.gz (147.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page