In this section:
Requires any Python 2.6 to 3.4. PyPubSub will also work in Python 2.5 if the patch, available in the tests folder, is applied, and most likely with Pypy 2.1.
The following table identifies on which combination of Python and Platform the unit tests have been run. The result for each combination is number of tests passed out of total number of tests, or “n/t” for “not tested”:
Windows 7 Linux(++) OSX Python 2.4.4 0/64(*) n/t n/t Python 2.5 63/64(**) n/t n/t Python 2.6 64/64 n/t 64/64 Python 2.7 64/64 64/64 64/64 PyPy 2.1 63/64(+) n/t n/t Python 3.2 64/64 64/64 n/t Python 3.3 64/64 n/t n/t Python 3.4a4 64/64 n/t n/t Notes: (*) Due to relative imports; also, required two test harness files (nose/failure.py and nose/capture.py) to be patched (one line each): change BaseException (introduced in Python 2.5) to Exception. (**) A dozen failures could be easily corrected by replacing use of __self__, not available in py25, by im_self. Once the patch saved in tests folder is applied to root of working copy, only one failure remains, related to listener naming, not something that would affect use of pypubsub in an application. (+) All failures appear related to lifetime of weak references being longer than cpython’s, need gc.collect() in tests so in practice likely ok. (++) Tested on Fedora, OpenSuse, and Ubuntu.
Please post on pypubsub forum (see Support section) if you have successfully used pubsub with other combinations of Python and Platform.
Many thanks to Jerome Laheurte for providing a buildbot with Linux and OSX VM’s for continuous testing.
Several methods are available: egg distribution, Windows installer, zip file with source, or directly from source code repository.
With pip installed on your system, do pip install pypubsub.
If you want the developer version, you can try pip install –pre pypubsub.
With setuptools installed on your machine, do easy_install -Z pypubsub in a console/shell window.
If for whatever reason easy_install can’t find the pypubsub download, you could try manually downloading the egg distribution from SourceForge.net. Then do easy_install -Z <downloaded_egg>
Download the Installer (PyPubSub-xxx.win32.exe) from SourceForge.net and run it.
The forums are currently hosted on google groups:
Also, many pypubsub users are on the wxPython-users mailing list.
This is a minor release for small improvements made (see docs/CHANGELOG.txt) based on feedback from user community. In particular an XML reader for topic specification contributed by Josh English. Also cleaned up the documentation, updated the examples folder (available in source distribution as well as online).
Only 3 changes to API (function names):
Oliver Schoenborn September 2013
This is a minor release for small improvements made (see docs/CHANGELOG.txt) based on feedback from user community. Also extended the documentation. See pubsub.sourceforge.net for installation and usage. See the examples folder for some useful examples.
Oliver Schoenborn Nov 2011
Major cleanup of the API since 3.0 and better support for the legacy wxPython code. Defining a topic tree via a text file has been improved drastically, making it simpler to document topic messages and payload data required or optional. More examples have been added, and the messaging protocols clarified.
The included docs are not yet updated, that’s what I’m working on now and will lead to the 3.1.1b1 release. I’m also working on an add-on module that would allow two applications to communicate over the network using pubsub-type messaging (with topics, etc). The design is almost complete.
Oliver Schoenborn Jan 2010
High-level changelog. For details, consult the SVN logs.
3.3.0 (Nov 2013): | |
---|---|
3.2.0 (sep 2013): | |
---|---|
3.1.2 (2011): |
---|
3.1.1b (2010): |
---|
3.1.0b (2009): |
---|
3.0 (2008): |
---|
2.0 (2007): |
---|
1.0 (2005): |
---|
Pre 1.0: |
---|