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.

Source Distribution

muffin-playground-0.0.9.tar.gz (145.9 kB view details)

Uploaded Source

File details

Details for the file muffin-playground-0.0.9.tar.gz.

File metadata

File hashes

Hashes for muffin-playground-0.0.9.tar.gz
Algorithm Hash digest
SHA256 e322b0cdee6a68aca61073b1cbb2b1b4262e84c84601174de8e5e991b14d4552
MD5 37122f05a1e571eb259263b1fdd7e02f
BLAKE2b-256 6e441d52baa6c48faab5ca2d911ea07d151cf2fa2626662d507743c538eaa417

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page