semvec/pypi-packages huggingface dataset:
js.fotorama 4.2.1
Fanstatic packaging of fotorama.js.
License: BSD

js.fotorama
***********

Introduction
============

This library packages `Fotorama Slideshow`_ for `fanstatic`_.

.. _`fanstatic`: http://fanstatic.org
.. _`Fotorama Slideshow`: http://fotorama.io

This requires integration between your web framework and ``fanstatic``,
and making sure that the original resources (shipped in the ``resources``
directory in ``js.fotorama``) are published to some URL.

How to use?
===========

You can import Fotorama from ``js.fotorama`` and ``need`` it
where you want these resources to be included on a page::

  >>> from js.fotorama import fotorama
  >>> fotorama.need()

CHANGES
*******

4.2.1 (2013-07-29)
==================

- Initial release.
js.galleria 1.2.9-2
Fanstatic packaging of galleria.js.
License: BSD

js.galleria
***********

Introduction
============

This library packages `Galleria Slideshow`_ for `fanstatic`_. It is aware
of different modes (normal, minified).

.. _`fanstatic`: http://fanstatic.org
.. _`Galleria Slideshow`: http://galleria.io

This requires integration between your web framework and ``fanstatic``,
and making sure that the original resources (shipped in the ``resources``
directory in ``js.galleria``) are published to some URL.

How to use?
===========

You can import Galleria from ``js.galleria`` and ``need`` it
where you want these resources to be included on a page::

  >>> from js.galleria import galleria
  >>> galleria.need()

You can use the classic theme, which is free to use::

  >>> from js.galleria import classic
  >>> classic.need()

CHANGES
*******

1.2.9-2 (2013-07-28)
====================

- Added missing image resources.


1.2.9 (2013-07-28)
==================

- Initial release.
django-jsgettext 0.5
Improved and complement gettext support for javascript for Django
License: BSD

================
django-jsgettext
================

It is an improvement to the implementation of django gettext for javascrtipt.

Features:
---------

- Now parse javascript teplates for translatable strings (tested with underscore.template)
- New I18n view more extensible (build on top of CBV) that exposes the djangojs gettext domain
  and djsgettext domain generated for translation scrings from js templates. Aditionaly the performance is
  improved with caching of this view (does not supports by django view as default behavior).


How it works?
-------------

Django ``makemesages`` command generates a djangojs domain po file from ``*.js`` files, ``django-jsgettext``
generates a djgettext domain po file from ``.html`` files (javascript templates) and the new view exposes
the two gettext domains to the javascript.

.. note::
    The new view is created because the primary view of django is monolitic and not permits expose domains distinct than ``djangojs`` and ``django``.

Currently, only is tested with underscore templates. Example:

.. code-block:: html

    <div><%= gettext('sample message') %></div>
    <div><%= ngettext('1 message', 'some messages', num) %></div>
    <div><%= interpolate(gettext('sample %s'), [1]) %></div>


How use it?
-----------

Urls files:

.. code-block:: python

    from djsgettext.views import I18n

    urlpatterns = patterns('',
        url(r'^js-gettext/$', I18n.as_view()),
    )


Collect messages from templates:

.. code-block:: console

    python manage.py jsgettext_makemessages