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.30.tar.gz (9.0 kB view details)

Uploaded Source

Built Distribution

imagespec_fast_builder-0.0.30-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for imagespec_fast_builder-0.0.30.tar.gz
Algorithm Hash digest
SHA256 eb16a472938f54e62fac96bd519b0aaf2cb0af2227255e9fb95cff7330a71ae7
MD5 2cd98d2207e04af5b4914ae890652f88
BLAKE2b-256 80bc1070a04290267d060c702128fef9a7feca05955a360937948ae5c7ac7bd1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imagespec_fast_builder-0.0.30-py3-none-any.whl
Algorithm Hash digest
SHA256 978de0c1eafb0ce5cd14ef143fe30257ceafb4ede0717450efe5342c98854bf1
MD5 3598e11c0a6d204b8e674c39ea068876
BLAKE2b-256 6b80a9485f77904e103beeecce4408a29f203adfd94ffc51cae5dbfc50204ba8

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