{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/5"}],"enrichment":{"capability":"ThriftPy2 is a pure Python implementation of Apache Thrift that lets you load Thrift IDL files dynamically and build RPC clients and servers without code generation or compilation.","skillfed_tags":["rpc-framework","thrift-protocol","async-support"],"use_cases":["Build RPC microservices that communicate with Thrift-based servers written in other languages","Dynamically load and parse Thrift service definitions at application startup without code generation","Create async/await-based Thrift servers and clients for high-concurrency applications","Migrate from the deprecated ThriftPy package by changing imports to thriftpy2","Implement HTTP-based Thrift transports for services behind load balancers or proxies"],"what_it_does":"ThriftPy2 is a pure Python Thrift implementation that eliminates the need to compile or install the official Thrift package. You define your service interface in a .thrift file, then load it dynamically at runtime using thriftpy2.load(), which generates Python classes on the fly. This approach works with both synchronous and asynchronous code paths, supporting multiple protocols (binary, compact, JSON, Apache JSON) and transports (buffered, framed, HTTP).\n\nThe package is designed for developers building microservices or distributed systems who want the flexibility of Thrift's language-agnostic RPC without the compilation step. It includes helpers like make_server, make_client, make_aio_server, and make_aio_client to simplify server and client setup. Runtime dependencies are minimal: ply for parsing, ijson for JSON handling, and typing_extensions for type hints.","worth_installing":"Yes. ThriftPy2 is actively maintained, has no known vulnerabilities, supports current Python versions (3.7+), and is widely used (top 5000 PyPI packages). Install it if you need Thrift RPC without compilation overhead. Medium install friction is acceptable given the broad platform coverage and stability."},"id":"thriftpy2","links":{"html":"https://skillfed.io/packages/thriftpy2","md":"https://skillfed.io/packages/thriftpy2.md","pypi":"https://pypi.org/project/thriftpy2/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-09","license_spdx":null,"license_treatment":"permissive","name":"thriftpy2","python_support":"supports_current","summary":"Pure python implementation of Apache Thrift."},"popularity":{"monthly_downloads":1677333,"position":3662,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.7.0"}
