Python API

The Solace Messaging API for Python, version 1.10, can be used in cloud-based and enterprise-scale server applications. To use this API, we recommend that use a version of the Python SDK that is in active support and has security update support. For more information, see Python Version Support site.

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. The difference is that it is packaged differently, and optimized for Python.

Message Exchange Patterns

The Solace Messaging API for Python supports the following message exchange patterns:

  • Publish / Subscribe
  • Request / Reply

For more information, see Message Exchange Patterns.

Features

For the list of features that are supported for the Solace Messaging API for Python, see Feature Support in Solace Messaging APIs.

Get Started

These tutorials help you to quickly get up to speed developing applications using the Solace Messaging API for Python. As part of using Python, you might want to use an integrated development environment. To ensure the code hints work properly, you may need to configure your IDE settings. For more information, see Python API.

Before you can start working with the Solace Python API, you must have access to a Solace event broker. For more information about Solace event brokers, see Getting Started with Solace Event Brokers.

Start Tutorials

Getting Started with Solace Event Brokers

To test and use your the Python application, you require a Solace event broker.

There are three ways you can get started using a Solace event broker:

  1. If you have Solace event brokers already deployed, obtain the hostname or IP address of an event broker to test against, a username and password to access it, and a Message VPN in which you can produce and consume messages.
  2. You can set up a software event broker as a container image. For more information, see Setting Up Container Images
  3. You can spin up an event broker service, which is a SaaS-based software event broker running in Solace Cloud.

Python Developer's Guide

We have a developer's guide to describe how to start using the Solace Messaging API for Python.

Python API Developer Guide

Python API Reference

Click below to access the reference for the Solace Messaging API for Python.

Python Reference

Python API Release Notes

Click below to download the latest release notes for the Solace Messaging API for Python.

Python API Release Notes