iolanta 1.2.10__py3-none-any.whl → 2.0.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
iolanta/cli/main.py CHANGED
@@ -111,8 +111,8 @@ def render_command( # noqa: WPS231, WPS238, WPS210, C901
111
111
  )
112
112
 
113
113
  try:
114
- renderable, stack = iolanta.render(
115
- node=node,
114
+ renderable = iolanta.render(
115
+ node=URIRef(node),
116
116
  as_datatype=URIRef(as_datatype),
117
117
  )
118
118
 
@@ -465,9 +465,9 @@ class GlobalSPARQLProcessor(Processor): # noqa: WPS338, WPS214
465
465
  ))
466
466
 
467
467
  def _follow_is_visualized_with_links(self, uri: URIRef):
468
- """Follow `iolanta:is-visualized-with` links."""
468
+ """Follow `dcterms:isReferencedBy` links."""
469
469
  self.logger.info(f'Following links for {uri}…')
470
- triples = self.graph.triples((uri, IOLANTA['visualized-with'], None))
470
+ triples = self.graph.triples((uri, DCTERMS.isReferencedBy, None))
471
471
  for _, _, visualization in triples:
472
472
  if isinstance(visualization, URIRef):
473
473
  self.load(visualization)
@@ -630,7 +630,7 @@ class GlobalSPARQLProcessor(Processor): # noqa: WPS338, WPS214
630
630
  quads = list(
631
631
  parse_quads(
632
632
  quads_document=ld_rdf,
633
- graph=source, # type: ignore
633
+ graph=source_uri,
634
634
  blank_node_prefix=str(source),
635
635
  ),
636
636
  )
iolanta/facets/facet.py CHANGED
@@ -7,7 +7,6 @@ from typing import Any, Generic, Iterable, List, Optional, TypeVar, Union
7
7
  from rdflib.term import BNode, Literal, Node, URIRef
8
8
 
9
9
  from iolanta.models import NotLiteralNode, Triple, TripleTemplate
10
- from iolanta.stack import Stack
11
10
  from ldflex import LDFlex
12
11
  from ldflex.ldflex import QueryResult, SPARQLQueryArgument
13
12
 
@@ -21,7 +20,6 @@ class Facet(Generic[FacetOutput]):
21
20
  iri: NotLiteralNode
22
21
  iolanta: 'iolanta.Iolanta' = field(repr=False)
23
22
  as_datatype: Optional[NotLiteralNode] = None
24
- stack_children: List[Stack] = field(default_factory=list, repr=False)
25
23
 
26
24
  @property
27
25
  def stored_queries_path(self) -> Path:
@@ -58,15 +56,11 @@ class Facet(Generic[FacetOutput]):
58
56
  as_datatype: NotLiteralNode,
59
57
  ) -> Any:
60
58
  """Shortcut to render something via iolanta."""
61
- rendered, stack = self.iolanta.render(
59
+ return self.iolanta.render(
62
60
  node=node,
63
61
  as_datatype=as_datatype,
64
62
  )
65
63
 
66
- self.stack_children.append(stack)
67
-
68
- return rendered
69
-
70
64
  def render_all(
71
65
  self,
72
66
  node: Node,
@@ -92,19 +86,6 @@ class Facet(Generic[FacetOutput]):
92
86
  """Preferred language for Iolanta output."""
93
87
  return self.iolanta.language
94
88
 
95
- @property
96
- def stack(self):
97
- """
98
- Return stack.
99
-
100
- FIXME: I have no idea. Maybe delete this nonsense.
101
- """
102
- return Stack(
103
- node=self.iri,
104
- facet=self,
105
- children=self.stack_children,
106
- )
107
-
108
89
  def find_triple(
109
90
  self,
110
91
  triple: TripleTemplate,
@@ -29,7 +29,7 @@ class PageTitle(IolantaWidgetMixin, Static):
29
29
  return self.iolanta.render(
30
30
  self.iri,
31
31
  as_datatype=DATATYPES.title,
32
- )[0]
32
+ )
33
33
 
34
34
  def on_mount(self):
35
35
  """Initialize rendering of a title."""
@@ -131,7 +131,7 @@ class PageSwitcher(IolantaWidgetMixin, ContentSwitcher): # noqa: WPS214
131
131
  self.iolanta.render,
132
132
  facet,
133
133
  as_datatype=DATATYPES.title,
134
- )[0],
134
+ ),
135
135
  )
136
136
  for facet in other_facets
137
137
  ]
@@ -103,7 +103,7 @@ class InstancesList(ListView): # noqa: WPS214
103
103
  self.app.iolanta.render(
104
104
  instance_item.node,
105
105
  as_datatype=DATATYPES.title,
106
- )[0],
106
+ ),
107
107
  )
108
108
 
109
109
  def stream_instance_items_chunk(
@@ -60,7 +60,7 @@ class PropertyName(Widget, can_focus=True, inherit_bindings=False):
60
60
 
61
61
  def render_title(self):
62
62
  """Render title in a separate thread."""
63
- return self.app.iolanta.render(self.iri, DATATYPES.title)[0]
63
+ return self.app.iolanta.render(self.iri, DATATYPES.title)
64
64
 
65
65
  def render(self) -> RenderResult:
66
66
  """Render node title."""
@@ -202,7 +202,7 @@ class PropertiesContainer(Vertical):
202
202
  widget.renderable = self.app.iolanta.render(
203
203
  widget.iri,
204
204
  as_datatype=DATATYPES.title,
205
- )[0]
205
+ )
206
206
 
207
207
  def on_mount(self):
208
208
  """Initiate rendering in the background."""
@@ -22,7 +22,7 @@ class GraphFacet(Facet[Widget]):
22
22
  triples_view = self.iolanta.render(
23
23
  self.iri,
24
24
  as_datatype=DATATYPES['textual-graph-triples'],
25
- )[0]
25
+ )
26
26
 
27
27
  return VerticalScroll(
28
28
  PageTitle(self.iri, extra=f'({triple_count} triples)'),
@@ -121,7 +121,7 @@ class TriplesView(IolantaWidgetMixin, Vertical):
121
121
  term_view.renderable = self.iolanta.render(
122
122
  term_view.uri,
123
123
  as_datatype=term_view.as_datatype,
124
- )[0]
124
+ )
125
125
 
126
126
 
127
127
  class GraphTriplesFacet(Facet[Widget]):
@@ -61,7 +61,7 @@ class NanopublicationScreen(IolantaWidgetMixin, VerticalScroll):
61
61
  yield self.iolanta.render(
62
62
  row['assertion'],
63
63
  as_datatype=DATATYPES['textual-graph-triples'],
64
- )[0]
64
+ )
65
65
 
66
66
  provenance = []
67
67
  if row.get('author'):
@@ -36,4 +36,4 @@ class TermList(IolantaWidgetMixin, Horizontal):
36
36
  child.renderable = self.iolanta.render(
37
37
  child.uri,
38
38
  as_datatype=child.as_datatype,
39
- )[0]
39
+ )
@@ -1,3 +1,3 @@
1
1
  SELECT ?vocab WHERE {
2
- ?iri iolanta:visualized-with ?vocab .
2
+ ?iri dcterms:isReferencedBy ?vocab .
3
3
  }
iolanta/iolanta.py CHANGED
@@ -45,7 +45,6 @@ from iolanta.parse_quads import parse_quads
45
45
  from iolanta.parsers.yaml import YAML
46
46
  from iolanta.plugin import Plugin
47
47
  from iolanta.resolvers.python_import import PythonImportResolver
48
- from iolanta.stack import Stack
49
48
  from ldflex import LDFlex
50
49
 
51
50
 
@@ -300,9 +299,7 @@ class Iolanta: # noqa: WPS214
300
299
  self.add(plugin.data_files)
301
300
  except Exception as error:
302
301
  self.logger.error(
303
- 'Cannot load %s plugin data files: %s',
304
- plugin,
305
- error,
302
+ f'Cannot load {plugin} plugin data files: {error}',
306
303
  )
307
304
 
308
305
  def __post_init__(self):
@@ -320,7 +317,7 @@ class Iolanta: # noqa: WPS214
320
317
  self,
321
318
  node: Node,
322
319
  as_datatype: NotLiteralNode,
323
- ) -> Tuple[Any, Stack]:
320
+ ) -> Any:
324
321
  """Find an Iolanta facet for a node and render it."""
325
322
  node = normalize_term(node)
326
323
 
@@ -347,7 +344,7 @@ class Iolanta: # noqa: WPS214
347
344
  )
348
345
 
349
346
  try:
350
- return facet.show(), facet.stack
347
+ return facet.show()
351
348
 
352
349
  except Exception as err:
353
350
  raise FacetError(
iolanta/parse_quads.py CHANGED
@@ -23,7 +23,6 @@ def parse_term( # noqa: C901
23
23
  term_value = term['value']
24
24
 
25
25
  if term_type == 'IRI':
26
- raise_if_term_is_qname(term_value)
27
26
  return URIRef(term_value)
28
27
 
29
28
  if term_type == 'literal':
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: iolanta
3
- Version: 1.2.10
3
+ Version: 2.0.0
4
4
  Summary: Semantic Web browser
5
5
  License: MIT
6
6
  Author: Anatoly Scherbakov
@@ -19,7 +19,6 @@ Requires-Dist: diskcache (>=5.6.3)
19
19
  Requires-Dist: documented (>=0.1.1)
20
20
  Requires-Dist: dominate (>=2.6.0)
21
21
  Requires-Dist: funcy (>=2.0)
22
- Requires-Dist: iolanta-tables (>=0.1.7,<0.2.0) ; extra == "all"
23
22
  Requires-Dist: loguru (>=0.7.3)
24
23
  Requires-Dist: more-itertools (>=9.0.0)
25
24
  Requires-Dist: nanopub (>=2.0.1)
@@ -33,7 +32,7 @@ Requires-Dist: rich (>=13.3.1)
33
32
  Requires-Dist: textual (>=0.83.0)
34
33
  Requires-Dist: typer (>=0.9.0)
35
34
  Requires-Dist: watchfiles (>=1.0.4,<2.0.0)
36
- Requires-Dist: yaml-ld (>=1.1.5)
35
+ Requires-Dist: yaml-ld (>=1.1.7)
37
36
  Requires-Dist: yarl (>=1.9.4)
38
37
  Description-Content-Type: text/markdown
39
38
 
@@ -6,7 +6,7 @@ iolanta/cli/formatters/choose.py,sha256=Ac4hNoptvnhuJB77K9KOn5oMF7j2RxmNuaLko28W
6
6
  iolanta/cli/formatters/csv.py,sha256=OVucZxhcMjihUli0wkbSOKo500-i7DNV0Zdf6oIougU,753
7
7
  iolanta/cli/formatters/json.py,sha256=jkNldFApSWw0kcMkeIPvI2Vt4JTE-Rvx5mWqKJb3Sj4,741
8
8
  iolanta/cli/formatters/pretty.py,sha256=Ik75CR5GMBDJCvES9eF0bQPj64ZJD40iFDSSZH0s9aA,2920
9
- iolanta/cli/main.py,sha256=-VS9B8kEBgJI6dl4W1cT4mZzWkANnMG1M6JnlXpdSKk,3126
9
+ iolanta/cli/main.py,sha256=exDWPljllufn7DiGC9lS1pvojFX9YZJciQ2RPCedKMU,3127
10
10
  iolanta/cli/models.py,sha256=cjbpowdzI4wAP0DUk3qoVHyimk6AZwlXi9CGmusZTuM,159
11
11
  iolanta/cli/pretty_print.py,sha256=M6E3TmhzA6JY5GeUVmDZLmOh5u70-393PVit4voFKDI,977
12
12
  iolanta/context.py,sha256=bZR-tbZIrDQ-Vby01PMDZ6ifxM-0YMK68RJvAsyqCTs,507
@@ -14,7 +14,7 @@ iolanta/conversions.py,sha256=hbLwRF1bAbOxy17eMWLHhYksbdCWN-v4-0y0wn3XSSg,1185
14
14
  iolanta/cyberspace/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
15
15
  iolanta/cyberspace/inference/wikibase-claim.sparql,sha256=JSawj3VTc9ZPoU9mvh1w1AMYb3cWyZ3x1rEYWUsKZ6A,209
16
16
  iolanta/cyberspace/inference/wikibase-statement-property.sparql,sha256=SkSHZZlxWVDwBM3aLo0Q7hLuOj9BsIQnXtcuAuwaxqU,240
17
- iolanta/cyberspace/processor.py,sha256=QlQM93JxXU33IqGpe2jTQfpxDpu12cRVHxBrnhjjRPQ,21848
17
+ iolanta/cyberspace/processor.py,sha256=rxO5MaZEoXD2Kzknq7eRH3yuv8kQ5UILy8qkJxramMY,21828
18
18
  iolanta/data/cli.yaml,sha256=TsnldYXoY5GIzoNuPDvwBKGw8eAEForZW1FCKqKI0Kg,1029
19
19
  iolanta/data/context.yaml,sha256=OULEeDkSqshabaXF_gMujgwFLDJvt9eQn_9FftUlSUw,1424
20
20
  iolanta/data/html.yaml,sha256=hVFdLWLy8FMY8xpOrJMYc-tE3S0Nq83xuxVkjRW_7rI,517
@@ -31,7 +31,7 @@ iolanta/facets/cli/record.py,sha256=lBsECxLkwVSXC-yHmUwfosxAdLBI-0UoqHe8GOCablY,
31
31
  iolanta/facets/cli/sparql/link.sparql,sha256=WtWEfLAvdGc2gP0IhZil6Vglkydc3VO24vk4GwRnR5I,163
32
32
  iolanta/facets/cli/sparql/record.sparql,sha256=GBWkmNelvaSDbvl7v0-LsJHdjFPbsSAW49kNFOUeoGQ,63
33
33
  iolanta/facets/errors.py,sha256=sEBmnzhFcRIgOT18hfNwyMMjry0waa6IB-jC2NVTA50,4124
34
- iolanta/facets/facet.py,sha256=S4csQz_R5hofGXI7CEPRkyrZqHdv1xhifKXL2-x096w,3317
34
+ iolanta/facets/facet.py,sha256=6TAhKxhBLRNII6bjQzOCzqTR1L7zaaB95nliQmVlmJ0,2865
35
35
  iolanta/facets/foaf_person_title/__init__.py,sha256=oj4MNVQvv8Dysb27xiWjtZCii8-nT7-WFa3WMWUwbtU,67
36
36
  iolanta/facets/foaf_person_title/facet.py,sha256=Q9TajjGp1v729quDzAM_Lfzawls3yujp1Z_6jXrG3gY,632
37
37
  iolanta/facets/foaf_person_title/sparql/names.sparql,sha256=p_2hHZXhEaJ8IwGlvLoN0vb0vhGqo44uAVRpDyTzflU,107
@@ -46,7 +46,7 @@ iolanta/facets/html/code_literal.py,sha256=qCddzBrg6Y5XMIKohFQ52Tf9GPOcU7bj83tfA
46
46
  iolanta/facets/html/default.py,sha256=Dmf_kYiL2M954iigyYsiWrMstwZ1nvxKetuR6aW3xYY,647
47
47
  iolanta/facets/icon.py,sha256=ddZcolx1Q5_wo3w0jqiCzcc5Lsru6-jA7s7oAd1T8Og,494
48
48
  iolanta/facets/locator.py,sha256=tFwxGT4ujwEjwkgTevK6gwWfj3_1lU9Q305IU7a-I3Y,7697
49
- iolanta/facets/page_title.py,sha256=CI2V8f7zSSrwbQginhyycZttNoAZTHq34SiO8Ql59bQ,1410
49
+ iolanta/facets/page_title.py,sha256=TwgZK2g_e5UoWYjKNgDzzkmq1EI3cY58680iC8N9kZI,1407
50
50
  iolanta/facets/qname.py,sha256=ztyBbjjcW8dNZzuiNMqhcWfAUxk-gSjbseVGrQE7kVY,531
51
51
  iolanta/facets/textual_browser/__init__.py,sha256=sKgDvXOwib9n9d63kdtKCEv26-FoL0VN6zxDmfcheZ8,104
52
52
  iolanta/facets/textual_browser/app.py,sha256=6-cmEkwRqj9UptVvXKVNIxT3PcDDOZP1OLpv8gPmB_Q,3202
@@ -56,9 +56,9 @@ iolanta/facets/textual_browser/home.py,sha256=GfDD1G2HiwdLkPkNdcYRqVIxDl5tWH9few
56
56
  iolanta/facets/textual_browser/location.py,sha256=w0La8bVTpJiVo1_hFTDQeIUdDdqfhYnoihuZW-f130c,205
57
57
  iolanta/facets/textual_browser/models.py,sha256=DqTBjhkkTt5mNwqr4DzNbPSqzV-QtNqfKj7wpn6T3ao,173
58
58
  iolanta/facets/textual_browser/page.py,sha256=NkcQ5rSKZRbp63C8ozgsR_iVhcKHGv_SytUCQyGa7ss,786
59
- iolanta/facets/textual_browser/page_switcher.py,sha256=1-mWI56n2gLDThPBjfqHLun3utkUYdOkKSzejCIziEk,9953
59
+ iolanta/facets/textual_browser/page_switcher.py,sha256=WOsFY9hSFEnuf3za1eCUhPaQ6uTaeBuMPIAHjHhnvDY,9950
60
60
  iolanta/facets/textual_class/__init__.py,sha256=tiL0p-3JspGcBRj4qa3rmoBFAuadk71l2ja2lJN6CEs,75
61
- iolanta/facets/textual_class/facets.py,sha256=W3-N7bekk-bKwrb2rTPwmySGF42-uV7aqLPAiHwFSU4,6496
61
+ iolanta/facets/textual_class/facets.py,sha256=qDljrtu7poPuvwRFwtmOlLccsIMhAKrzIQ5_OHeXQZE,6493
62
62
  iolanta/facets/textual_class/sparql/instances.sparql,sha256=tmG4tuYrROKo3A7idjOEblAeNPXiiExHxc6k3fhalSM,113
63
63
  iolanta/facets/textual_default/__init__.py,sha256=snxA0FEY9qfAxNv3MlZLrJsXugD4dvs5hLStZWV7soM,158
64
64
  iolanta/facets/textual_default/facets.py,sha256=Pf5GttQ7EG0ZodjwwVXzYMffHus3MAZdJUIcbddcYtw,4738
@@ -69,23 +69,23 @@ iolanta/facets/textual_default/sparql/properties.sparql,sha256=stDbvFP4g6YKYphpN
69
69
  iolanta/facets/textual_default/tcss/default.tcss,sha256=v6k6LvZMndRW4t9Iq-7QF59U_LJTdohRsyavwTY5ruI,69
70
70
  iolanta/facets/textual_default/templates/default.md,sha256=CuD5lISsE2eAVnm2z6kfNff-vEgrNG95Wi5LTgkieWY,21
71
71
  iolanta/facets/textual_default/triple_uri_ref.py,sha256=XfuNPaAe-YxH8IyrdrHQ641aWh5zVMVs0L0WC3D6A4M,1279
72
- iolanta/facets/textual_default/widgets.py,sha256=yOw3qJlwXYNqz3HuuRiVM0IZ-YSto_IeI2Hgv6n1BxU,9189
72
+ iolanta/facets/textual_default/widgets.py,sha256=0f8gJmo447O5e_KwVxyb3hdVNzDJQTUf9GmRnp6hfrA,9183
73
73
  iolanta/facets/textual_graph/__init__.py,sha256=DWd2gljzL8SiyYKQdBH78HouF1EMqgCH-w0K5OEmL2I,59
74
- iolanta/facets/textual_graph/facets.py,sha256=ZjWEEjzYGHRODvTUPiTFjKEjFQx59Bq-1v_RXU54M9k,876
74
+ iolanta/facets/textual_graph/facets.py,sha256=NGg0i1XYmdR8gjMd-D4Ckvu_n7m7s1FA68VSUm7cpj0,873
75
75
  iolanta/facets/textual_graph/sparql/triples.sparql,sha256=5rFVGcvZzEHZj2opQQp0YlxJLpEdl-r1RjkPwo8j7t0,145
76
- iolanta/facets/textual_graph_triples.py,sha256=EsJvNFw_pqXjHXQYuMmhGCGrIN85Y6rBfl_UEsuTdY8,3867
76
+ iolanta/facets/textual_graph_triples.py,sha256=oJa4pj71r-gODYk9otIrq-tSiV2SsaofhErUXJWRlKE,3864
77
77
  iolanta/facets/textual_link/__init__.py,sha256=ShlMaq2nrpinGZFutjGNKaZQhGKQGOz_VUQzUqq3U7o,95
78
78
  iolanta/facets/textual_link/facet.py,sha256=XJXq97M3_IJBXSYWV3NAYzT96TrvNDgrUQXLP81d3K0,655
79
79
  iolanta/facets/textual_nanopublication/__init__.py,sha256=ZYYw08MZbIiTpX4xm8AJ3eJnu9GgdOeuRDVibBDOtZc,114
80
80
  iolanta/facets/textual_nanopublication/facet.py,sha256=1F-8E5tU0n_ukHPqcnksu8UlmRyyL_vxgG4qUWFp5ZA,369
81
81
  iolanta/facets/textual_nanopublication/models.py,sha256=MphggSvKmYac6v866GOKW5lcQjNIbGvwIuJonKuQRVs,177
82
- iolanta/facets/textual_nanopublication/nanopublication_widget.py,sha256=jDqHtmWdNUBH571QbDY9C3efmni32OPu6DXA62mjPlA,2390
83
- iolanta/facets/textual_nanopublication/term_list_widget.py,sha256=_xfVNT1kz3WHqT4uVGci18DHBtGb25_GDt3cuH1N60E,995
82
+ iolanta/facets/textual_nanopublication/nanopublication_widget.py,sha256=sQPgEx25XJ15VqB5zjZuz2q2bf_B5GWXEp32FAufxQ4,2387
83
+ iolanta/facets/textual_nanopublication/term_list_widget.py,sha256=NZNATKjFmgI2sE5R0ebyQh5Qk2g-kf-MT4YZ-Vw78M4,992
84
84
  iolanta/facets/textual_nanopublication/term_widget.py,sha256=uI5msCTSIYumAIS3I8nBfUz57_vRzvCKkouevrS3Qwk,3536
85
85
  iolanta/facets/textual_ontology/__init__.py,sha256=3H6bfYaEbXFr90C6ZpGWC4O-24uaO18tnTXx7mckQSA,94
86
86
  iolanta/facets/textual_ontology/facets.py,sha256=60g8ANmePb9_i_-d4ui-FdtNwg9aktrOKXHkTQtLp1w,3338
87
87
  iolanta/facets/textual_ontology/sparql/terms.sparql,sha256=oVLxN452nqog_95qRaTWnvar6rxPNxPrRonSo7oFFTg,324
88
- iolanta/facets/textual_ontology/sparql/visualization-vocab.sparql,sha256=UNbU2Qt5C1Vq-CvdVhok7wecnu6p_IDtw7A8n_g6lBs,66
88
+ iolanta/facets/textual_ontology/sparql/visualization-vocab.sparql,sha256=q9TmU15deL0da28mpo_8W8fgMSEcENfYeqLyM0zVbTg,65
89
89
  iolanta/facets/textual_provenance/__init__.py,sha256=k5-_iK8Lrdwr5ZEJaDxq-UhGYe4G_adXVqGfOA5DAP8,114
90
90
  iolanta/facets/textual_provenance/facets.py,sha256=vv3UQsI2duB36DW5Zkw3sqgAXBPmK_xAo7cU0O7jF8g,3767
91
91
  iolanta/facets/textual_provenance/sparql/graphs.sparql,sha256=B45uKFd-1vrBuMDSbTURjUUEjHt51vAbqdL4tUcgMvk,103
@@ -96,7 +96,7 @@ iolanta/facets/title/sparql/title.sparql,sha256=4rz47tjwX2OJavWMzftaYKil1-ZHB76Z
96
96
  iolanta/facets/wikibase_statement_title/__init__.py,sha256=_yk1akxgSJOiUBJIc8QGrD2vovvmx_iw_vJDuv1rD7M,91
97
97
  iolanta/facets/wikibase_statement_title/facets.py,sha256=mUH7twlAgoeX7DgLQuRBQv4ORT6GWbN-0eJ1aliSfiQ,724
98
98
  iolanta/facets/wikibase_statement_title/sparql/statement-title.sparql,sha256=n07DQWxKqB5c3CA4kacq2HSN0R0dLgnMnLP1AxMo5YA,320
99
- iolanta/iolanta.py,sha256=kSMYvDmyjpSDgqLppeI835fHRl1YOVfuwiodIrVlUwo,12954
99
+ iolanta/iolanta.py,sha256=3oxkE3nG8zBE7v46zuO3ftga623D2Nl_M-nMLtVC8Bk,12852
100
100
  iolanta/loaders/__init__.py,sha256=QTiKCsQc1BTS-IlY2CQsN9iVpEIPqYFvI9ERMYVZCbU,99
101
101
  iolanta/loaders/base.py,sha256=-DxYwqG1bfDXB2p_S-mKpkc_3Sh14OHhePbe65Iq3-s,3381
102
102
  iolanta/loaders/data_type_choice.py,sha256=zRUXBIzjvuW28P_dhMDVevE9C8EFEIx2_X39WydWrtM,1982
@@ -109,7 +109,7 @@ iolanta/loaders/scheme_choice.py,sha256=GHA4JAD-Qq3uNdej4vs_bCrN1WMRshVRvOMxaYyP
109
109
  iolanta/models.py,sha256=L0iFaga4-PCaWP18WmT03NLK_oT7q49V0WMTQskoffI,2824
110
110
  iolanta/namespaces.py,sha256=fyWDCGPwU8Cs8d-Vmci4H0-fuIe7BMSevvEKFvG7Gf4,1153
111
111
  iolanta/node_to_qname.py,sha256=a82_qpgT87cbekY_76tTkl4Z-6Rz6am4UGIQChUf9Y0,794
112
- iolanta/parse_quads.py,sha256=yOI154hGRCNv4UjEuhicP0cQWNWid_52mE86VWYfH8w,2833
112
+ iolanta/parse_quads.py,sha256=nQeX9zSjDoITH1lmd25xhKq44bFTqcayFbAguXfFyh4,2790
113
113
  iolanta/parsers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
114
114
  iolanta/parsers/base.py,sha256=ZFjj0BLzW4985BdC6PwbngenhMuSYW5mNLpprZRWjhA,1048
115
115
  iolanta/parsers/dict_parser.py,sha256=t_OK2meUh49DqSaOYkSgEwxMKUNNgjJY8rZAyL4NQKI,4546
@@ -123,12 +123,11 @@ iolanta/resolvers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU
123
123
  iolanta/resolvers/base.py,sha256=cc9bcrVZ0wTwn85I-IYCwcIRU5Lwaph8D00C0dwSOm8,302
124
124
  iolanta/resolvers/python_import.py,sha256=kDOhApBDFfxnrDgK9M7ztMkqXfcny81Zo86FgPFb-LI,1301
125
125
  iolanta/shortcuts.py,sha256=j8b0E_yeoas8GumsPOfxO2v2jO0noqpmKJ6LFxFfsu4,1892
126
- iolanta/stack.py,sha256=ZN1P3CbZ5r0V61SDWtQNDsKAcl-10RU9cCU9_6rcUfY,234
127
126
  iolanta/widgets/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
128
127
  iolanta/widgets/mixin.py,sha256=nDRCOc-gizCf1a5DAcYs4hW8eZEd6pHBPFsfm0ncv7E,251
129
128
  ldflex/__init__.py,sha256=8IELqR55CQXuI0BafjobXSK7_kOc-qKVTrEtEwXnZRA,33
130
129
  ldflex/ldflex.py,sha256=omKmOo5PUyn8Evw4q_lqKCJOq6yqVOcLAYxnYkdwOUs,3332
131
- iolanta-1.2.10.dist-info/METADATA,sha256=lIe4h7C7wwGdKHlxNuq07vOGeT3M5-AXhiVUflo0KWw,2295
132
- iolanta-1.2.10.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
133
- iolanta-1.2.10.dist-info/entry_points.txt,sha256=fIp9g4kzjSNcTsTSjUCk4BIG3laHd3b3hUZlkjgFAGU,179
134
- iolanta-1.2.10.dist-info/RECORD,,
130
+ iolanta-2.0.0.dist-info/METADATA,sha256=Lg09YX2eoU7Dr4AaYDKUl5-978C-m0TeFX53zE0W9l4,2230
131
+ iolanta-2.0.0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
132
+ iolanta-2.0.0.dist-info/entry_points.txt,sha256=fIp9g4kzjSNcTsTSjUCk4BIG3laHd3b3hUZlkjgFAGU,179
133
+ iolanta-2.0.0.dist-info/RECORD,,
iolanta/stack.py DELETED
@@ -1,11 +0,0 @@
1
- from dataclasses import dataclass, field
2
- from typing import List
3
-
4
- from rdflib.term import Node
5
-
6
-
7
- @dataclass
8
- class Stack:
9
- node: Node
10
- facet: 'iolanta.facets.facet.Facet'
11
- children: List['Stack'] = field(default_factory=list)