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.2.3-pp311-pypy311_pp73-manylinux_2_28_x86_64.whl (830.0 kB view details)

Uploaded PyPymanylinux: glibc 2.28+ x86-64

pycameleon-0.2.3-pp311-pypy311_pp73-manylinux_2_28_i686.whl (898.6 kB view details)

Uploaded PyPymanylinux: glibc 2.28+ i686

pycameleon-0.2.3-cp39-abi3-win_amd64.whl (629.6 kB view details)

Uploaded CPython 3.9+Windows x86-64

pycameleon-0.2.3-cp39-abi3-win32.whl (583.1 kB view details)

Uploaded CPython 3.9+Windows x86

pycameleon-0.2.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.2.3-cp39-abi3-musllinux_1_2_i686.whl (1.1 MB view details)

Uploaded CPython 3.9+musllinux: musl 1.2+ i686

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

Uploaded CPython 3.9+musllinux: musl 1.2+ ARMv7l

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

Uploaded CPython 3.9+musllinux: musl 1.2+ ARM64

pycameleon-0.2.3-cp39-abi3-manylinux_2_28_x86_64.whl (838.6 kB view details)

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

pycameleon-0.2.3-cp39-abi3-manylinux_2_28_s390x.whl (857.9 kB view details)

Uploaded CPython 3.9+manylinux: glibc 2.28+ s390x

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

Uploaded CPython 3.9+manylinux: glibc 2.28+ ppc64le

pycameleon-0.2.3-cp39-abi3-manylinux_2_28_i686.whl (909.0 kB view details)

Uploaded CPython 3.9+manylinux: glibc 2.28+ i686

pycameleon-0.2.3-cp39-abi3-manylinux_2_28_armv7l.whl (829.7 kB view details)

Uploaded CPython 3.9+manylinux: glibc 2.28+ ARMv7l

pycameleon-0.2.3-cp39-abi3-manylinux_2_28_aarch64.whl (827.5 kB view details)

Uploaded CPython 3.9+manylinux: glibc 2.28+ ARM64

pycameleon-0.2.3-cp39-abi3-macosx_11_0_arm64.whl (704.3 kB view details)

Uploaded CPython 3.9+macOS 11.0+ ARM64

pycameleon-0.2.3-cp39-abi3-macosx_10_12_x86_64.whl (728.9 kB view details)

Uploaded CPython 3.9+macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for pycameleon-0.2.3-pp311-pypy311_pp73-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a0b9f4aecfef4ec8f58f3fa54c88f819fcc32abd7c47fd8b9df2dd2ab1278d1d
MD5 98fa0773136bc7358adc1d523346c67a
BLAKE2b-256 a8e8adf1dfa2b6a42690b957cb78a43a47dc786baaaffcb835789ee0c6de37af

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycameleon-0.2.3-pp311-pypy311_pp73-manylinux_2_28_i686.whl
Algorithm Hash digest
SHA256 54033ee488436978032d10586f45955c636538fb0c393ff8181133f3ef261a62
MD5 7b49b6f55e3b2e3eac5c64e7404b76aa
BLAKE2b-256 c3a3f99ad0676077b3db5827ac68f756af921f59657a2c0d64a3ca24cbd1fda9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycameleon-0.2.3-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 83c0709c38ab8d19c8f1aaa0b2ce376e9266fb70c55fbbdcb36b05da6bbab3c3
MD5 3ca84e7a70542dd2a257fe736853cb15
BLAKE2b-256 7d7ffd8a9cc356a027fd6917dac6f3110250cdefe3342db84e0b2eebff035efd

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pycameleon-0.2.3-cp39-abi3-win32.whl
Algorithm Hash digest
SHA256 ecd3548b82f04eb676d1cc082ee9dc5b52079ccc2529d82440abec847483eac5
MD5 8375478de7865faf7f9c71ee31bc0c1d
BLAKE2b-256 d0eb103a2d8f394d0c1397f35330704882c2359df4ab274d1de5191199f6dcb1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycameleon-0.2.3-cp39-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 e2de48923112a220bde7b69ca1673c4a62582f8fe2e204528fbddf6f415192d4
MD5 244cf363faf41b7ef27d5adaf40a0aa8
BLAKE2b-256 b1fadf95a2c49e936f02c3ce200e3a3f1cf6197ea23d358be34e9f203c0edc1e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycameleon-0.2.3-cp39-abi3-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 786020579878c4acb92b6f8ab0b5f80d91f70c6c38401576db05826572c9170d
MD5 669930a38f8a8724fb9ff0dc4d7ce399
BLAKE2b-256 4f95841a04e83471bbaed16daf345db28ab6ea5e8905ca72a14ade09d62b45a9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycameleon-0.2.3-cp39-abi3-musllinux_1_2_armv7l.whl
Algorithm Hash digest
SHA256 6393e72ec537f08b938c0f703a26c221608fdc0cbeed130958455204bf87cbd7
MD5 6a49305d2573c0968970c03d085ce379
BLAKE2b-256 55e99be1414cba129bfce6d26528e2822601fdbcd6e063d1ee706d3201b7bea9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycameleon-0.2.3-cp39-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 125422ad2affb337f3bbfe62f49fe3d273de89949b9c046ac831891393b33349
MD5 661f6fa7e76949f3e185d9d9b336e970
BLAKE2b-256 1f62606adb076ed347898a3153555185e3989458c79558c37f89024fc960cc77

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycameleon-0.2.3-cp39-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 693ea71a04c4593513a09233ff6d29b95579cdf6a3820c04a481fcafc1231999
MD5 75377cdd7b4e494c1ef6b202d4e3cded
BLAKE2b-256 a8d6fbb325c9dc918a8bc0a6a3ed5db0b0592b93f64c128985aeb6b1d9475306

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycameleon-0.2.3-cp39-abi3-manylinux_2_28_s390x.whl
Algorithm Hash digest
SHA256 12e034c1184571a899a06ad126a0b8274c1c9c8472d91ef4379e0b9f954ec35d
MD5 b7dc924a4c7a0161bbc5dbdf9d07d745
BLAKE2b-256 f7702e5baff1df6c0a12aa79ceb672eaaba7bd8837eac4977b8342da53df4f43

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycameleon-0.2.3-cp39-abi3-manylinux_2_28_ppc64le.whl
Algorithm Hash digest
SHA256 09624ef3ec6b53829a047abb981840f3681cf2b18d4f717562d0c23c5292aef2
MD5 d272e4a2e38a2cc5dc670c4ac4b611f9
BLAKE2b-256 752c24392963621dfad32e0ac1edb13747ab264dc948b9d967ec25770ac76340

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycameleon-0.2.3-cp39-abi3-manylinux_2_28_i686.whl
Algorithm Hash digest
SHA256 db731eada8d77431ebb7ca131258b1aa819d3a5ede6dc4f6b50f6600cef5fa52
MD5 082c74f8cffaa1bafc3c13c3ef6cd012
BLAKE2b-256 8bac213c59fb3e8e811b435d55510c1eed986bcadb7fd3dee6ea9e0eda55afce

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycameleon-0.2.3-cp39-abi3-manylinux_2_28_armv7l.whl
Algorithm Hash digest
SHA256 1a0a3d77c94a66627ab0ff628b8995021605034968db9371c148c9395a6a8d0f
MD5 a9fb5f74271d8c0205ff95dcb76c9534
BLAKE2b-256 a96be4cad9bfa0ab48fdf4fdeccef7baad30a45346c0608368102721f03894d9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycameleon-0.2.3-cp39-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 a7bd33587991930052426f77f814dcf2da51a855e05c899faf4f53d778fcd81a
MD5 e115b0c55dab2da1030df45e0d28894e
BLAKE2b-256 f777692667ae574ed8dbebef1162325337dad371ad43c137676e5976ff7bd785

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycameleon-0.2.3-cp39-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d4bae5e1985fe358e61b165162d99d3da8413d92765706f5208f3a20880475e0
MD5 18c1a544294c757da428036e84e4c194
BLAKE2b-256 6e6f745cd494dad8201455c4c10c822cf020511396dfa8adacf729c75ea7f968

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycameleon-0.2.3-cp39-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 956c5d1bc89695fbd910abf99531517f076ac1734ec4e1acfc4c487bffcea5a7
MD5 e2d5646e78c7c1e95c78b198d83f829d
BLAKE2b-256 2374d47cb481b7dc3cfd08d99dfcc8c9445d90028b9e1a4af0714cf746bff393

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