<commit_before>===============
spectrum-python
===============

Overview
========

`Spectrum <http://www.devspectrum.com>`_ is a application that helps
developers filter and sift through logs while developing or debugging
locally. It accepts logging information via a REST API, syslog, or can be
set to tail local files.  All of these logging sources are then easily
shown or hidden depending on the current needs of the developer.

This Python package makes it trivially easy to push logs from Python and/or Django into Spectrum.

Python
======

Installing Python support for Spectrum is as easy as::

    $ pip install spectrum-python

Setting up a logging handler is also equally easy::

    import logging
    from spectrum.handlers import Spectrum

    logger = logging.getLogger(__name__)
    logger.setLevel(logging.DEBUG)

    spectrum = Spectrum('my-logging-sublevel')
    logger.addHandler(spectrum)
<commit_msg>Announce repo archive in README.<commit_after>===============
spectrum-python
===============


UPDATE
======

Spectrum has been discontinued and is no longer in development.  Please contact us at https://revsys.com if you have any questions or concerns.
Thanks! 

Overview
========

`Spectrum <http://www.devspectrum.com>`_ is a application that helps
developers filter and sift through logs while developing or debugging
locally. It accepts logging information via a REST API, syslog, or can be
set to tail local files.  All of these logging sources are then easily
shown or hidden depending on the current needs of the developer.

This Python package makes it trivially easy to push logs from Python and/or Django into Spectrum.

Python
======

Installing Python support for Spectrum is as easy as::

    $ pip install spectrum-python

Setting up a logging handler is also equally easy::

    import logging
    from spectrum.handlers import Spectrum

    logger = logging.getLogger(__name__)
    logger.setLevel(logging.DEBUG)

    spectrum = Spectrum('my-logging-sublevel')
    logger.addHandler(spectrum)

{'fraction_non_alphanumeric': 0.09444171175602557, 'fraction_numerical': 0.0, 'mean_word_length': 4.338582677165355, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 1, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1482429', 'n_tokens_mistral': 540, 'n_tokens_neox': 487, 'n_words': 242}