weave-python 0.28.2__py3-none-any.whl → 0.30.3__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.
- weave/weaveapi/auth/v1/service_pb2.py +194 -98
- weave/weaveapi/auth/v1/service_pb2.pyi +1288 -1134
- weave/weaveapi/auth/v1/service_pb2_grpc.pyi +248 -335
- weave/weaveapi/auth/v1/session_pb2.py +14 -6
- weave/weaveapi/auth/v1/session_pb2.pyi +109 -89
- weave/weaveapi/auth/v1/session_pb2_grpc.pyi +11 -10
- weave/weaveapi/auth/v1/usage_pb2.py +18 -14
- weave/weaveapi/auth/v1/usage_pb2.pyi +251 -197
- weave/weaveapi/auth/v1/usage_pb2_grpc.pyi +11 -10
- weave/weaveapi/auth/v1/user_pb2.py +60 -18
- weave/weaveapi/auth/v1/user_pb2.pyi +588 -505
- weave/weaveapi/auth/v1/user_pb2_grpc.pyi +11 -10
- weave/weaveapi/generate/v1/configuration_pb2.py +31 -19
- weave/weaveapi/generate/v1/configuration_pb2.pyi +277 -241
- weave/weaveapi/generate/v1/configuration_pb2_grpc.pyi +11 -10
- weave/weaveapi/generate/v1/generate_pb2.py +32 -6
- weave/weaveapi/generate/v1/generate_pb2.pyi +138 -40
- weave/weaveapi/generate/v1/generate_pb2_grpc.pyi +11 -10
- weave/weaveapi/generate/v1/service_pb2.py +52 -22
- weave/weaveapi/generate/v1/service_pb2.pyi +264 -135
- weave/weaveapi/generate/v1/service_pb2_grpc.py +47 -0
- weave/weaveapi/generate/v1/service_pb2_grpc.pyi +89 -78
- weave/weaveapi/llmx/v1/architecture_pb2.py +42 -42
- weave/weaveapi/llmx/v1/architecture_pb2.pyi +664 -555
- weave/weaveapi/llmx/v1/architecture_pb2_grpc.pyi +11 -10
- weave/weaveapi/llmx/v1/capabilities_pb2.py +88 -56
- weave/weaveapi/llmx/v1/capabilities_pb2.pyi +967 -852
- weave/weaveapi/llmx/v1/capabilities_pb2_grpc.pyi +11 -10
- weave/weaveapi/llmx/v1/model_pb2.py +56 -20
- weave/weaveapi/llmx/v1/model_pb2.pyi +533 -455
- weave/weaveapi/llmx/v1/model_pb2_grpc.pyi +11 -10
- weave/weaveapi/llmx/v1/pricing_pb2.py +24 -20
- weave/weaveapi/llmx/v1/pricing_pb2.pyi +194 -172
- weave/weaveapi/llmx/v1/pricing_pb2_grpc.pyi +11 -10
- weave/weaveapi/llmx/v1/provider_pb2.py +6 -6
- weave/weaveapi/llmx/v1/provider_pb2.pyi +84 -59
- weave/weaveapi/llmx/v1/provider_pb2_grpc.pyi +11 -10
- weave/weaveapi/llmx/v1/service_pb2.py +228 -90
- weave/weaveapi/llmx/v1/service_pb2.pyi +1651 -1403
- weave/weaveapi/llmx/v1/service_pb2_grpc.pyi +160 -203
- weave/weaveapi/mcpregistry/v1/server_pb2.py +16 -10
- weave/weaveapi/mcpregistry/v1/server_pb2.pyi +143 -121
- weave/weaveapi/mcpregistry/v1/server_pb2_grpc.pyi +11 -10
- weave/weaveapi/mcpregistry/v1/service_pb2.py +51 -31
- weave/weaveapi/mcpregistry/v1/service_pb2.pyi +132 -122
- weave/weaveapi/mcpregistry/v1/service_pb2_grpc.pyi +87 -112
- weave/weaveapi/payment/v1/invoice_pb2.py +38 -12
- weave/weaveapi/payment/v1/invoice_pb2.pyi +352 -291
- weave/weaveapi/payment/v1/invoice_pb2_grpc.pyi +11 -10
- weave/weaveapi/payment/v1/service_pb2.py +264 -98
- weave/weaveapi/payment/v1/service_pb2.pyi +1381 -1242
- weave/weaveapi/payment/v1/service_pb2_grpc.pyi +229 -319
- weave/weaveapi/payment/v1/subscription_pb2.py +99 -23
- weave/weaveapi/payment/v1/subscription_pb2.pyi +727 -611
- weave/weaveapi/payment/v1/subscription_pb2_grpc.pyi +11 -10
- weave/weaveapi/storage/v1/auth_pb2.py +6 -6
- weave/weaveapi/storage/v1/auth_pb2.pyi +42 -29
- weave/weaveapi/storage/v1/auth_pb2_grpc.pyi +11 -10
- weave/weaveapi/storage/v1/nosql_database_pb2.py +47 -23
- weave/weaveapi/storage/v1/nosql_database_pb2.pyi +438 -372
- weave/weaveapi/storage/v1/nosql_database_pb2_grpc.pyi +11 -10
- weave/weaveapi/storage/v1/object_store_pb2.py +27 -13
- weave/weaveapi/storage/v1/object_store_pb2.pyi +203 -187
- weave/weaveapi/storage/v1/object_store_pb2_grpc.pyi +11 -10
- weave/weaveapi/storage/v1/service_pb2.py +96 -36
- weave/weaveapi/storage/v1/service_pb2.pyi +414 -357
- weave/weaveapi/storage/v1/service_pb2_grpc.pyi +88 -107
- weave/weaveapi/storage/v1/sql_database_pb2.py +39 -23
- weave/weaveapi/storage/v1/sql_database_pb2.pyi +481 -400
- weave/weaveapi/storage/v1/sql_database_pb2_grpc.pyi +11 -10
- weave/weaveapi/storage/v1/storage_pb2.py +20 -6
- weave/weaveapi/storage/v1/storage_pb2.pyi +79 -70
- weave/weaveapi/storage/v1/storage_pb2_grpc.pyi +11 -10
- weave/weaveapi/synthesize/v1/dataset_pb2.py +14 -12
- weave/weaveapi/synthesize/v1/dataset_pb2.pyi +158 -128
- weave/weaveapi/synthesize/v1/dataset_pb2_grpc.pyi +11 -10
- weave/weaveapi/synthesize/v1/inline_data_pb2.py +9 -9
- weave/weaveapi/synthesize/v1/inline_data_pb2.pyi +31 -27
- weave/weaveapi/synthesize/v1/inline_data_pb2_grpc.pyi +11 -10
- weave/weaveapi/synthesize/v1/relationship_pb2.py +19 -11
- weave/weaveapi/synthesize/v1/relationship_pb2.pyi +67 -64
- weave/weaveapi/synthesize/v1/relationship_pb2_grpc.pyi +11 -10
- weave/weaveapi/synthesize/v1/service_pb2.py +42 -24
- weave/weaveapi/synthesize/v1/service_pb2.pyi +202 -168
- weave/weaveapi/synthesize/v1/service_pb2_grpc.pyi +67 -79
- weave/weaveapi/synthesize/v1/training_pb2.py +19 -13
- weave/weaveapi/synthesize/v1/training_pb2.pyi +119 -106
- weave/weaveapi/synthesize/v1/training_pb2_grpc.pyi +11 -10
- weave/weavesql/llmxdb/capabilities.py +487 -0
- weave/weavesql/llmxdb/changes.py +297 -0
- weave/weavesql/llmxdb/models.py +594 -0
- weave/weavesql/llmxdb/providers.py +348 -0
- weave/weavesql/llmxdb/scraper_runs.py +287 -0
- weave/weavesql/llmxdb/search.py +721 -0
- weave/weavesql/weavedb/dataset.py +75 -0
- weave/weavesql/weavedb/models.py +135 -0
- weave/weavesql/weavedb/relationships.py +72 -0
- weave/weavesql/weavedb/storage.py +113 -0
- weave/weavesql/weavedb/synthesizer.py +107 -0
- {weave_python-0.28.2.dist-info → weave_python-0.30.3.dist-info}/METADATA +3 -3
- weave_python-0.30.3.dist-info/RECORD +131 -0
- {weave_python-0.28.2.dist-info → weave_python-0.30.3.dist-info}/WHEEL +1 -1
- weave_python-0.28.2.dist-info/RECORD +0 -120
- {weave_python-0.28.2.dist-info → weave_python-0.30.3.dist-info}/licenses/LICENSE +0 -0
|
@@ -3,18 +3,19 @@
|
|
|
3
3
|
isort:skip_file
|
|
4
4
|
"""
|
|
5
5
|
|
|
6
|
-
import abc
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import grpc
|
|
10
|
-
import typing
|
|
6
|
+
from collections import abc as _abc
|
|
7
|
+
from grpc import aio as _aio
|
|
8
|
+
import abc as _abc_1
|
|
9
|
+
import grpc as _grpc
|
|
10
|
+
import typing as _typing
|
|
11
11
|
|
|
12
|
-
_T =
|
|
12
|
+
_T = _typing.TypeVar("_T")
|
|
13
13
|
|
|
14
14
|
class _MaybeAsyncIterator(
|
|
15
|
-
|
|
16
|
-
collections.abc.Iterator[_T],
|
|
17
|
-
metaclass=abc.ABCMeta,
|
|
15
|
+
_abc.AsyncIterator[_T], _abc.Iterator[_T], metaclass=_abc_1.ABCMeta
|
|
18
16
|
): ...
|
|
19
|
-
class _ServicerContext(
|
|
17
|
+
class _ServicerContext(_grpc.ServicerContext, _aio.ServicerContext): # type: ignore[misc, type-arg]
|
|
20
18
|
...
|
|
19
|
+
|
|
20
|
+
GRPC_GENERATED_VERSION: str
|
|
21
|
+
GRPC_VERSION: str
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
3
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
4
|
# source: weaveapi/generate/v1/configuration.proto
|
|
5
|
-
# Protobuf Python Version: 6.
|
|
5
|
+
# Protobuf Python Version: 6.33.5
|
|
6
6
|
"""Generated protocol buffer code."""
|
|
7
7
|
|
|
8
8
|
from google.protobuf import descriptor as _descriptor
|
|
@@ -14,8 +14,8 @@ from google.protobuf.internal import builder as _builder
|
|
|
14
14
|
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
15
15
|
_runtime_version.Domain.PUBLIC,
|
|
16
16
|
6,
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
33,
|
|
18
|
+
5,
|
|
19
19
|
"",
|
|
20
20
|
"weaveapi/generate/v1/configuration.proto",
|
|
21
21
|
)
|
|
@@ -25,7 +25,7 @@ _sym_db = _symbol_database.Default()
|
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
|
|
28
|
-
b'\n(weaveapi/generate/v1/configuration.proto\x12\x14weaveapi.generate.v1"\
|
|
28
|
+
b'\n(weaveapi/generate/v1/configuration.proto\x12\x14weaveapi.generate.v1\x1a!google/protobuf/go_features.proto"\x80\x02\n\rConfiguration\x12\x1f\n\x0bnum_records\x18\x01 \x01(\x03R\nnumRecords\x12N\n\x0c\x64\x61ta_quality\x18\x03 \x01(\x0b\x32\'.weaveapi.generate.v1.DataQualityConfigB\x02(\x01R\x0b\x64\x61taQuality\x12\x41\n\x07privacy\x18\x04 \x01(\x0b\x32#.weaveapi.generate.v1.PrivacyConfigB\x02(\x01R\x07privacy\x12;\n\x05model\x18\x05 \x01(\x0b\x32!.weaveapi.generate.v1.ModelConfigB\x02(\x01R\x05model"\xa9\x02\n\x11\x44\x61taQualityConfig\x12\x31\n\x14\x63orrelation_accuracy\x18\x01 \x01(\x02R\x13\x63orrelationAccuracy\x12\x35\n\x16statistical_similarity\x18\x02 \x01(\x02R\x15statisticalSimilarity\x12+\n\x11preserve_outliers\x18\x03 \x01(\x08R\x10preserveOutliers\x12/\n\x13\x65nforce_constraints\x18\x04 \x01(\x08R\x12\x65nforceConstraints\x12L\n\x0b\x63onstraints\x18\x05 \x03(\x0b\x32&.weaveapi.generate.v1.ColumnConstraintB\x02(\x01R\x0b\x63onstraints"\xe2\x01\n\x10\x43olumnConstraint\x12\x1f\n\x0b\x63olumn_name\x18\x01 \x01(\tR\ncolumnName\x12\'\n\x0f\x63onstraint_type\x18\x02 \x01(\tR\x0e\x63onstraintType\x12\x1b\n\tmin_value\x18\x03 \x01(\tR\x08minValue\x12\x1b\n\tmax_value\x18\x04 \x01(\tR\x08maxValue\x12#\n\rregex_pattern\x18\x05 \x01(\tR\x0cregexPattern\x12%\n\x0e\x61llowed_values\x18\x06 \x03(\tR\rallowedValues"\xd1\x01\n\rPrivacyConfig\x12\x18\n\x07\x65psilon\x18\x01 \x01(\x02R\x07\x65psilon\x12*\n\x11k_anonymity_check\x18\x02 \x01(\x08R\x0fkAnonymityCheck\x12\x17\n\x07k_value\x18\x03 \x01(\x05R\x06kValue\x12+\n\x11sensitive_columns\x18\x04 \x03(\tR\x10sensitiveColumns\x12\x34\n\x16\x65nable_privacy_metrics\x18\x05 \x01(\x08R\x14\x65nablePrivacyMetrics"\xd4\x02\n\x0bModelConfig\x12>\n\nmodel_type\x18\x01 \x01(\x0e\x32\x1f.weaveapi.generate.v1.ModelTypeR\tmodelType\x12\x16\n\x06\x65pochs\x18\x02 \x01(\x05R\x06\x65pochs\x12#\n\rlearning_rate\x18\x03 \x01(\x02R\x0clearningRate\x12\x1d\n\nbatch_size\x18\x04 \x01(\x05R\tbatchSize\x12\x64\n\x11\x63ustom_parameters\x18\x05 \x03(\x0b\x32\x37.weaveapi.generate.v1.ModelConfig.CustomParametersEntryR\x10\x63ustomParameters\x1a\x43\n\x15\x43ustomParametersEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01*\xea\x01\n\tModelType\x12\x1a\n\x16MODEL_TYPE_UNSPECIFIED\x10\x00\x12\x14\n\x10MODEL_TYPE_CTGAN\x10\x01\x12\x13\n\x0fMODEL_TYPE_TVAE\x10\x02\x12\x15\n\x11MODEL_TYPE_COPULA\x10\x03\x12\x13\n\x0fMODEL_TYPE_FAST\x10\x04\x12\x12\n\x0eMODEL_TYPE_GAN\x10\x05\x12\x13\n\x0fMODEL_TYPE_WGAN\x10\x06\x12\x14\n\x10MODEL_TYPE_SMOTE\x10\x07\x12\x17\n\x13MODEL_TYPE_BAYESIAN\x10\x08\x12\x12\n\x0eMODEL_TYPE_HMA\x10\tB\xe6\x01\n\x18\x63om.weaveapi.generate.v1B\x12\x43onfigurationProtoP\x01Z<github.com/weave-labs/weave-go/weaveapi/generate/v1;generate\xa2\x02\x03WGX\xaa\x02\x14Weaveapi.Generate.V1\xca\x02\x14Weaveapi\\Generate\\V1\xe2\x02 Weaveapi\\Generate\\V1\\GPBMetadata\xea\x02\x16Weaveapi::Generate::V1\x92\x03\x05\xd2>\x02\x10\x03\x62\x08\x65\x64itionsp\xe8\x07'
|
|
29
29
|
)
|
|
30
30
|
|
|
31
31
|
_globals = globals()
|
|
@@ -37,21 +37,33 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
37
37
|
_globals["DESCRIPTOR"]._loaded_options = None
|
|
38
38
|
_globals[
|
|
39
39
|
"DESCRIPTOR"
|
|
40
|
-
]._serialized_options = b"\n\030com.weaveapi.generate.v1B\022ConfigurationProtoP\001Z<github.com/weave-labs/weave-go/weaveapi/generate/v1;generate\242\002\003WGX\252\002\024Weaveapi.Generate.V1\312\002\024Weaveapi\\Generate\\V1\342\002 Weaveapi\\Generate\\V1\\GPBMetadata\352\002\026Weaveapi::Generate::V1"
|
|
40
|
+
]._serialized_options = b"\n\030com.weaveapi.generate.v1B\022ConfigurationProtoP\001Z<github.com/weave-labs/weave-go/weaveapi/generate/v1;generate\242\002\003WGX\252\002\024Weaveapi.Generate.V1\312\002\024Weaveapi\\Generate\\V1\342\002 Weaveapi\\Generate\\V1\\GPBMetadata\352\002\026Weaveapi::Generate::V1\222\003\005\322>\002\020\003"
|
|
41
|
+
_globals["_CONFIGURATION"].fields_by_name["data_quality"]._loaded_options = None
|
|
42
|
+
_globals["_CONFIGURATION"].fields_by_name[
|
|
43
|
+
"data_quality"
|
|
44
|
+
]._serialized_options = b"(\001"
|
|
45
|
+
_globals["_CONFIGURATION"].fields_by_name["privacy"]._loaded_options = None
|
|
46
|
+
_globals["_CONFIGURATION"].fields_by_name["privacy"]._serialized_options = b"(\001"
|
|
47
|
+
_globals["_CONFIGURATION"].fields_by_name["model"]._loaded_options = None
|
|
48
|
+
_globals["_CONFIGURATION"].fields_by_name["model"]._serialized_options = b"(\001"
|
|
49
|
+
_globals["_DATAQUALITYCONFIG"].fields_by_name["constraints"]._loaded_options = None
|
|
50
|
+
_globals["_DATAQUALITYCONFIG"].fields_by_name[
|
|
51
|
+
"constraints"
|
|
52
|
+
]._serialized_options = b"(\001"
|
|
41
53
|
_globals["_MODELCONFIG_CUSTOMPARAMETERSENTRY"]._loaded_options = None
|
|
42
54
|
_globals["_MODELCONFIG_CUSTOMPARAMETERSENTRY"]._serialized_options = b"8\001"
|
|
43
|
-
_globals["_MODELTYPE"]._serialized_start =
|
|
44
|
-
_globals["_MODELTYPE"]._serialized_end =
|
|
45
|
-
_globals["_CONFIGURATION"]._serialized_start =
|
|
46
|
-
_globals["_CONFIGURATION"]._serialized_end =
|
|
47
|
-
_globals["_DATAQUALITYCONFIG"]._serialized_start =
|
|
48
|
-
_globals["_DATAQUALITYCONFIG"]._serialized_end =
|
|
49
|
-
_globals["_COLUMNCONSTRAINT"]._serialized_start =
|
|
50
|
-
_globals["_COLUMNCONSTRAINT"]._serialized_end =
|
|
51
|
-
_globals["_PRIVACYCONFIG"]._serialized_start =
|
|
52
|
-
_globals["_PRIVACYCONFIG"]._serialized_end =
|
|
53
|
-
_globals["_MODELCONFIG"]._serialized_start =
|
|
54
|
-
_globals["_MODELCONFIG"]._serialized_end =
|
|
55
|
-
_globals["_MODELCONFIG_CUSTOMPARAMETERSENTRY"]._serialized_start =
|
|
56
|
-
_globals["_MODELCONFIG_CUSTOMPARAMETERSENTRY"]._serialized_end =
|
|
55
|
+
_globals["_MODELTYPE"]._serialized_start = 1445
|
|
56
|
+
_globals["_MODELTYPE"]._serialized_end = 1679
|
|
57
|
+
_globals["_CONFIGURATION"]._serialized_start = 102
|
|
58
|
+
_globals["_CONFIGURATION"]._serialized_end = 358
|
|
59
|
+
_globals["_DATAQUALITYCONFIG"]._serialized_start = 361
|
|
60
|
+
_globals["_DATAQUALITYCONFIG"]._serialized_end = 658
|
|
61
|
+
_globals["_COLUMNCONSTRAINT"]._serialized_start = 661
|
|
62
|
+
_globals["_COLUMNCONSTRAINT"]._serialized_end = 887
|
|
63
|
+
_globals["_PRIVACYCONFIG"]._serialized_start = 890
|
|
64
|
+
_globals["_PRIVACYCONFIG"]._serialized_end = 1099
|
|
65
|
+
_globals["_MODELCONFIG"]._serialized_start = 1102
|
|
66
|
+
_globals["_MODELCONFIG"]._serialized_end = 1442
|
|
67
|
+
_globals["_MODELCONFIG_CUSTOMPARAMETERSENTRY"]._serialized_start = 1375
|
|
68
|
+
_globals["_MODELCONFIG_CUSTOMPARAMETERSENTRY"]._serialized_end = 1442
|
|
57
69
|
# @@protoc_insertion_point(module_scope)
|