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/
        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


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.0rc1.tar.gz (3.7 MB view details)

Uploaded Source

Built Distribution

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

smallcat-0.1.0rc1-py3-none-any.whl (22.4 kB view details)

Uploaded Python 3

File details

Details for the file smallcat-0.1.0rc1.tar.gz.

File metadata

  • Download URL: smallcat-0.1.0rc1.tar.gz
  • Upload date:
  • Size: 3.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.3

File hashes

Hashes for smallcat-0.1.0rc1.tar.gz
Algorithm Hash digest
SHA256 b0920c2a07c81137c79562bd10bd8fb0942d5748e53d6ccebc90165320ca4385
MD5 34f212b7c3df4c725e956b1dab0bdae8
BLAKE2b-256 783d56fab49fc4486b95932d948b123d262f722a437050b26360a61e5ceb2d4f

See more details on using hashes here.

File details

Details for the file smallcat-0.1.0rc1-py3-none-any.whl.

File metadata

File hashes

Hashes for smallcat-0.1.0rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 3e43b422163a9a0b786d903032e618b812b4d42b00297985e025946b6d0fb87e
MD5 945489d8d2aa1bab4b258d3815e029a9
BLAKE2b-256 90f60fe1807a0b98836413f86c193bc279e8de14b43e093d1dc62ff3c7f5a111

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