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

Uploaded Source

Built Distribution

imagespec_fast_builder-0.0.25-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for imagespec_fast_builder-0.0.25.tar.gz
Algorithm Hash digest
SHA256 6bfb996b87c1a932a032f736404de24d895c212f6ca9fd9dde68d793e7f8cd4d
MD5 ff07bf2915f4a2b508a99d513d04a7e1
BLAKE2b-256 23efe6f98ce6f24328ebde4f8a0be2f7f157d101ad18c24729c5a8a6a77cc566

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imagespec_fast_builder-0.0.25-py3-none-any.whl
Algorithm Hash digest
SHA256 a37fe2f4248291dbe679f61a0ef566d10960f57b9be3e9a7c80c89673351117e
MD5 84fbf74ccdd294e16cc884d5feb07ccd
BLAKE2b-256 d075cab840f12f6524f54d8b3826dff06a012bceb18732e979594903b7bc1256

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