{"categories":[{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/7"},{"label":"Networking","url":"https://skillfed.io/packages/category/system-networking"}],"enrichment":{"capability":"Provides Python bindings for nng (nanomsg next generation), enabling inter-process and network communication with support for multiple messaging patterns and async frameworks.","skillfed_tags":["async-io","message-passing","distributed-systems"],"use_cases":["Build request-response microservices where clients send queries and servers respond with results.","Implement publish-subscribe systems to broadcast messages to multiple subscribers.","Aggregate messages from multiple producers using Push/Pull sockets with load balancing.","Perform service discovery by broadcasting surveys to respondents and collecting their replies.","Create async inter-process communication pipelines using trio or asyncio for concurrent message handling.","Replace ZeroMQ in applications requiring simpler, more ergonomic messaging APIs."],"what_it_does":"pynng wraps the nng C library to provide ergonomic Python bindings for inter-process and network communication. It supports multiple messaging patterns\u2014Pair (bidirectional), Pub/Sub, Request/Response, Push/Pull, and Surveyor/Respondent\u2014making it suitable for building distributed systems, service discovery, and message aggregation. The library works as a context manager and integrates with async frameworks including asyncio, trio, and curio, allowing both synchronous and asynchronous send/receive operations.\n\nThe package depends on cffi and sniffio for FFI bindings and async runtime detection. It is classified as Alpha development status but maintains an active repository with recent commits. Prebuilt wheels are available for modern Python versions on Windows, macOS, and Linux, though source builds on 32-bit systems or older macOS require CMake.","worth_installing":"Yes, if you need inter-process or network messaging with multiple patterns and async support. The MIT license, active maintenance, and prebuilt wheels for common platforms make it low-friction. The Alpha status and medium install friction are acceptable trade-offs for projects that fit its messaging model. Not suitable if you require stable 1.0+ APIs or need support for platforms without prebuilt wheels."},"id":"pynng","links":{"html":"https://skillfed.io/packages/pynng","md":"https://skillfed.io/packages/pynng.md","pypi":"https://pypi.org/project/pynng/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-02-04","license_spdx":null,"license_treatment":"permissive","name":"pynng","python_support":"unspecified","summary":"Networking made simply using nng"},"popularity":{"monthly_downloads":225680,"position":9215,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.9.0"}
