Skip to main content

A faster ImageSpec builder for flytekit

Project description

imagespec-fast-builder

PyPI - Version PyPI - Python Version


imagespec-fast-builder is alternative backend for flytekit's ImageSpec with the following improvements:

  • Smaller images by using multi-stage builds, a smaller base image, and conda-pack
  • Uses uv for installing from PyPI
  • No additional Python dependencies

Installation

pip install imagespec-fast-builder

How to use

After installing, set ImageSpec's builder to fast-builder:

from flytekit import ImageSpec

image = ImageSpec(
    builder="fast-builder",
    packages=["numpy"],
    registry="localhost:30000",  # Any registry
)

License

imagespec-fast-builder is distributed under the terms of the MIT license.

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

imagespec_fast_builder-0.0.27.tar.gz (8.9 kB view details)

Uploaded Source

Built Distribution

imagespec_fast_builder-0.0.27-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file imagespec_fast_builder-0.0.27.tar.gz.

File metadata

File hashes

Hashes for imagespec_fast_builder-0.0.27.tar.gz
Algorithm Hash digest
SHA256 7559328cd0629134025d66eec71f2b4df6edf7fb1e4950f2f6d91b5e878b8d9c
MD5 3e02dbffe1c1b3684218c85626815563
BLAKE2b-256 2f43f221175b5af50f6cb64cc71559ef95f608bb82c02854f784650df96ab907

See more details on using hashes here.

File details

Details for the file imagespec_fast_builder-0.0.27-py3-none-any.whl.

File metadata

File hashes

Hashes for imagespec_fast_builder-0.0.27-py3-none-any.whl
Algorithm Hash digest
SHA256 65bb876592a8e6d6f24594009e4c7e6457ea8c4520a70dd4249056056ed5b702
MD5 c14360dda3a95fdb2e89b3af726d3723
BLAKE2b-256 e24f6ac1eb07116fee69b1eff7dc365cd5337b9752efb5b639d9d7d667d26a25

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page