opteryx-catalog 0.4.4__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.
- opteryx_catalog/__init__.py +31 -0
- opteryx_catalog/catalog/__init__.py +3 -0
- opteryx_catalog/catalog/dataset.py +1221 -0
- opteryx_catalog/catalog/manifest.py +23 -0
- opteryx_catalog/catalog/metadata.py +81 -0
- opteryx_catalog/catalog/metastore.py +68 -0
- opteryx_catalog/catalog/view.py +12 -0
- opteryx_catalog/exceptions.py +38 -0
- opteryx_catalog/iops/__init__.py +6 -0
- opteryx_catalog/iops/base.py +42 -0
- opteryx_catalog/iops/fileio.py +125 -0
- opteryx_catalog/iops/gcs.py +225 -0
- opteryx_catalog/opteryx_catalog.py +923 -0
- opteryx_catalog-0.4.4.dist-info/METADATA +464 -0
- opteryx_catalog-0.4.4.dist-info/RECORD +23 -0
- opteryx_catalog-0.4.4.dist-info/WHEEL +5 -0
- opteryx_catalog-0.4.4.dist-info/licenses/LICENSE +201 -0
- opteryx_catalog-0.4.4.dist-info/top_level.txt +3 -0
- scripts/create_dataset.py +201 -0
- scripts/read_dataset.py +268 -0
- tests/test_dataset_metadata.py +15 -0
- tests/test_import.py +5 -0
- tests/test_pyproject.py +8 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"""Opteryx lightweight catalog library.
|
|
2
|
+
|
|
3
|
+
This package provides base classes and simple datatypes for a custom
|
|
4
|
+
catalog implementation that stores table metadata in Firestore and
|
|
5
|
+
consolidated Parquet manifests in GCS.
|
|
6
|
+
|
|
7
|
+
Start here for building a Firestore+GCS backed catalog that writes
|
|
8
|
+
Parquet manifests and stores metadata/snapshots in Firestore.
|
|
9
|
+
"""
|
|
10
|
+
|
|
11
|
+
from .catalog.dataset import SimpleDataset
|
|
12
|
+
from .catalog.manifest import DataFile
|
|
13
|
+
from .catalog.manifest import ManifestEntry
|
|
14
|
+
from .catalog.metadata import DatasetMetadata
|
|
15
|
+
from .catalog.metadata import Snapshot
|
|
16
|
+
from .catalog.metastore import Dataset
|
|
17
|
+
from .catalog.metastore import Metastore
|
|
18
|
+
from .catalog.metastore import View
|
|
19
|
+
from .opteryx_catalog import OpteryxCatalog
|
|
20
|
+
|
|
21
|
+
__all__ = [
|
|
22
|
+
"OpteryxCatalog",
|
|
23
|
+
"Metastore",
|
|
24
|
+
"Dataset",
|
|
25
|
+
"View",
|
|
26
|
+
"SimpleDataset",
|
|
27
|
+
"DatasetMetadata",
|
|
28
|
+
"Snapshot",
|
|
29
|
+
"DataFile",
|
|
30
|
+
"ManifestEntry",
|
|
31
|
+
]
|