python-flask-rdf_0.1.8-2_all.deb


Advertisement

Description

python-flask-rdf - Flask decorator to output RDF using content negotiation (Python 2)

Distribution: Ubuntu 16.04 LTS (Xenial Xerus)
Repository: Ubuntu Universe amd64
Package name: python-flask-rdf
Package version: 0.1.8
Package release: 2
Package architecture: all
Package type: deb
Installed size: 27 B
Download size: 5.73 KB
Official Mirror: archive.ubuntu.com
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.

Alternatives

    Download

    Source package: python-flask-rdf

    Install Howto

    1. Update the package index:
      # sudo apt-get update
    2. Install python-flask-rdf deb package:
      # sudo apt-get install python-flask-rdf

    Files

    • /usr/lib/python2.7/dist-packages/flask_rdf/__init__.py
    • /usr/lib/python2.7/dist-packages/flask_rdf/flask_decorator.py
    • /usr/lib/python2.7/dist-packages/flask_rdf/format.py
    • /usr/lib/python2.7/dist-packages/flask_rdf-0.1.8.egg-info/PKG-INFO
    • /usr/lib/python2.7/dist-packages/flask_rdf-0.1.8.egg-info/dependency_links.txt
    • /usr/lib/python2.7/dist-packages/flask_rdf-0.1.8.egg-info/requires.txt
    • /usr/lib/python2.7/dist-packages/flask_rdf-0.1.8.egg-info/top_level.txt
    • /usr/share/doc/python-flask-rdf/changelog.Debian.gz
    • /usr/share/doc/python-flask-rdf/copyright

    Changelog

    2016-01-22 - Iain R. Learmonth <irl@debian.org> python-flask-rdf (0.1.8-2) unstable; urgency=medium * debian/control: - Changed architecture for binaries to 'all'.

    2016-01-22 - Iain R. Learmonth <irl@debian.org> python-flask-rdf (0.1.8-1) unstable; urgency=medium * New upstream version. * debian/control: - Use https for Vcs-* links. * Removed remove-nquads.patch; integrated upstream.

    2015-12-14 - Iain R. Learmonth <irl@debian.org> python-flask-rdf (0.1.7+git20151026-1) unstable; urgency=medium * Updated to newer upstream version from upstream VCS. * debian/patches/remove-nquads.patch (created): - Removed nquads from the list of formats to negotiate.

    2015-10-27 - Iain R. Learmonth <irl@debian.org> python-flask-rdf (0.1.7-1) unstable; urgency=medium * Initial release. (Closes: #803111)

    Advertisement
    Advertisement