semvec/pypi-packages huggingface dataset:
flask-stylus2css 0.1
A small Flask extension that adds Stylus support to Flask.
License: MIT

flask-stylus2css
================

A small Flask extension that makes it easy to use Stylus with your Flask application.

Usage
-----

You can activate it by calling the ``stylus2css`` function with your Flask app as a parameter:

      from flaskext.stylus2css import stylus2css
      stylus2css(app, css_folder='css', stylus_folder='src/stylus')

This will intercept the request to ``css_folder`` and compile de file if is necesary using the files from ``stylus_folder``.

When you deploy your app you might not want to accept the overhead of checking the modification time of your ``.stylus`` and ``.css`` files on each request. A simple way to avoid this is wrapping the stylus2css call in an if statement:

      if app.debug:
          from flaskext.stylus2css import stylus2css
          stylus2css(app)
          
If you do this you'll be responsible for rendering the ``.stylus`` files into ``.css`` when you deploy in non-debug mode to your production server.


- documentation_
- development_


.. _documentation: https://github.com/weapp/flask-stylus2css
.. _development: https://github.com/weapp/flask-stylus2css
flask-jade2underscore 0.1
A small Flask extension adds suppot to Jade2Underscore templates compiler (used in Backbone) to Flask.
License: MIT

flask-jade2underscore
===============

A small Flask extension that makes it easy to use Jade to Underscore templates compiler (used in Backbone) with your Flask application.

Usage
-----

You can activate it by calling the ``jade2underscore`` function with your Flask app as a parameter:

      from flaskext.jade2underscore import jade2underscore
      jade2underscore(app, underscore_folder='underscore', jade_folder='src/jade')

This will intercept the request to ``underscore_folder`` and compile de file if is necesary using the files from ``jade_folder``.

When you deploy your app you might not want to accept the overhead of checking the modification time of your ``.jade`` and ``.tpl`` files on each request. A simple way to avoid this is wrapping the jade2underscore call in an if statement:

      if app.debug:
          from flaskext.jade2underscore import jade2underscore
          jade2underscore(app)
          
If you do this you'll be responsible for rendering the ``.jade`` files into ``.tpl`` when you deploy in non-debug mode to your production server.


- documentation_
- development_


.. _documentation: https://github.com/weapp/flask-jade2underscore
.. _development: https://github.com/weapp/flask-jade2underscore
django_base_model 0.2.2
A model from which all django models can extend. Gives some additional utility functions
License: MIT
Keywords: django model

--------------------------------------------------------------------------------


django_base_model


Extensions to the Django Base Model and Django Model Manager/

Requires Python 2.5 or later.

Website: http://rogeliorv.github.com/
Git Repository: http://github.com/rogeliorv/django_base_model.git


--------------------------------------------------------------------------------

To make use of the classes in this package:

1) Create your own django project (python django-admin.py startproject)
2) Create a django application (python manage.py startproject sampleapp)
3) Add your newly created application to INSTALLED_APPS in settings.py
3) In models.py add the following lines

from django_base_model import ExtendedBaseModel, ExtendedBaseModelManager
from django.db import models

class ExampleModel(ExtendedBaseModel):
    text = models.CharField(max_length = 256)
    objects = ExtendedBaseModelManager()
    

--------------------------------------------------------------------------------

How to contribute a patch:
  1. Fork django_base_model on github.com
  2. Create a new branch
  3. Commit changes to this branch
  4. Send a pull request
flask-coffee2js 0.1.2
A small Flask extension that adds CoffeScript support to Flask.
License: MIT

flask-coffee2js
===============

A small Flask extension that makes it easy to use CoffeeScript with your Flask application.

Usage
-----

You can activate it by calling the ``coffee2js`` function with your Flask app as a parameter:

      from flaskext.coffee2js import coffee2js
      coffee2js(app, js_folder='js', coffee_folder='src/coffee')

This will intercept the request to ``js_folder`` and compile de file if is necesary using the files from ``coffee_folder``.

When you deploy your app you might not want to accept the overhead of checking the modification time of your ``.coffee`` and ``.jss`` files on each request. A simple way to avoid this is wrapping the coffee2js call in an if statement:

      if app.debug:
          from flaskext.coffee2js import coffee2js
          coffee2js(app)
          
If you do this you'll be responsible for rendering the ``.coffee`` files into ``.js`` when you deploy in non-debug mode to your production server.


- documentation_
- development_


.. _documentation: https://github.com/weapp/flask-coffee2js
.. _development: https://github.com/weapp/flask-coffee2js