Python bindings for libxkbregistry using cffi.
libxkbregistry is part of libxkbcommon but is commonly packaged separately in distributions.
Example usage:
>>> from xkbregistry import rxkb
>>> ctx = rxkb.Context()
>>> ctx.models["pc101"].description
'Generic 101-key PC'
>>> ctx.layouts["us"]
rxkb.Layout('us')
>>> ctx.layouts["us"].description
'English (US)'
>>> ctx.layouts["us(intl)"].description
'English (US, intl., with dead keys)'
>>> ctx.option_groups[0].description
'Switching to another layout'
Version numbering
From release 1.0 onwards, the version numbering of this package will relate to releases of libxkbcommon as follows:
If the Python package version is major.minor[.patch] then it requires at least release major.minor.0 of libxkbcommon and/or libxkbregistry to build and run, and should work with any subsequent release. The patch version of the Python package is unrelated to the patch version of libxkbcommon.
Metadata
Release files for xkbregistry 1.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 | |
|---|---|---|---|
| xkbregistry-1.5.tar.gz | 26.8 kB | Details |
Release files / xkbregistry-1.5.tar.gz
| Download URL | xkbregistry-1.5.tar.gz |
|---|---|
| Size | 26.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3a116c73ea381d12d08bdc39a6204cbde86e138a2b2b614c54259f0e20e8043f
|
|
BLAKE2b-256 checksum How to use checksums |
4325f3dc63295145683801596902c9905f04602099b2712024a8e1e61f957547
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|