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.3.0.tar.gz (20.2 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.3.0-py3-none-any.whl (24.3 kB view details)

Uploaded Python 3

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

Hashes for smallcat-0.3.0.tar.gz
Algorithm Hash digest
SHA256 c3855b4de31143e1f05ef805658bee911f9f759790dcfcf2a53a58febda12037
MD5 7f4894e72480ee748b7fefc9975b3bd5
BLAKE2b-256 28353918e5ad0594882ee13aaabc60569e6f407bfa379f98e514d3ac1ab20bbb

See more details on using hashes here.

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

Hashes for smallcat-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 894d46831b2a52eec3cc9a4796ae84d0d33440d678625c71cb557a4f95a05fae
MD5 ae7ba23020230e3791c3dd461650020f
BLAKE2b-256 40acd654794091a19e6802ec9258f2f257d753eb1f853757fa7e481243031bfe

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