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

Uploaded Source

Built Distribution

imagespec_fast_builder-0.0.18-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for imagespec_fast_builder-0.0.18.tar.gz
Algorithm Hash digest
SHA256 f9bd603a4ed3a51ee985b56e5a99d8a9996f28c487d02a93672c73f609d78b69
MD5 7dab82865564511263ff0e514ca11a76
BLAKE2b-256 c22eafff5e8bd0f39b34dc14dcd13b6ad129fd57d38e4c202b5bc711a701c412

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imagespec_fast_builder-0.0.18-py3-none-any.whl
Algorithm Hash digest
SHA256 dcf4de92c99e1943ad18c68ee1390b24b1c3958e4d838fd8ad4c819f055c7c95
MD5 ce84534a131f6961fb80decc3bf2b538
BLAKE2b-256 f593ad82100e4b763d6b59a40553e061e40915084989be6ba48f0aeda2570725

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