Add your description here
Project description
smallcat
A small, modular data catalog.
Install
pip install smallcat
Quickstart
Create Catalog
Local catalogs can be kept in YAML files.
entries:
foo:
file_format: csv
connection:
conn_type: fs
extra:
base_path: /tmp/smallcat-example/
location: foo.csv
load_options:
header: true
bar:
file_format: parquet
connection:
conn_type: google_cloud_platform
extra:
bucket: my-bucket
location: bar.csv
save_options:
partition_by:
- year
- month
Standalone
from smallcat import Catalog
catalog = Catalog.from_path("catalog.yaml")
catalog.save_pandas("foo", df)
df2 = catalog.load_pandas("foo")
With Airflow
from smallcat import Catalog
catalog = Catalog.from_airflow_variable("example_catalog")
df = catalog.load_pandas("bar")
Docs
Read more at the official docs.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
smallcat-0.2.3.tar.gz
(19.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
smallcat-0.2.3-py3-none-any.whl
(24.1 kB
view details)
File details
Details for the file smallcat-0.2.3.tar.gz.
File metadata
- Download URL: smallcat-0.2.3.tar.gz
- Upload date:
- Size: 19.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9008dc9986b61af891fb3539fcdc4529119bfbaa23be53cd55633c7c0c770459
|
|
| MD5 |
08fa58ed54ea98882eb581f415549ed5
|
|
| BLAKE2b-256 |
7bbe90d8892ab1812980d5dead5b007cbe7aa2642a6192ac87cca113e4732233
|
File details
Details for the file smallcat-0.2.3-py3-none-any.whl.
File metadata
- Download URL: smallcat-0.2.3-py3-none-any.whl
- Upload date:
- Size: 24.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6e25e546482e58d7529e08470b22dde45165faee70080283142c09e3be0fd8df
|
|
| MD5 |
ccec60e0d7cf04a2a9f4efe2eaa3fe23
|
|
| BLAKE2b-256 |
7c9f7f5285893537a544b36feac0ef59d4c47d144ee773e005e947cb8b40d615
|