semvec/pypi-packages huggingface dataset:
mako_sugar 0.1.0
Syntax sugar for Python Mako templates
License: MIT

Mako Sugar
===

A preprocessor that adds some syntactic sugar to Mako templates.

Write:

    % call foo():
        hi
    % endcall
        
instead of:

    <%call expr="foo()">
        hi
    </%call>
    
Install with:

        from mako_sugar import sugar
        
        # Any one of these options...
        t = Template(..., preprocessor=sugar())
        t = Template(..., preprocess=sugar(exclude=['def', 'call', 'import']))
        TemplateLookup(preprocessor=sugar())
GitSyncLib 0.1.4
GitSyncLib is a library that supports GitSync.
License: MIT

==========
GitSyncLib
==========

This is a library to put all the platform independent parts of git_sync in one place.



Changelog
=========

0.1.4 (2014-10-17)
-----------------------------------------

* Changes to work with GitSync.

0.1.3 (2014-10-17)
-----------------------------------------

* Small bug fixes.

0.1.2 (2014-07-18)
-----------------------------------------

* Better library packages system.
djangocms-css-background 1.0.4
A django-cms plugin which allow you to edit css background image or color from the edit mode
License: MIT

CSS Background
==============

Description
-----------

``djangocms-css-background`` is a
`django-cms <https://github.com/divio/django-cms>`__ plugin which allow
you to edit css background image or color from the edit mode

Depends
-------

-  `django-cms <https://github.com/divio/django-cms>`__
-  `djangocms-placeholder-attr <https://github.com/WnP/cms_placeholder_attr>`__
-  `django-filer <https://github.com/stefanfoulis/django-filer>`__

Installation
------------

-  use pip ``pip install djangocms-css-background``
-  Syncronize the models: ``python manage.py syncdb`` (with south or
   django 1.7 use migrations)
-  Put in your INSTALLED\_APPS:
   ``INSTALLED_APPS += ('djangocms-css-background', )``

Usage
-----

you can define your template like this:

.. code:: django

    {% load placeholder_attr %}

    <div style="{% placeholder_attr 'My Background Css Placeholder' 'CssBackground' 'css_background' %}">
      {% placeholder 'My Background Css Placeholder' %}
    </div>

remember to set the same name of a placeholder in the placeholder\_attr
name parameter.

after that set the provide a ``CSS Background`` plugin for this
placeholder, and chose an image, or set rgb or rgba for a colored
background