Skip to content
Sections
>> Trisquel >> パッケージ >> nabia >> python >> python3-flask-rdf
etiona  ] [  nabia  ]
[ ソース: python-flask-rdf  ]

パッケージ: python3-flask-rdf (0.2.1-1.1)

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

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 3.x.

その他の python3-flask-rdf 関連パッケージ

  • 依存
  • 推奨
  • 提案
  • dep: python3
    interactive high-level object-oriented language (default python3 version)
  • dep: python3-mimeparse
    Parse mime-types and quality parameters - Python 3.x
  • dep: python3-rdflib
    Python 3 library containing an RDF triple store and RDF parsers/serializers
  • dep: python3-six
    Python 2 and 3 compatibility library (Python 3 interface)

python3-flask-rdf のダウンロード

すべての利用可能アーキテクチャ向けのダウンロード
アーキテクチャ パッケージサイズ インストールサイズ ファイル
all 8.9 kB42 kB [ファイル一覧]