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

Uploaded Source

Built Distribution

imagespec_fast_builder-0.0.2-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for imagespec_fast_builder-0.0.2.tar.gz
Algorithm Hash digest
SHA256 7a17d70112325f46923f126bd2c2592d9852b0add3b41bd5f334203efe675576
MD5 077803d135fb4dfd2d9d9637247d2079
BLAKE2b-256 659c14bdbe160b05d269ee611fd577bfb804d55a039c7dcb88b64e343a7a6cf2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imagespec_fast_builder-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2f3e491bcc6389e7b723c8f169bc5b37ed0e253cd9c901dd868ec938b7912001
MD5 de9e417f1f4134fad18853977d310779
BLAKE2b-256 3509b9dddf0f6fd27ba9677974e0adfb9137e49891e9eebd08960c450f114e5c

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