Skip to main content

A faster ImageSpec builder for flytekit

Project description

imagespec-fast-builder

PyPI - Version PyPI - Python Version


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 from PyPI
  • 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

imagespec_fast_builder-0.0.22.tar.gz (8.4 kB view details)

Uploaded Source

Built Distribution

imagespec_fast_builder-0.0.22-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file imagespec_fast_builder-0.0.22.tar.gz.

File metadata

File hashes

Hashes for imagespec_fast_builder-0.0.22.tar.gz
Algorithm Hash digest
SHA256 47554f90a4565b4a486dbd5066dd1dd5002bf95a2085de53c7af113d776e8697
MD5 aff040357f082e625cb23246de2f62cd
BLAKE2b-256 f677e003cd80f4f6c11942991888ffa1d030136f60bf85dcfc4fc6a091daa77c

See more details on using hashes here.

File details

Details for the file imagespec_fast_builder-0.0.22-py3-none-any.whl.

File metadata

File hashes

Hashes for imagespec_fast_builder-0.0.22-py3-none-any.whl
Algorithm Hash digest
SHA256 78d6b435ccf94ef859751a1fee09aa864d8aac66ed16660c201f6a3aec65b706
MD5 cea76dcf28e1fbd5c41f4a5a76b32773
BLAKE2b-256 7b21610515d40146a5d5096269737ccba9c885d4068dcee7a6c174a6692e72d2

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page