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/
load_options:
header: true
bar:
file_format: parquet
connection:
conn_type: google_cloud_platform
extra:
bucket: my-bucket
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.1.0rc2.tar.gz
(18.5 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
File details
Details for the file smallcat-0.1.0rc2.tar.gz.
File metadata
- Download URL: smallcat-0.1.0rc2.tar.gz
- Upload date:
- Size: 18.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8639bb66b4f81e892ceea59d1054391f82a728c98c420690f58de3b19d8102f0
|
|
| MD5 |
082c542c51064705c9cf256aaa71ab27
|
|
| BLAKE2b-256 |
cb6c48c98259f1c6d567b7a1473303cad0f7f0a480cfb22189d6feb7bad9999e
|
File details
Details for the file smallcat-0.1.0rc2-py3-none-any.whl.
File metadata
- Download URL: smallcat-0.1.0rc2-py3-none-any.whl
- Upload date:
- Size: 22.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1afe063a7d7f471a3990f7fb1cfd795939306226d8f5aa64ad748a9b34a20f03
|
|
| MD5 |
ef0d99a6048f75fd4338b57654564967
|
|
| BLAKE2b-256 |
380ccfd3cdc42c842d7cdfed71bd7527bfc0e5aa0083441e32096ee90a063b2b
|