pycobble 0.5.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 (262) hide show
  1. pycobble-0.5.0/Cargo.lock +5492 -0
  2. pycobble-0.5.0/Cargo.toml +32 -0
  3. pycobble-0.5.0/PKG-INFO +169 -0
  4. pycobble-0.5.0/README.md +149 -0
  5. pycobble-0.5.0/cobble/Cargo.toml +71 -0
  6. pycobble-0.5.0/cobble/README.md +119 -0
  7. pycobble-0.5.0/cobble/build.rs +27 -0
  8. pycobble-0.5.0/cobble/src/cache/block.rs +507 -0
  9. pycobble-0.5.0/cobble/src/cache/handle.rs +236 -0
  10. pycobble-0.5.0/cobble/src/cache/mod.rs +13 -0
  11. pycobble-0.5.0/cobble/src/cache/preload.rs +365 -0
  12. pycobble-0.5.0/cobble/src/compaction/dedicated.rs +662 -0
  13. pycobble-0.5.0/cobble/src/compaction/dedicated_apply.rs +1060 -0
  14. pycobble-0.5.0/cobble/src/compaction/dedicated_compactor.rs +1401 -0
  15. pycobble-0.5.0/cobble/src/compaction/dedicated_poller.rs +433 -0
  16. pycobble-0.5.0/cobble/src/compaction/dedicated_service.rs +1035 -0
  17. pycobble-0.5.0/cobble/src/compaction/executor.rs +1010 -0
  18. pycobble-0.5.0/cobble/src/compaction/mod.rs +338 -0
  19. pycobble-0.5.0/cobble/src/compaction/policy.rs +1325 -0
  20. pycobble-0.5.0/cobble/src/compaction/remote.rs +1783 -0
  21. pycobble-0.5.0/cobble/src/compaction/resilient.rs +383 -0
  22. pycobble-0.5.0/cobble/src/config.rs +1772 -0
  23. pycobble-0.5.0/cobble/src/coordinator/config.rs +29 -0
  24. pycobble-0.5.0/cobble/src/coordinator/file.rs +53 -0
  25. pycobble-0.5.0/cobble/src/coordinator/mod.rs +11 -0
  26. pycobble-0.5.0/cobble/src/coordinator/node.rs +388 -0
  27. pycobble-0.5.0/cobble/src/data_file.rs +299 -0
  28. pycobble-0.5.0/cobble/src/db.rs +2468 -0
  29. pycobble-0.5.0/cobble/src/db_builder.rs +168 -0
  30. pycobble-0.5.0/cobble/src/db_iter.rs +267 -0
  31. pycobble-0.5.0/cobble/src/db_rescale.rs +953 -0
  32. pycobble-0.5.0/cobble/src/db_restore.rs +1223 -0
  33. pycobble-0.5.0/cobble/src/db_state.rs +789 -0
  34. pycobble-0.5.0/cobble/src/db_status.rs +352 -0
  35. pycobble-0.5.0/cobble/src/error.rs +28 -0
  36. pycobble-0.5.0/cobble/src/ffi.rs +21 -0
  37. pycobble-0.5.0/cobble/src/file/file_manager.rs +3063 -0
  38. pycobble-0.5.0/cobble/src/file/file_system.rs +297 -0
  39. pycobble-0.5.0/cobble/src/file/files.rs +421 -0
  40. pycobble-0.5.0/cobble/src/file/logical_file.rs +481 -0
  41. pycobble-0.5.0/cobble/src/file/metadata_io.rs +132 -0
  42. pycobble-0.5.0/cobble/src/file/mod.rs +37 -0
  43. pycobble-0.5.0/cobble/src/file/offload.rs +2218 -0
  44. pycobble-0.5.0/cobble/src/file/opendal_file.rs +100 -0
  45. pycobble-0.5.0/cobble/src/file/opendal_fs.rs +538 -0
  46. pycobble-0.5.0/cobble/src/file/posix_fs.rs +341 -0
  47. pycobble-0.5.0/cobble/src/file/windows_fs.rs +64 -0
  48. pycobble-0.5.0/cobble/src/format.rs +71 -0
  49. pycobble-0.5.0/cobble/src/governance.rs +358 -0
  50. pycobble-0.5.0/cobble/src/iterator/bucket_filter.rs +128 -0
  51. pycobble-0.5.0/cobble/src/iterator/column_masking.rs +102 -0
  52. pycobble-0.5.0/cobble/src/iterator/deduplicating.rs +469 -0
  53. pycobble-0.5.0/cobble/src/iterator/factory.rs +95 -0
  54. pycobble-0.5.0/cobble/src/iterator/merging.rs +319 -0
  55. pycobble-0.5.0/cobble/src/iterator/mod.rs +171 -0
  56. pycobble-0.5.0/cobble/src/iterator/schema_aware_deduplicating.rs +261 -0
  57. pycobble-0.5.0/cobble/src/iterator/schema_evolving.rs +114 -0
  58. pycobble-0.5.0/cobble/src/iterator/schema_tagged.rs +65 -0
  59. pycobble-0.5.0/cobble/src/iterator/sorted_run.rs +321 -0
  60. pycobble-0.5.0/cobble/src/iterator/truncation_filter.rs +100 -0
  61. pycobble-0.5.0/cobble/src/iterator/vlog_seq_offset.rs +82 -0
  62. pycobble-0.5.0/cobble/src/key_codec.rs +47 -0
  63. pycobble-0.5.0/cobble/src/lib.rs +202 -0
  64. pycobble-0.5.0/cobble/src/lru.rs +171 -0
  65. pycobble-0.5.0/cobble/src/lsm.rs +1870 -0
  66. pycobble-0.5.0/cobble/src/manifest_model.rs +344 -0
  67. pycobble-0.5.0/cobble/src/memtable/adaptive.rs +504 -0
  68. pycobble-0.5.0/cobble/src/memtable/hash.rs +470 -0
  69. pycobble-0.5.0/cobble/src/memtable/iter.rs +123 -0
  70. pycobble-0.5.0/cobble/src/memtable/manager.rs +3093 -0
  71. pycobble-0.5.0/cobble/src/memtable/mod.rs +281 -0
  72. pycobble-0.5.0/cobble/src/memtable/skiplist.rs +706 -0
  73. pycobble-0.5.0/cobble/src/memtable/vec.rs +342 -0
  74. pycobble-0.5.0/cobble/src/memtable/vlog.rs +69 -0
  75. pycobble-0.5.0/cobble/src/merge_operator.rs +272 -0
  76. pycobble-0.5.0/cobble/src/metrics_manager.rs +67 -0
  77. pycobble-0.5.0/cobble/src/metrics_registry.rs +306 -0
  78. pycobble-0.5.0/cobble/src/parquet/file_adapter.rs +315 -0
  79. pycobble-0.5.0/cobble/src/parquet/iterator.rs +770 -0
  80. pycobble-0.5.0/cobble/src/parquet/meta.rs +172 -0
  81. pycobble-0.5.0/cobble/src/parquet/mod.rs +18 -0
  82. pycobble-0.5.0/cobble/src/parquet/writer.rs +393 -0
  83. pycobble-0.5.0/cobble/src/paths.rs +103 -0
  84. pycobble-0.5.0/cobble/src/properties.rs +165 -0
  85. pycobble-0.5.0/cobble/src/read_only_db.rs +652 -0
  86. pycobble-0.5.0/cobble/src/read_only_db_builder.rs +137 -0
  87. pycobble-0.5.0/cobble/src/reader.rs +814 -0
  88. pycobble-0.5.0/cobble/src/reader_builder.rs +91 -0
  89. pycobble-0.5.0/cobble/src/rescale_protocol.rs +107 -0
  90. pycobble-0.5.0/cobble/src/row_merge.rs +474 -0
  91. pycobble-0.5.0/cobble/src/runtime_manifest/publisher.rs +495 -0
  92. pycobble-0.5.0/cobble/src/runtime_manifest.rs +795 -0
  93. pycobble-0.5.0/cobble/src/scan.rs +394 -0
  94. pycobble-0.5.0/cobble/src/schema/evolution.rs +374 -0
  95. pycobble-0.5.0/cobble/src/schema/mod.rs +1942 -0
  96. pycobble-0.5.0/cobble/src/schema/projection.rs +202 -0
  97. pycobble-0.5.0/cobble/src/single_db.rs +412 -0
  98. pycobble-0.5.0/cobble/src/snapshot/manager.rs +1414 -0
  99. pycobble-0.5.0/cobble/src/snapshot/manifest.rs +886 -0
  100. pycobble-0.5.0/cobble/src/snapshot/memtable.rs +74 -0
  101. pycobble-0.5.0/cobble/src/snapshot/metadata.rs +206 -0
  102. pycobble-0.5.0/cobble/src/snapshot/mod.rs +241 -0
  103. pycobble-0.5.0/cobble/src/snapshot_tool.rs +66 -0
  104. pycobble-0.5.0/cobble/src/sst/bloom.rs +192 -0
  105. pycobble-0.5.0/cobble/src/sst/compression.rs +164 -0
  106. pycobble-0.5.0/cobble/src/sst/format.rs +1008 -0
  107. pycobble-0.5.0/cobble/src/sst/iterator.rs +1234 -0
  108. pycobble-0.5.0/cobble/src/sst/mod.rs +15 -0
  109. pycobble-0.5.0/cobble/src/sst/point_reader.rs +987 -0
  110. pycobble-0.5.0/cobble/src/sst/read.rs +77 -0
  111. pycobble-0.5.0/cobble/src/sst/row_codec.rs +539 -0
  112. pycobble-0.5.0/cobble/src/sst/writer.rs +584 -0
  113. pycobble-0.5.0/cobble/src/time.rs +95 -0
  114. pycobble-0.5.0/cobble/src/ttl.rs +78 -0
  115. pycobble-0.5.0/cobble/src/type.rs +896 -0
  116. pycobble-0.5.0/cobble/src/util.rs +222 -0
  117. pycobble-0.5.0/cobble/src/vlog.rs +649 -0
  118. pycobble-0.5.0/cobble/src/wal/mod.rs +936 -0
  119. pycobble-0.5.0/cobble/src/write_batch.rs +206 -0
  120. pycobble-0.5.0/cobble/src/writer_options.rs +74 -0
  121. pycobble-0.5.0/cobble/tests/compaction_transforms_it.rs +377 -0
  122. pycobble-0.5.0/cobble/tests/db_it.rs +3971 -0
  123. pycobble-0.5.0/cobble/tests/dedicated_compaction_it.rs +1170 -0
  124. pycobble-0.5.0/cobble/tests/remote_compaction_resilience_it.rs +885 -0
  125. pycobble-0.5.0/cobble/tests/s3_roundtrip_it.rs +379 -0
  126. pycobble-0.5.0/cobble/tests/schema_evolution_it.rs +278 -0
  127. pycobble-0.5.0/cobble/tests/support/file/metadata_io.rs +22 -0
  128. pycobble-0.5.0/cobble/tests/testdata/config.ini +30 -0
  129. pycobble-0.5.0/cobble/tests/unit/cache/block.rs +243 -0
  130. pycobble-0.5.0/cobble/tests/unit/cache/handle.rs +122 -0
  131. pycobble-0.5.0/cobble/tests/unit/compaction/dedicated.rs +326 -0
  132. pycobble-0.5.0/cobble/tests/unit/compaction/dedicated_apply.rs +270 -0
  133. pycobble-0.5.0/cobble/tests/unit/compaction/dedicated_compactor.rs +122 -0
  134. pycobble-0.5.0/cobble/tests/unit/compaction/dedicated_service.rs +220 -0
  135. pycobble-0.5.0/cobble/tests/unit/compaction/executor.rs +1880 -0
  136. pycobble-0.5.0/cobble/tests/unit/compaction/mod.rs +215 -0
  137. pycobble-0.5.0/cobble/tests/unit/compaction/policy.rs +1148 -0
  138. pycobble-0.5.0/cobble/tests/unit/compaction/remote.rs +1734 -0
  139. pycobble-0.5.0/cobble/tests/unit/config.rs +694 -0
  140. pycobble-0.5.0/cobble/tests/unit/coordinator/node.rs +514 -0
  141. pycobble-0.5.0/cobble/tests/unit/data_file.rs +37 -0
  142. pycobble-0.5.0/cobble/tests/unit/db.rs +3808 -0
  143. pycobble-0.5.0/cobble/tests/unit/db_iter.rs +120 -0
  144. pycobble-0.5.0/cobble/tests/unit/db_rescale.rs +645 -0
  145. pycobble-0.5.0/cobble/tests/unit/db_restore.rs +109 -0
  146. pycobble-0.5.0/cobble/tests/unit/db_state.rs +278 -0
  147. pycobble-0.5.0/cobble/tests/unit/db_status.rs +123 -0
  148. pycobble-0.5.0/cobble/tests/unit/file/file_manager.rs +1607 -0
  149. pycobble-0.5.0/cobble/tests/unit/file/file_system.rs +145 -0
  150. pycobble-0.5.0/cobble/tests/unit/file/files.rs +308 -0
  151. pycobble-0.5.0/cobble/tests/unit/file/metadata_io.rs +24 -0
  152. pycobble-0.5.0/cobble/tests/unit/file/offload.rs +1921 -0
  153. pycobble-0.5.0/cobble/tests/unit/file/opendal_fs.rs +339 -0
  154. pycobble-0.5.0/cobble/tests/unit/file/posix_fs.rs +113 -0
  155. pycobble-0.5.0/cobble/tests/unit/governance.rs +59 -0
  156. pycobble-0.5.0/cobble/tests/unit/iterator/bucket_filter.rs +169 -0
  157. pycobble-0.5.0/cobble/tests/unit/iterator/deduplicating.rs +773 -0
  158. pycobble-0.5.0/cobble/tests/unit/iterator/factory.rs +81 -0
  159. pycobble-0.5.0/cobble/tests/unit/iterator/merging.rs +323 -0
  160. pycobble-0.5.0/cobble/tests/unit/iterator/mock_iterator.rs +79 -0
  161. pycobble-0.5.0/cobble/tests/unit/iterator/sorted_run.rs +221 -0
  162. pycobble-0.5.0/cobble/tests/unit/key_codec.rs +17 -0
  163. pycobble-0.5.0/cobble/tests/unit/lru.rs +111 -0
  164. pycobble-0.5.0/cobble/tests/unit/lsm.rs +1812 -0
  165. pycobble-0.5.0/cobble/tests/unit/memtable/adaptive.rs +479 -0
  166. pycobble-0.5.0/cobble/tests/unit/memtable/hash.rs +149 -0
  167. pycobble-0.5.0/cobble/tests/unit/memtable/manager.rs +2067 -0
  168. pycobble-0.5.0/cobble/tests/unit/memtable/skiplist.rs +324 -0
  169. pycobble-0.5.0/cobble/tests/unit/memtable/vec.rs +95 -0
  170. pycobble-0.5.0/cobble/tests/unit/merge_operator.rs +94 -0
  171. pycobble-0.5.0/cobble/tests/unit/parquet/file_adapter.rs +161 -0
  172. pycobble-0.5.0/cobble/tests/unit/parquet/iterator.rs +17 -0
  173. pycobble-0.5.0/cobble/tests/unit/parquet/meta.rs +17 -0
  174. pycobble-0.5.0/cobble/tests/unit/parquet/mod.rs +511 -0
  175. pycobble-0.5.0/cobble/tests/unit/properties.rs +185 -0
  176. pycobble-0.5.0/cobble/tests/unit/reader.rs +756 -0
  177. pycobble-0.5.0/cobble/tests/unit/runtime_manifest/publisher.rs +57 -0
  178. pycobble-0.5.0/cobble/tests/unit/runtime_manifest.rs +585 -0
  179. pycobble-0.5.0/cobble/tests/unit/scan.rs +484 -0
  180. pycobble-0.5.0/cobble/tests/unit/schema.rs +1113 -0
  181. pycobble-0.5.0/cobble/tests/unit/single_db.rs +96 -0
  182. pycobble-0.5.0/cobble/tests/unit/snapshot/manager.rs +84 -0
  183. pycobble-0.5.0/cobble/tests/unit/snapshot/manifest.rs +181 -0
  184. pycobble-0.5.0/cobble/tests/unit/snapshot/mod.rs +53 -0
  185. pycobble-0.5.0/cobble/tests/unit/snapshot_tool.rs +195 -0
  186. pycobble-0.5.0/cobble/tests/unit/sst/bloom.rs +15 -0
  187. pycobble-0.5.0/cobble/tests/unit/sst/format.rs +398 -0
  188. pycobble-0.5.0/cobble/tests/unit/sst/iterator.rs +866 -0
  189. pycobble-0.5.0/cobble/tests/unit/sst/point_reader.rs +589 -0
  190. pycobble-0.5.0/cobble/tests/unit/sst/row_codec.rs +605 -0
  191. pycobble-0.5.0/cobble/tests/unit/sst/writer.rs +272 -0
  192. pycobble-0.5.0/cobble/tests/unit/ttl.rs +27 -0
  193. pycobble-0.5.0/cobble/tests/unit/type.rs +664 -0
  194. pycobble-0.5.0/cobble/tests/unit/util.rs +32 -0
  195. pycobble-0.5.0/cobble/tests/unit/vlog.rs +233 -0
  196. pycobble-0.5.0/cobble/tests/unit/wal.rs +724 -0
  197. pycobble-0.5.0/cobble-binding/Cargo.toml +58 -0
  198. pycobble-0.5.0/cobble-binding/cobble-python/.gitignore +4 -0
  199. pycobble-0.5.0/cobble-binding/cobble-python/Cargo.toml +35 -0
  200. pycobble-0.5.0/cobble-binding/cobble-python/README.md +149 -0
  201. pycobble-0.5.0/cobble-binding/cobble-python/src/buffer.rs +244 -0
  202. pycobble-0.5.0/cobble-binding/cobble-python/src/coordinator.rs +131 -0
  203. pycobble-0.5.0/cobble-binding/cobble-python/src/database.rs +431 -0
  204. pycobble-0.5.0/cobble-binding/cobble-python/src/distributed_scan.rs +305 -0
  205. pycobble-0.5.0/cobble-binding/cobble-python/src/encoding.rs +120 -0
  206. pycobble-0.5.0/cobble-binding/cobble-python/src/error.rs +83 -0
  207. pycobble-0.5.0/cobble-binding/cobble-python/src/lib.rs +45 -0
  208. pycobble-0.5.0/cobble-binding/cobble-python/src/metrics.rs +221 -0
  209. pycobble-0.5.0/cobble-binding/cobble-python/src/multi_get.rs +90 -0
  210. pycobble-0.5.0/cobble-binding/cobble-python/src/options.rs +233 -0
  211. pycobble-0.5.0/cobble-binding/cobble-python/src/read_only_db.rs +166 -0
  212. pycobble-0.5.0/cobble-binding/cobble-python/src/reader.rs +226 -0
  213. pycobble-0.5.0/cobble-binding/cobble-python/src/row.rs +98 -0
  214. pycobble-0.5.0/cobble-binding/cobble-python/src/scan.rs +407 -0
  215. pycobble-0.5.0/cobble-binding/cobble-python/src/schema.rs +285 -0
  216. pycobble-0.5.0/cobble-binding/cobble-python/src/sharded_db.rs +691 -0
  217. pycobble-0.5.0/cobble-binding/cobble-python/src/snapshot.rs +770 -0
  218. pycobble-0.5.0/cobble-binding/cobble-python/src/structured/batch.rs +463 -0
  219. pycobble-0.5.0/cobble-binding/cobble-python/src/structured/database.rs +1570 -0
  220. pycobble-0.5.0/cobble-binding/cobble-python/src/structured/encoding.rs +287 -0
  221. pycobble-0.5.0/cobble-binding/cobble-python/src/structured/mod.rs +20 -0
  222. pycobble-0.5.0/cobble-binding/cobble-python/src/structured/priority_queue.rs +469 -0
  223. pycobble-0.5.0/cobble-binding/cobble-python/src/structured/read_only_db.rs +192 -0
  224. pycobble-0.5.0/cobble-binding/cobble-python/src/structured/reader.rs +262 -0
  225. pycobble-0.5.0/cobble-binding/cobble-python/src/structured/scan_plan.rs +318 -0
  226. pycobble-0.5.0/cobble-binding/cobble-python/src/structured/types.rs +750 -0
  227. pycobble-0.5.0/cobble-binding/cobble-python/src/types.rs +268 -0
  228. pycobble-0.5.0/cobble-binding/cobble-python/src/write_batch.rs +250 -0
  229. pycobble-0.5.0/cobble-binding/cobble-python/tests/test_distributed_read.py +289 -0
  230. pycobble-0.5.0/cobble-binding/cobble-python/tests/test_pickle_transfer.py +452 -0
  231. pycobble-0.5.0/cobble-binding/cobble-python/tests/test_raw_single_db.py +154 -0
  232. pycobble-0.5.0/cobble-binding/cobble-python/tests/test_s3.py +142 -0
  233. pycobble-0.5.0/cobble-binding/cobble-python/tests/test_sharded_db.py +136 -0
  234. pycobble-0.5.0/cobble-binding/cobble-python/tests/test_snapshot_schema_lifecycle.py +116 -0
  235. pycobble-0.5.0/cobble-binding/cobble-python/tests/test_structured.py +590 -0
  236. pycobble-0.5.0/cobble-binding/src/ffi.rs +3 -0
  237. pycobble-0.5.0/cobble-binding/src/lib.rs +11 -0
  238. pycobble-0.5.0/cobble-binding/src/structured.rs +8 -0
  239. pycobble-0.5.0/cobble-data-structure/Cargo.toml +44 -0
  240. pycobble-0.5.0/cobble-data-structure/README.md +19 -0
  241. pycobble-0.5.0/cobble-data-structure/src/ffi.rs +563 -0
  242. pycobble-0.5.0/cobble-data-structure/src/lib.rs +79 -0
  243. pycobble-0.5.0/cobble-data-structure/src/list.rs +585 -0
  244. pycobble-0.5.0/cobble-data-structure/src/priority_queue.rs +403 -0
  245. pycobble-0.5.0/cobble-data-structure/src/structured_db.rs +2357 -0
  246. pycobble-0.5.0/cobble-data-structure/src/structured_read_only_db.rs +180 -0
  247. pycobble-0.5.0/cobble-data-structure/src/structured_reader.rs +314 -0
  248. pycobble-0.5.0/cobble-data-structure/src/structured_remote_compaction_server.rs +68 -0
  249. pycobble-0.5.0/cobble-data-structure/src/structured_scan.rs +229 -0
  250. pycobble-0.5.0/cobble-data-structure/src/structured_single_db.rs +589 -0
  251. pycobble-0.5.0/cobble-data-structure/tests/unit/list.rs +236 -0
  252. pycobble-0.5.0/cobble-data-structure/tests/unit/priority_queue.rs +502 -0
  253. pycobble-0.5.0/cobble-data-structure/tests/unit/structured_db.rs +754 -0
  254. pycobble-0.5.0/cobble-data-structure/tests/unit/structured_read_only_db.rs +199 -0
  255. pycobble-0.5.0/cobble-data-structure/tests/unit/structured_reader.rs +382 -0
  256. pycobble-0.5.0/cobble-data-structure/tests/unit/structured_remote_compaction_server.rs +141 -0
  257. pycobble-0.5.0/cobble-data-structure/tests/unit/structured_scan.rs +370 -0
  258. pycobble-0.5.0/cobble-data-structure/tests/unit/structured_single_db.rs +162 -0
  259. pycobble-0.5.0/pyproject.toml +34 -0
  260. pycobble-0.5.0/python/pycobble/__init__.py +177 -0
  261. pycobble-0.5.0/python/pycobble/_native.pyi +855 -0
  262. pycobble-0.5.0/python/pycobble/py.typed +1 -0

There are too many changes on this page to be displayed.


The amount of changes on this page would crash your brower.

You can still verify the content by downloading the package file manually.