Name | promptflow-python-bundle JSON |
Version |
0.2.0
JSON |
| download |
home_page | None |
Summary | Allow you to create your own promptflow python base images |
upload_time | 2024-05-15 11:10:43 |
maintainer | None |
docs_url | None |
author | Microsoft Corporation |
requires_python | <4.0,>=3.8 |
license | None |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# 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](https://pypi.org/project/promptflow).
## Example usage:
```dockerfile
# 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](https://github.com/Azure/AzureML-Containers)
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.
Raw data
{
"_id": null,
"home_page": null,
"name": "promptflow-python-bundle",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.8",
"maintainer_email": null,
"keywords": null,
"author": "Microsoft Corporation",
"author_email": null,
"download_url": null,
"platform": null,
"description": "# Promptflow python image bundle\r\n\r\nThis bundle package provides a way to use your own base images to build and run promptflow-python,\r\nand build high-quality LLM apps with [prompt flow package](https://pypi.org/project/promptflow).\r\n\r\n## Example usage:\r\n\r\n```dockerfile\r\n# Choose different python base image\r\nFROM python:3.11\r\n\r\n# Required: install runit and procps\r\nRUN apt-get update && apt-get install -y runit procps \\\r\n && apt-get clean \\\r\n && rm -rf /var/lib/apt/lists/*\r\n\r\n# Install promptflow-python-bundle\r\nRUN pip install -U promptflow-python-bundle\r\n\r\n# Install promptflow to ensure forward compatibility. It will be phased out in the future.\r\nRUN pip install promptflow\r\n\r\n# Set port\r\nENV PORT 8000\r\nEXPOSE $PORT\r\n\r\nCMD [\"pfapp\"]\r\n```\r\n\r\nCurrently, we only support `Ubuntu` and `Debian` based images, and have verified both [AzureML base images](https://github.com/Azure/AzureML-Containers)\r\nand popular images like `ubuntu:22.04`, `debian:11`, `python:3.10`, `continuumio/miniconda3:23.3.1-0`, `nginx:stable`, etc.\r\n\r\nIf your base images doesn't have Python or Conda, you need to install it in you docker file as a prerequisite.\r\n",
"bugtrack_url": null,
"license": null,
"summary": "Allow you to create your own promptflow python base images",
"version": "0.2.0",
"project_urls": null,
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "8df02103e0d4ee9b8fff24f6d2ca8d16991f455052b45ec2493895fece4a6cdc",
"md5": "9fd999231155297e81d0b5d5ac691caf",
"sha256": "4cb93dd68dfde7f284e4d0238075b3215631275ff67a0c8d75bbf445f73e2cbb"
},
"downloads": -1,
"filename": "promptflow_python_bundle-0.2.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "9fd999231155297e81d0b5d5ac691caf",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.8",
"size": 9536,
"upload_time": "2024-05-15T11:10:43",
"upload_time_iso_8601": "2024-05-15T11:10:43.967666Z",
"url": "https://files.pythonhosted.org/packages/8d/f0/2103e0d4ee9b8fff24f6d2ca8d16991f455052b45ec2493895fece4a6cdc/promptflow_python_bundle-0.2.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-05-15 11:10:43",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "promptflow-python-bundle"
}