<commit_before>Job Control
###########

.. image:: https://raw.githubusercontent.com/rshk/jobcontrol/develop/.misc/banner.png

Job scheduling and tracking library.

Provides a base interface for scheduling, running, tracking and
retrieving results for "jobs".

Each job definition is simply any Python callable, along with
arguments to be passed to it.

The tracking include storing:
- the function return value
- any exception raised
- log messages produced during task execution
- optionally a "progress", if the task supports it

The library is not tied to any particular storage; the core includes
two implementations:

- ``MemoryJobControl`` -- keeps all the data in memory; especially
  useful for testing purposes.

- ``PostgreSQLJobControl`` -- PostgreSQL-backed job control, meant for
  production use.


Project status
==============

**Travis CI build status**

+----------+-----------------------------------------------------------------------+
| Branch   | Status                                                                |
+==========+=======================================================================+
| master   | .. image:: https://travis-ci.org/rshk/jobcontrol.svg?branch=master    |
|          |     :target: https://travis-ci.org/rshk/jobcontrol                    |
+----------+-----------------------------------------------------------------------+
| develop  | .. image:: https://travis-ci.org/rshk/jobcontrol.svg?branch=develop   |
|          |     :target: https://travis-ci.org/rshk/jobcontrol                    |
+----------+-----------------------------------------------------------------------+

Source code
-----------

Source is hosted on GitHub: https://github.com/rshk/jobcontrol/

And can be cloned with::

    git clone https://github.com/rshk/jobcontrol.git

Python Package Index
--------------------

The project can be found on PyPI here: https://pypi.python.org/pypi/jobcontrol

.. image:: https://pypip.in/version/jobcontrol/badge.svg?text=version
    :target: https://github.com/rshk/jobcontrol.git
    :alt: Latest PyPI version

.. image:: https://pypip.in/download/jobcontrol/badge.png?period=month
    :target: https://github.com/rshk/jobcontrol.git
    :alt: Number of PyPI downloads

.. image:: https://pypip.in/py_versions/jobcontrol/badge.svg
    :target: https://pypi.python.org/pypi/jobcontrol/
    :alt: Supported Python versions

.. image:: https://pypip.in/status/jobcontrol/badge.svg
    :target: https://pypi.python.org/pypi/jobcontrol/
    :alt: Development Status

..
   .. image:: https://pypip.in/wheel/jobcontrol/badge.svg
       :target: https://pypi.python.org/pypi/jobcontrol/
       :alt: Wheel Status

   .. image:: https://pypip.in/egg/jobcontrol/badge.svg
       :target: https://pypi.python.org/pypi/jobcontrol/
       :alt: Egg Status

   .. image:: https://pypip.in/format/jobcontrol/badge.svg
       :target: https://pypi.python.org/pypi/jobcontrol/
       :alt: Download format

.. image:: https://pypip.in/license/jobcontrol/badge.svg
    :target: https://pypi.python.org/pypi/jobcontrol/
    :alt: License



Project documentation
=====================
<commit_msg>better readme badges<commit_after>Job Control
###########

.. image:: https://raw.githubusercontent.com/rshk/jobcontrol/develop/.misc/banner.png

Job scheduling and tracking library.

Provides a base interface for scheduling, running, tracking and
retrieving results for "jobs".

Each job definition is simply any Python callable, along with
arguments to be passed to it.

The tracking include storing:
- the function return value
- any exception raised
- log messages produced during task execution
- optionally a "progress", if the task supports it

The library is not tied to any particular storage; the core includes
two implementations:

- ``MemoryJobControl`` -- keeps all the data in memory; especially
  useful for testing purposes.

- ``PostgreSQLJobControl`` -- PostgreSQL-backed job control, meant for
  production use.


Project status
==============

**Travis CI build status**

+----------+-----------------------------------------------------------------------+
| Branch   | Status                                                                |
+==========+=======================================================================+
| master   | .. image:: https://travis-ci.org/rshk/jobcontrol.svg?branch=master    |
|          |     :target: https://travis-ci.org/rshk/jobcontrol                    |
+----------+-----------------------------------------------------------------------+
| develop  | .. image:: https://travis-ci.org/rshk/jobcontrol.svg?branch=develop   |
|          |     :target: https://travis-ci.org/rshk/jobcontrol                    |
+----------+-----------------------------------------------------------------------+

Source code
-----------

Source is hosted on GitHub: https://github.com/rshk/jobcontrol/

And can be cloned with::

    git clone https://github.com/rshk/jobcontrol.git

Python Package Index
--------------------

The project can be found on PyPI here: https://pypi.python.org/pypi/jobcontrol

.. image:: https://pypip.in/version/jobcontrol/badge.svg?text=version
    :target: https://github.com/rshk/jobcontrol.git
    :alt: Latest PyPI version

.. image:: https://pypip.in/download/jobcontrol/badge.svg?period=month
    :target: https://github.com/rshk/jobcontrol.git
    :alt: Number of PyPI downloads

.. image:: https://pypip.in/py_versions/jobcontrol/badge.svg
    :target: https://pypi.python.org/pypi/jobcontrol/
    :alt: Supported Python versions

.. image:: https://pypip.in/status/jobcontrol/badge.svg
    :target: https://pypi.python.org/pypi/jobcontrol/
    :alt: Development Status

.. image:: https://pypip.in/license/jobcontrol/badge.svg
    :target: https://pypi.python.org/pypi/jobcontrol/
    :alt: License

..
   .. image:: https://pypip.in/wheel/jobcontrol/badge.svg
       :target: https://pypi.python.org/pypi/jobcontrol/
       :alt: Wheel Status

   .. image:: https://pypip.in/egg/jobcontrol/badge.svg
       :target: https://pypi.python.org/pypi/jobcontrol/
       :alt: Egg Status

   .. image:: https://pypip.in/format/jobcontrol/badge.svg
       :target: https://pypi.python.org/pypi/jobcontrol/
       :alt: Download format



Project documentation
=====================

{'fraction_non_alphanumeric': 0.2391889751306827, 'fraction_numerical': 0.0, 'mean_word_length': 2.177654755913437, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 48, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 12, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '39999', 'n_tokens_mistral': 1818, 'n_tokens_neox': 1730, 'n_words': 410}