alis.open.config.v1 1.2.0__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.
@@ -0,0 +1,8 @@
1
+ Metadata-Version: 2.4
2
+ Name: alis.open.config.v1
3
+ Version: 1.2.0
4
+ Summary: Protobufs generated by Alis Build
5
+ Requires-Dist: google-common-protos>=0.0.1
6
+ Requires-Dist: alis-services-protobuf-open>=1.176.0
7
+ Dynamic: requires-dist
8
+ Dynamic: summary
@@ -0,0 +1 @@
1
+ __import__("pkg_resources").declare_namespace(__name__)
@@ -0,0 +1 @@
1
+ __import__("pkg_resources").declare_namespace(__name__)
@@ -0,0 +1 @@
1
+ __import__("pkg_resources").declare_namespace(__name__)
@@ -0,0 +1 @@
1
+ __import__("pkg_resources").declare_namespace(__name__)
@@ -0,0 +1 @@
1
+ __import__("pkg_resources").declare_namespace(__name__)
@@ -0,0 +1 @@
1
+ __import__("pkg_resources").declare_namespace(__name__)
@@ -0,0 +1 @@
1
+ __import__("pkg_resources").declare_namespace(__name__)
@@ -0,0 +1 @@
1
+ __import__("pkg_resources").declare_namespace(__name__)
@@ -0,0 +1,38 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: alis/open/config/v1/config.proto
5
+ # Protobuf Python Version: 6.33.5
6
+ """Generated protocol buffer code."""
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import runtime_version as _runtime_version
10
+ from google.protobuf import symbol_database as _symbol_database
11
+ from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 6,
15
+ 33,
16
+ 5,
17
+ '',
18
+ 'alis/open/config/v1/config.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+ from alis.open.iam.v1 import role_pb2 as alis_dot_open_dot_iam_dot_v1_dot_role__pb2
26
+
27
+
28
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n alis/open/config/v1/config.proto\x12\x13\x61lis.open.config.v1\x1a\x1b\x61lis/open/iam/v1/role.proto\"\xa7\x01\n\rProductConfig\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x0e\n\x02id\x18\x02 \x01(\tR\x02id\x12\x1d\n\nproject_id\x18\x03 \x01(\tR\tprojectId\x12%\n\x0eproject_number\x18\x04 \x01(\tR\rprojectNumber\x12,\n\x05roles\x18\x05 \x03(\x0b\x32\x16.alis.open.iam.v1.RoleR\x05rolesB\'Z%go.alis.build/common/alis/open/configb\x06proto3')
29
+
30
+ _globals = globals()
31
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
32
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'alis.open.config.v1.config_pb2', _globals)
33
+ if not _descriptor._USE_C_DESCRIPTORS:
34
+ _globals['DESCRIPTOR']._loaded_options = None
35
+ _globals['DESCRIPTOR']._serialized_options = b'Z%go.alis.build/common/alis/open/config'
36
+ _globals['_PRODUCTCONFIG']._serialized_start=87
37
+ _globals['_PRODUCTCONFIG']._serialized_end=254
38
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,52 @@
1
+ """
2
+ @generated by mypy-protobuf. Do not edit manually!
3
+ isort:skip_file
4
+ """
5
+
6
+ from alis.open.iam.v1 import role_pb2 as _role_pb2
7
+ from collections import abc as _abc
8
+ from google.protobuf import descriptor as _descriptor
9
+ from google.protobuf import message as _message
10
+ from google.protobuf.internal import containers as _containers
11
+ import builtins as _builtins
12
+ import sys
13
+ import typing as _typing
14
+
15
+ if sys.version_info >= (3, 11):
16
+ from typing import TypeAlias as _TypeAlias, Never as _Never
17
+ else:
18
+ from typing_extensions import TypeAlias as _TypeAlias, Never as _Never
19
+
20
+ DESCRIPTOR: _descriptor.FileDescriptor
21
+
22
+ @_typing.final
23
+ class ProductConfig(_message.Message):
24
+ DESCRIPTOR: _descriptor.Descriptor
25
+
26
+ NAME_FIELD_NUMBER: _builtins.int
27
+ ID_FIELD_NUMBER: _builtins.int
28
+ PROJECT_ID_FIELD_NUMBER: _builtins.int
29
+ PROJECT_NUMBER_FIELD_NUMBER: _builtins.int
30
+ ROLES_FIELD_NUMBER: _builtins.int
31
+ name: _builtins.str
32
+ id: _builtins.str
33
+ project_id: _builtins.str
34
+ project_number: _builtins.str
35
+ @_builtins.property
36
+ def roles(self) -> _containers.RepeatedCompositeFieldContainer[_role_pb2.Role]: ...
37
+ def __init__(
38
+ self,
39
+ *,
40
+ name: _builtins.str = ...,
41
+ id: _builtins.str = ...,
42
+ project_id: _builtins.str = ...,
43
+ project_number: _builtins.str = ...,
44
+ roles: _abc.Iterable[_role_pb2.Role] | None = ...,
45
+ ) -> None: ...
46
+ _HasFieldArgType: _TypeAlias = _Never # noqa: Y015
47
+ def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
48
+ _ClearFieldArgType: _TypeAlias = _typing.Literal["id", b"id", "name", b"name", "project_id", b"project_id", "project_number", b"project_number", "roles", b"roles"] # noqa: Y015
49
+ def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
50
+ def WhichOneof(self, oneof_group: _Never) -> None: ...
51
+
52
+ Global___ProductConfig: _TypeAlias = ProductConfig # noqa: Y015
@@ -0,0 +1,24 @@
1
+ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2
+ """Client and server classes corresponding to protobuf-defined services."""
3
+ import grpc
4
+ import warnings
5
+
6
+
7
+ GRPC_GENERATED_VERSION = '1.81.1'
8
+ GRPC_VERSION = grpc.__version__
9
+ _version_not_supported = False
10
+
11
+ try:
12
+ from grpc._utilities import first_version_is_lower
13
+ _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
14
+ except ImportError:
15
+ _version_not_supported = True
16
+
17
+ if _version_not_supported:
18
+ raise RuntimeError(
19
+ f'The grpc package installed is at version {GRPC_VERSION},'
20
+ + ' but the generated code in alis/open/config/v1/config_pb2_grpc.py depends on'
21
+ + f' grpcio>={GRPC_GENERATED_VERSION}.'
22
+ + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
23
+ + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
24
+ )
@@ -0,0 +1,20 @@
1
+ """
2
+ @generated by mypy-protobuf. Do not edit manually!
3
+ isort:skip_file
4
+ """
5
+
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
+
12
+ _T = _typing.TypeVar("_T")
13
+
14
+ class _MaybeAsyncIterator(_abc.AsyncIterator[_T], _abc.Iterator[_T], metaclass=_abc_1.ABCMeta): ...
15
+
16
+ class _ServicerContext(_grpc.ServicerContext, _aio.ServicerContext): # type: ignore[misc, type-arg]
17
+ ...
18
+
19
+ GRPC_GENERATED_VERSION: str
20
+ GRPC_VERSION: str
@@ -0,0 +1,8 @@
1
+ Metadata-Version: 2.4
2
+ Name: alis.open.config.v1
3
+ Version: 1.2.0
4
+ Summary: Protobufs generated by Alis Build
5
+ Requires-Dist: google-common-protos>=0.0.1
6
+ Requires-Dist: alis-services-protobuf-open>=1.176.0
7
+ Dynamic: requires-dist
8
+ Dynamic: summary
@@ -0,0 +1,18 @@
1
+ setup.py
2
+ alis/__init__.py
3
+ alis/__init__.pyi
4
+ alis.open.config.v1.egg-info/PKG-INFO
5
+ alis.open.config.v1.egg-info/SOURCES.txt
6
+ alis.open.config.v1.egg-info/dependency_links.txt
7
+ alis.open.config.v1.egg-info/requires.txt
8
+ alis.open.config.v1.egg-info/top_level.txt
9
+ alis/open/__init__.py
10
+ alis/open/__init__.pyi
11
+ alis/open/config/__init__.py
12
+ alis/open/config/__init__.pyi
13
+ alis/open/config/v1/__init__.py
14
+ alis/open/config/v1/__init__.pyi
15
+ alis/open/config/v1/config_pb2.py
16
+ alis/open/config/v1/config_pb2.pyi
17
+ alis/open/config/v1/config_pb2_grpc.py
18
+ alis/open/config/v1/config_pb2_grpc.pyi
@@ -0,0 +1,2 @@
1
+ google-common-protos>=0.0.1
2
+ alis-services-protobuf-open>=1.176.0
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,38 @@
1
+ import setuptools
2
+ import os
3
+ import glob
4
+
5
+ def find_package_data(base, globs, root="alis_protobuf"):
6
+ """Find all interesting data files, for setup(package_data=)
7
+ Arguments:
8
+ root: The directory to search in.
9
+ globs: A list of glob patterns to accept files.
10
+ """
11
+
12
+ rv_dirs = [root for root, dirs, files in os.walk(base)]
13
+ rv = []
14
+ for rv_dir in rv_dirs:
15
+ files = []
16
+ for pat in globs:
17
+ files += glob.glob(os.path.join(rv_dir, pat))
18
+ if not files:
19
+ continue
20
+ rv.extend([os.path.relpath(f, root) for f in files])
21
+ return rv
22
+
23
+ package_data = find_package_data("alis_protobuf", ["*.py", "*.pyi"])
24
+
25
+ setuptools.setup(
26
+ name="alis.open.config.v1",
27
+ version="1.2.0",
28
+ description="Protobufs generated by Alis Build",
29
+ packages=setuptools.find_packages(),
30
+ include_package_data=True,
31
+ package_data={ # Optional
32
+ "alis_protobuf": package_data,
33
+ },
34
+ install_requires=[
35
+ 'google-common-protos>=0.0.1',
36
+ 'alis-services-protobuf-open>=1.176.0'
37
+ ]
38
+ )