comparison stubs/rdflib/term.pyi @ 1863:0f0ff27e55a3

stubs, mostly autogen or empty Ignore-this: bc70818d2bc92bf022c65c3572b9775e
author Drew Perttula <drewp@bigasterisk.com>
date Sat, 25 May 2019 12:01:26 +0000
parents
children
comparison
equal deleted inserted replaced
1862:d92757c88817 1863:0f0ff27e55a3
1 # Stubs for rdflib.term (Python 3)
2 #
3
4 from typing import Any, Optional
5
6 class Node: ...
7
8 class Identifier(Node, str):
9 def __new__(cls, value: Any): ...
10 def eq(self, other: Any): ...
11 def neq(self, other: Any): ...
12 def __ne__(self, other: Any): ...
13 def __eq__(self, other: Any): ...
14 def __gt__(self, other: Any): ...
15 def __lt__(self, other: Any): ...
16 def __le__(self, other: Any): ...
17 def __ge__(self, other: Any): ...
18 def __hash__(self): ...
19
20 class URIRef(Identifier):
21 def __new__(cls, value: Any, base: Optional[Any] = ...): ...
22 def toPython(self): ...
23 def n3(self, namespace_manager: Optional[Any] = ...): ...
24 def defrag(self): ...
25 def __reduce__(self): ...
26 def __getnewargs__(self): ...
27 def __add__(self, other: Any): ...
28 def __radd__(self, other: Any): ...
29 def __mod__(self, other: Any): ...
30 def md5_term_hash(self): ...
31 def de_skolemize(self): ...
32
33 class BNode(Identifier):
34 def __new__(cls, value: Optional[Any] = ..., _sn_gen: Any = ..., _prefix: Any = ...): ...
35 def toPython(self): ...
36 def n3(self, namespace_manager: Optional[Any] = ...): ...
37 def __getnewargs__(self): ...
38 def __reduce__(self): ...
39 def md5_term_hash(self): ...
40 def skolemize(self, authority: str = ...): ...
41
42 class Literal(Identifier):
43 _literal_n3: Any
44 def __new__(cls, lexical_or_value: Any, lang: Optional[Any] = ..., datatype: Optional[Any] = ..., normalize: Optional[Any] = ...): ...
45 def normalize(self): ...
46 @property
47 def value(self): ...
48 @property
49 def language(self): ...
50 @property
51 def datatype(self): ...
52 def __reduce__(self): ...
53 def __add__(self, val: Any): ...
54 def __bool__(self): ...
55 def __neg__(self): ...
56 def __pos__(self): ...
57 def __abs__(self): ...
58 def __invert__(self): ...
59 def __gt__(self, other: Any): ...
60 def __lt__(self, other: Any): ...
61 def __le__(self, other: Any): ...
62 def __ge__(self, other: Any): ...
63 def __hash__(self): ...
64 def __eq__(self, other: Any): ...
65 def eq(self, other: Any): ...
66 def neq(self, other: Any): ...
67 def n3(self, namespace_manager: Optional[Any] = ...): ...
68 def toPython(self): ...
69 def md5_term_hash(self): ...
70
71 def bind(datatype: Any, pythontype: Any, constructor: Optional[Any] = ..., lexicalizer: Optional[Any] = ...) -> None: ...
72
73 _PLAIN_LITERAL_TYPES: Any
74 _XSD_DOUBLE: Any
75 _XSD_DECIMAL: Any