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

Uploaded Source

Built Distribution

imagespec_fast_builder-0.0.32-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for imagespec_fast_builder-0.0.32.tar.gz
Algorithm Hash digest
SHA256 763953d57986b61950b39099f1ada76576b5a06cfdff8c8c62aad66b9df15f69
MD5 00fc446cc9a4cfbfd76d1f2705413b09
BLAKE2b-256 62d5f4a2f8e85eb0a0f135202540fee0a82786e08e1564fa3ce47554ba60aa35

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imagespec_fast_builder-0.0.32-py3-none-any.whl
Algorithm Hash digest
SHA256 e428e1a179b10a72251048450541657d19fd5a2503226213a31cf6aab7cc76c7
MD5 cf03d84e8682df3381ea580abdf41ddb
BLAKE2b-256 b8e14ea9aa66863f33276c329928dd8e34c3e493d17f93add8c5beccd8bfe459

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