basler/pypylon — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a Python package that lets people use Basler cameras from normal Python code through the pylon Camera Software Suite.

I want it to feel simple for someone who just wants to connect a camera, open it, change basic camera settings, grab a batch of images, read the image data, and close everything safely. Include a small example that finds the first camera, prints the image size and first pixel value, and shows the newer style for changing camera features with .Value.

Also include support for pylon Data Processing recipes, so a user can load a recipe made in pylon Workbench and read outputs like barcode results if that extension is available.

Please make it installable with pip, add clear setup instructions for people who already installed pylon, and include samples and basic tests. Keep the public API Python friendly, with good error messages when pylon, a camera, or optional licensing pieces are missing. Look up the current Basler docs online if you need to.

Want more depth? Deep Reverse