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.
Files changed (38) hide show
  1. vbase/__init__.py +79 -0
  2. vbase/_version.py +3 -0
  3. vbase/core/__init__.py +4 -0
  4. vbase/core/abi/CommitmentService.json +991 -0
  5. vbase/core/abi/CommitmentServiceTest.json +1296 -0
  6. vbase/core/aggregate_indexing_service.py +113 -0
  7. vbase/core/commitment_service.py +186 -0
  8. vbase/core/commitment_service_test.py +82 -0
  9. vbase/core/failover_indexing_service.py +62 -0
  10. vbase/core/forwarder_commitment_service.py +480 -0
  11. vbase/core/forwarder_commitment_service_test.py +98 -0
  12. vbase/core/indexing_service.py +533 -0
  13. vbase/core/models.py +48 -0
  14. vbase/core/set_matching/__init__.py +30 -0
  15. vbase/core/set_matching/base_set_matching_service.py +77 -0
  16. vbase/core/set_matching/chain_set_matching_service.py +30 -0
  17. vbase/core/set_matching/fuzzy_set_matching_service.py +351 -0
  18. vbase/core/set_matching/head_based_set_matching_service.py +193 -0
  19. vbase/core/set_matching/types.py +92 -0
  20. vbase/core/sql_indexing_service.py +321 -0
  21. vbase/core/vbase_client.py +312 -0
  22. vbase/core/vbase_client_test.py +172 -0
  23. vbase/core/vbase_dataset.py +496 -0
  24. vbase/core/vbase_dataset_async.py +117 -0
  25. vbase/core/vbase_object.py +317 -0
  26. vbase/core/web3_commitment_service.py +273 -0
  27. vbase/core/web3_http_commitment_service.py +265 -0
  28. vbase/core/web3_http_commitment_service_test.py +96 -0
  29. vbase/utils/__init__.py +4 -0
  30. vbase/utils/crypto_utils.py +190 -0
  31. vbase/utils/error_utils.py +15 -0
  32. vbase/utils/log.py +32 -0
  33. vbase-1.0.0.dist-info/METADATA +79 -0
  34. vbase-1.0.0.dist-info/RECORD +38 -0
  35. vbase-1.0.0.dist-info/WHEEL +5 -0
  36. vbase-1.0.0.dist-info/licenses/LICENSE.txt +202 -0
  37. vbase-1.0.0.dist-info/licenses/NOTICE.txt +21 -0
  38. 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
@@ -0,0 +1,3 @@
1
+ """Package version."""
2
+
3
+ __version__ = "1.0.0"
vbase/core/__init__.py ADDED
@@ -0,0 +1,4 @@
1
+ """vbase.core
2
+
3
+ Core classes for the validityBase (vBase) platform Python library
4
+ """