pyspiral 0.4.0__pp310-pypy310_pp73-macosx_10_12_x86_64.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 (98) hide show
  1. pyspiral-0.4.0.dist-info/METADATA +46 -0
  2. pyspiral-0.4.0.dist-info/RECORD +98 -0
  3. pyspiral-0.4.0.dist-info/WHEEL +4 -0
  4. pyspiral-0.4.0.dist-info/entry_points.txt +2 -0
  5. spiral/__init__.py +10 -0
  6. spiral/_lib.pypy310-pp73-darwin.so +0 -0
  7. spiral/adbc.py +393 -0
  8. spiral/api/__init__.py +64 -0
  9. spiral/api/admin.py +15 -0
  10. spiral/api/client.py +160 -0
  11. spiral/api/filesystems.py +153 -0
  12. spiral/api/organizations.py +77 -0
  13. spiral/api/projects.py +197 -0
  14. spiral/api/telemetry.py +19 -0
  15. spiral/api/types.py +20 -0
  16. spiral/api/workloads.py +52 -0
  17. spiral/arrow_.py +221 -0
  18. spiral/cli/__init__.py +79 -0
  19. spiral/cli/__main__.py +4 -0
  20. spiral/cli/admin.py +16 -0
  21. spiral/cli/app.py +65 -0
  22. spiral/cli/console.py +95 -0
  23. spiral/cli/fs.py +112 -0
  24. spiral/cli/iceberg/__init__.py +7 -0
  25. spiral/cli/iceberg/namespaces.py +47 -0
  26. spiral/cli/iceberg/tables.py +60 -0
  27. spiral/cli/indexes/__init__.py +19 -0
  28. spiral/cli/login.py +22 -0
  29. spiral/cli/orgs.py +90 -0
  30. spiral/cli/printer.py +53 -0
  31. spiral/cli/projects.py +136 -0
  32. spiral/cli/state.py +5 -0
  33. spiral/cli/tables/__init__.py +121 -0
  34. spiral/cli/telemetry.py +18 -0
  35. spiral/cli/types.py +51 -0
  36. spiral/cli/workloads.py +59 -0
  37. spiral/client.py +79 -0
  38. spiral/core/__init__.pyi +0 -0
  39. spiral/core/client/__init__.pyi +117 -0
  40. spiral/core/index/__init__.pyi +15 -0
  41. spiral/core/table/__init__.pyi +108 -0
  42. spiral/core/table/manifests/__init__.pyi +35 -0
  43. spiral/core/table/metastore/__init__.pyi +62 -0
  44. spiral/core/table/spec/__init__.pyi +214 -0
  45. spiral/datetime_.py +27 -0
  46. spiral/expressions/__init__.py +245 -0
  47. spiral/expressions/base.py +149 -0
  48. spiral/expressions/http.py +86 -0
  49. spiral/expressions/io.py +100 -0
  50. spiral/expressions/list_.py +68 -0
  51. spiral/expressions/mp4.py +62 -0
  52. spiral/expressions/png.py +18 -0
  53. spiral/expressions/qoi.py +18 -0
  54. spiral/expressions/refs.py +58 -0
  55. spiral/expressions/str_.py +39 -0
  56. spiral/expressions/struct.py +59 -0
  57. spiral/expressions/text.py +62 -0
  58. spiral/expressions/tiff.py +223 -0
  59. spiral/expressions/udf.py +46 -0
  60. spiral/grpc_.py +32 -0
  61. spiral/iceberg/__init__.py +3 -0
  62. spiral/iceberg/client.py +33 -0
  63. spiral/indexes/__init__.py +5 -0
  64. spiral/indexes/client.py +137 -0
  65. spiral/indexes/index.py +34 -0
  66. spiral/indexes/scan.py +22 -0
  67. spiral/project.py +46 -0
  68. spiral/protogen/_/__init__.py +0 -0
  69. spiral/protogen/_/arrow/__init__.py +0 -0
  70. spiral/protogen/_/arrow/flight/__init__.py +0 -0
  71. spiral/protogen/_/arrow/flight/protocol/__init__.py +0 -0
  72. spiral/protogen/_/arrow/flight/protocol/sql/__init__.py +1990 -0
  73. spiral/protogen/_/scandal/__init__.py +178 -0
  74. spiral/protogen/_/spiral/__init__.py +0 -0
  75. spiral/protogen/_/spiral/table/__init__.py +22 -0
  76. spiral/protogen/_/substrait/__init__.py +3399 -0
  77. spiral/protogen/_/substrait/extensions/__init__.py +115 -0
  78. spiral/protogen/__init__.py +0 -0
  79. spiral/protogen/substrait/__init__.py +3399 -0
  80. spiral/protogen/substrait/extensions/__init__.py +115 -0
  81. spiral/protogen/util.py +41 -0
  82. spiral/py.typed +0 -0
  83. spiral/server.py +17 -0
  84. spiral/settings.py +101 -0
  85. spiral/substrait_.py +279 -0
  86. spiral/tables/__init__.py +12 -0
  87. spiral/tables/client.py +130 -0
  88. spiral/tables/dataset.py +250 -0
  89. spiral/tables/debug/__init__.py +0 -0
  90. spiral/tables/debug/manifests.py +70 -0
  91. spiral/tables/debug/metrics.py +56 -0
  92. spiral/tables/debug/scan.py +248 -0
  93. spiral/tables/maintenance.py +12 -0
  94. spiral/tables/scan.py +193 -0
  95. spiral/tables/snapshot.py +78 -0
  96. spiral/tables/table.py +157 -0
  97. spiral/tables/transaction.py +52 -0
  98. spiral/types_.py +6 -0
@@ -0,0 +1,115 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # sources: substrait/extensions/extensions.proto
3
+ # plugin: python-betterproto
4
+ # This file has been @generated
5
+
6
+ from dataclasses import dataclass
7
+ from typing import List
8
+
9
+ import betterproto
10
+ import betterproto.lib.google.protobuf as betterproto_lib_google_protobuf
11
+
12
+
13
+ @dataclass(eq=False, repr=False)
14
+ class SimpleExtensionUri(betterproto.Message):
15
+ extension_uri_anchor: int = betterproto.uint32_field(1)
16
+ """
17
+ A surrogate key used in the context of a single plan used to reference the
18
+ URI associated with an extension.
19
+ """
20
+
21
+ uri: str = betterproto.string_field(2)
22
+ """
23
+ The URI where this extension YAML can be retrieved. This is the "namespace"
24
+ of this extension.
25
+ """
26
+
27
+
28
+ @dataclass(eq=False, repr=False)
29
+ class SimpleExtensionDeclaration(betterproto.Message):
30
+ """
31
+ Describes a mapping between a specific extension entity and the uri where
32
+ that extension can be found.
33
+ """
34
+
35
+ extension_type: "SimpleExtensionDeclarationExtensionType" = (
36
+ betterproto.message_field(1, group="mapping_type")
37
+ )
38
+ extension_type_variation: "SimpleExtensionDeclarationExtensionTypeVariation" = (
39
+ betterproto.message_field(2, group="mapping_type")
40
+ )
41
+ extension_function: "SimpleExtensionDeclarationExtensionFunction" = (
42
+ betterproto.message_field(3, group="mapping_type")
43
+ )
44
+
45
+
46
+ @dataclass(eq=False, repr=False)
47
+ class SimpleExtensionDeclarationExtensionType(betterproto.Message):
48
+ """Describes a Type"""
49
+
50
+ extension_uri_reference: int = betterproto.uint32_field(1)
51
+ """
52
+ references the extension_uri_anchor defined for a specific extension URI.
53
+ """
54
+
55
+ type_anchor: int = betterproto.uint32_field(2)
56
+ """
57
+ A surrogate key used in the context of a single plan to reference a
58
+ specific extension type
59
+ """
60
+
61
+ name: str = betterproto.string_field(3)
62
+ """the name of the type in the defined extension YAML."""
63
+
64
+
65
+ @dataclass(eq=False, repr=False)
66
+ class SimpleExtensionDeclarationExtensionTypeVariation(betterproto.Message):
67
+ extension_uri_reference: int = betterproto.uint32_field(1)
68
+ """
69
+ references the extension_uri_anchor defined for a specific extension URI.
70
+ """
71
+
72
+ type_variation_anchor: int = betterproto.uint32_field(2)
73
+ """
74
+ A surrogate key used in the context of a single plan to reference a
75
+ specific type variation
76
+ """
77
+
78
+ name: str = betterproto.string_field(3)
79
+ """the name of the type in the defined extension YAML."""
80
+
81
+
82
+ @dataclass(eq=False, repr=False)
83
+ class SimpleExtensionDeclarationExtensionFunction(betterproto.Message):
84
+ extension_uri_reference: int = betterproto.uint32_field(1)
85
+ """
86
+ references the extension_uri_anchor defined for a specific extension URI.
87
+ """
88
+
89
+ function_anchor: int = betterproto.uint32_field(2)
90
+ """
91
+ A surrogate key used in the context of a single plan to reference a
92
+ specific function
93
+ """
94
+
95
+ name: str = betterproto.string_field(3)
96
+ """A function signature compound name"""
97
+
98
+
99
+ @dataclass(eq=False, repr=False)
100
+ class AdvancedExtension(betterproto.Message):
101
+ """
102
+ A generic object that can be used to embed additional extension information
103
+ into the serialized substrait plan.
104
+ """
105
+
106
+ optimization: List[
107
+ "betterproto_lib_google_protobuf.Any"
108
+ ] = betterproto.message_field(1)
109
+ """
110
+ An optimization is helpful information that don't influence semantics. May
111
+ be ignored by a consumer.
112
+ """
113
+
114
+ enhancement: "betterproto_lib_google_protobuf.Any" = betterproto.message_field(2)
115
+ """An enhancement alter semantics. Cannot be ignored by a consumer."""
File without changes