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

  • Local io file read/write helper functions
  • 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
  • Etc.

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.4.tar.gz (10.4 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.4-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sushi_train-0.1.4.tar.gz
  • Upload date:
  • Size: 10.4 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.4.tar.gz
Algorithm Hash digest
SHA256 fd657277d04cbea1cdebc1da66c92741c99fafb089ddfe402f8a770db16297dc
MD5 fc11c0aa1eee35387534e1a1f0340b7e
BLAKE2b-256 fa22c6ae5f58d435811fd2c2d0eded85f546795062bcb01aec0f72e8dcd53a6b

See more details on using hashes here.

Provenance

The following attestation bundles were made for sushi_train-0.1.4.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.4-py3-none-any.whl.

File metadata

  • Download URL: sushi_train-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 2.8 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 68bc54e3c95484c30de5db9abef4b573502c19882041e75f8025ff08464388ce
MD5 0c627754881cb6b4f57a4c1f9cb3b332
BLAKE2b-256 d3e638b72c9c0c076d726b03703983352f2da013913e5ec4ea260e8bf092837a

See more details on using hashes here.

Provenance

The following attestation bundles were made for sushi_train-0.1.4-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