python-flask-rdf

Flask decorator to output RDF using content negotiation (Python 2)

Description

Apply the @flask_rdf decorator to a view function and return an rdflib Graph object. Flask_rdf will automatically format it into an RDF output format, depending on what the request’s Accept header says. If the view function returns something besides an rdflib graph, it will be passed through without modification.

Custom formats can be registered easily. After registering the new serializer with rdflib’s plugin support, use the decide_format method to register a new mimetype request to use the new formatter.

This package works with Python versions 2.x.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://pypi.python.org/pypi/flask_rdf


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install python-flask-rdf