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.1.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.1-py3-none-any.whl (24.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: smallcat-0.3.1.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.1.tar.gz
Algorithm Hash digest
SHA256 6453993ab87a0db4f09cf312a581bfe278f173ea469c8dc688d05beefc5359e1
MD5 d0542059ca273abc7d01c8290be8a286
BLAKE2b-256 d4035026f2a403d43d5365113cfc7232c4bc0fa1d1e5d9d915fb53bbe0edf387

See more details on using hashes here.

File details

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

File metadata

  • Download URL: smallcat-0.3.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 54f1d82b99b517989f053f7cf174c891cfcd7a2af16dd56003751a091d7b76e6
MD5 b3b5abc474e578cf180ca4a43e81e537
BLAKE2b-256 e190a8c466869af93b43b02a2cf10883da9dddce3928318c51fd3481d478f0b1

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