OpenXR for Python
[](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.
Metadata
Release files for openxr 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| openxr-0.0.5.tar.gz | 12.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| openxr-0.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 27.2 kB
Release files / openxr-0.0.5.tar.gz
| Download URL | openxr-0.0.5.tar.gz |
|---|---|
| Size | 12.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4fe81751aa8eee4281bc2db1d0f24d69435d5c729be17bb17d48565b56bc9820
|
|
BLAKE2b-256 checksum How to use checksums |
3b409f4f85b14f93115d7cda7c5d66be6b17c4709f88642bf861046f416ec742
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / openxr-0.0.5-py3-none-any.whl
| Download URL | openxr-0.0.5-py3-none-any.whl |
|---|---|
| Size | 14.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
724c0c8851f9b107cd400988131aefb2d7e9657d4b3bb74e7750f43dc2ca759f
|
|
BLAKE2b-256 checksum How to use checksums |
42efa04137f3047f5f9ef4d833a0b3157f949258666252e40f4667402616624f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for openxr 0.0.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.