1. Prometheus Research, LLC
  2. Prometheus
  3. htsql

Source

htsql / src / htsql / fmt / __init__.py

#
# Copyright (c) 2006-2011, Prometheus Research, LLC
# See `LICENSE` for license information, `AUTHORS` for the list of authors.
#


"""
:mod:`htsql.fmt`
================

This package implements product formatters.
"""


from .format import FindRenderer
from .json import JSONRenderer
from .spreadsheet import CSVRenderer, TSVRenderer
from .html import HTMLRenderer
from .text import TextRenderer


class FindStandardRenderer(FindRenderer):

    def get_renderers(self):
        return ([CSVRenderer, TSVRenderer, JSONRenderer,
                 HTMLRenderer, TextRenderer]
                + super(FindStandardRenderer, self).get_renderers())