semvec/pypi-packages huggingface dataset:
bdist_nsi 0.1.5
Create NSIS windows installers for Python modules.
License: BSD

bdist_nsi
=========

The bdist_nsi module extends Python's distutils module with a bdist_nsi 
setup command to create binary Windows installers for Python modules, 
based on NSIS. Thereby, bdist_nsi brings all the features of NSIS to 
Windows installers for Python modules, such as silent install, modern 
user interface, and internationalization. 

In action
---------

Take a look at the `screenshots <http://sourceforge.net/project/screenshots.php?group_id=139858>`_.

What you need
-------------

Besides Python and the bdist_nsi module, you will need `NSIS <http://nsis.sourceforge.net/>`_. It can be run under windows and linux (see NSIS forum for instructions).

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

The latest version can always be downloaded from https://sourceforge.net/projects/bdist-nsi/files.

To install from source, simply run::

    python setup.py install

Usage
-----

Add ``bdist_nsi`` option to your setup.py file.

In your projects setup.py::

    try:
        import bdist_nsi
    except ImportError:
        pass

    nsis_options = {} # your nsis options
    setup(
        name='your application name', 
        version='0.0.x',
        author='your name',
        author_email='your email',
        url='http://yourdomain.com/',
        options={'bdist_nsi': nsis_options, }, 
        license='your license',) # your setup options

You can create installer ``python setup.py bdist_nsi`` command.

If the makensis executable is not installed in one of the usual
locations (``/usr/bin``, ``C:\Program Files\NSIS``, or
``C:\Program Files (x86)\NSIS``), then you can specify the
NSIS folder with the *--nsis-dir* option, or just add *-k* to have a look
at the temporary generated files.

Development
-----------

Development happens at github, http://github.com/amorilia/bdist_nsi/. Fork at will!
thread_pool 0.9
Implements thread pool with queue module of python.
License: BSD
Keywords: thread pool

Thread pool
============
This is a simple thread pool for python(using queue module).

Usage
============

- Firstly, you should define a callback to deal with your task::


        def do_work(*args, **kwds):
            # do something
        
- Then, you can create a thread pool to schedule your tasks::
    
        from thread_pool import ThreadPool

        # Create thread pool with nums threads
        pool = ThreadPool(nums)
        # Add a task into pool
        pool.add_task(do_work, args, kwds)
        # Join and destroy all threads
        pool.destroy()
buildout.packagename 1.0
A `zc.buildout` extension to extract the package name from an adjacent `setup.py`.
License: BSD
Keywords: buildout extension setuptools

``buildout.packagename`` is a `zc.buildout`_ extension which can be used
to extract the package name of an adjacent ``setup.py`` to avoid redundancy.
The extracted name is made available via the ``package-name`` variable in
the ``[buildout]`` section, i.e. as ``${buildout:package-name}``.

.. _`zc.buildout`: http://pypi.python.org/pypi/zc.buildout

Usage
-----

An example ``buildout.cfg`` using the extension might look like this::

  [buildout]
  extensions = buildout.packagename
  parts = app
  
  [app]
  recipe = zc.recipe.egg
  interpreter = app
  eggs = ${buildout:package-name}

Please note that since using this extension only makes sense for
package-specific buildouts, the ``develop`` setting is set to "."
for added convenience.

Changelog
=========

1.0 (2012-10-27)
----------------

- Initial release.
  [witsch]
caktus-sphinx-theme 0.1.0
Custom Sphinx theme for projects written and maintained by Caktus Consulting Group.
License: BSD

Caktus Sphinx Theme
======================================

This is a custom `Sphinx <http://sphinx.pocoo.org/>`_ theme used for documenting
projects written and maintained by Caktus Consulting Group.


Installing
--------------------------------------

There are no current releases of this theme but you can install directly from Github::

    pip install git+git://github.com/caktus/caktus-sphinx-theme.git#egg=caktus-sphinx-theme

Once installed you should change your Sphinx ``conf.py`` to include::

    import caktus_theme
    html_theme = 'caktus'
    html_theme_path = [caktus_theme.get_theme_dir()]
    html_sidebars = caktus_theme.default_sidebars()

To use the Pygments style from the theme you should ensure that ``pygments_style`` is
not set.

For additional detail on configuring the theme, please read the full
`usage documentation <https://caktus-sphinx-theme.readthedocs.org/en/latest/usage.html>`_.


Documentation
-----------------------------------

Additional documentation on using caktus-sphinx-theme is available on 
`Read The Docs <http://readthedocs.org/docs/caktus-sphinx-theme/>`_. The documentation
also uses the theme so you can see an example of the style.


License
--------------------------------------

caktus-sphinx-theme is released under the BSD License. The theme itself contains a number
of references to Caktus Consulting Group including logos but you are free to adapt this
theme for your own uses. See the `LICENSE <https://github.com/caktus/caktus-sphinx-theme/blob/master/LICENSE>`_
file for more details.

This theme makes use of the `Semantic Grid System <http://semantic.gs/>`_ which is available
under the Apache 2.0 license.
json-mapper 0.1.15
Map and parse JSON text to python dict
License: BSD

# About json-mapper

Package for map and parse JSON text to python dict.

For example, to bring to readable form of responses from the Rest API.

# Usage example

Suppose we have such a terrible JSON dump:

```python
{
    "ApiResponse": {
        "ApiResponseWrapper": {
            "HotelsResponse": [
                {
                    "Country": "Russia", 
                    "HotelId": "1234", 
                    "HotelName": "Space Hotel", 
                    "Photos": [
                        {
                            "BigUrl": "http://www.image.url.com", 
                            "ThumbnailUrl": "http://www.image.url.com"
                        }, 
                        ... other photos ...
                    ], 
                    "RoomsResponse": [
                        {
                            "BedsCount": "1", 
                            "RoomId": "12312"
                        }, 
                        ... other rooms ...
                    ]
                }, 
                ... other hotels ...
            ], 
            "ResponseTimestamp": "2342423423423423", 
            "SessionId": "0ABAA840-F6EC-6913-A1C2-7341899060B6"
        },
        "SomeProperty": "SomeData"
    }
}
``` 

Example to map the his pretty:

```python
import json
from json_mapper.mapper import map_json

json_data = json.loads(open('dump.json').read())

mapping_config = {
    'ApiResponse.ApiResponseWrapper': {
        'ResponseTimestamp': 'last_update',

        '{loop=>hotels} HotelsResponse': {
            'HotelId':  'id',
            'Country':  'country',

            '{loop=>photos} Photos': 'BigUrl',

            '{loop=>rooms} RoomsResponse': {
                'RoomId':       'id',
                'BedsCount':    'beds'
            }
        }
    }
}

result = map_json(mapping_config, json_data)

>>> pprint(result)
{'hotels': [{'country': u'Russia',
             'id': u'1234',
             'photos': [u'http://www.image.url.com',
                        u'http://www.image.url.com'],
             'rooms': [{'beds': u'1', 'id': u'12312'},
                       {'beds': u'1', 'id': u'12312'}]},
            {'country': u'Russia',
             'id': u'1234',
             'photos': [u'http://www.image.url.com',
                        u'http://www.image.url.com'],
             'rooms': [{'beds': u'1', 'id': u'12312'},
                       {'beds': u'1', 'id': u'12312'}]}],
 'last_update': u'2342423423423423'}
 ```

 See full example in tests directory.
js.jqueryui_touch_punch 0.2.2-1
Fanstatic packaging of jQuery UI Touch Punch
License: BSD

js.jqueryui_touch_punch
***********************

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

This library packages `jQuery UI Touch Punch`_ for `fanstatic`_.

.. _`fanstatic`: http://fanstatic.org
.. _`jQuery UI Touch Punch`: http://touchpunch.furf.com/

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


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


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

  >>> from js.jqueryui_touch_punch import touch_punch
  >>> touch_punch.need()


CHANGES
*******

0.2.2-1 (2012-10-26)
====================

- Indicate dependency on js.jqueryui.


0.2.2 (2012-10-25)
==================

- Initial release.