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.9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81f8be5b4d04c8d2ef5630706d725d39a0c87d37e8a5154efb606647c02de243 |
|
MD5 | 5fa61f73e9bf2b21f47ae7fb914dd26b |
|
BLAKE2b-256 | c8757e3164426e0b736b45eb6d77ae8d7700f5e72939323729342cb54d7dcf69 |
Close
Hashes for imagespec_fast_builder-0.0.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2116b7b1127f78eae802ffa1466167313c6f2d1f2b8fdeca132d3d980790d11c |
|
MD5 | 4d49becbb17140c7276dc27b5bc8ead2 |
|
BLAKE2b-256 | 10228461162c1854349be2c645370a093acb2a626d9cc57f0394ae10ca531f58 |