File: __init__.py

package info (click to toggle)
sparql-wrapper-python 2.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,228 kB
  • sloc: python: 14,201; makefile: 30
file content (72 lines) | stat: -rw-r--r-- 1,213 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# -*- coding: utf8 -*-

"""

**SPARQLWrapper** is a simple Python wrapper around a `SPARQL <https://www.w3.org/TR/sparql11-overview/>`_ service to
remotelly execute your queries. It helps in creating the query
invokation and, possibly, convert the result into a more manageable
format.

"""

__version__ = "2.0.0"
"""The version of SPARQLWrapper"""

__agent__: str = f"sparqlwrapper {__version__} (rdflib.github.io/sparqlwrapper)"


from .SmartWrapper import SPARQLWrapper2
from .sparql_dataframe import get_sparql_dataframe
from .Wrapper import (
    ASK,
    BASIC,
    CONSTRUCT,
    CSV,
    DELETE,
    DESCRIBE,
    DIGEST,
    GET,
    INSERT,
    JSON,
    JSONLD,
    N3,
    POST,
    POSTDIRECTLY,
    RDF,
    RDFXML,
    SELECT,
    TSV,
    TURTLE,
    URLENCODED,
    XML,
    QueryResult,
    SPARQLWrapper,
)

__all__ = [
    "SPARQLWrapper2",
    "get_sparql_dataframe",
    "ASK",
    "BASIC",
    "CONSTRUCT",
    "CSV",
    "DELETE",
    "DESCRIBE",
    "DIGEST",
    "GET",
    "INSERT",
    "JSON",
    "JSONLD",
    "N3",
    "POST",
    "POSTDIRECTLY",
    "RDF",
    "RDFXML",
    "SELECT",
    "TSV",
    "TURTLE",
    "URLENCODED",
    "XML",
    "QueryResult",
    "SPARQLWrapper",
]