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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for imagespec_fast_builder-0.0.20.tar.gz
Algorithm Hash digest
SHA256 3f508cafcb3a8ee96bf30bbd3524880cd60b1ffe9e90a1b525cedebf1757e9e2
MD5 e79a20c312854ebb5cfdcf22f4003b71
BLAKE2b-256 1e5a4c6e901cfd8f07ec551ca610e05c769573519afc77a9fb7ac1e41b530937

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imagespec_fast_builder-0.0.20-py3-none-any.whl
Algorithm Hash digest
SHA256 e2d04af69ca876e9b8e786212030ef817128782029f4143b64008578c9c40005
MD5 539fedc34d458169a57202dcc08b4964
BLAKE2b-256 3ac7bb1be2e52e549460f86e10e4bd685ef8f2e372f449bce05094754cdc90c2

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