Skip to content

Conversation

@CollierKing
Copy link
Owner

Summary

  • Add WorkerConnection class for D1 Worker bindings (use inside Cloudflare Python Workers)
  • Add WorkerCursor with async execute_async() method for async database operations
  • Add JsProxy to Python conversion for Pyodide/Workers runtime compatibility
  • Add example Python Worker demonstrating D1 integration in examples/workers/
  • Add integration test suite for Python Workers
  • Bump version to 0.2.0

Test plan

  • Integration tests pass (uv run pytest tests/test_worker_integration.py -v)
  • All 8 tests pass against local pywrangler dev server
  • Ruff checks pass
  • Pre-commit hooks pass

- Add WorkerConnection class for D1 Worker bindings
- Add WorkerCursor with async execute_async() method
- Add JsProxy to Python conversion for Pyodide compatibility
- Add example Python Worker demonstrating D1 integration
- Add integration test suite for Python Workers
- Bump version to 0.2.0
@CollierKing CollierKing force-pushed the feature/python-workers-support branch from 57568c0 to 88d3053 Compare December 15, 2025 03:32
@CollierKing CollierKing merged commit 027f91e into main Dec 15, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants