Metadata-Version: 2.4
Name: cmsdk3
Version: 2.3.2
Summary: CMSDK Python binding (SWIG): DataMessage, PsyAPI cranks, NetworkManager and the rest of the CMSDK C++ library used by Psyclone
Author-email: "CMLabs (Communicative Machines)" <support@cmlabs.com>
License: EXTENDED BSD License
        
        Redistribution and use in source and binary forms, with or without
        modification, is permitted provided that the following conditions 
        are met:
        
        - Redistributions of source code must retain the above copyright 
          and collaboration notice, this list of conditions and the following 
          disclaimer.
        
        - Redistributions in binary form must reproduce the above copyright 
          notice, this list of conditions and the following disclaimer in the 
          documentation and/or other materials provided with the distribution.
        
        - Neither the name of its copyright holders nor the names of its 
          contributors may be used to endorse or promote products derived from 
          this software without specific prior written permission.
        
        - CADIA Clause: The license granted in and to the software under this 
          agreement is a limited-use license. The software may not be used in 
          furtherance of: (i) intentionally causing bodily injury or severe 
          emotional harm to any person; (ii) invading the personal privacy or 
          violating the human rights of any person; or (iii) committing or 
          preparing for any act of war. 
        
        THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 
        "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 
        LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 
        PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 
        OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 
        EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 
        PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 
        PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 
        LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
        NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
        SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
        
Project-URL: Homepage, https://cmlabs.com/psyclone
Project-URL: Documentation, https://psyclone.cmlabs.com/
Keywords: psyclone,cmsdk,datamessage,multi-agent,messaging,swig
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: C++
Classifier: Operating System :: POSIX :: Linux
Classifier: Operating System :: MacOS
Classifier: Operating System :: Microsoft :: Windows
Classifier: Intended Audience :: Developers
Classifier: Topic :: System :: Networking
Classifier: Topic :: Software Development :: Libraries
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# cmsdk3 — the CMSDK Python binding

The full CMSDK C++ library behind [Psyclone](https://cmlabs.com/psyclone), wrapped with SWIG:
`DataMessage`, the `PsyAPI` crank API, spaces, subscriptions, time and the utility helpers.

```
pip install cmsdk3
python -c "import cmsdk3; m = cmsdk3.DataMessage(); m.setString('PsyPost','Ping'); print(m.toJSON())"
```

One stable-ABI (abi3) wheel per platform runs on Python 3.10 and every later 3.x
(not the free-threaded 3.13t/3.14t builds). SSL/TLS (https, wss) is compiled in; the wheel
carries its own OpenSSL.

If you only need to talk to a running Psyclone system (post messages, receive triggers over
UDP, TCP or WebSocket), the pure-Python [`psyclone-client`](https://pypi.org/project/psyclone-client/)
is smaller and has no native code.

Building from source: `pip wheel CMSDK/python-wheel` in a Psyclone/CMSDK checkout
(needs a C++ compiler and OpenSSL headers; `CMSDK_NO_SSL=1` builds without SSL).
Release wheels are built with cibuildwheel (`CMSDK/python-wheel/BUILDING.md`).

Licence: Extended BSD (CADIA clause), see LICENSE.
