Skip to main content

Add your description here

Project description

smallcat logo

smallcat

A small, modular data catalog.

PyPI Python versions CI coverage license downloads docs

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


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.2.tar.gz (19.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

smallcat-0.2.2-py3-none-any.whl (23.9 kB view details)

Uploaded Python 3

File details

Details for the file smallcat-0.2.2.tar.gz.

File metadata

  • Download URL: smallcat-0.2.2.tar.gz
  • Upload date:
  • Size: 19.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.5

File hashes

Hashes for smallcat-0.2.2.tar.gz
Algorithm Hash digest
SHA256 cc3a205fdcb8dac5827b50c8d1dc0a3384ac9e44459967d6be42145bf5f6f30e
MD5 0b9fb5fe8d90cd85e9f1272c38173f04
BLAKE2b-256 1a0898804cd97f01251d2c31ac4fcacd1faaed247a00018fe25adcc98293ea58

See more details on using hashes here.

File details

Details for the file smallcat-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: smallcat-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 23.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.5

File hashes

Hashes for smallcat-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2b7e744887bd8d28d53653ed4acbf471f22de3552422df5019118ac5bc2d56a0
MD5 bbe6fda8dd03777cb351fed655ac78c7
BLAKE2b-256 2f82e34f9eda01c77f28c7d76f78bebb7f8e2b4a9e7f444b157066c5cdca1371

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page