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.0rc5.tar.gz (19.7 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.1.0rc5-py3-none-any.whl (23.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for smallcat-0.1.0rc5.tar.gz
Algorithm Hash digest
SHA256 a59beb104dcb3e6444091576902c2b4ffb0588c202f371b937341f9ffa2b378f
MD5 8ca223a89bcfa0b44c8163dc19499b42
BLAKE2b-256 64504ee77b43a9ec5fa6505d259ea68ac19f4d067ee37f525763f89ff0cb1300

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for smallcat-0.1.0rc5-py3-none-any.whl
Algorithm Hash digest
SHA256 27ba40d6d58f2d15ce56082fcd4d5a0c701d7a3c1b166335483da66fbe4ed058
MD5 cab52739b28b02760ce3e3cb1576d028
BLAKE2b-256 c9ebe088cda3d0bf33f852149bfdc306cd2c69c59b9683b2a5295cc0196a712f

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