semvec/pypi-packages huggingface dataset:
celery-redis-unixsocket 0.3
celery store backend and kombu transport for redis that supports connections via unix sockets
License: BSD

celery-redis-unixsocket
=======================


This package provides a celery result backend and a kombu transport for Redis
using unix sockets instead of TCP.

Usage
-----

Add this to your settings::

    BROKER_TRANSPORT = 'celery_redis_unixsocket.broker.Transport'
    BROKER_HOST = '/path/to/redis.sock'
    BROKER_VHOST = 0

    # if redis password is configured:
    BROKER_PASSWORD = 'foobar'

And if you want to store results::

    CELERY_RESULT_BACKEND = 'redisunixsocket'
    CELERY_REDIS_HOST = '/path/to/redis.sock'

    CELERY_IGNORE_RESULT = False

    # if redis password is configured:
    CELERY_REDIS_PASSWORD = 'foobar'

    import celery_redis_unixsocket

The ``import celery_redis_unixsocket`` is important because it registers
``redisunixsocket`` as a result backend.

.. note::

   This code has only been tested with Django.
ressl 0.2.1
A SSL redirector for shared hosting environments, e.g. Webfaction
License: BSD

ressl
=====

A simple `importd`_ based SSL redirector. It accepts requests and redirects
to the SSL version of the same page.

Why?
----

I needed something like this for a couple of sites that were hosted on a
shared hosting provider but I wanted to only have one process doing the
SSL redirects.

Usage
-----

Simply run::

    ressl

This launches ``ressl`` on port 8000 using Django's runserver management
command.

For production use it's **strongly** recommended to instead use a real
WSGI server like gunicorn_ or uWSGI_ , e.g.::

    gunicorn ressl

To use a different port, use the server's options, e.g.::

    gunicorn -b 127.0.0.1:12345 ressl

You must set at least one envrionment variable for ressl to work:
``RESSL_ALLOWED_HOSTS``. It's a comma separated list of host names
ressl is allowed to redirect, e.g.::

    RESSL_ALLOWED_HOSTS=mycompany.com,myblog.me,myphotos.com gunicorn -b 127.0.0.1:12345 ressl

Debugging is done by setting the environment variable ``RESSL_DEBUG``
to any value::

    RESSL_DEBUG=yep gunicorn -b 127.0.0.1:12345 ressl

If your site runs behind a proxy, you may have to tell ``ressl`` how to
figure out if a request is SSL or not. Use the ``RESSL_PROXY_PROTOCOL``
environment variable to define it (defaults to
``'HTTP_X_FORWARDED_PROTOCOL'``)::

    RESSL_PROXY_PROTOCOL=HTTP_X_FORWARDED_PROTO gunicorn ressl

Feedback
--------

Feel free to open tickets at https://github.com/jezdez/ressl/issues.
Say thanks at https://www.gittip.com/jezdez/.

.. _gunicorn: http://gunicorn.org/
.. _uWSGI: https://github.com/unbit/uwsgi
.. _importd: http://pythonhosted.org/importd/
remotail 0.1.1
Tail multiple remote files on a terminal window
License: BSD

Remotail
========

Tail multiple remote files on terminal window

Install
-------

To install remotail, simply:

	$ pip install remotail

This will add an executable script `remotail.py` inside your python environment bin folder.

Usage
-----

	$ remotail.py -h
	
	usage: remotail.py [-h] [--file-path FILE_PATH] [--config CONFIG]
	
	optional arguments:
	  -h, --help            show this help message and exit
	  --file-path FILE_PATH alias://user:pass@host:port/file/path/to/tail
	  --config CONFIG       Config file containing one --file-path per line

Watch [this demo](http://ascii.io/a/4737) for example usage.
nose-timelimit 0.1.2
Nose module that reorders tests so the quickest are run first.
License: BSD

===========================
       nose-timelimit
===========================

`nose-timelimit` is a nose plugin that allows you automatically skip tests that are too slow.

It requires at least one run with the whole suite to register the timings. If a test fails timings 
are not registered for it (thus it will never get skipped).

Installation
============

Just run ``pip install nose-timelimit`` or ``easy_install nose-timelimit``.

Options
=======

* ``--with-timelimit`` - Just activates the plugin (will only register timing data).
* ``--timelimit=X`` - Runs only the tests that had previously ran under ``X`` seconds. Implies ``--with-timelimit``.
* ``--timelimit-silent`` - Don't print the duration for each test.

Requirements
============

Known to work with ``nose 1.3``, it may work with nose as old as ``0.10`` - try it.

Example
=======

On first run:

.. image:: https://github.com/ionelmc/nose-timelimit/raw/master/docs/1st-run.png
    :alt: Sample error page
    :target: https://github.com/ionelmc/nose-timelimit/raw/master/docs/1st-run.png
    
And on second run:

.. image:: https://github.com/ionelmc/nose-timelimit/raw/master/docs/2nd-run.png
    :alt: Sample error page
    :target: https://github.com/ionelmc/nose-timelimit/raw/master/docs/2nd-run.png