A faster ImageSpec builder for flytekit
Project description
imagespec-fast-builder
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 fromPyPI
- 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for imagespec_fast_builder-0.0.27.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7559328cd0629134025d66eec71f2b4df6edf7fb1e4950f2f6d91b5e878b8d9c |
|
MD5 | 3e02dbffe1c1b3684218c85626815563 |
|
BLAKE2b-256 | 2f43f221175b5af50f6cb64cc71559ef95f608bb82c02854f784650df96ab907 |
Close
Hashes for imagespec_fast_builder-0.0.27-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65bb876592a8e6d6f24594009e4c7e6457ea8c4520a70dd4249056056ed5b702 |
|
MD5 | c14360dda3a95fdb2e89b3af726d3723 |
|
BLAKE2b-256 | e24f6ac1eb07116fee69b1eff7dc365cd5337b9752efb5b639d9d7d667d26a25 |