semvec/pypi-packages huggingface dataset:
rednose 1.3.0
coloured output for nosetests
License: MIT
Keywords: test nosetests nose nosetest output colour console

=========
rednose
=========

rednose is a `nosetests`_
plugin for adding colour (and readability) to nosetest console results.

.. image:: rednose_example.png
	:scale: 50 %
	:align: center

Installation:
-------------
::

	pip install rednose
	
or from the source::

	python setup.py install

Rednose officially supports Python 2.7, 3.4, and 3.5.

Usage:
------
::

	nosetests --rednose

or::

	export NOSE_REDNOSE=1
	nosetests

Rednose by default uses auto-colouring, which will only use
colour if you're running it on a terminal (i.e not piping it
to a file). To control colouring, use one of::

	nosetests --rednose --force-color
	nosetests --no-color

(you can also control this by setting the environment variable NOSE_REDNOSE_COLOR to 'force' or 'no')

Rednose by default prints file paths relative to the working
directory. If you want the full path in the traceback then
use::

	nosetests --rednose --full-file-path

Rednose by default prints error style formating for skipped tests,
to supress this use::

	nosetests --rednose --hide-skips

Rednose supports printing the test results mid run as well as at
the end, to enable it use::

	nosetests --rednose --immediate

.. _nosetests: http://somethingaboutorange.com/mrl/projects/nose/
loopytimer 0.1.0
A loop timer instead of default one shot Timer from threading. Base on pythonTimer created by terryltang.
License: MIT


LoopyTimer
==========

Python looping timer. Forked from
`terryltang/pythonTimer <https://github.com/terryltang/pythonTimer>`__

Install
-------

::

    pip install loopytimer

Feature & Usage
---------------

-  Require Python standard library: **threading**

-  Call a function after a specified number of seconds:

::

        e.g.:
        from loopytimer import LoopyTimer

        timer = LoopyTimer(5.0, handler_func, args=[], kwargs={})
        timer.set_call_limits(5)    # timer will run eternally if you don't set a limit
        timer.start()
        timer.cancel()     # cancel the timer's action if it's still waiting, will also destroy timer instance

-  Timer handler take positional arguments and keyword arguments:

::

        e.g.: 
        timer = LoopyTimer(0.5, timer_handler, args=["Terry", "Tang"], kwargs={"city":"Houston", "state":"Texas"})

-  Cancel and destroy timer.

-  Add a customized logger function for timer handler.

-  Test cases included.

License
-------

MIT License

Copyright (c) 2018 Wavky Huang

See ->
`LICENSE <https://github.com/wavky/loopytimer/blob/master/LICENSE>`__