Skip to main content

No project description provided

Project description

Pycameleon

CI PyPI PyPI Downloads PyPI Python

A python binding for cameleon, a rust crate to interact with U3V (USB 3 Vision) camera that implement GenICam.

⚠️ Work in Progress
This project is currently under active development. Features are being added, and APIs may change as we improve the design.

We welcome new contributors! If you want to help, here’s how you can get involved:

Your contributions, whether code, documentation, or ideas are highly appreciated!

Instalation

PyPI (Recommended)

This package is available in PyPI.

pip install pycameleon

Build from source

Build dependencies:

  • Rust/Cargo toolchain installed
  • maturin pip install maturin/pipx install maturin
  • libusb header (See cameleon FAQ)

First install maturin using pip or pipx or other package manager.

pip install maturin

Then run the following to install the package into the current environment.

maturin develop

Linux

By default, many devices are only accessible to root and need udev rules for non root users to access.

First use lsusb to list vendor and product id ID vendor_id:product_id.

Then, create an udev rule file at /etc/udev/rules.d/, for example /dev/udev/rules.d/99-u3v.rules

Choose and change vendor and product id with your own.

# Example: USB with vendor Id 2676 and product id 5678
SUBSYSTEM=="usb", ATTRS{idVendor}=="2676", ATTR{idProduct}=="5678", MODE:="0666", TAG+="uaccess", TAG+="udev-acl"
# Example: USB with vendor Id 2676 with any product id
SUBSYSTEM=="usb", ATTRS{idVendor}=="1234", MODE:="0666", TAG+="uaccess", TAG+="udev-acl"

If the framerate is low, you may need to increase usbfs_memory_mb limit. By default, USB-FS on Linux systems only allows 16 MB of buffer memory for all USB devices. This is quite low for high-resolution image streaming. We recommend you to set the value to 1000MB. You could set the value as following:

echo 1000 > /sys/module/usbcore/parameters/usbfs_memory_mb

Windows

For Windows, driver supported by libusb like WinUSB is required.

In most case, Zadig is recommended as an Automated Driver Installer GUI application.

NOTE: Make sure to install a driver to a composite device not to its child devices. To do this, you need to list all devices connected to the host computer with zadig like below.

MacOS

MacOS should have out of box support after installing the pip package, for building from source, the libusb package is available in homebrew.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

pycameleon-0.1.3-pp311-pypy311_pp73-manylinux_2_28_x86_64.whl (832.5 kB view details)

Uploaded PyPymanylinux: glibc 2.28+ x86-64

pycameleon-0.1.3-pp311-pypy311_pp73-manylinux_2_28_i686.whl (900.6 kB view details)

Uploaded PyPymanylinux: glibc 2.28+ i686

pycameleon-0.1.3-cp39-abi3-win_amd64.whl (631.2 kB view details)

Uploaded CPython 3.9+Windows x86-64

pycameleon-0.1.3-cp39-abi3-win32.whl (587.9 kB view details)

Uploaded CPython 3.9+Windows x86

pycameleon-0.1.3-cp39-abi3-musllinux_1_2_x86_64.whl (1.0 MB view details)

Uploaded CPython 3.9+musllinux: musl 1.2+ x86-64

pycameleon-0.1.3-cp39-abi3-musllinux_1_2_i686.whl (1.1 MB view details)

Uploaded CPython 3.9+musllinux: musl 1.2+ i686

pycameleon-0.1.3-cp39-abi3-musllinux_1_2_armv7l.whl (1.1 MB view details)

Uploaded CPython 3.9+musllinux: musl 1.2+ ARMv7l

pycameleon-0.1.3-cp39-abi3-musllinux_1_2_aarch64.whl (1.0 MB view details)

Uploaded CPython 3.9+musllinux: musl 1.2+ ARM64

pycameleon-0.1.3-cp39-abi3-manylinux_2_28_x86_64.whl (840.9 kB view details)

Uploaded CPython 3.9+manylinux: glibc 2.28+ x86-64

pycameleon-0.1.3-cp39-abi3-manylinux_2_28_s390x.whl (857.6 kB view details)

Uploaded CPython 3.9+manylinux: glibc 2.28+ s390x

pycameleon-0.1.3-cp39-abi3-manylinux_2_28_ppc64le.whl (1.0 MB view details)

Uploaded CPython 3.9+manylinux: glibc 2.28+ ppc64le

pycameleon-0.1.3-cp39-abi3-manylinux_2_28_i686.whl (912.5 kB view details)

Uploaded CPython 3.9+manylinux: glibc 2.28+ i686

pycameleon-0.1.3-cp39-abi3-manylinux_2_28_armv7l.whl (833.7 kB view details)

Uploaded CPython 3.9+manylinux: glibc 2.28+ ARMv7l

pycameleon-0.1.3-cp39-abi3-manylinux_2_28_aarch64.whl (827.6 kB view details)

Uploaded CPython 3.9+manylinux: glibc 2.28+ ARM64

pycameleon-0.1.3-cp39-abi3-macosx_11_0_arm64.whl (704.4 kB view details)

Uploaded CPython 3.9+macOS 11.0+ ARM64

pycameleon-0.1.3-cp39-abi3-macosx_10_12_x86_64.whl (733.3 kB view details)

Uploaded CPython 3.9+macOS 10.12+ x86-64

File details

Details for the file pycameleon-0.1.3-pp311-pypy311_pp73-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pycameleon-0.1.3-pp311-pypy311_pp73-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 56db221fe4ad797b56b6051ac66167246ea5a602012aa182c993eebc24859094
MD5 9429556b6791956a48ccc738a0bae7a0
BLAKE2b-256 2065b9f0be3e0ce0d3f69b48e6e3df09c3b0fb24776aa82d42a771c5f469665f

See more details on using hashes here.

File details

Details for the file pycameleon-0.1.3-pp311-pypy311_pp73-manylinux_2_28_i686.whl.

File metadata

File hashes

Hashes for pycameleon-0.1.3-pp311-pypy311_pp73-manylinux_2_28_i686.whl
Algorithm Hash digest
SHA256 e1c42c136fefa2194fabf76d2fe91f552b76ed107bf267b8a87fcc1c4ea4f9b8
MD5 bb6157db252799b6d07a19f6f8068254
BLAKE2b-256 e169829adb52a9f2b10900bc9d19290fa5cbb0f309f022875263072e31a8db9c

See more details on using hashes here.

File details

Details for the file pycameleon-0.1.3-cp39-abi3-win_amd64.whl.

File metadata

  • Download URL: pycameleon-0.1.3-cp39-abi3-win_amd64.whl
  • Upload date:
  • Size: 631.2 kB
  • Tags: CPython 3.9+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: maturin/1.10.1

File hashes

Hashes for pycameleon-0.1.3-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 9af3503b4478d973769322dff7e1fb9911d0f63631c7058af5863daaab26c4e6
MD5 1c35d2f0f466ad716ce68ec08b263538
BLAKE2b-256 ff841d0db7a87da4753e7ec805eb49ddb80c76d406c865796f6fabbe6557c068

See more details on using hashes here.

File details

Details for the file pycameleon-0.1.3-cp39-abi3-win32.whl.

File metadata

  • Download URL: pycameleon-0.1.3-cp39-abi3-win32.whl
  • Upload date:
  • Size: 587.9 kB
  • Tags: CPython 3.9+, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: maturin/1.10.1

File hashes

Hashes for pycameleon-0.1.3-cp39-abi3-win32.whl
Algorithm Hash digest
SHA256 ed9ddbeeee9fbe5f9dc8f9ad81c169fe6801fb056abcea177527d1b076c01854
MD5 adf2300878ee6e684884f0045359794a
BLAKE2b-256 a4cd3d855e4a4ff4797893a17317a9a4589f936975fd175fcc3dca273d1ea017

See more details on using hashes here.

File details

Details for the file pycameleon-0.1.3-cp39-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for pycameleon-0.1.3-cp39-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 332ff94091e46f9c23d64cfed024812f841832191456cb09f6b48b66eb3cb600
MD5 a62838a8aed1eb3e91343d22e17cdd52
BLAKE2b-256 ce0db81b92a21146c0866b311401819683ce86f549d8ff3a0589936b541646ac

See more details on using hashes here.

File details

Details for the file pycameleon-0.1.3-cp39-abi3-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for pycameleon-0.1.3-cp39-abi3-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 78b17bb307ee219f9e1a97926803718d87c91edbbc52531657bb80ca8f739edb
MD5 f5ff99c1dd229a6ebadf4d40da3d188c
BLAKE2b-256 c0977d70675d4cab0762fe4b3ecce0c397501da824d859e3ba527a95757a7431

See more details on using hashes here.

File details

Details for the file pycameleon-0.1.3-cp39-abi3-musllinux_1_2_armv7l.whl.

File metadata

File hashes

Hashes for pycameleon-0.1.3-cp39-abi3-musllinux_1_2_armv7l.whl
Algorithm Hash digest
SHA256 c6ebfa833fd9827efd79daef7ad444e0ff0278a5b20ef393ed840693bfdaae6a
MD5 317d9186d2988a064c3114ee9ac81388
BLAKE2b-256 e7d2432d7e0223746468256823299772b98a1cd882c27c76713aead60ab20b0f

See more details on using hashes here.

File details

Details for the file pycameleon-0.1.3-cp39-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for pycameleon-0.1.3-cp39-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 db1809441a5e4ccc847e0faf3c39fe26663b26b9fb38d8a3c4ad5285b8a4e39f
MD5 e3709681252f295675e6d74590c96136
BLAKE2b-256 67ae806eaf13eadbf09806b44361b9c86c5e051271289212e7e0b81a7a2e6add

See more details on using hashes here.

File details

Details for the file pycameleon-0.1.3-cp39-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pycameleon-0.1.3-cp39-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 fefe3aa645998fd0baa3fa7a747e8166d814caadb4fa6737b53a5c845934d650
MD5 ee268e7c426dacca53a49904144d1912
BLAKE2b-256 cbc8a0ba0c01a266816e72696d773231bdeba4aca334426dfb411c2220682b83

See more details on using hashes here.

File details

Details for the file pycameleon-0.1.3-cp39-abi3-manylinux_2_28_s390x.whl.

File metadata

File hashes

Hashes for pycameleon-0.1.3-cp39-abi3-manylinux_2_28_s390x.whl
Algorithm Hash digest
SHA256 082ebe66c3b0140a734a98dcb8854f87b92816754ed76cae240345569948ffb4
MD5 bed95231f180e0791bfa0eec7e6ea5f2
BLAKE2b-256 a4409f821e0e92f45742925cc0d8cdac9d70fc6f804024de6abeba585bbcc21a

See more details on using hashes here.

File details

Details for the file pycameleon-0.1.3-cp39-abi3-manylinux_2_28_ppc64le.whl.

File metadata

File hashes

Hashes for pycameleon-0.1.3-cp39-abi3-manylinux_2_28_ppc64le.whl
Algorithm Hash digest
SHA256 18821b29fe764fc9b3191c110ffc3b0ad2854f63c84f6c21b50cc8778969ec27
MD5 5234988c33dab8fde7bd0a41198b9f99
BLAKE2b-256 b96d6b4f8182416c7ec2cd228bddd6796812e8c672fe037dfe0b6efc23c1164a

See more details on using hashes here.

File details

Details for the file pycameleon-0.1.3-cp39-abi3-manylinux_2_28_i686.whl.

File metadata

File hashes

Hashes for pycameleon-0.1.3-cp39-abi3-manylinux_2_28_i686.whl
Algorithm Hash digest
SHA256 ffd0262f0bd454a9a252a5003199c1754666ca592c69517c55393a5f6e11a6ea
MD5 6c331e0f1cb43b320d0c6b02b9a0805a
BLAKE2b-256 51c3f5e75d982d341825b12368dbaa48b705f4cd81a133fb653e4c465b742c5f

See more details on using hashes here.

File details

Details for the file pycameleon-0.1.3-cp39-abi3-manylinux_2_28_armv7l.whl.

File metadata

File hashes

Hashes for pycameleon-0.1.3-cp39-abi3-manylinux_2_28_armv7l.whl
Algorithm Hash digest
SHA256 712524dcc830683cfa510c6a83a9b533275c2e0a3fce86ed56c3f27499091410
MD5 404e62326e16ec40fdc506cfc552e977
BLAKE2b-256 a9528b3c5a3fe1f7b130138441dd3d53a2b8bd5b780ea21e05996778456ea775

See more details on using hashes here.

File details

Details for the file pycameleon-0.1.3-cp39-abi3-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pycameleon-0.1.3-cp39-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 22776f5cb0502c6353e194bb2bb18e93d9f8bcef1eeec44104b89e8080281191
MD5 fdcda5ea5e9c489f76af69ac10012675
BLAKE2b-256 484d4d7222a5852ad5c5f037823fe2c1c193c232baa65d2fb63ffda51cb87a12

See more details on using hashes here.

File details

Details for the file pycameleon-0.1.3-cp39-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pycameleon-0.1.3-cp39-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d79db1bcdd78d8620c75a95eeec3628116a9e48ff9286539ed71c70d3742e7ce
MD5 59b9c67df1e4f38bb1f52ca470d579ab
BLAKE2b-256 3bc8815b2b382f34b0e79f3100dd7598584ed7b6db9724d9f1551dbc404b6319

See more details on using hashes here.

File details

Details for the file pycameleon-0.1.3-cp39-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for pycameleon-0.1.3-cp39-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 50f827748946b29b555b10610bbd30f6baac404c95f41242dd10defa85d30c65
MD5 6e6a58e1df38393faf71d4fb4e7a37c0
BLAKE2b-256 e4950109e02d223362cc5071b63b3f0afe383e93aea425b5b792a5dfe14c24e7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page