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.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a46e791788d6464ed424c106f56e4987aa4dc60bef039402a60795b5b109943d |
|
MD5 | 6b57de361692f03d26c72a879a82cd43 |
|
BLAKE2b-256 | 0cecef722cda470a28ad5bedc535f0cb7490a45698ca1c14a8930c0bff0df24b |
Close
Hashes for imagespec_fast_builder-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 409139f268810497f7e3bef4880a77eeae9842c8f143d6ce6177da402af1c791 |
|
MD5 | 82d5c4ffa1c6e95c8296b618816e4ec0 |
|
BLAKE2b-256 | 19a9c8deef99c04a0d6cade29d010292bf2bbd7513d62b8b9756afe06d12ffe8 |