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

Uploaded Source

Built Distribution

imagespec_fast_builder-0.0.3-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for imagespec_fast_builder-0.0.3.tar.gz
Algorithm Hash digest
SHA256 e3aa567e2a0a6fb0925894f4dbeaaf416401f32e008ad830e9f800a3299d388a
MD5 c3578a66a65740cd80ca53c22bc9c2f6
BLAKE2b-256 f4ca892acd06dbe0e08377463f7b987191baab9ac52cb24759f9ff79b01b2807

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imagespec_fast_builder-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4af6bb6abaf3d335d57f5570b59539eeaeeadce28502cf38648f3140b102f32a
MD5 d80bdc09c577bd6e556daab1df89c448
BLAKE2b-256 cb8e894c44284a92948a31623555cbe58043f953787a8a050c07fccefeff2cc7

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