semvec/pypi-packages huggingface dataset:
js.amcharts 3.3.1
Fanstatic packaging of amCharts
License: BSD

js.amcharts
***********

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

This library packages `amCharts`_ for `fanstatic`_. It provides both the
`Chart`_ and `Stock`_ Javascript chart libraries.

.. _fanstatic: http://fanstatic.org
.. _amCharts: http://www.amcharts.com
.. _Stock: http://www.amcharts.com/stock-chart/
.. _Chart: http://www.amcharts.com/javascript-charts/

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

You can find the repository for this package at
https://github.com/securactive/js.amcharts

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

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

* ``amcharts`` will provide only the `Chart`_ library...
* while ``amstock`` will provide both the `Chart`_ and `Stock`_ libraries.

  >>> from js.amcharts import amstock, amcharts
  >>> amcharts.need()
  >>> amstock.need()

amCharts needs a few images sometimes, and you need to pass the path to the
images in the Javascript code as follow::

    chart = new AmCharts.AmSerialChart();
    chart.pathToImages = "/lib/samples/javascript/images/";

Since this path depends on your server configuration and Fanstatic
configuration, you can use the convient ``find_images_url`` from this library:

  >>> from js.amcharts import find_images_url
  >>> find_images_url() # doctest: +SKIP
  "/some/path/images/"

CHANGES
*******

3.3.1 (2013/11/22)
==================

- Update to 3.3.1.

2.6.10 (2012/04/25)
===================

- Initial release.
js.gridster 0.2.1
Fanstatic packaging of gridster
License: BSD
Keywords: fanstatic jquery gridster

js.gridster
***********

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

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

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

.. _`fanstatic`: http://fanstatic.org
.. _`gridster`: https://github.com/ducksboard/gridster.js

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

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

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

CHANGELOG
=========

0.2.1(2013-11-22)
-----------------

- Upadate to version 0.2.1 from 2013-10-28.


0.1.0(2013-04-10)
-----------------

- Initial release.
django-ordered-listview 0.0.2
This library is aimed to simplify creation of user sorted lists.
License: BSD

About
----

This library is aimed to simplify creation of user sorted lists.
Inspired by https://gist.github.com/piquadrat/3833430

Installation
----

1. Install with pip or setup.py

2. Add ordered_listview into `INSTALLED_APPS`. ::

    INSTALLED_APPS += ['ordered__listview']

3. Add template tags lib into builtins. ::

    add_to_builtins('ordered_listview.templatetags.ordered_listview')  // Or load with {% load ordered_listview %}

4. Inherit your view from `OrderedListView`. And setup your ordering fields. ::

    from ordered_listview import OrderedListView

    class UserListView(OrderedListView):
        allowed_order_by = [
            ('username', _('Login')),
            ('userfile__file__size', _('Size')),
            ('date_joined', _('Sing up date'))
        ]
        default_order_by = 'created'

5. Add a tag into you your template. ::

    {% include "ordered_listview/fields.html" %}


Customization
----

1. To change get attribute name, just set `OrderedListView.order_by` attribute ::

    class UserListView(OrderedListView):
        order_by = "order_by"

2. If you need to provide your own template create inside your `templates`
`ordered_listview` directory with `fields.html` and `field.html` in.

    fields.html - list of sortable fields
    field.html - order field and state template

3. If you want to ignore null values during sort, add fields to null_ignore_fields.

    class UserListView(OrderedListView):
        null_ignore_fields = ['quantity']


    class UserListView(OrderedListView):
        null_ignore_fields = '*'  # For all fields
utknows 0.1.1
A unittest patch that can automaticly ``skip`` test case based on dependence info calculated by ``trace``.
License: BSD
Keywords: utknows, unittest

=======
utknows
=======

**utknows** is a unittest patch that can automaticly ``skip`` test case
based on dependence info calculated by ``trace``.

Installing
==========

You can install **utknows** through ``pip`` or ``easy-install``::

    pip install utknows

Or you can download the `latest development version`_, which may
contain new features.

Using utknows
================

**utknows** should be used before ``unittest.main`` is invoked like this::

    from utknows import setup_utknows
    setup_utknows(db, db_prefix="utknows", root_dir=os.path.abspath(os.curdir))
    unittest.main(******, exit=False)
    # some resource release, etc db.close()

The ``db`` is a persistence database instance, and implementate ``__getitem__``  and ``__setitem__`` method.

The ``root_dir`` is the tracing base of dependence used by trace.

The ``db_prefix`` is the key prefix in ``db``.

When the first time tests runs, it calculate all the dependence info of every testcase::

    utknows/examples$ python alltests.py
    ......
    ----------------------------------------------------------------------
    Ran 6 tests in 0.031s
    OK

After that, the case will be skipped when the dependence info is satisfacted::

     utknows/examples$ python alltests.py
     ssssss
     ----------------------------------------------------------------------
     Ran 0 tests in 0.003s

     OK (skipped=6)

Case will be rerun after you modify any file it depends::

    utknows/examples$ touch test_hello.py
    utknows/examples$ python alltests.py 
    ...sss
    ----------------------------------------------------------------------
    Ran 3 tests in 0.003s

    OK (skipped=3)

The ``s`` output here stand for ``skip``.

Examples
========

Using ``redis`` as backend::

    import redis

    def open_db():
        return redis.Redis(host='localhost', port=6379, db=0)

    def close_db(db):
        db.client_kill('localhost:6379')

    from utknows import setup_utknows
    db = open_db()
    setup_utknows(db, root_dir=os.path.abspath(os.curdir))
    unittest.main(defaultTest="suite", buffer=True, exit=False)
    close_db(db)


Using ``dbm`` as backend::

    import os
    import shelve

    def open_db():
        return shelve.open(os.path.join(os.curdir, '.utknows'), writeback=True)

    def close_db(db):
        db.sync()
        db.close()

    from utknows import setup_utknows
    db = open_db()
    setup_utknows(db, root_dir=os.path.abspath(os.curdir))
    unittest.main(defaultTest="suite", buffer=True, exit=False)
    close_db(db)


License
========

**utknows** is copyright 2013 mapix and Contributors, and is made
available under BSD-style license; see LICENSE for details.

.. _`latest development version`: https://github.com/mapix/utknows/tarball/master#egg=utknows
signupto 0.1
sign-up.to API client
License: BSD
Keywords: signupto

===============================
signupto
===============================

Minimalist client library for the sign-up.to HTTP API - http://sign-up.to

* Free software: BSD license

* Home page: https://bitbucket.org/spookylukey/signupto
* Bugs: https://bitbucket.org/spookylukey/signupto/issues?status=new&status=open
* Docs: http://signupto.readthedocs.org/en/latest/


Status
======

This is beta software. It is being used in production, and covers the complete
sign-up.to HTTP API. There may still be improvements and fixes to be made.

If you use this library, let me know (at L.Plant.98@cantab.net), and I can
consult you about improvements. Otherwise I may change things without notice.

There are also no automated tests yet. (Patches welcome!)




History
-------

0.1 (2013-11-21)
++++++++++++++++

* Cleanups

0.0.6 (2013-11-14)
++++++++++++++++++

* Added convenience methods ``get_list``, ``get_all`` and ``delete_any``.

0.0.5 (2013-11-13)
++++++++++++++++++

* Python 3 fixes

0.0.4 (2013-11-13)
++++++++++++++++++

* Rewrote to remove drest dependency. It's simpler and shorter now.

0.0.3 (2013-11-12)
++++++++++++++++++

* Fixed put methods

0.0.2 (2013-11-12)
++++++++++++++++++

* Fixed delete methods

0.0.1 (2013-11-12)
++++++++++++++++++

* First release on PyPI.