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.
- postbound_extensions/__init__.py +12 -0
- postbound_extensions/__init__.pyi +29 -0
- postbound_extensions/bao/LICENSE +674 -0
- postbound_extensions/bao/__init__.py +217 -0
- postbound_extensions/bao/_bao.py +1111 -0
- postbound_extensions/bao/_cache.py +114 -0
- postbound_extensions/bao/_experience.py +274 -0
- postbound_extensions/bao/_featurizer.py +592 -0
- postbound_extensions/bao/_model.py +41 -0
- postbound_extensions/bao/_tcnn.py +97 -0
- postbound_extensions/bao/_util.py +205 -0
- postbound_extensions/ceb/__init__.py +29 -0
- postbound_extensions/ceb/_ceb.py +784 -0
- postbound_extensions/fastgres/__init__.py +68 -0
- postbound_extensions/fastgres/_fastgres.py +119 -0
- postbound_extensions/fastgres/_mapping.py +65 -0
- postbound_extensions/fastgres/_optimizer.py +343 -0
- postbound_extensions/fastgres/_util.py +159 -0
- postbound_extensions/fastgres/context/__init__.py +23 -0
- postbound_extensions/fastgres/context/_context.py +154 -0
- postbound_extensions/fastgres/context/_context_manager.py +173 -0
- postbound_extensions/fastgres/context/_schema.py +122 -0
- postbound_extensions/fastgres/featurization/__init__.py +9 -0
- postbound_extensions/fastgres/featurization/_dbutil.py +98 -0
- postbound_extensions/fastgres/featurization/_featurizer.py +358 -0
- postbound_extensions/fastgres/featurization/data_gen/__init__.py +11 -0
- postbound_extensions/fastgres/featurization/data_gen/_minmax.py +104 -0
- postbound_extensions/fastgres/featurization/data_gen/_statistics.py +26 -0
- postbound_extensions/fastgres/featurization/data_gen/_string.py +160 -0
- postbound_extensions/fastgres/featurization/data_gen/_wildcard.py +163 -0
- postbound_extensions/fastgres/hinting/__init__.py +38 -0
- postbound_extensions/fastgres/hinting/_hint.py +10 -0
- postbound_extensions/fastgres/hinting/_hint_library.py +25 -0
- postbound_extensions/fastgres/hinting/_hint_set.py +94 -0
- postbound_extensions/fastgres/hinting/_hint_set_factory.py +42 -0
- postbound_extensions/fastgres/hinting/_util.py +40 -0
- postbound_extensions/fastgres/hinting/pg_lib/__init__.py +26 -0
- postbound_extensions/fastgres/hinting/pg_lib/_libraries.py +22 -0
- postbound_extensions/fastgres/hinting/pg_lib/_postgres_hints.py +89 -0
- postbound_extensions/fastgres/hinting/pg_lib/_util.py +52 -0
- postbound_extensions/fastgres/labeling/__init__.py +16 -0
- postbound_extensions/fastgres/labeling/_executor.py +99 -0
- postbound_extensions/fastgres/labeling/_labeler.py +265 -0
- postbound_extensions/fastgres/labeling/_result.py +34 -0
- postbound_extensions/fastgres/labeling/_util.py +43 -0
- postbound_extensions/fastgres/model/__init__.py +7 -0
- postbound_extensions/fastgres/model/_base.py +22 -0
- postbound_extensions/fastgres/model/_context_base.py +52 -0
- postbound_extensions/fastgres/model/_fastgres.py +190 -0
- postbound_extensions/lpbound/__init__.py +41 -0
- postbound_extensions/lpbound/_core.py +37 -0
- postbound_extensions/lpbound/_estimator.py +77 -0
- postbound_extensions/lpbound/_linprog.py +474 -0
- postbound_extensions/lpbound/_norms.py +1292 -0
- postbound_extensions/meta/__init__.py +19 -0
- postbound_extensions/meta/_meta.py +158 -0
- postbound_extensions/mscn/LICENSE +21 -0
- postbound_extensions/mscn/__init__.py +188 -0
- postbound_extensions/mscn/_estimator.py +479 -0
- postbound_extensions/mscn/_featurizer.py +937 -0
- postbound_extensions/mscn/_misc.py +94 -0
- postbound_extensions/mscn/_model.py +107 -0
- postbound_extensions/naru/LICENSE +201 -0
- postbound_extensions/naru/__init__.py +124 -0
- postbound_extensions/naru/_domain.py +581 -0
- postbound_extensions/naru/_estimator.py +535 -0
- postbound_extensions/naru/_hyperparams.py +158 -0
- postbound_extensions/naru/_made.py +362 -0
- postbound_extensions/naru/_ordering.py +121 -0
- postbound_extensions/naru/_predicates.py +300 -0
- postbound_extensions/naru/_sampling.py +121 -0
- postbound_extensions/naru/_table_model.py +448 -0
- postbound_extensions/preprocessing/__init__.py +3 -0
- postbound_extensions/preprocessing/_encoders.py +407 -0
- postbound_extensions/safebound/__init__.py +244 -0
- postbound_extensions/safebound/_catalog.py +2761 -0
- postbound_extensions/safebound/_compress.py +70 -0
- postbound_extensions/safebound/_estimator.py +59 -0
- postbound_extensions/safebound/_fdsb.py +711 -0
- postbound_extensions/safebound/_piecewise_fns.py +936 -0
- postbound_extensions/sampler/__init__.py +3 -0
- postbound_extensions/sampler/__init__.pyi +4 -0
- postbound_extensions/sampler/_cards.py +208 -0
- postbound_extensions/sampler/_qgen.py +619 -0
- postbound_extensions/tonic/__init__.py +155 -0
- postbound_extensions/tonic/_tonic.py +1358 -0
- postbound_extensions/ues/__init__.py +125 -0
- postbound_extensions/ues/_ues.py +704 -0
- postbound_extensions/util.py +177 -0
- postbound_playground-0.1.0.dist-info/METADATA +148 -0
- postbound_playground-0.1.0.dist-info/RECORD +96 -0
- postbound_playground-0.1.0.dist-info/WHEEL +4 -0
- postbound_playground-0.1.0.dist-info/licenses/LICENSE +674 -0
- postbound_playground-0.1.0.dist-info/licenses/postbound_extensions/bao/LICENSE +674 -0
- postbound_playground-0.1.0.dist-info/licenses/postbound_extensions/mscn/LICENSE +21 -0
- 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
|
+
]
|