semvec/pypi-packages huggingface dataset:
data_packager 0.0.1
Provides dirt-simple tool for releasing datasets as packages
License: MIT

# Data Packager (data_packager) #

Provides simple tools to allow for the versioned packaging of arbitrary
assets.

For instance, suppose you have a given data set that your apps depend upon,
which change slowly, but have considerable impact on your appllication
behaviors.

You want to manage the data set on a versioned basis, such that somebody
can install a specific version of the data into their virtualenv.

This gives a simple way for organizing such packages and a simple interface
for accessing assets within them.


# License #

Copyright (c) 2012 Ethan Rowe <ethan at the-rowes dot com>

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
mako-pipeline 0.0.1
Manage assets on mako templates
License: MIT

mako-pipeline
=============

A sort of django-pipeline, but for mako.

Install
-------

mako-pipeline is avaiable on pypi:

.. code-block::

  $ pip install mako-pipeline


Usage
-----

On your python script, call `mako_pipeline.configure` to setup file mapping:

.. code-block:: python

  from mako_pipeline import configure

  configure({
      'debug': True,
      'javascript': {
          'final-js': ['file1', 'file2']
      }
  })

On templates, import the module using `namespace` tag and use like following:

.. code-block:: html

  <%namespace name="assets" module="mako_pipeline.assets" />

  <%assets:tag name="final-js" args="ASSETS_URL" %>
    <script src="${ASSETS_URL}"></script>
  <%/assets:tag%>

License
-------

This project is licensed under MIT license (please see LICENSE file).