How to use gingerit - 3 common examples

To help you get started, we’ve selected a few gingerit examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Azd325 / gingerit / tests / test_gingerit.py View on Github external
def test_gingerit(text, expected, corrections):
    output = GingerIt().parse(text)

    assert output["result"] == expected
    assert output["corrections"] == corrections
github Azd325 / gingerit / docs / conf.py View on Github external
# The master toctree document.
master_doc = "index"

# General information about the project.
project = u"Gingerit"
copyright = u"2015, Tim Kleinschmidt"

# The version info for the project you're documenting, acts as replacement
# for |version| and |release|, also used in various other places throughout
# the built documents.
#
# The short X.Y version.
version = gingerit.__version__
# The full version, including alpha/beta/rc tags.
release = gingerit.__version__

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
# language = None

# There are two options for replacing |today|: either, you set today to
# some non-false value, then it is used:
# today = ''
# Else, today_fmt is used as the format for a strftime call.
# today_fmt = '%B %d, %Y'

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
exclude_patterns = ["_build"]

# The reST default role (used for this markup: `text`) to use for all
github Azd325 / gingerit / docs / conf.py View on Github external
# The encoding of source files.
# source_encoding = 'utf-8-sig'

# The master toctree document.
master_doc = "index"

# General information about the project.
project = u"Gingerit"
copyright = u"2015, Tim Kleinschmidt"

# The version info for the project you're documenting, acts as replacement
# for |version| and |release|, also used in various other places throughout
# the built documents.
#
# The short X.Y version.
version = gingerit.__version__
# The full version, including alpha/beta/rc tags.
release = gingerit.__version__

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
# language = None

# There are two options for replacing |today|: either, you set today to
# some non-false value, then it is used:
# today = ''
# Else, today_fmt is used as the format for a strftime call.
# today_fmt = '%B %d, %Y'

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
exclude_patterns = ["_build"]

gingerit

Unknown
Latest version published 6 months ago

Package Health Score

44 / 100
Full package analysis

Similar packages