promptflow-python-bundle


Namepromptflow-python-bundle JSON
Version 0.3.0 PyPI version JSON
download
home_pageNone
SummaryAllow you to create your own promptflow python base images
upload_time2024-06-24 08:11:15
maintainerNone
docs_urlNone
authorMicrosoft Corporation
requires_python<4.0,>=3.8
licenseNone
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.3.0",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "10d65d65c0662316293378f86ae9f67fb15fe198f9e264a9a3d7e2a3c7f10f6a",
                "md5": "28c6062e7c5d018c6014480183a5aa0b",
                "sha256": "9b593dba3e0e0a9bc52632dfd276827bcc5048eab3ad7b0a5de0aa0a4c8b95d2"
            },
            "downloads": -1,
            "filename": "promptflow_python_bundle-0.3.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "28c6062e7c5d018c6014480183a5aa0b",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.8",
            "size": 10264,
            "upload_time": "2024-06-24T08:11:15",
            "upload_time_iso_8601": "2024-06-24T08:11:15.835892Z",
            "url": "https://files.pythonhosted.org/packages/10/d6/5d65c0662316293378f86ae9f67fb15fe198f9e264a9a3d7e2a3c7f10f6a/promptflow_python_bundle-0.3.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-06-24 08:11:15",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "promptflow-python-bundle"
}
        
Elapsed time: 0.28634s