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

Uploaded Source

Built Distribution

imagespec_fast_builder-0.0.26-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for imagespec_fast_builder-0.0.26.tar.gz
Algorithm Hash digest
SHA256 a0e83f4a52dc2b7e2cee7c90e9da2b490c3c829e6ebc6ef4503bd328be7d3e8e
MD5 daf64fa4043071657f392ccae437277e
BLAKE2b-256 54c7455567baa8c6a803e4cd67c39c6d5c78a9b1790b95435c9ece8aaa611d9e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imagespec_fast_builder-0.0.26-py3-none-any.whl
Algorithm Hash digest
SHA256 9c3ff3a01e1a158ec26f8fea94f0195103e1c291f5606687727b9ce335e85f3e
MD5 b58f9ad19dafd9132a70864c8a6edfb9
BLAKE2b-256 6225d77aa67738097241751e75a5166ab900c17a2e574729f51be148ba87c652

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