<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>core.version — PyZMQ v2.2.0.1 documentation</title> <link rel="stylesheet" href="../../_static/default.css" type="text/css" /> <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" /> <script type="text/javascript"> var DOCUMENTATION_OPTIONS = { URL_ROOT: '../../', VERSION: '2.2.0.1', COLLAPSE_INDEX: false, FILE_SUFFIX: '.html', HAS_SOURCE: true }; </script> <script type="text/javascript" src="../../_static/jquery.js"></script> <script type="text/javascript" src="../../_static/underscore.js"></script> <script type="text/javascript" src="../../_static/doctools.js"></script> <link rel="shortcut icon" href="../../_static/zeromq.ico"/> <link rel="top" title="PyZMQ v2.2.0.1 documentation" href="../../index.html" /> <link rel="up" title="The PyZMQ API" href="../index.html" /> <link rel="next" title="devices.basedevice" href="zmq.devices.basedevice.html" /> <link rel="prev" title="core.pysocket" href="zmq.core.pysocket.html" /> </head> <body> <div style="background-color: white; text-align: left; padding: 10px 10px 15px 15px"> <a href="../../index.html"><img src="../../_static/logo.png" border="0" alt="PyZMQ Documentation"/></a> </div> <div class="related"> <h3>Navigation</h3> <ul> <li class="right" style="margin-right: 10px"> <a href="../../genindex.html" title="General Index" accesskey="I">index</a></li> <li class="right" > <a href="../../py-modindex.html" title="Python Module Index" >modules</a> |</li> <li class="right" > <a href="zmq.devices.basedevice.html" title="devices.basedevice" accesskey="N">next</a> |</li> <li class="right" > <a href="zmq.core.pysocket.html" title="core.pysocket" accesskey="P">previous</a> |</li> <li><a href="../../index.html">home</a>| </li> <li><a href="../../search.html">search</a>| </li> <li><a href="../index.html">API</a> »</li> <li><a href="../index.html" accesskey="U">The PyZMQ API</a> »</li> </ul> </div> <div class="sphinxsidebar"> <div class="sphinxsidebarwrapper"> <h3><a href="../../index.html">Table Of Contents</a></h3> <ul> <li><a class="reference internal" href="#">core.version</a><ul> <li><a class="reference internal" href="#module-zmq.core.version">Module: <tt class="docutils literal"><span class="pre">core.version</span></tt></a></li> <li><a class="reference internal" href="#functions">Functions</a></li> </ul> </li> </ul> <h4>Previous topic</h4> <p class="topless"><a href="zmq.core.pysocket.html" title="previous chapter">core.pysocket</a></p> <h4>Next topic</h4> <p class="topless"><a href="zmq.devices.basedevice.html" title="next chapter">devices.basedevice</a></p> <h3>This Page</h3> <ul class="this-page-menu"> <li><a href="../../_sources/api/generated/zmq.core.version.txt" rel="nofollow">Show Source</a></li> </ul> <div id="searchbox" style="display: none"> <h3>Quick search</h3> <form class="search" action="../../search.html" method="get"> <input type="text" name="q" size="18" /> <input type="submit" value="Go" /> <input type="hidden" name="check_keywords" value="yes" /> <input type="hidden" name="area" value="default" /> </form> <p class="searchtip" style="font-size: 90%"> Enter search terms or a module, class or function name. </p> </div> <script type="text/javascript">$('#searchbox').show(0);</script> </div> </div> <div class="document"> <div class="documentwrapper"> <div class="bodywrapper"> <div class="body"> <div class="section" id="core-version"> <h1>core.version<a class="headerlink" href="#core-version" title="Permalink to this headline">¶</a></h1> <div class="section" id="module-zmq.core.version"> <span id="module-core-version"></span><h2>Module: <tt class="xref py py-mod docutils literal"><span class="pre">core.version</span></tt><a class="headerlink" href="#module-zmq.core.version" title="Permalink to this headline">¶</a></h2> <p>PyZMQ and 0MQ version functions.</p> </div> <div class="section" id="functions"> <h2>Functions<a class="headerlink" href="#functions" title="Permalink to this headline">¶</a></h2> <dl class="function"> <dt id="zmq.core.version.pyzmq_version"> <tt class="descclassname">zmq.core.version.</tt><tt class="descname">pyzmq_version</tt><big>(</big><big>)</big><a class="headerlink" href="#zmq.core.version.pyzmq_version" title="Permalink to this definition">¶</a></dt> <dd><p>Return the version of pyzmq as a string.</p> </dd></dl> <dl class="function"> <dt id="zmq.core.version.pyzmq_version_info"> <tt class="descclassname">zmq.core.version.</tt><tt class="descname">pyzmq_version_info</tt><big>(</big><big>)</big><a class="headerlink" href="#zmq.core.version.pyzmq_version_info" title="Permalink to this definition">¶</a></dt> <dd><p>Return the pyzmq version as a tuple of numbers</p> <p>If pyzmq is a dev version, the patch-version will be <cite>inf</cite>.</p> <p>This helps comparison of version tuples in Python 3, where str-int comparison is no longer legal for some reason.</p> </dd></dl> <dl class="function"> <dt id="zmq.core.version.zmq_version"> <tt class="descclassname">zmq.core.version.</tt><tt class="descname">zmq_version</tt><big>(</big><big>)</big><a class="headerlink" href="#zmq.core.version.zmq_version" title="Permalink to this definition">¶</a></dt> <dd><p>Return the version of ZeroMQ itself as a string.</p> </dd></dl> </div> </div> </div> </div> </div> <div class="clearer"></div> </div> <div class="related"> <h3>Navigation</h3> <ul> <li class="right" style="margin-right: 10px"> <a href="../../genindex.html" title="General Index" >index</a></li> <li class="right" > <a href="../../py-modindex.html" title="Python Module Index" >modules</a> |</li> <li class="right" > <a href="zmq.devices.basedevice.html" title="devices.basedevice" >next</a> |</li> <li class="right" > <a href="zmq.core.pysocket.html" title="core.pysocket" >previous</a> |</li> <li><a href="../../index.html">home</a>| </li> <li><a href="../../search.html">search</a>| </li> <li><a href="../index.html">API</a> »</li> <li><a href="../index.html" >The PyZMQ API</a> »</li> </ul> </div> <div class="footer"> © Copyright 2010-2011, Brian E. Granger & Min Ragan-Kelley. ØMQ logo © iMatix Corportation, used under the Creative Commons Attribution-Share Alike 3.0 License. Python logo ™ of the Python Software Foundation, used by Min RK with permission from the Foundation. Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.7. </div> </body> </html>