A Python library for recording I/O interactions (keyboard, mouse, and screen).
Project description
IORecorder
A Python library for recording screen, mouse, and keyboard interactions with debug video overlay capabilities.
Installation
pip install iorecorder
Quick Start
from iorecorder import IORecorder
recorder = IORecorder(output_dir="my_recordings")
recorder.start()
# ... do something, maybe time.sleep() ...
recorder.stop()
The recorder will create a timestamped directory containing:
screen.mp4: Screen recording with mouse cursormouse_events.csv: Mouse movements, clicks and scrollskeyboard_events.csv: Keyboard press/release events
Debug Video Generation
Create a video with overlaid debug information, similar to a minecraft debug log, showing timestamp, mouse coordinates, and currently pressed keys or mouse buttons.
from iorecorder import generate_debug_video
generate_debug_video(
input_mp4="path/to/screen.mp4",
mouse_csv="path/to/mouse_events.csv",
keyboard_csv="path/to/keyboard_events.csv",
output_mp4="path/to/generated_debug_video.mp4"
)
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
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
File details
Details for the file iorecorder-0.2.0.tar.gz.
File metadata
- Download URL: iorecorder-0.2.0.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5219820781e0ea285b162f9248bd3a29efd0a40a46ed7e6a650d4d4390f7639f
|
|
| MD5 |
2782920f50f1b1a5e0ed0c65cbd8dd0d
|
|
| BLAKE2b-256 |
3c7a75ab05f4f705c9ab24aada07c26af227a43628d405586d993ca37b2e4360
|
File details
Details for the file IORecorder-0.2.0-py3-none-any.whl.
File metadata
- Download URL: IORecorder-0.2.0-py3-none-any.whl
- Upload date:
- Size: 6.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c9af808af74d743e2809d0b10e54814f6e867243a79dce7ebdbc662bff014d3c
|
|
| MD5 |
a28b6befc5fb9dc1de7266b7b9a3349b
|
|
| BLAKE2b-256 |
0bdd395cac298fd9486481ff6eb419b8c1232bbbf307edf1bd88cb5ecc73db6c
|