Skip to main content

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

Project description

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_yaml.not_found.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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hug_yaml-1.1.0.tar.gz (4.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page