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

Uploaded Source

Built Distribution

imagespec_fast_builder-0.0.13-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for imagespec_fast_builder-0.0.13.tar.gz
Algorithm Hash digest
SHA256 beb58c299339616a018f2129ba1954a9060deed5f651845a3a4b7024a165b04d
MD5 90d2f0a224f0c7be894eaa2506e6b13e
BLAKE2b-256 8dcf0b90ea3d35303b706b133095adfe6620c328e5b1340624badf2730867641

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imagespec_fast_builder-0.0.13-py3-none-any.whl
Algorithm Hash digest
SHA256 17560cae36665f91faa1bccfad6eb4798c4536b7efaa2d339c9833bf53566a1b
MD5 e0f41690149282848ad6a94b045bad02
BLAKE2b-256 d72b0aac61bda93b79163fdf3e6389f602a7ec772d1ad9fe3a2b02766d68ad58

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