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.
- {oli_python-2.0.1 → oli_python-2.0.2}/PKG-INFO +1 -1
- {oli_python-2.0.1 → oli_python-2.0.2}/oli/data/trust.py +6 -2
- {oli_python-2.0.1 → oli_python-2.0.2}/oli_python.egg-info/PKG-INFO +1 -1
- {oli_python-2.0.1 → oli_python-2.0.2}/setup.py +1 -1
- {oli_python-2.0.1 → oli_python-2.0.2}/README.md +0 -0
- {oli_python-2.0.1 → oli_python-2.0.2}/oli/__init__.py +0 -0
- {oli_python-2.0.1 → oli_python-2.0.2}/oli/attestation/__init__.py +0 -0
- {oli_python-2.0.1 → oli_python-2.0.2}/oli/attestation/offchain.py +0 -0
- {oli_python-2.0.1 → oli_python-2.0.2}/oli/attestation/onchain.py +0 -0
- {oli_python-2.0.1 → oli_python-2.0.2}/oli/attestation/utils_other.py +0 -0
- {oli_python-2.0.1 → oli_python-2.0.2}/oli/attestation/utils_validator.py +0 -0
- {oli_python-2.0.1 → oli_python-2.0.2}/oli/core.py +0 -0
- {oli_python-2.0.1 → oli_python-2.0.2}/oli/data/__init__.py +0 -0
- {oli_python-2.0.1 → oli_python-2.0.2}/oli/data/api.py +0 -0
- {oli_python-2.0.1 → oli_python-2.0.2}/oli/data/utils.py +0 -0
- {oli_python-2.0.1 → oli_python-2.0.2}/oli_python.egg-info/SOURCES.txt +0 -0
- {oli_python-2.0.1 → oli_python-2.0.2}/oli_python.egg-info/dependency_links.txt +0 -0
- {oli_python-2.0.1 → oli_python-2.0.2}/oli_python.egg-info/requires.txt +0 -0
- {oli_python-2.0.1 → oli_python-2.0.2}/oli_python.egg-info/top_level.txt +0 -0
- {oli_python-2.0.1 → oli_python-2.0.2}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: oli-python
|
|
3
|
-
Version: 2.0.
|
|
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.
|
|
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.
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|