semvec/pypi-packages huggingface dataset:
js.css3mediaqueries 0.9
Fanstatic packaging of css3-mediaqueries.js.
License: BSD

js.css3mediaqueries
*******************

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

This library packages `css3-mediaqueries.js`_ for `fanstatic`_. It will
render with a conditional comment to address Internet Explorer 8 and
below.

.. _`fanstatic`: http://fanstatic.org
.. _`css3-mediaqueries.js`: https://github.com/livingston/css3-mediaqueries-js

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

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

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

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

CHANGES
*******

0.9 (2013-07-23)
================

- Initial release.
fdleakfinder 0.0.3
helps you figure out why your unix process uses too many file descriptors
License: BSD

fd-leak-finder
==============

fd-leak-finder helps you figure out why your unix process is using up too many fds.

To use it, generate strace output with a command something like this::

   strace -q -a1 -s0 -ff -e trace=desc -tttT -ostrace.file $EXECUTABLE

Then pipe the resulting "strace.file.$PID" into fd-leak-finder's stdin.

CAVEATS
=======

It turns out that strace's representation of this stuff is much more
complicated than I thought, and I don't understand why some of
fd-leak-finder's computations turn out the way they do. You can see "xxx
weird" sorts of messages in fd-leak-finder. Hopefully it will be useful to
you anyway! If you figure out how to improve it please let me know.

I guess parsing strace's human-oriented output is a bad way to do this. I'm
not sure what a *good* way to do it is, on Linux. On Solaris or OSX I suppose
a good way to do it would be to use dtrace.

LICENCE
=======

You may use this package under the Simple Permissive Licence, version 1 or,
at your option, any later version. See the file COPYING.SPL.txt_ for the
terms of the Simple Permissive Licence, version 1.

.. _COPYING.SPL.txt: COPYING.SPL.txt
django-datamaps 0.2.2
Django-Datamaps provides helper functions compatible with datamaps.js.
License: BSD

Django Datamaps
========================

django-datamaps provide utility functions to help you utilize datamps.js.

.. image::
    https://secure.travis-ci.org/victor-rocha/django-datamaps.png?branch=master
    :alt: Build Status
        :target: https://secure.travis-ci.org/victor-rocha/django-datamaps


Requirements/Installing
-----------------------------------

django-datamaps requires Python 2.6-2.7. It also requires Django >= 1.4 and
django-selectable==0.7.0.

The easiest way to install django-sticky-uploads is using `pip <http://www.pip-installer.org/>`_::

    pip install django-datamaps


Running the Tests
------------------------------------

You can run the tests with via::

    python setup.py test

or::

    python runtests.py


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

django-sticky-uploads is released under the BSD License. See the
`LICENSE <https://github.com/victor-rocha/django-datamaps/blob/master/LICENSE>`_ file for more details.

A bundled version of jQuery 1.10.2 is included the source distribution which is used under
its `MIT license <http://jquery.org/license>`_.


Contributing
--------------------------------------

If you think you've found a bug or are interested in contributing to this project
check out `django-datamaps on Github <https://github.com/caktus/django-datamaps>`_.

Development sponsored by `RochApps, LLC
<http://www.rochapps.com/services>`_.
sql-to-graphite 0.0.6
A tool to send SQL results to Graphite
License: BSD
Keywords: SQL Graphite

# SQL-to-Graphite

A tool to easily send the results of SQL queries to Graphite!

## Installation

```
pip install sql-to-graphite
```

## Running

```
export S2G_DSN="mysq://username:password@host/db"
cat queries.sql | sql-to-graphite --graphite-host graphite.example.com --graphite-prefix db.metrics
```

The queries piped in should be a single query per line returning at least 2
columns. The first column returned should be the metric name (minus the
--graphite-prefix option) and the value.

```
SELECT "metric", 1+1;
SELECT "now", NOW();
```
js.jquery_autosize 1.17.1
fanstatic jQuery autosize.
License: BSD

js.jquery_autosize
******************

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

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

.. _`fanstatic`: http://fanstatic.org
.. _`jQuery Autosize`: https://github.com/jackmoore/autosize/

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

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

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

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

CHANGES
*******

1.17.1 (2013-07-22)
===================

- Initial release.
tornado_circus 0.0.1
A tornado application compatible with circus socket
License: BSD

circus\_tornado
===============

A tornado application implementation compatible with circus sockets.

As tornado is not WSGI complient, we cannot use chaussette to run
tornado applications with circus sockets.

This project package a compatible version of tornado Application so you
can easily run tornado with all circus awesomeness.

Use circus\_tornado
===================

Let's take a simple example, the hello world::

    import tornado.ioloop
    import tornado.web

    from tornado.web import Application

    class MainHandler(tornado.web.RequestHandler):
        def get(self):
            self.write("Hello, world")

    application = Application([
        (r"/", MainHandler),
    ])

    if __name__ == "__main__":
        application.listen(8888)
        tornado.ioloop.IOLoop.instance().start()

If you want to run it with circus, you can't use socket web and fallback
to launch them and let it bind its socket::

    [watcher:hello]
    cmd = python hello_world.py

But good news, with circus\_tornado, it's no longer true. Just import
Application from circus\_tornado package::

    import tornado.ioloop
    import tornado.web

    from tornado_circus import Application

    class MainHandler(tornado.web.RequestHandler):
        def get(self):
            self.write("Hello, world")

    application = Application([
        (r"/", MainHandler),
    ])

    if __name__ == "__main__":
        parse_command_line()
        application.listen(8888)
        tornado.ioloop.IOLoop.instance().start()

One last requirement, you must call tornado.options.parse\_command\_line
**before** calling application.listen or it will doesn't works.

And finally the circus configuration::

    [watcher:hello]
    cmd = python hello_world.py --fd=$(circus.sockets.hello)
    use_sockets = True

    [socket:hello]
    host = 127.0.0.1
    port = 9000

And you're done. You can go to http://localhost:9000 to check if it
works.

You can even launch a quick benchmark and check that it holds the load::

    $> boom -n 10000 -c 100 http://localhost:9000                       10:38:48
    Server Software: TornadoServer/2.4.1
    Running GET http://127.0.0.1:9000
        Host: localhost
    Running 10000 times per 100 workers.
    Starting the load [===...===] Done

    -------- Errors --------

    -------- Results --------
    Successful calls        10000
    Total time              9.3364 s
    Average                 0.0656 s
    Fastest                 0.0228 s
    Slowest                 0.1009 s
    Amplitude               0.0781 s
    RPS                     1071
    BSI                     Woooooo Fast

    -------- Status codes --------
    Code 200                10000 times.

    -------- Legend --------
    RPS: Request Per Second
    BSI: Boom Speed Index