spec2mod
CommunityTurn API specs into ready Python clients.
Authorchristophevg
Version1.0.0
Installs0
System Documentation
What problem does it solve?
spec2mod removes the repetitive work of manually translating an OpenAPI/Swagger/Postman spec into a usable Python client by generating a complete package for you.
Core Features & Use Cases
- Python package generation from specs: Converts OpenAPI 3.x, Swagger 2.0, and Postman/Insomnia exports into a structured Python module.
- Typed client, models, CLI, and REPL: Produces sync and async clients, dataclass-based models, an importable Python API, plus command-line and interactive REPL tooling.
- Safe, spec-faithful outputs: Enforces required fields, preserves base URLs, and generates comprehensive endpoint documentation for verification.
Quick Start
Use the spec2mod skill to generate a Python package from your OpenAPI file located at /path/to/openapi.yaml.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: spec2mod Download link: https://github.com/christophevg/c3/archive/main.zip#spec2mod Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.