PostBOUND-Playground 0.1.0__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.
Files changed (96) hide show
  1. postbound_extensions/__init__.py +12 -0
  2. postbound_extensions/__init__.pyi +29 -0
  3. postbound_extensions/bao/LICENSE +674 -0
  4. postbound_extensions/bao/__init__.py +217 -0
  5. postbound_extensions/bao/_bao.py +1111 -0
  6. postbound_extensions/bao/_cache.py +114 -0
  7. postbound_extensions/bao/_experience.py +274 -0
  8. postbound_extensions/bao/_featurizer.py +592 -0
  9. postbound_extensions/bao/_model.py +41 -0
  10. postbound_extensions/bao/_tcnn.py +97 -0
  11. postbound_extensions/bao/_util.py +205 -0
  12. postbound_extensions/ceb/__init__.py +29 -0
  13. postbound_extensions/ceb/_ceb.py +784 -0
  14. postbound_extensions/fastgres/__init__.py +68 -0
  15. postbound_extensions/fastgres/_fastgres.py +119 -0
  16. postbound_extensions/fastgres/_mapping.py +65 -0
  17. postbound_extensions/fastgres/_optimizer.py +343 -0
  18. postbound_extensions/fastgres/_util.py +159 -0
  19. postbound_extensions/fastgres/context/__init__.py +23 -0
  20. postbound_extensions/fastgres/context/_context.py +154 -0
  21. postbound_extensions/fastgres/context/_context_manager.py +173 -0
  22. postbound_extensions/fastgres/context/_schema.py +122 -0
  23. postbound_extensions/fastgres/featurization/__init__.py +9 -0
  24. postbound_extensions/fastgres/featurization/_dbutil.py +98 -0
  25. postbound_extensions/fastgres/featurization/_featurizer.py +358 -0
  26. postbound_extensions/fastgres/featurization/data_gen/__init__.py +11 -0
  27. postbound_extensions/fastgres/featurization/data_gen/_minmax.py +104 -0
  28. postbound_extensions/fastgres/featurization/data_gen/_statistics.py +26 -0
  29. postbound_extensions/fastgres/featurization/data_gen/_string.py +160 -0
  30. postbound_extensions/fastgres/featurization/data_gen/_wildcard.py +163 -0
  31. postbound_extensions/fastgres/hinting/__init__.py +38 -0
  32. postbound_extensions/fastgres/hinting/_hint.py +10 -0
  33. postbound_extensions/fastgres/hinting/_hint_library.py +25 -0
  34. postbound_extensions/fastgres/hinting/_hint_set.py +94 -0
  35. postbound_extensions/fastgres/hinting/_hint_set_factory.py +42 -0
  36. postbound_extensions/fastgres/hinting/_util.py +40 -0
  37. postbound_extensions/fastgres/hinting/pg_lib/__init__.py +26 -0
  38. postbound_extensions/fastgres/hinting/pg_lib/_libraries.py +22 -0
  39. postbound_extensions/fastgres/hinting/pg_lib/_postgres_hints.py +89 -0
  40. postbound_extensions/fastgres/hinting/pg_lib/_util.py +52 -0
  41. postbound_extensions/fastgres/labeling/__init__.py +16 -0
  42. postbound_extensions/fastgres/labeling/_executor.py +99 -0
  43. postbound_extensions/fastgres/labeling/_labeler.py +265 -0
  44. postbound_extensions/fastgres/labeling/_result.py +34 -0
  45. postbound_extensions/fastgres/labeling/_util.py +43 -0
  46. postbound_extensions/fastgres/model/__init__.py +7 -0
  47. postbound_extensions/fastgres/model/_base.py +22 -0
  48. postbound_extensions/fastgres/model/_context_base.py +52 -0
  49. postbound_extensions/fastgres/model/_fastgres.py +190 -0
  50. postbound_extensions/lpbound/__init__.py +41 -0
  51. postbound_extensions/lpbound/_core.py +37 -0
  52. postbound_extensions/lpbound/_estimator.py +77 -0
  53. postbound_extensions/lpbound/_linprog.py +474 -0
  54. postbound_extensions/lpbound/_norms.py +1292 -0
  55. postbound_extensions/meta/__init__.py +19 -0
  56. postbound_extensions/meta/_meta.py +158 -0
  57. postbound_extensions/mscn/LICENSE +21 -0
  58. postbound_extensions/mscn/__init__.py +188 -0
  59. postbound_extensions/mscn/_estimator.py +479 -0
  60. postbound_extensions/mscn/_featurizer.py +937 -0
  61. postbound_extensions/mscn/_misc.py +94 -0
  62. postbound_extensions/mscn/_model.py +107 -0
  63. postbound_extensions/naru/LICENSE +201 -0
  64. postbound_extensions/naru/__init__.py +124 -0
  65. postbound_extensions/naru/_domain.py +581 -0
  66. postbound_extensions/naru/_estimator.py +535 -0
  67. postbound_extensions/naru/_hyperparams.py +158 -0
  68. postbound_extensions/naru/_made.py +362 -0
  69. postbound_extensions/naru/_ordering.py +121 -0
  70. postbound_extensions/naru/_predicates.py +300 -0
  71. postbound_extensions/naru/_sampling.py +121 -0
  72. postbound_extensions/naru/_table_model.py +448 -0
  73. postbound_extensions/preprocessing/__init__.py +3 -0
  74. postbound_extensions/preprocessing/_encoders.py +407 -0
  75. postbound_extensions/safebound/__init__.py +244 -0
  76. postbound_extensions/safebound/_catalog.py +2761 -0
  77. postbound_extensions/safebound/_compress.py +70 -0
  78. postbound_extensions/safebound/_estimator.py +59 -0
  79. postbound_extensions/safebound/_fdsb.py +711 -0
  80. postbound_extensions/safebound/_piecewise_fns.py +936 -0
  81. postbound_extensions/sampler/__init__.py +3 -0
  82. postbound_extensions/sampler/__init__.pyi +4 -0
  83. postbound_extensions/sampler/_cards.py +208 -0
  84. postbound_extensions/sampler/_qgen.py +619 -0
  85. postbound_extensions/tonic/__init__.py +155 -0
  86. postbound_extensions/tonic/_tonic.py +1358 -0
  87. postbound_extensions/ues/__init__.py +125 -0
  88. postbound_extensions/ues/_ues.py +704 -0
  89. postbound_extensions/util.py +177 -0
  90. postbound_playground-0.1.0.dist-info/METADATA +148 -0
  91. postbound_playground-0.1.0.dist-info/RECORD +96 -0
  92. postbound_playground-0.1.0.dist-info/WHEEL +4 -0
  93. postbound_playground-0.1.0.dist-info/licenses/LICENSE +674 -0
  94. postbound_playground-0.1.0.dist-info/licenses/postbound_extensions/bao/LICENSE +674 -0
  95. postbound_playground-0.1.0.dist-info/licenses/postbound_extensions/mscn/LICENSE +21 -0
  96. postbound_playground-0.1.0.dist-info/licenses/postbound_extensions/naru/LICENSE +201 -0
@@ -0,0 +1,12 @@
1
+ """PostBOUND Extensions - A curated collection of novel ideas in query optimization."""
2
+
3
+ from importlib.metadata import PackageNotFoundError, version
4
+
5
+ import lazy_loader
6
+
7
+ __getattr__, __dir__, __all__ = lazy_loader.attach_stub(__name__, __file__)
8
+
9
+ try:
10
+ __version__ = version("Optimizer-Playground")
11
+ except PackageNotFoundError:
12
+ __version__ = "<development>"
@@ -0,0 +1,29 @@
1
+ from . import (
2
+ bao,
3
+ fastgres,
4
+ lpbound,
5
+ meta,
6
+ mscn,
7
+ naru,
8
+ preprocessing,
9
+ safebound,
10
+ sampler,
11
+ tonic,
12
+ ues,
13
+ util,
14
+ )
15
+
16
+ __all__ = [
17
+ "bao",
18
+ "fastgres",
19
+ "lpbound",
20
+ "meta",
21
+ "mscn",
22
+ "naru",
23
+ "preprocessing",
24
+ "safebound",
25
+ "sampler",
26
+ "tonic",
27
+ "ues",
28
+ "util",
29
+ ]