{"library":"twirp","type":"library","category":null,"description":"Twirp is a simple RPC framework built on Protocol Buffers, prioritizing simplicity over expansive features. It enables service-to-service communication by generating routing and serialization code from .proto definitions, running over standard HTTP 1.1 with support for both Protobuf and JSON serialization. The `twirp` Python package (version 0.0.7) serves as the runtime library for 'Twirpy', which is the Python implementation of the Twirp framework, supporting Twirp Wire Protocol v7. While the `twirp` package itself has not seen recent updates, its underlying implementation, `twirpy`, is actively maintained with periodic releases.","language":"python","status":"active","version":"0.0.7","tags":["rpc","protobuf","microservices","code-generation","http","asgi"],"last_verified":"Fri May 22","install":[{"cmd":"pip install twirp uvicorn","imports":["from twirp.asgi import TwirpASGIApp","from twirp.exceptions import InvalidArgument","from twirp.exceptions import TwirpServerException","from twirp.context import Context"]},{"cmd":"protoc --python_out=. --twirpy_out=. ./your_service.proto","imports":[]},{"cmd":"go install github.com/verloop/twirpy/protoc-gen-twirpy@latest","imports":[]}],"homepage":"https://twirp.dev","github":null,"docs":null,"changelog":null,"pypi":"https://pypi.org/project/twirp/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":2.9,"avg_import_s":0.34,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/twirp/compatibility"}}