OpenXR bindings for Python.
Project description
[](https://unlicense.org) [](https://pypi.org/project/openxr/) [](https://pypi.org/project/openxr/)
OpenXR.py implements Python bindings for [OpenXR](https://www.khronos.org/openxr/) [1.0](https://www.khronos.org/registry/OpenXR/specs/1.0/html/xrspec.html), the open standard and cross-platform API for virtual reality (VR) and augmented reality (AR) hardware.
Installation
$ pip3 install openxr
Prerequisites
[Python](https://www.python.org) 3.6+ with [ctypes](https://docs.python.org/3/library/ctypes.html)
[OpenXR SDK](https://github.com/KhronosGroup/OpenXR-SDK) 1.0.8+
Examples
### Loading the library
import openxr
Development
We recommend Debian 11 (aka [Bullseye](https://www.debian.org/releases/bullseye/)) as a development environment. If you’re on a Mac, you can run Debian in a virtual machine using [VMware Fusion](https://www.vmware.com/products/fusion.html) or [VirtualBox](https://www.virtualbox.org).
Install the Debian packages for the OpenXR SDK’s loader as follows:
$ apt install libopenxr-loader1
That’s the only required package, but find related packages of interest using:
$ apt search openxr
In addition, you _will_ need an OpenXR runtime for your hardware. In the absence of suitable vendor-supplied runtimes, have a look at the open-source [Monado](https://monado.freedesktop.org) project which supports many common devices.
See Also
[OpenXR.rb](https://github.com/dryruby/openxr.rb): OpenXR bindings for Ruby.
[OpenXR.dart](https://github.com/drydart/openxr.dart): OpenXR bindings for Dart & Flutter.
[Unofficial OpenXR Tests](https://github.com/artob/openxr-rspec): An unofficial OpenXR conformance test suite.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file openxr-0.0.5.tar.gz.
File metadata
- Download URL: openxr-0.0.5.tar.gz
- Upload date:
- Size: 12.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.10.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4fe81751aa8eee4281bc2db1d0f24d69435d5c729be17bb17d48565b56bc9820
|
|
| MD5 |
3b1cbadfb5d9910dfb01f23c91cb25c3
|
|
| BLAKE2b-256 |
3b409f4f85b14f93115d7cda7c5d66be6b17c4709f88642bf861046f416ec742
|
File details
Details for the file openxr-0.0.5-py3-none-any.whl.
File metadata
- Download URL: openxr-0.0.5-py3-none-any.whl
- Upload date:
- Size: 14.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.10.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
724c0c8851f9b107cd400988131aefb2d7e9657d4b3bb74e7750f43dc2ca759f
|
|
| MD5 |
09fc0f3f86397d0e4e597ad45ef0dcc0
|
|
| BLAKE2b-256 |
42efa04137f3047f5f9ef4d833a0b3157f949258666252e40f4667402616624f
|