xkbregistry
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 | Provenance | Actions |
|---|---|---|---|---|
| xkbregistry-1.5.tar.gz | 26.8 kB | Without provenance | Details for xkbregistry-1.5.tar.gz |
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
|
Security for xkbregistry 1.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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.