vbase 1.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.
- vbase/__init__.py +79 -0
- vbase/_version.py +3 -0
- vbase/core/__init__.py +4 -0
- vbase/core/abi/CommitmentService.json +991 -0
- vbase/core/abi/CommitmentServiceTest.json +1296 -0
- vbase/core/aggregate_indexing_service.py +113 -0
- vbase/core/commitment_service.py +186 -0
- vbase/core/commitment_service_test.py +82 -0
- vbase/core/failover_indexing_service.py +62 -0
- vbase/core/forwarder_commitment_service.py +480 -0
- vbase/core/forwarder_commitment_service_test.py +98 -0
- vbase/core/indexing_service.py +533 -0
- vbase/core/models.py +48 -0
- vbase/core/set_matching/__init__.py +30 -0
- vbase/core/set_matching/base_set_matching_service.py +77 -0
- vbase/core/set_matching/chain_set_matching_service.py +30 -0
- vbase/core/set_matching/fuzzy_set_matching_service.py +351 -0
- vbase/core/set_matching/head_based_set_matching_service.py +193 -0
- vbase/core/set_matching/types.py +92 -0
- vbase/core/sql_indexing_service.py +321 -0
- vbase/core/vbase_client.py +312 -0
- vbase/core/vbase_client_test.py +172 -0
- vbase/core/vbase_dataset.py +496 -0
- vbase/core/vbase_dataset_async.py +117 -0
- vbase/core/vbase_object.py +317 -0
- vbase/core/web3_commitment_service.py +273 -0
- vbase/core/web3_http_commitment_service.py +265 -0
- vbase/core/web3_http_commitment_service_test.py +96 -0
- vbase/utils/__init__.py +4 -0
- vbase/utils/crypto_utils.py +190 -0
- vbase/utils/error_utils.py +15 -0
- vbase/utils/log.py +32 -0
- vbase-1.0.0.dist-info/METADATA +79 -0
- vbase-1.0.0.dist-info/RECORD +38 -0
- vbase-1.0.0.dist-info/WHEEL +5 -0
- vbase-1.0.0.dist-info/licenses/LICENSE.txt +202 -0
- vbase-1.0.0.dist-info/licenses/NOTICE.txt +21 -0
- vbase-1.0.0.dist-info/top_level.txt +1 -0
vbase/__init__.py
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
"""vbase
|
|
2
|
+
|
|
3
|
+
A Python library for interacting with the validityBase (vBase) platform
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
from vbase._version import __version__
|
|
7
|
+
from vbase.core.aggregate_indexing_service import AggregateIndexingService
|
|
8
|
+
from vbase.core.failover_indexing_service import FailoverIndexingService
|
|
9
|
+
from vbase.core.forwarder_commitment_service import ForwarderCommitmentService
|
|
10
|
+
from vbase.core.forwarder_commitment_service_test import ForwarderCommitmentServiceTest
|
|
11
|
+
from vbase.core.indexing_service import IndexingService, Web3HTTPIndexingService
|
|
12
|
+
from vbase.core.sql_indexing_service import SQLIndexingService
|
|
13
|
+
from vbase.core.vbase_client import VBaseClient
|
|
14
|
+
from vbase.core.vbase_client_test import VBaseClientTest
|
|
15
|
+
from vbase.core.vbase_dataset import (
|
|
16
|
+
VBaseDataset,
|
|
17
|
+
)
|
|
18
|
+
from vbase.core.vbase_dataset_async import (
|
|
19
|
+
VBaseDatasetAsync,
|
|
20
|
+
)
|
|
21
|
+
from vbase.core.set_matching import (
|
|
22
|
+
ChainSetMatchingService,
|
|
23
|
+
BaseSetMatchingService,
|
|
24
|
+
FuzzySetMatchingService,
|
|
25
|
+
HeadBasedSetMatchingService,
|
|
26
|
+
SetMatch,
|
|
27
|
+
SetMatchingCriteria,
|
|
28
|
+
TimestampedCid,
|
|
29
|
+
)
|
|
30
|
+
from vbase.core.vbase_object import (
|
|
31
|
+
VBaseBytesObject,
|
|
32
|
+
VBaseFloatObject,
|
|
33
|
+
VBaseIntObject,
|
|
34
|
+
VBaseJsonObject,
|
|
35
|
+
VBaseObject,
|
|
36
|
+
VBasePortfolioObject,
|
|
37
|
+
VBasePrivateFloatObject,
|
|
38
|
+
VBasePrivateIntObject,
|
|
39
|
+
VBaseStringObject,
|
|
40
|
+
)
|
|
41
|
+
from vbase.core.web3_http_commitment_service import Web3HTTPCommitmentService
|
|
42
|
+
from vbase.core.web3_http_commitment_service_test import Web3HTTPCommitmentServiceTest
|
|
43
|
+
from vbase.utils.log import get_default_logger
|
|
44
|
+
|
|
45
|
+
__all__ = [
|
|
46
|
+
"__version__",
|
|
47
|
+
"VBaseClient",
|
|
48
|
+
"VBaseClientTest",
|
|
49
|
+
"Web3HTTPCommitmentService",
|
|
50
|
+
"Web3HTTPCommitmentServiceTest",
|
|
51
|
+
"ForwarderCommitmentService",
|
|
52
|
+
"ForwarderCommitmentServiceTest",
|
|
53
|
+
"IndexingService",
|
|
54
|
+
"Web3HTTPIndexingService",
|
|
55
|
+
"SQLIndexingService",
|
|
56
|
+
|
|
57
|
+
"ChainSetMatchingService",
|
|
58
|
+
"HeadBasedSetMatchingService",
|
|
59
|
+
"FuzzySetMatchingService",
|
|
60
|
+
"BaseSetMatchingService",
|
|
61
|
+
"SetMatch",
|
|
62
|
+
"SetMatchingCriteria",
|
|
63
|
+
"TimestampedCid",
|
|
64
|
+
|
|
65
|
+
"FailoverIndexingService",
|
|
66
|
+
"AggregateIndexingService",
|
|
67
|
+
"VBaseObject",
|
|
68
|
+
"VBaseIntObject",
|
|
69
|
+
"VBasePrivateIntObject",
|
|
70
|
+
"VBaseFloatObject",
|
|
71
|
+
"VBasePrivateFloatObject",
|
|
72
|
+
"VBaseStringObject",
|
|
73
|
+
"VBaseJsonObject",
|
|
74
|
+
"VBasePortfolioObject",
|
|
75
|
+
"VBaseBytesObject",
|
|
76
|
+
"VBaseDataset",
|
|
77
|
+
"VBaseDatasetAsync",
|
|
78
|
+
"get_default_logger",
|
|
79
|
+
]
|
vbase/_version.py
ADDED
vbase/core/__init__.py
ADDED