{"categories":[{"label":"Application Frameworks","url":"https://skillfed.io/packages/category/software-development-libraries-application-frameworks/2"}],"enrichment":{"capability":"Twirp is a Python implementation of the Twirp RPC framework that generates server and client code from protobuf definitions, supporting Twirp Wire Protocol v7.","skillfed_tags":["rpc-framework","protobuf","asgi"],"use_cases":["Build microservices that communicate via Twirp RPC instead of REST or gRPC.","Generate type-safe client and server stubs from protobuf definitions with minimal boilerplate.","Migrate from Twirp services in other languages to Python.","Create lightweight RPC services that run on standard ASGI servers like uvicorn."],"what_it_does":"Twirp is a Python RPC framework that lets you define services in protobuf and automatically generate both server and client code. It implements the Twirp Wire Protocol v7, which is a lightweight alternative to gRPC that works over HTTP. The package provides an ASGI-compatible server wrapper (TwirpASGIApp) that you can run with uvicorn, plus client stubs that speak the Twirp protocol to remote services.\n\nYou define your service interface in a .proto file, run the protoc compiler with the twirpy plugin to generate Python code, then implement your service logic by subclassing the generated server class. The framework handles serialization, HTTP routing, and error handling. It depends on requests for HTTP calls, structlog for logging, and protobuf for message encoding.","worth_installing":"No\u2014the package is abandoned (last release 2022-04-24) with no active maintenance. License status is unclear, and there is no guarantee of compatibility with current Python or protobuf versions. Use only if you are maintaining legacy code already using this package."},"id":"twirp","links":{"html":"https://skillfed.io/packages/twirp","md":"https://skillfed.io/packages/twirp.md","pypi":"https://pypi.org/project/twirp/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2022-04-24","license_spdx":null,"license_treatment":"unclear","name":"twirp","python_support":"unspecified","summary":"Twirp server and client lib"},"popularity":{"monthly_downloads":1086330,"position":4384,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.0.7"}
