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.0.tar.gz
(19.7 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.1.0-py3-none-any.whl
(23.9 kB
view details)
File details
Details for the file smallcat-0.1.0.tar.gz.
File metadata
- Download URL: smallcat-0.1.0.tar.gz
- Upload date:
- Size: 19.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
97f5d4bbcab9e47a20339c33f8f0e785365489a7f3b2be01678caaeff5ff60ea
|
|
| MD5 |
66943ac1ca2108847994814dbe9969b3
|
|
| BLAKE2b-256 |
072b9ae7762ab45a60aa29fa20b96b8c9197785bc995ae38a78b47d74b0bff81
|
File details
Details for the file smallcat-0.1.0-py3-none-any.whl.
File metadata
- Download URL: smallcat-0.1.0-py3-none-any.whl
- Upload date:
- Size: 23.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
035718c02910ca1fd993c3978833e20303ab7c6b39c17c8b10c336f429f9cfef
|
|
| MD5 |
04cc7bb751e9546b9373daa44c5ef81c
|
|
| BLAKE2b-256 |
534f59bfcd4d05e0d9089c56aba173e838a7d1f69f21013eab666a198b7e02ca
|