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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for imagespec_fast_builder-0.0.24.tar.gz
Algorithm Hash digest
SHA256 d3549d78d0132d1fd117b1ff5ca60a061caee5a3ace7c7fc5b483aec939d6177
MD5 e336db1b871e8b4e5c5f25f5c1e273dd
BLAKE2b-256 e429f758d573cda04b3ec4e1a0064407e99996db56b21385d738f04195dfd863

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imagespec_fast_builder-0.0.24-py3-none-any.whl
Algorithm Hash digest
SHA256 d313ba443e08e988b250ad3c82d605bfddba201c3e91fc9115a54e99f3318566
MD5 57e1a514d37dabde3ec7d2ad7ac8d8bb
BLAKE2b-256 3b80e21c7abd278247e05f8fe39225bdc415282ebe24f6da40c87bd0a699187e

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