All Topics
All Topics
Technology
Technology
AI
AI
Business
Business
Entertainment
Entertainment
News
News
Programming
Programming
Security
Security
Science
Science
Design
Design
Environment
Environment
Finance
Finance
Crypto
Crypto
Politics
Politics
Sports
Sports
Education
Education
Gaming
Gaming
Art
Art
Music
Music
Health
Health
Books
Books
Food
Food
Travel
Travel
Personal
Personal
Bluesky
Twitter

Workers - Easy Python package management with Pywrangler

6mo ago

Source

CloudflareWorkers - Easy Python package management with Pywranglercloudflare.com
Snippet from the RSS feed
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 dev uv run pywrangler deploy Pywrangler 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.

You might also wanna read

Revolutionizing Python Package Management with uv Package Manager

The uv package manager revolutionizes Python package management by providing consistency and speed, simplifying the setup of Python environm

anyscale.com·1y ago

Analyzing Bundler Performance: Can Ruby's Package Manager Match uv's Speed?

The article explores the performance comparison between Bundler (Ruby's package manager) and uv (a fast Python package installer), examining

tenderlovemaking.com·6mo ago

Introducing 'uv': A Fast Python Package Manager Written in Rust

The article introduces 'uv,' an extremely fast Python package and project manager written in Rust. It highlights the tool's speed, comprehen

github.com·1y ago

Introducing 'uv': A Fast Python Package Manager Written in Rust

The article introduces 'uv,' an extremely fast Python package and project manager written in Rust. It highlights the tool's speed, comprehen

github.com·1y ago

Cloudflare Python Workers Enhancements: Fast Cold Starts, Package Support, and uv Integration

Cloudflare has significantly improved its Python Workers platform with major enhancements including exceptionally fast cold starts, comprehe

blog.cloudflare.com·6mo ago

Deploying Python Static Sites with uv, Caddy, and Docker

The article details the author's preferred deployment stack for Python-built static sites, focusing on the use of uv (a fast Python package

nkantar.com·10mo ago

Introducing rv: A Comprehensive Ruby Version and Dependency Management Tool

The article introduces 'rv', a new Ruby management tool created by a Bundler developer who spent a decade wanting a better dependency manage

andre.arko.net·10mo ago

Comments

Sign in to join the conversation.

No comments yet. Be the first.