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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for imagespec_fast_builder-0.0.28.tar.gz
Algorithm Hash digest
SHA256 0758275bc96963a9ba8645a2f98fe1dcaea273779df23bc42bd07ae5b768c017
MD5 c0f5714cc7eb8e23b10cbead69bb0c0a
BLAKE2b-256 32d2b2e53c090f126617a00a51940a33a1c0f7b209b18414a116b3c2063fdd05

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imagespec_fast_builder-0.0.28-py3-none-any.whl
Algorithm Hash digest
SHA256 d573dc2a3ee0f520dcae2b3226ce68dbdeaae6333883dc4954909b4d946514dc
MD5 40886f8eec8cbdb2987f8e693b759315
BLAKE2b-256 8a4c69cf25239bb98156c51bc741e098757f4975473358dcbd2714c06f383a4c

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