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.0.tar.gz
(19.8 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.0-py3-none-any.whl
(23.9 kB
view details)
File details
Details for the file smallcat-0.2.0.tar.gz.
File metadata
- Download URL: smallcat-0.2.0.tar.gz
- Upload date:
- Size: 19.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f1d8a16310aa2dd8f8ccdd00795f5ac94f71a1693bf95f5dd14f6d5c3a44325c
|
|
| MD5 |
be12523abd0cceacb7abffd3bbcbc8ad
|
|
| BLAKE2b-256 |
bf2c5c753c896eff15ff48c6e2f75470eaae2db4288f34a8e57a23f41f088b53
|
File details
Details for the file smallcat-0.2.0-py3-none-any.whl.
File metadata
- Download URL: smallcat-0.2.0-py3-none-any.whl
- Upload date:
- Size: 23.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cbf7e400733fb8839e61eda377021bd0792e5ac07802f6da10892021195387d7
|
|
| MD5 |
165d70e47809e2efc08d3ba36580dc10
|
|
| BLAKE2b-256 |
82db8c594b2e9f76f1a8ceb9da8a66a76963b0c94e298e82f114fdd33185846f
|