semvec/pypi-packages huggingface dataset:
django-shrink 0.0.3.3
js compiler & css minifier with sass compatibility
License: BSD

django-shrink
=============
A js compiler & css minifier with sass compatibility


Requirements
------------
* Django 1.3+
* 2.6 <= Python < 3
* Java for compiling and compressing
* ``django.contrib.staticfiles`` in ``INSTALLED_APPS``


Installation
------------
::

    pip install django-shrink


Configuration
-------------
::

    INSTALLED_APPS = (
        ...
        'django.contrib.staticfiles',
        ...
        'shrink',
        ...
    )

Optionally if you want to use `Sass`_ you need to add the compilation view to
your urls::

    # urls.py
    urlpatterns = patterns('',
        ...
        (r'', include('shrink.urls')),
        ...
    )

.. note::
    The compilation view is only available when ``DEBUG = True``


Usage
-----
Define your javascripts and css files in your template as in this example::

    {% import shrink %}
    {% styles css/myproject-min.css %}
        css/reset.css
        css/forms.css
        css/myproject.scss
    {% endstyles %}
    {% scripts js/myproject-min.js %}
        js/jquery.js
        js/plugin.js
        js/myproject.js
    {% endscripts %}

When ``DEBUG = True`` this will end up as::

    <link rel="stylesheet" href="{{ STATIC_URL }}css/reset.css">
    <link rel="stylesheet" href="{{ STATIC_URL }}css/forms.css">
    <link rel="stylesheet" href="{{ STATIC_URL }}css/myproject.scss">
    <script src="{{ STATIC_URL }}js/jquery.js"></script>
    <script src="{{ STATIC_URL }}js/plugin.js"></script>
    <script src="{{ STATIC_URL }}js/myproject.js"></script>

When ``DEBUG = False`` this will end up as::

    <link rel="stylesheet" href="{{ STATIC_URL }}css/myproject-min.css?timestamp">
    <script src="{{ STATIC_URL }}js/myproject-min.js?timestamp"></script>

When deploying you want to compile your javascripts, compile your scss (`Sass`_)
and compress the css files. django-shrink overrides the ``collectstatic``
management command and after collecting the static files it does the compiling
and compressing. Thus you need to execute the management command
``collectstatic`` in your deployment environment.

.. note:: As of yet you need all the source css files and the destination
   minified css file to be in the same path if they ahev relative references to
   media.

Settings
--------

SHRINK_TIMESTAMP
^^^^^^^^^^^^^^^^
Controls if you want to timestamp the compressed/compiled assets.

* Default: ``True``

SHRINK_STORAGE
^^^^^^^^^^^^^^
Storage for the compressed/compiled assets.

* Default: ``settings.STATICFILES_STORAGE``

SHRINK_CLOSURE_COMPILER
^^^^^^^^^^^^^^^^^^^^^^^
Path to Google Closure Compiler jar.

* Default: Google Closure Compiler jar provided.

SHRINK_CLOSURE_COMPILER_COMPILATION_LEVEL
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Google Closure Compiler optimization level.

* Default: ``'SIMPLE_OPTIMIZATIONS'``

SHRINK_YUI_COMPRESSOR
^^^^^^^^^^^^^^^^^^^^^
Path to YUI Compressor

* Default: YUI compressor jar provided.


.. _Sass: http://sass-lang.com/
django-trackable 0.3.8
A Django application which provides tools for out-of-band capture of arbitrary tracking data.
License: BSD
Keywords: django tracking

================
django-trackable
================

``Django-trackable`` attempts to be a reusable Django application that provides
infrastructure to easily implement the functionality required to capture
arbitrary tracking data out-of-band. This documentation assumes a basic 
familiarity with `Django`_ and the `Celery`_ package. For usage and installation 
instructions, please review the documentation.

.. _Django: http://djangoproject.org
.. _Celery: http://celeryproject.org


Release notes
-------------

0.3.7
=====

* Bug fixes and migration from carrot -> kombu

0.3.6
=====

* Various bug fixes backported from development

0.3.5
=====

* Correcting stupidity in trackable.views.track_object (proper handling of AJAX-call)

0.3.2 - 0.3.4
=============

* Fixing setuptools configuration to properly include templates and fixtures.

0.3.1
=====

* Renaming trackable.views.trackable_redirect and enabling support for AJAX requests.
* Bug fix (trackable.management.commands.convert_tracking_data)

0.3.0
=====

* Creating extensible message backend (currently supports carrot) 
* Refactoring message/messaging infrastructure
django-meio-easytags 0.7
An easy way to create custom template tags for Django's templating system.
License: BSD

django-meio-easytags
====================

An easy way to create custom template tags for Django's templating system.

Usage
=====

Just instantiate EasyLibrary and register the renderer method as a template tag::

    from easytags import EasyLibrary
	
    register = EasyLibrary()
	
    def sum(context, arg1, arg2, arg3=0):
        return int(arg1) + int(arg2) + int(arg3)
	
    register.easytag(sum)

The EasyLibrary will take care of subclassing EasyNode that will take care of 
the template tag's parsing, resolving variable and inspecting if the args are 
ok with the renderer signature. In the example above, you can use
the sum tag in any of the forms below::

	{% sum "1" "2" %}
	{% sum "1" arg2="2" %}
	{% sum arg1="1" arg2="2" %}
	{% sum arg2="2" arg1="1" %}

It's almost like calling methods in Python.

In this example, ``arg3`` is optional and defaults to 0. So you may use or not this arg.
huTools 0.63
Various tiny tools and toys to make Python coding less work more fun.
License: BSD
Keywords: python library

=======
huTools
=======

huTools is a small collection of helpful tools we use. Containing helppers for calendar calculations, banking
tools, checksummming, decorators, local unique IDs (luids), Netstrings, obfuscation (encription defending
against your little brother), printing, a ReReadingConfigParser, robust typecasts, access dicts like an
object and the other way arround, unicode processing country codes, file system operations and xmlstuff.

It also installs the famous reindent.py code quality checker. Try 
`reindent.py .` to fix your current source tree.

See http://hudora.github.com/huTools/overview.html for Details.


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

The easiest way to get huTools is if you have setuptools_ installed::

    easy_install huTools

Without setuptools, it's still pretty easy. Download the huTools.tgz file from 
`huTools's Cheeseshop page`_, untar it and run::

    python setup.py install

.. _huTools's Cheeseshop page: http://pypi.python.org/pypi/huTools/
.. _setuptools: http://peak.telecommunity.com/DevCenter/EasyInstall


Help and development
====================

If you'd like to help out, you can fork the project
at http://github.com/hudora/huTools and report any bugs 
at http://github.com/hudora/huTools/issues.

See `CHANGES <http://github.com/hudora/huTools/blob/master/CHANGES>`_
for version differences.

License
=======

This distribution includes `_jsonlib.py <http://pypi.python.org/pypi/jsonlib/>`_
Copyright (c) 2008-2009 John Millikin <jmillikin@gmail.com>
Distributed under the GNU General Public License

This distribution contains `_decorator.py <http://pypi.python.org/pypi/decorator>`_
Copyright (c) 2005, Michele Simionato
Distributed under a MIT-like License.

This distribution contains `poster_encode.py <http://atlee.ca/software/poster/>`_ 
Copyright (c) 2008-2010 Chris AtLee <chris@atlee.ca>
Distributed under a MIT-like License.

This distribution contains `cache.py <https://raw.github.com/mitsuhiko/werkzeug/b1f382c4eac19338c57526fa609a23034ba5055b/werkzeug/contrib/cache.py
>`_
copyright (c) 2010 by the Werkzeug Team, BSD licensed