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

Uploaded Source

Built Distribution

imagespec_fast_builder-0.0.21-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for imagespec_fast_builder-0.0.21.tar.gz
Algorithm Hash digest
SHA256 95237c7600f528ece531a605d93e3acf0f53bd61fabca67fcbd5dabde88d7d33
MD5 615151ff86130e617b3be51241b110f3
BLAKE2b-256 e72a536d8e9213b31af5ddaed0dc45ed1d5018733d753e5bdd6f4e059f95bc81

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imagespec_fast_builder-0.0.21-py3-none-any.whl
Algorithm Hash digest
SHA256 a9223cc31b03ae621f2fe40960f1ebf240965d807f9e5678378babdc788e464a
MD5 6d6a69301d2497fff37b5d1ad277648e
BLAKE2b-256 39392335723d5e6231532e5ccf19a740cf42070e46a6b0682a2519399640d3ed

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