We are introducing a brand new tool called Pywrangler, which simplifies package management in Python Workers by automatically installing Workers-compatible Python packages into your project.
With Pywrangler, you specify your Worker’s Python dependencies in your pyproject.toml file:
[project]name = "python-beautifulsoup-worker"version = "0.1.0"description = "A simple Worker using beautifulsoup4"requires-python = ">=3.12"dependencies = [ "beautifulsoup4"]
[dependency-groups]dev = [ "workers-py", "workers-runtime-sdk"]You can then develop and deploy your Worker using the following commands:
uv run pywrangler devuv run pywrangler deployPywrangler automatically downloads and vendors the necessary packages for your Worker, and these packages are bundled with the Worker when you deploy.
Consult the Python packages documentation for full details on Pywrangler and Python package management in Workers.
Source: Cloudflare
Latest Posts
- MC1443081: Dynamics 365 Contact Center Adds Speaker-Wise Recording Split in Closed Conversation View

- MC1448701: Dynamics 365 Customer Service Adds Email Classification with Predefined Taxonomies for Case Management

- MC1448669: Dynamics 365 Contact Center Adds Custom Voice Support for Voice Agents

- AWS Glue Data Quality makes ETL anomaly detection free and improves anomaly predictions







