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.7.tar.gz (7.2 kB view details)

Uploaded Source

Built Distribution

imagespec_fast_builder-0.0.7-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for imagespec_fast_builder-0.0.7.tar.gz
Algorithm Hash digest
SHA256 76d93ed796ad59fd01a321d0843678887f85ef61041911d4eeb75db3ebdd8838
MD5 2a202b6d6c02a24ac13390a6d6fd2b6b
BLAKE2b-256 1dd9dd2842c61e5dd545f1c9db1c46b45fc515267588d143ed104a7a555a602b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imagespec_fast_builder-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 ccddd422cbc7fa84c0f4afc5514e48861dc115b51d8df1bab54a0c04472c705d
MD5 5ad41c8049841eb51d905f9bae6b8c49
BLAKE2b-256 71c245334d0d101439fa03bff21db201988faa1d7613107f644ef216b889b17f

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