Message Exchange Patterns
The PubSub+ Messaging API for Python supports the following message exchange patterns:
- Publish / Subscribe
- Request / Reply
For more information, see Message Exchange Patterns.
For the list of features that are supported for the PubSub+ Messaging API for Python, see the Python column in the table in Feature Support in PubSub+ Messaging APIs.
These tutorials help you to quickly get up to speed developing applications using the Solace PubSub+ 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 Using an Integrated Development Environment.
Before you can start working with the API, you must have access to a PubSub+ event broker. For more information about PubSub+ event brokers, see Getting Started with PubSub+ Event Brokers.
Getting Started with PubSub+ Event Brokers
To test and use your the Python application, you require a PubSub+ event broker.
There are three ways you can get started using a PubSub+ event broker:
- If you have PubSub+ 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.
- You can set up a software event broker as a container or machine image. For more information, see one of the following:
- You can spin up an event broker service, which is a SaaS-based software event broker running in PubSub+ Cloud.
Using an Integrated Development Environment
If you are using an Integrated Development Environment (IDE), such as PyCharm, integrated help is available provided you have Docstrings rendered as reStructuredText. In some IDEs, you configure this in the settings. For example, in PyCharm, you go to File > Settings >Tool > Python Integrated Tools, select reStructureText in the Docstring format list, and click Apply.
Python API Reference
Click below to access the reference for the Solace PubSub+ Messaging API for Python.
Python API Release Notes
Click below to download the latest release notes for the Solace PubSub+ Messaging API for Python.