Skip to main content

Promptflow python image bundle

This bundle package provides a way to use your own base images to build and run promptflow-python, and build high-quality LLM apps with prompt flow package.

Example usage:

# Choose different python base image
FROM python:3.11

# Required: install runit and procps
RUN apt-get update && apt-get install -y runit procps \
    && apt-get clean \
    && rm -rf /var/lib/apt/lists/*

# Install promptflow-python-bundle
RUN pip install -U promptflow-python-bundle

# Install promptflow to ensure forward compatibility. It will be phased out in the future.
RUN pip install promptflow

# Set port
ENV PORT 8000
EXPOSE $PORT

CMD ["pfapp"]

Currently, we only support Ubuntu and Debian based images, and have verified both AzureML base images and popular images like ubuntu:22.04, debian:11, python:3.10, continuumio/miniconda3:23.3.1-0, nginx:stable, etc.

If your base images doesn't have Python or Conda, you need to install it in you docker file as a prerequisite.

Metadata

Release files for promptflow-python-bundle 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for promptflow-python-bundle 0.3.0
File Interpreter ABI Platform
promptflow_python_bundle-0.3.0-py3-none-any.whl Python 3 none any Details

Release files / promptflow_python_bundle-0.3.0-py3-none-any.whl

Download URL promptflow_python_bundle-0.3.0-py3-none-any.whl
Size 10.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9b593dba3e0e0a9bc52632dfd276827bcc5048eab3ad7b0a5de0aa0a4c8b95d2
BLAKE2b-256 checksum
How to use checksums
10d65d65c0662316293378f86ae9f67fb15fe198f9e264a9a3d7e2a3c7f10f6a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.8.18

Release history Release notifications | RSS feed

This release

0.3.0 This release

1 release file

0.2.0

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page