semvec/pypi-packages huggingface dataset:
js.modernizr 2.5.3.1
Fanstatic packaging of Modernizr
License: BSD

js.modernizr
************

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

This library packages `Modernizr`_ for `fanstatic`_.

.. _`fanstatic`: http://fanstatic.org
.. _`Modernizr`: http://www.modernizr.com/

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


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


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

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


CHANGES
*******

2.5.3.1 (2012-07-04)
====================

- Extract the html5shiv to its own fanstatic package.
  If you need this package, include it seperately.

2.5.3 (2012-06-27)
==================

- Update to 2.5.3.


2.0.6 (2011-07-08)
==================

- Initial release.
rdflib-sqlite 0.1
rdflib extension adding SQLite as back-end store
License: BSD

SQLite store formula-aware implementation.  It stores its triples in the following partitions:

    * Asserted non rdf:type statements
    - Asserted rdf:type statements (in a table which models Class membership).
      The motivation for this partition is primarily improved query speed and
      scalability as most graphs will always have more rdf:type statements than
      others.
    - All Quoted statements

    In addition it persists namespace mappings in a separate table
wr 0.2.1
wr is a simple, lightweight module that provides random choice based on weights.
License: BSD

.. image:: http://farm5.staticflickr.com/4022/4297831216_ea3ef99461_t.jpg
    :alt: http://www.flickr.com/photos/vj-dipsy/4297831216/
    :align: right
    :target: http://pypi.python.org/pypi/wr

wr (Weighted Random)
==========================

*wr is a weighted random implementation in Python.*

``wr.choice`` can be fed with a mapping (such as dictionaries) containing a returnable (what to return) and a integer representing their respective weight.  
The key can be anything hashable but the weight must be a integer.

Optionally you may feed ``wr.choice`` with a sequence of pairs.

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

Documentation is available at http://wr.readthedocs.org/

Example
-------
::

    >>> import wr
    
    >>> data = {'cat': 60, 'dog': 30, 'bird': 10}
    >>> animal = wr.choice(data)
    >>> print animal
    cat # well, the cat had a good 60% shot at it.

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

Install wr with ``pip install wr`` or just `download wr.py <http://pypi.python.org/pypi/wr>`_ and place it in your project directory.

License
-------
`BSD <http://www.linfo.org/bsdlicense.html>`_