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

Uploaded Source

Built Distribution

imagespec_fast_builder-0.0.11-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for imagespec_fast_builder-0.0.11.tar.gz
Algorithm Hash digest
SHA256 57b63d978c9c486e043add5fa73e0605eff96fe6482df979eef8e5600e3dd958
MD5 ebfa9e46967fd9533b2aff351bde5c15
BLAKE2b-256 190e7f3636c5ffba1e3b67fa087e6fadefc63e0116478287b6a9176785fa4062

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imagespec_fast_builder-0.0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 488efeaba150fa5c5b6cef4aabb9afdeffdc2aa2aef6715377109bf038d7d71d
MD5 4f147914d935fa02ae4de3ad563da931
BLAKE2b-256 c268afa1f660f8637a45830a77e114ca8cca73f3c5767933bed146bfeaf490eb

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