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.24.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3549d78d0132d1fd117b1ff5ca60a061caee5a3ace7c7fc5b483aec939d6177 |
|
MD5 | e336db1b871e8b4e5c5f25f5c1e273dd |
|
BLAKE2b-256 | e429f758d573cda04b3ec4e1a0064407e99996db56b21385d738f04195dfd863 |
Close
Hashes for imagespec_fast_builder-0.0.24-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d313ba443e08e988b250ad3c82d605bfddba201c3e91fc9115a54e99f3318566 |
|
MD5 | 57e1a514d37dabde3ec7d2ad7ac8d8bb |
|
BLAKE2b-256 | 3b80e21c7abd278247e05f8fe39225bdc415282ebe24f6da40c87bd0a699187e |