Solace Python API

The Solace Messaging API for Python, version 1.11, can be used in cloud-based and enterprise-scale server applications. We recommend that you use a version of the Python SDK that is in active support and has security update support. For more information, see the Python Developer Guide.

The Solace Python API supports the following Message Exchange Patterns:

  • Publish-Subscribe
  • Request-Reply

The Solace Python API shares the same asynchronous and non-blocking programming model as the Solace JavaScript API, Solace Go API, and Solace Node.js API. However, the Solace Python API is packaged differently and optimized for Python.

Get Started

To get up to speed quickly developing applications using the Solace Python API you may want to check out our Python Tutorials.

Before you can start working with the Solace Python API, you must have access to a Solace event broker to test and use your Python application.

You can get started using a Solace event broker in any of these ways:

  • If you have an appliance event broker or software event broker already deployed, obtain
    • the hostname or IP address of an event broker to test against
    • a username and password to access it
    • a Message VPN in which you can produce and consume messages
  • You can set up a software event broker as a container image. For more information, see Setting Up Container Images
  • If you have Solace Cloud, you create a new event broker service. For more information, see Creating Event Broker Services.