deploy-py

Build a Python wheel, upload it to R2, and publish latest.json metadata.

Updated Feb 28, 2026
One-click install
npx skills add https://github.com/tachiiri-org/agent-ops --skill deploy-py
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: deploy-py
Source: https://github.com/tachiiri-org/agent-ops/tree/main/.codex/skills/deploy-py
Command: npx skills add https://github.com/tachiiri-org/agent-ops --skill deploy-py

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the process of building Python packages, uploading them to a release repository, and updating version metadata, streamlining your release workflow.

Core Features & Use Cases

  • Automated Build: Creates a Python wheel package using uv build.
  • Artifact Upload: Uploads the built wheel to R2 storage.
  • Metadata Update: Publishes a latest.json file with version and URL information.
  • Use Case: After successfully testing a new feature in your Python library, use this Skill to quickly and reliably deploy it to your users.

Quick Start

Build and deploy the current Python project using the deploy-py skill.

Frequently Asked Questions about deploy-py

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a Python wheel and upload it to R2 storage?

To build a Python wheel and upload it to R2 storage, you can use an automated deployment workflow that leverages uv for building the package and wrangler for uploading the release artifacts to your R2 bucket.

What is the best way to automate Python package releases with version control?

Automating Python package releases with version control is best handled by a workflow that builds the wheel, uploads artifacts to R2, and publishes a latest.json metadata file containing the current version and download URL.

Do I need wrangler authentication to deploy Python packages to R2?

Yes, you need wrangler authentication to deploy Python packages to R2 because the deployment process verifies your wrangler credentials before securely uploading the built wheel artifacts to the R2 storage bucket.

Can I use uv for building Python packages before publishing release metadata?

Yes, you can use uv for building Python packages before publishing release metadata because the workflow specifically executes the uv build command to create the wheel that is subsequently uploaded and tracked.

How does publishing latest.json metadata work in a Python release workflow?

Publishing latest.json metadata in a Python release workflow works by generating a file that contains the newly built version number and the direct URL to the artifact stored in R2, allowing clients to check for updates.

What are the limitations of using R2 for Python package artifact management?

A limitation of using R2 for Python package artifact management is that it requires separate wrangler authentication verification and does not natively generate standard repository indexes like PyPI without additional latest.json metadata.