Metadata-Version: 2.4
Name: bestcam
Version: 0.0.4
Summary: Alias for rustcam. Rust-backed DXGI Desktop Duplication screen capture for Windows.
Home-page: https://discord.gg/ThBBAuueVJ
Author: zh
Author-email: imnotgivingmyemailjustaddmeondiscordmydiscordisz_h_@zh.com
Project-URL: Bug Tracker, https://github.com/zen-ham/rustcam/issues
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: Microsoft :: Windows
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Requires-Dist: rustcam>=0.0.4

`bestcam`
===

Alias of [`rustcam`](https://pypi.org/project/rustcam/), a Rust-backed DXGI Desktop Duplication screen capture library for Windows. Same kind of API as `bettercam`, except the `AcquireNextFrame` loop runs in native Rust with the GIL released, so it actually rides the compositor refresh instead of stalling at ~140 fps.

This package is a shim. `pip install bestcam` pulls in `rustcam` and re-exports everything under the shorter name. All functionality, docs and bug reports live in the parent package.

The name is a wink at `bettercam`, which advertises itself as "the world's fastest publicly available Python screenshot library." It's a fork of `dxcam` that calls DXGI through `comtypes` from Python on every frame, so its own published benchmark hits ~130 fps regardless of what the monitor can do. `rustcam` does the same DDA loop in native Rust and rides a 180 Hz panel at the panel's refresh rate, capturing alot more unique frames per second on real content. If you came here looking for `bestcam`, just `pip install rustcam` (or keep this, same package).

```py
import bestcam   # same as: import rustcam
cap = bestcam.Capturer(output=0, cursor=True)
frame = cap.grab()
```

Full docs: https://github.com/zen-ham/rustcam
