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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for imagespec_fast_builder-0.0.12.tar.gz
Algorithm Hash digest
SHA256 db663f2f79ad967b500e04613c56c31d580ae2fd8c5a38d68987a61b29638b93
MD5 d028ead07d5d59080180e23bb6dcfcb8
BLAKE2b-256 367afd5012d90e968ab4a3eb2acafd8ac979a4da1b381ec6ff17e31af5570a58

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imagespec_fast_builder-0.0.12-py3-none-any.whl
Algorithm Hash digest
SHA256 55818e0851751de468baa318436bd510fdc5e70862de3166daf9fc8b42a2346a
MD5 5272106aa0d6132707dd01c09389c2e6
BLAKE2b-256 433622f7ab42dd0a58ea34159abe4daf0e6d2262f0d1d98e6d3233057a449846

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