<commit_before>T-Service
=========

.. image:: https://travis-ci.org/jiffyclub/tservice.svg?branch=master
    :target: https://travis-ci.org/jiffyclub/tservice
    :alt: Build Status

.. image:: https://pypip.in/version/tservice/badge.svg
    :target: https://pypi.python.org/pypi/tservice/
    :alt: Latest Version

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

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

T-Service is a tiny Python tool for starting a local static file server
using `Tornado <http://www.tornadoweb.org/en/stable/>`__.
I use it for previewing sites before pushing them to
`GitHub Pages <https://pages.github.com/>`__.

Installation
------------

T-Service is on PyPI, install it with: ``pip install tservice``.
T-Service works on Python 2.7 and Python 3.

Usage
-----

T-Service installs a command line utility called ``tserve``.
``tserve`` has one required parameter:
the directory from which to serve files.
For example, to start the server from a directory called ``build``<commit_msg>Switched broken pypip.in badges to shields.io<commit_after>T-Service
=========

.. image:: https://travis-ci.org/jiffyclub/tservice.svg?branch=master
    :target: https://travis-ci.org/jiffyclub/tservice
    :alt: Build Status

.. image:: https://img.shields.io/pypi/v/tservice.svg
    :target: https://pypi.python.org/pypi/tservice/
    :alt: Latest Version

.. image:: https://img.shields.io/pypi/pyversions/tservice.svg
    :target: https://pypi.python.org/pypi/tservice/
    :alt: Supported Python versions

.. image:: https://img.shields.io/pypi/wheel/tservice.svg
    :target: https://pypi.python.org/pypi/tservice/
    :alt: Wheel Status

T-Service is a tiny Python tool for starting a local static file server
using `Tornado <http://www.tornadoweb.org/en/stable/>`__.
I use it for previewing sites before pushing them to
`GitHub Pages <https://pages.github.com/>`__.

Installation
------------

T-Service is on PyPI, install it with: ``pip install tservice``.
T-Service works on Python 2.7 and Python 3.

Usage
-----

T-Service installs a command line utility called ``tserve``.
``tserve`` has one required parameter:
the directory from which to serve files.
For example, to start the server from a directory called ``build``
{'fraction_non_alphanumeric': 0.15045342126957956, 'fraction_numerical': 0.00247320692497939, 'mean_word_length': 3.5534709193245777, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 18, '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': '40140', 'n_tokens_mistral': 821, 'n_tokens_neox': 791, 'n_words': 224}