oli-python 2.0.1__tar.gz → 2.0.2__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: oli-python
3
- Version: 2.0.1
3
+ Version: 2.0.2
4
4
  Summary: Python SDK for interacting with the Open Labels Initiative; A standard, registry and trust layer for EVM address labels.
5
5
  Home-page: https://github.com/openlabelsinitiative/oli-python
6
6
  Author: Lorenz Lehmann
@@ -13,12 +13,16 @@ class UtilsTrust:
13
13
  # init trust variables
14
14
  try:
15
15
  self.raw_trust_lists = self.get_trust_lists_from_api()
16
+ except:
17
+ self.raw_trust_lists = {}
18
+ try:
16
19
  self.TrustGraph = self.build_trust_graph(self.raw_trust_lists)
20
+ except:
21
+ self.TrustGraph = nx.MultiDiGraph()
22
+ try:
17
23
  self.trust_table = self.compute_trust_table(self.TrustGraph, source_node=self.oli.source_address)
18
24
  except:
19
- self.raw_trust_lists = {}
20
25
  self.trust_table = {}
21
- self.TrustGraph = nx.MultiDiGraph()
22
26
 
23
27
  # computes the trust table for a given source node
24
28
  def compute_trust_table(self, TrustGraph: nx.MultiDiGraph, source_node: str=None) -> dict:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: oli-python
3
- Version: 2.0.1
3
+ Version: 2.0.2
4
4
  Summary: Python SDK for interacting with the Open Labels Initiative; A standard, registry and trust layer for EVM address labels.
5
5
  Home-page: https://github.com/openlabelsinitiative/oli-python
6
6
  Author: Lorenz Lehmann
@@ -5,7 +5,7 @@ with open("README.md", "r", encoding="utf-8") as fh:
5
5
 
6
6
  setup(
7
7
  name="oli-python",
8
- version="2.0.1",
8
+ version="2.0.2",
9
9
  author="Lorenz Lehmann",
10
10
  author_email="lorenz@growthepie.com",
11
11
  description="Python SDK for interacting with the Open Labels Initiative; A standard, registry and trust layer for EVM address labels.",
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes