An extension for hug that provides YAML input formats, output formats, and documentation.
Project description
hug_yaml
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
Release history Release notifications | RSS feed
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 details)
File details
Details for the file hug_yaml-1.1.0.tar.gz
.
File metadata
- Download URL: hug_yaml-1.1.0.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9924d881b96ba78d79a53c0b95cfac658eb93edba9c68def1aab086ceced244f |
|
MD5 | 887ff3d02f8460df8df4266ebde41d50 |
|
BLAKE2b-256 | 59b05f57904ddfe65340d46b504a239a1654dbaff515f5632fe1310a544a9fd7 |