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.25.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6bfb996b87c1a932a032f736404de24d895c212f6ca9fd9dde68d793e7f8cd4d |
|
MD5 | ff07bf2915f4a2b508a99d513d04a7e1 |
|
BLAKE2b-256 | 23efe6f98ce6f24328ebde4f8a0be2f7f157d101ad18c24729c5a8a6a77cc566 |
Close
Hashes for imagespec_fast_builder-0.0.25-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a37fe2f4248291dbe679f61a0ef566d10960f57b9be3e9a7c80c89673351117e |
|
MD5 | 84fbf74ccdd294e16cc884d5feb07ccd |
|
BLAKE2b-256 | d075cab840f12f6524f54d8b3826dff06a012bceb18732e979594903b7bc1256 |