Python wrapper for Linux UAPI ioctl
Project description
uapy
Python wrapper for Linux UAPI ioctl
Overview
This project provides a Python wrapper for Linux Media Infrastructure userspace API ioctl requests.
Support
Current milestone is Linux 5.8.0
API
- v4l - Video for Linux version 2
- dvb - Digital TV
- rc - Remote Controller
- mediactl - Media Controller
- cec - Consumer Electronics Control
Example
from uapy.v4l2.videodev import *
cap = V4l2_Capability()
res = fcntl.ioctl(vd1, Vidioc.QUERYCAP, cap)
format = V4l2_Format()
format.type = V4l2_Buf_Type.VIDEO_OUTPUT
Install
user@machine:~$ pip3 install uapy
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
uapy-1.0.2.tar.gz
(39.7 kB
view details)
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
uapy-1.0.2-py3-none-any.whl
(41.9 kB
view details)
File details
Details for the file uapy-1.0.2.tar.gz.
File metadata
- Download URL: uapy-1.0.2.tar.gz
- Upload date:
- Size: 39.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b3249db630058ca3cf38dc5f62984637202c46d710a5d5161fba2de6d95d6279
|
|
| MD5 |
79174916f18ced25d7a07ba0be87e0d3
|
|
| BLAKE2b-256 |
242f2288f1581d968431d6ee383c75bc2e71b133955e61d0b6f57d2bb79af0fc
|
File details
Details for the file uapy-1.0.2-py3-none-any.whl.
File metadata
- Download URL: uapy-1.0.2-py3-none-any.whl
- Upload date:
- Size: 41.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fe140fa6471199582e4deb5df1d5e6d0b161f9737b1b4572c1e66fe4f96b8a9a
|
|
| MD5 |
0dbeb68e80b17b0f4a8111d92de16308
|
|
| BLAKE2b-256 |
125b664e2a428d1f10aaae1d3eb0b1cbd47d57d2b620c555664bfc5422ae31ea
|