Skip to main content

Like a sushi train, but for data engineering. Grab a utility function when you want it, and leave it if you don't.

Project description

Sushi Train

Like a sushi train, you can grab a utility if you want it or leave it if you don't.

Sushi Train is a small Python utility library geared towards data engineering tasks. It's designed to be easy to use, minimal, and ready for publishing to PyPI as a community-friendly package. In short, these are a collection of utility functions that I tend to use frequently in my own data workflows.

Goals

  • Provide pragmatic, well-tested helper functions for everyday data engineering workflows.
  • Favor clear, composable utilities over heavy frameworks.
  • Pythonic function naming conventions for clear, intuitive usage at the expense of brevity.

Features

  • Duckdb (in-memory currently) & Ducklake connection and attachment functions
  • Query Param helper for constructing dynamic URLs from .env base URLs
  • Updating Ducklake Catalog from MinIO bucket files

Installation

Install from PyPI:

pip install sushi-train

Example

Import the package and use the small focused utilities. The library exposes short, composable functions so you can grab them off the sushi train and into data pipelines:

from sushi_train import add_query_params_to_url

url = "https://example.com/api"
params = {"roll": "spicy-tuna",
          "edamame": "true"}
full_url = add_query_params_to_url(url, params)

Contributing

Contributions, issues, and suggestions are welcome. This is my first open-source project, so I appreciate any feedback or contributions.

This is intended to be a community-first package — friendly, minimal, and re-useable. It is not intended to be a comprehensive solution for all data engineering tasks.

License

This project is available under the terms of the MIT License — see the LICENSE file.

Contact

Author: Michael Galo — contributions and feedback welcome via GitHub issues.

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

sushi_train-0.1.0.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

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

sushi_train-0.1.0-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

Details for the file sushi_train-0.1.0.tar.gz.

File metadata

  • Download URL: sushi_train-0.1.0.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for sushi_train-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6ffd79a9a61b71afe20d85c6c8b3d64ddaa8867afd7aeaef31783064202b1bca
MD5 38a8fc4d2c9d17ff9a11e9e15c4f96d7
BLAKE2b-256 64e2f4edbbac9dd941907a70caaa70b6fae63734474355cd8d786f79bd55a5aa

See more details on using hashes here.

Provenance

The following attestation bundles were made for sushi_train-0.1.0.tar.gz:

Publisher: publish.yml on MichaelGalo/sushi-train

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sushi_train-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: sushi_train-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for sushi_train-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 eb23e50bd7fc54124f535c5447983102aef71cae413fe386864db3eb0cd7a50d
MD5 365cd98eff8cba443152fdec4473b59b
BLAKE2b-256 9ba94781f435278037d1801bbc418f372682daec0bd25b19f3d87c89b8cf6070

See more details on using hashes here.

Provenance

The following attestation bundles were made for sushi_train-0.1.0-py3-none-any.whl:

Publisher: publish.yml on MichaelGalo/sushi-train

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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