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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file muffin-playground-0.0.8.tar.gz
.
File metadata
- Download URL: muffin-playground-0.0.8.tar.gz
- Upload date:
- Size: 79.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e6633c2d4353451e44f13d944b3659fa4dcf88bb4ca8d4e42e1c0283c76b005 |
|
MD5 | 1179e438f6d71866909a3f5101ef0942 |
|
BLAKE2b-256 | 0167174f60fe2f73337a34f62b5ca7fb5729ab93b7756da7d29a54ed53b2d6b1 |