Metadata-Version: 2.4
Name: polhemus
Version: 0.0.4
Summary: Native Python wrapper for the polhemus tracking system
Requires-Python: >=3.8,<3.13
Description-Content-Type: text/markdown
Dynamic: description
Dynamic: description-content-type
Dynamic: requires-python
Dynamic: summary

# Polhemus

Windows x64 SWIG/C++ wrapper for Polhemus Patriot trackers.

- `polhemus.cpp`, `polhemus.h`, `polhemus.i`: active wrapper source.
- `Inc/`: headers from the Polhemus SDK.
- `Lib/x64/`: x64 import libraries and runtime DLLs from the vendor SDK.
- `CMakeLists.txt`: the only native build definition.

Build from the repository root:

```shell
python build-system/build_wheel.py polhemus
```

No files from `Lib/x64/` should be regenerated by the build; they are vendor
dependencies needed to compile and run the extension.

Version 0.0.4 releases Python's GIL while native tracker calls are running.
Access to the shared Polhemus SDK device and the existing pose, sensor and
stylus attributes is serialized, so other Python threads can continue without
racing tracker state. Initialization now returns `False` if no first frame
arrives within five seconds instead of waiting indefinitely.
