pynng – Python bindings for NNG
pynng provides Python bindings for NNG (nanomsg next generation), a lightweight messaging library that supports common communication patterns (pub/sub, req/rep, push/pull, pair, bus, survey).
pynng supports both synchronous and asynchronous usage with asyncio and
trio.
Getting Started
API Reference
- Sockets
- Messaging
- Networking
- Services
- TLS Configuration
- Socket Addresses
- Exceptions
AddressInUseAddressInvalidAlreadyExistsAmbiguousAuthenticationErrorBadStateBadTypeBusyCanceledClosedConnectionAbortedConnectionRefusedConnectionResetCryptoErrorDestinationUnreachableInternalInterruptedInvalidOperationMessageStateErrorMessageTooLargeNNGExceptionNoArgumentNoEntryNoMemoryNotSupportedOutOfFilesOutOfSpacePermissionDeniedProtocolErrorReadOnlyStoppedTimeoutTryAgainWriteOnly- Exception Reference Table
- Options