pyiceberg-core 0.4.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.
Files changed (110) hide show
  1. pyiceberg_core-0.4.0/Cargo.toml +102 -0
  2. pyiceberg_core-0.4.0/PKG-INFO +45 -0
  3. pyiceberg_core-0.4.0/bindings/python/Cargo.lock +3589 -0
  4. pyiceberg_core-0.4.0/bindings/python/Cargo.toml +36 -0
  5. pyiceberg_core-0.4.0/bindings/python/DEPENDENCIES.rust.tsv +307 -0
  6. pyiceberg_core-0.4.0/bindings/python/README.md +40 -0
  7. pyiceberg_core-0.4.0/bindings/python/project-description.md +28 -0
  8. pyiceberg_core-0.4.0/bindings/python/python/pyiceberg_core/__init__.py +21 -0
  9. pyiceberg_core-0.4.0/bindings/python/src/error.rs +24 -0
  10. pyiceberg_core-0.4.0/bindings/python/src/lib.rs +27 -0
  11. pyiceberg_core-0.4.0/bindings/python/src/transform.rs +93 -0
  12. pyiceberg_core-0.4.0/bindings/python/tests/test_transform.py +99 -0
  13. pyiceberg_core-0.4.0/crates/iceberg/Cargo.toml +95 -0
  14. pyiceberg_core-0.4.0/crates/iceberg/DEPENDENCIES.rust.tsv +313 -0
  15. pyiceberg_core-0.4.0/crates/iceberg/README.md +59 -0
  16. pyiceberg_core-0.4.0/crates/iceberg/src/arrow/mod.rs +26 -0
  17. pyiceberg_core-0.4.0/crates/iceberg/src/arrow/reader.rs +1310 -0
  18. pyiceberg_core-0.4.0/crates/iceberg/src/arrow/record_batch_projector.rs +291 -0
  19. pyiceberg_core-0.4.0/crates/iceberg/src/arrow/record_batch_transformer.rs +616 -0
  20. pyiceberg_core-0.4.0/crates/iceberg/src/arrow/schema.rs +1513 -0
  21. pyiceberg_core-0.4.0/crates/iceberg/src/avro/mod.rs +20 -0
  22. pyiceberg_core-0.4.0/crates/iceberg/src/avro/schema.rs +1213 -0
  23. pyiceberg_core-0.4.0/crates/iceberg/src/catalog/mod.rs +2038 -0
  24. pyiceberg_core-0.4.0/crates/iceberg/src/error.rs +469 -0
  25. pyiceberg_core-0.4.0/crates/iceberg/src/expr/accessor.rs +155 -0
  26. pyiceberg_core-0.4.0/crates/iceberg/src/expr/mod.rs +192 -0
  27. pyiceberg_core-0.4.0/crates/iceberg/src/expr/predicate.rs +1310 -0
  28. pyiceberg_core-0.4.0/crates/iceberg/src/expr/term.rs +452 -0
  29. pyiceberg_core-0.4.0/crates/iceberg/src/expr/visitors/bound_predicate_visitor.rs +741 -0
  30. pyiceberg_core-0.4.0/crates/iceberg/src/expr/visitors/expression_evaluator.rs +796 -0
  31. pyiceberg_core-0.4.0/crates/iceberg/src/expr/visitors/inclusive_metrics_evaluator.rs +2159 -0
  32. pyiceberg_core-0.4.0/crates/iceberg/src/expr/visitors/inclusive_projection.rs +513 -0
  33. pyiceberg_core-0.4.0/crates/iceberg/src/expr/visitors/manifest_evaluator.rs +1293 -0
  34. pyiceberg_core-0.4.0/crates/iceberg/src/expr/visitors/mod.rs +24 -0
  35. pyiceberg_core-0.4.0/crates/iceberg/src/expr/visitors/page_index_evaluator.rs +1524 -0
  36. pyiceberg_core-0.4.0/crates/iceberg/src/expr/visitors/row_group_metrics_evaluator.rs +1941 -0
  37. pyiceberg_core-0.4.0/crates/iceberg/src/io/file_io.rs +517 -0
  38. pyiceberg_core-0.4.0/crates/iceberg/src/io/mod.rs +90 -0
  39. pyiceberg_core-0.4.0/crates/iceberg/src/io/object_cache.rs +409 -0
  40. pyiceberg_core-0.4.0/crates/iceberg/src/io/storage.rs +178 -0
  41. pyiceberg_core-0.4.0/crates/iceberg/src/io/storage_fs.rs +29 -0
  42. pyiceberg_core-0.4.0/crates/iceberg/src/io/storage_gcs.rs +82 -0
  43. pyiceberg_core-0.4.0/crates/iceberg/src/io/storage_memory.rs +25 -0
  44. pyiceberg_core-0.4.0/crates/iceberg/src/io/storage_s3.rs +182 -0
  45. pyiceberg_core-0.4.0/crates/iceberg/src/lib.rs +88 -0
  46. pyiceberg_core-0.4.0/crates/iceberg/src/puffin/compression.rs +120 -0
  47. pyiceberg_core-0.4.0/crates/iceberg/src/puffin/mod.rs +24 -0
  48. pyiceberg_core-0.4.0/crates/iceberg/src/runtime/mod.rs +113 -0
  49. pyiceberg_core-0.4.0/crates/iceberg/src/scan.rs +1881 -0
  50. pyiceberg_core-0.4.0/crates/iceberg/src/spec/datatypes.rs +1182 -0
  51. pyiceberg_core-0.4.0/crates/iceberg/src/spec/manifest.rs +2339 -0
  52. pyiceberg_core-0.4.0/crates/iceberg/src/spec/manifest_list.rs +1541 -0
  53. pyiceberg_core-0.4.0/crates/iceberg/src/spec/mod.rs +48 -0
  54. pyiceberg_core-0.4.0/crates/iceberg/src/spec/name_mapping.rs +307 -0
  55. pyiceberg_core-0.4.0/crates/iceberg/src/spec/partition.rs +1736 -0
  56. pyiceberg_core-0.4.0/crates/iceberg/src/spec/schema.rs +2630 -0
  57. pyiceberg_core-0.4.0/crates/iceberg/src/spec/snapshot.rs +432 -0
  58. pyiceberg_core-0.4.0/crates/iceberg/src/spec/sort.rs +518 -0
  59. pyiceberg_core-0.4.0/crates/iceberg/src/spec/statistic_file.rs +196 -0
  60. pyiceberg_core-0.4.0/crates/iceberg/src/spec/table_metadata.rs +2777 -0
  61. pyiceberg_core-0.4.0/crates/iceberg/src/spec/table_metadata_builder.rs +2344 -0
  62. pyiceberg_core-0.4.0/crates/iceberg/src/spec/transform.rs +734 -0
  63. pyiceberg_core-0.4.0/crates/iceberg/src/spec/values.rs +3607 -0
  64. pyiceberg_core-0.4.0/crates/iceberg/src/spec/view_metadata.rs +728 -0
  65. pyiceberg_core-0.4.0/crates/iceberg/src/spec/view_version.rs +313 -0
  66. pyiceberg_core-0.4.0/crates/iceberg/src/table.rs +374 -0
  67. pyiceberg_core-0.4.0/crates/iceberg/src/transaction.rs +874 -0
  68. pyiceberg_core-0.4.0/crates/iceberg/src/transform/bucket.rs +891 -0
  69. pyiceberg_core-0.4.0/crates/iceberg/src/transform/identity.rs +100 -0
  70. pyiceberg_core-0.4.0/crates/iceberg/src/transform/mod.rs +189 -0
  71. pyiceberg_core-0.4.0/crates/iceberg/src/transform/temporal.rs +2769 -0
  72. pyiceberg_core-0.4.0/crates/iceberg/src/transform/truncate.rs +826 -0
  73. pyiceberg_core-0.4.0/crates/iceberg/src/transform/void.rs +156 -0
  74. pyiceberg_core-0.4.0/crates/iceberg/src/utils.rs +42 -0
  75. pyiceberg_core-0.4.0/crates/iceberg/src/writer/base_writer/data_file_writer.rs +250 -0
  76. pyiceberg_core-0.4.0/crates/iceberg/src/writer/base_writer/equality_delete_writer.rs +660 -0
  77. pyiceberg_core-0.4.0/crates/iceberg/src/writer/base_writer/mod.rs +21 -0
  78. pyiceberg_core-0.4.0/crates/iceberg/src/writer/file_writer/location_generator.rs +233 -0
  79. pyiceberg_core-0.4.0/crates/iceberg/src/writer/file_writer/mod.rs +49 -0
  80. pyiceberg_core-0.4.0/crates/iceberg/src/writer/file_writer/parquet_writer.rs +1172 -0
  81. pyiceberg_core-0.4.0/crates/iceberg/src/writer/file_writer/track_writer.rs +55 -0
  82. pyiceberg_core-0.4.0/crates/iceberg/src/writer/mod.rs +134 -0
  83. pyiceberg_core-0.4.0/crates/iceberg/testdata/avro_schema_manifest_entry.json +286 -0
  84. pyiceberg_core-0.4.0/crates/iceberg/testdata/avro_schema_manifest_file_v1.json +139 -0
  85. pyiceberg_core-0.4.0/crates/iceberg/testdata/avro_schema_manifest_file_v2.json +141 -0
  86. pyiceberg_core-0.4.0/crates/iceberg/testdata/example_table_metadata_v2.json +66 -0
  87. pyiceberg_core-0.4.0/crates/iceberg/testdata/file_io_gcs/docker-compose.yaml +23 -0
  88. pyiceberg_core-0.4.0/crates/iceberg/testdata/file_io_s3/docker-compose.yaml +30 -0
  89. pyiceberg_core-0.4.0/crates/iceberg/testdata/manifests_lists/manifest-list-v2-1.avro +0 -0
  90. pyiceberg_core-0.4.0/crates/iceberg/testdata/manifests_lists/manifest-list-v2-2.avro +0 -0
  91. pyiceberg_core-0.4.0/crates/iceberg/testdata/table_metadata/TableMetadataUnsupportedVersion.json +36 -0
  92. pyiceberg_core-0.4.0/crates/iceberg/testdata/table_metadata/TableMetadataV1Valid.json +42 -0
  93. pyiceberg_core-0.4.0/crates/iceberg/testdata/table_metadata/TableMetadataV2CurrentSchemaNotFound.json +88 -0
  94. pyiceberg_core-0.4.0/crates/iceberg/testdata/table_metadata/TableMetadataV2MissingLastPartitionId.json +73 -0
  95. pyiceberg_core-0.4.0/crates/iceberg/testdata/table_metadata/TableMetadataV2MissingPartitionSpecs.json +67 -0
  96. pyiceberg_core-0.4.0/crates/iceberg/testdata/table_metadata/TableMetadataV2MissingSchemas.json +71 -0
  97. pyiceberg_core-0.4.0/crates/iceberg/testdata/table_metadata/TableMetadataV2MissingSortOrder.json +54 -0
  98. pyiceberg_core-0.4.0/crates/iceberg/testdata/table_metadata/TableMetadataV2Valid.json +122 -0
  99. pyiceberg_core-0.4.0/crates/iceberg/testdata/table_metadata/TableMetadataV2ValidMinimal.json +71 -0
  100. pyiceberg_core-0.4.0/crates/iceberg/testdata/view_metadata/ViewMetadataUnsupportedVersion.json +58 -0
  101. pyiceberg_core-0.4.0/crates/iceberg/testdata/view_metadata/ViewMetadataV1CurrentVersionNotFound.json +58 -0
  102. pyiceberg_core-0.4.0/crates/iceberg/testdata/view_metadata/ViewMetadataV1MissingCurrentVersion.json +57 -0
  103. pyiceberg_core-0.4.0/crates/iceberg/testdata/view_metadata/ViewMetadataV1MissingSchema.json +56 -0
  104. pyiceberg_core-0.4.0/crates/iceberg/testdata/view_metadata/ViewMetadataV1SchemaNotFound.json +58 -0
  105. pyiceberg_core-0.4.0/crates/iceberg/testdata/view_metadata/ViewMetadataV1Valid.json +58 -0
  106. pyiceberg_core-0.4.0/crates/iceberg/tests/file_io_gcs_test.rs +125 -0
  107. pyiceberg_core-0.4.0/crates/iceberg/tests/file_io_s3_test.rs +103 -0
  108. pyiceberg_core-0.4.0/project-description.md +28 -0
  109. pyiceberg_core-0.4.0/pyproject.toml +52 -0
  110. pyiceberg_core-0.4.0/python/pyiceberg_core/__init__.py +21 -0
@@ -0,0 +1,102 @@
1
+ # Licensed to the Apache Software Foundation (ASF) under one
2
+ # or more contributor license agreements. See the NOTICE file
3
+ # distributed with this work for additional information
4
+ # regarding copyright ownership. The ASF licenses this file
5
+ # to you under the Apache License, Version 2.0 (the
6
+ # "License"); you may not use this file except in compliance
7
+ # with the License. You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing,
12
+ # software distributed under the License is distributed on an
13
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ # KIND, either express or implied. See the License for the
15
+ # specific language governing permissions and limitations
16
+ # under the License.
17
+
18
+ [workspace]
19
+ resolver = "2"
20
+ members = [
21
+ "crates/catalog/*",
22
+ "crates/examples",
23
+ "crates/iceberg",
24
+ "crates/integration_tests",
25
+ "crates/integrations/*",
26
+ "crates/test_utils",
27
+ ]
28
+ exclude = ["bindings/python"]
29
+
30
+ [workspace.package]
31
+ version = "0.4.0"
32
+ edition = "2021"
33
+ homepage = "https://rust.iceberg.apache.org/"
34
+
35
+ repository = "https://github.com/apache/iceberg-rust"
36
+ license = "Apache-2.0"
37
+ rust-version = "1.77.1"
38
+
39
+ [workspace.dependencies]
40
+ anyhow = "1.0.72"
41
+ apache-avro = "0.17"
42
+ array-init = "2"
43
+ arrow-arith = { version = "53" }
44
+ arrow-array = { version = "53" }
45
+ arrow-cast = { version = "53" }
46
+ arrow-ord = { version = "53" }
47
+ arrow-schema = { version = "53" }
48
+ arrow-select = { version = "53" }
49
+ arrow-string = { version = "53" }
50
+ async-stream = "0.3.5"
51
+ async-trait = "0.1"
52
+ async-std = "1.12"
53
+ aws-config = "1.1.8"
54
+ aws-sdk-glue = "1.21"
55
+ bimap = "0.6"
56
+ bitvec = "1.0.1"
57
+ bytes = "1.5"
58
+ chrono = "0.4.34"
59
+ ctor = "0.2.8"
60
+ derive_builder = "0.20"
61
+ either = "1"
62
+ env_logger = "0.11.0"
63
+ fnv = "1"
64
+ futures = "0.3"
65
+ iceberg = { version = "0.4.0", path = "./crates/iceberg" }
66
+ iceberg-catalog-rest = { version = "0.4.0", path = "./crates/catalog/rest" }
67
+ iceberg-catalog-hms = { version = "0.4.0", path = "./crates/catalog/hms" }
68
+ iceberg-catalog-memory = { version = "0.4.0", path = "./crates/catalog/memory" }
69
+ iceberg-datafusion = { version = "0.4.0", path = "./crates/integrations/datafusion" }
70
+ itertools = "0.13"
71
+ log = "0.4"
72
+ mockito = "1"
73
+ murmur3 = "0.5.2"
74
+ num-bigint = "0.4.6"
75
+ once_cell = "1"
76
+ opendal = "0.50.1"
77
+ ordered-float = "4"
78
+ parquet = "53.1"
79
+ paste = "1"
80
+ pilota = "0.11.2"
81
+ pretty_assertions = "1.4"
82
+ port_scanner = "0.1.5"
83
+ rand = "0.8"
84
+ regex = "1.10.5"
85
+ reqwest = { version = "0.12", default-features = false, features = ["json"] }
86
+ rust_decimal = "1.31"
87
+ serde = { version = "1", features = ["rc"] }
88
+ serde_bytes = "0.11.8"
89
+ serde_derive = "1"
90
+ serde_json = "1"
91
+ serde_repr = "0.1.16"
92
+ serde_with = "3.4"
93
+ tempfile = "3.8"
94
+ tokio = { version = "1", default-features = false }
95
+ typed-builder = "0.20"
96
+ url = "2"
97
+ urlencoding = "2"
98
+ uuid = { version = "1.6.1", features = ["v7"] }
99
+ volo-thrift = "0.10"
100
+ hive_metastore = "0.1"
101
+ tera = "1"
102
+ zstd = "0.13.2"
@@ -0,0 +1,45 @@
1
+ Metadata-Version: 2.4
2
+ Name: pyiceberg_core
3
+ Version: 0.4.0
4
+ Classifier: Development Status :: 4 - Beta
5
+ Classifier: Intended Audience :: Developers
6
+ Classifier: License :: OSI Approved :: Apache Software License
7
+ Classifier: Operating System :: OS Independent
8
+ Classifier: Programming Language :: Python :: 3.9
9
+ Classifier: Programming Language :: Python :: 3.10
10
+ Classifier: Programming Language :: Python :: 3.11
11
+ Classifier: Programming Language :: Python :: 3.12
12
+ Keywords: iceberg
13
+ Home-Page: https://rust.iceberg.apache.org
14
+ License: Apache-2.0
15
+ Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
16
+
17
+ <!--
18
+ ~ Licensed to the Apache Software Foundation (ASF) under one
19
+ ~ or more contributor license agreements. See the NOTICE file
20
+ ~ distributed with this work for additional information
21
+ ~ regarding copyright ownership. The ASF licenses this file
22
+ ~ to you under the Apache License, Version 2.0 (the
23
+ ~ "License"); you may not use this file except in compliance
24
+ ~ with the License. You may obtain a copy of the License at
25
+ ~
26
+ ~ http://www.apache.org/licenses/LICENSE-2.0
27
+ ~
28
+ ~ Unless required by applicable law or agreed to in writing,
29
+ ~ software distributed under the License is distributed on an
30
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
31
+ ~ KIND, either express or implied. See the License for the
32
+ ~ specific language governing permissions and limitations
33
+ ~ under the License.
34
+ -->
35
+
36
+ # Pyiceberg Core
37
+
38
+ This project is used to build an iceberg-rust powered core for pyiceberg, and intended for use only by pyiceberg.
39
+
40
+ Install via PyPI:
41
+
42
+ ```
43
+ pip install pyiceberg_core
44
+ ```
45
+