hug_yaml

An extension for hug that provides YAML input formats, output formats, and documentation.


Keywords
Python, Python3
License
MIT
Install
pip install hug_yaml==1.1.0

Documentation

hug_yaml

PyPI version Build Status Coverage Status License Join the chat at https://gitter.im/timothycrosley/hug

An extension for hug that provides YAML input formats, output formats, and documentation:

import hug
import hug_yaml

hug.API(__name__).extend(hug_yaml.input_format)


@hug.not_found(output=hug_yaml.output)
def documentation(hug_api, hug_api_version):
    return hug_api.http.documentation(hug_api, hug_api_version)

Installing hug_yaml

Installing hug_yaml is as simple as:

pip3 install hug_yaml --upgrade

Ideally, within a virtual environment.

Why hug_yaml?

An extension for hug that provides YAML input formats, output formats, and documentation.


Thanks and I hope you find hug_yaml helpful!

~Timothy Crosley