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.26.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0e83f4a52dc2b7e2cee7c90e9da2b490c3c829e6ebc6ef4503bd328be7d3e8e |
|
MD5 | daf64fa4043071657f392ccae437277e |
|
BLAKE2b-256 | 54c7455567baa8c6a803e4cd67c39c6d5c78a9b1790b95435c9ece8aaa611d9e |
Close
Hashes for imagespec_fast_builder-0.0.26-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c3ff3a01e1a158ec26f8fea94f0195103e1c291f5606687727b9ce335e85f3e |
|
MD5 | b58f9ad19dafd9132a70864c8a6edfb9 |
|
BLAKE2b-256 | 6225d77aa67738097241751e75a5166ab900c17a2e574729f51be148ba87c652 |