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.3.0.tar.gz
(20.2 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.3.0-py3-none-any.whl
(24.3 kB
view details)
File details
Details for the file smallcat-0.3.0.tar.gz.
File metadata
- Download URL: smallcat-0.3.0.tar.gz
- Upload date:
- Size: 20.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c3855b4de31143e1f05ef805658bee911f9f759790dcfcf2a53a58febda12037
|
|
| MD5 |
7f4894e72480ee748b7fefc9975b3bd5
|
|
| BLAKE2b-256 |
28353918e5ad0594882ee13aaabc60569e6f407bfa379f98e514d3ac1ab20bbb
|
File details
Details for the file smallcat-0.3.0-py3-none-any.whl.
File metadata
- Download URL: smallcat-0.3.0-py3-none-any.whl
- Upload date:
- Size: 24.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
894d46831b2a52eec3cc9a4796ae84d0d33440d678625c71cb557a4f95a05fae
|
|
| MD5 |
ae7ba23020230e3791c3dd461650020f
|
|
| BLAKE2b-256 |
40acd654794091a19e6802ec9258f2f257d753eb1f853757fa7e481243031bfe
|