Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Pykms

This package is for the pykms bindings for kms++. It requires you to already have kms++-utils installed on your system.

Caveats

For most users this package is not the best approach to use kms++ in python - there are simpler ways

If you are able to use the system python, then running sudo apt install -y python3-kms++ will install pykms in the simplest way.

If you do require a virtual environment (for example, in order to use a python package not available through apt) then the simplest way is to install the apt package and then create a virtual environment using system-site-packages.

sudo apt install -y python3-kms++
python3 -m venv --system-site-packages my-env

This will allow you to use pip to install other packages in the virtual environment, while using the system versions of packages such as pykms and PyQt5, which is a much simpler approach than pip installing these packages.

If you must use this package then be aware that there may be other troubleshooting required to get your virtual environment working correctly. For example, packages such as PyQt5 and OpenCV can require additional steps in order to pip install them, so it is much easier to apt install them and use a virtual environment with system-site-packages. If you have no other option but to use an isolated virtual environment (for example, if you require a different version of python to the system installed version), then this package will help with installing pykms, but be warned that other packages related to the camera/display will not be as easy to install.

Installation Instructions

These instructions are designed for use in a python virtual environment. If you are using the system python then it is simpler to install the system apt package for pykms (eg sudo apt install python3-kms++).

The default installations instructions are:

sudo apt install -y libkms++-dev libfmt-dev libdrm-dev
pip install rpi-kms

If that doesn't work...

If you're building your own version of kms++ to be more up to date than your system release, then you may need to pass the repository and revision into meson. The arguments to do this are -C setup-args="-Drepository=https://my.repository.git" for the repository and -C setup-args="-Drevision=branch" for the revision. These are passed directly into git clone and git checkout respectively, so and strings that work with those will work here. The -C, --config-settings argument require an up to date version of pip>=23.1 so you may first need to run pip install --upgrade pip

You may also need to create a custom pypatch.patch, but at that point it is probably simpler to just clone the entire repository, edit the patch locally, and install the local folder with pip install ./pykms/. If you really want then your custom patch can be passed in with -C setup-args="-Dpatch=/home/me/mypatch.patch" - this will need an absolute path as the pip build will run in a temporary directory, so a relative path will not work.

Metadata

Release files for rpi-kms 0.1a1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rpi-kms 0.1a1
File Size Uploaded Provenance Actions
rpi_kms-0.1a1.tar.gz 3.4 kB Without provenance Details for rpi_kms-0.1a1.tar.gz

Release files / rpi_kms-0.1a1.tar.gz

Download URL rpi_kms-0.1a1.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
f9328b8d3802ce7ac63bd285b015f47160fa1b64b1643b9f793533e4438d07f8
BLAKE2b-256 checksum
How to use checksums
e131a306b6d82322b9d98053f2f1ee85ee4a8f8625f1c965d28367ec89af6c64
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Security for rpi-kms 0.1a1

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.

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page