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

Uploaded PyPymanylinux: glibc 2.28+ x86-64

pycameleon-0.1.4-pp311-pypy311_pp73-manylinux_2_28_i686.whl (900.7 kB view details)

Uploaded PyPymanylinux: glibc 2.28+ i686

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

Uploaded CPython 3.9+Windows x86-64

pycameleon-0.1.4-cp39-abi3-win32.whl (586.5 kB view details)

Uploaded CPython 3.9+Windows x86

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

Uploaded CPython 3.9+musllinux: musl 1.2+ i686

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

Uploaded CPython 3.9+musllinux: musl 1.2+ ARMv7l

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

Uploaded CPython 3.9+musllinux: musl 1.2+ ARM64

pycameleon-0.1.4-cp39-abi3-manylinux_2_28_x86_64.whl (840.4 kB view details)

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

pycameleon-0.1.4-cp39-abi3-manylinux_2_28_s390x.whl (858.5 kB view details)

Uploaded CPython 3.9+manylinux: glibc 2.28+ s390x

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

Uploaded CPython 3.9+manylinux: glibc 2.28+ ppc64le

pycameleon-0.1.4-cp39-abi3-manylinux_2_28_i686.whl (911.9 kB view details)

Uploaded CPython 3.9+manylinux: glibc 2.28+ i686

pycameleon-0.1.4-cp39-abi3-manylinux_2_28_armv7l.whl (832.8 kB view details)

Uploaded CPython 3.9+manylinux: glibc 2.28+ ARMv7l

pycameleon-0.1.4-cp39-abi3-manylinux_2_28_aarch64.whl (828.5 kB view details)

Uploaded CPython 3.9+manylinux: glibc 2.28+ ARM64

pycameleon-0.1.4-cp39-abi3-macosx_11_0_arm64.whl (701.9 kB view details)

Uploaded CPython 3.9+macOS 11.0+ ARM64

pycameleon-0.1.4-cp39-abi3-macosx_10_12_x86_64.whl (734.2 kB view details)

Uploaded CPython 3.9+macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for pycameleon-0.1.4-pp311-pypy311_pp73-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 10eeb98ac58e4becb999dbce09a1e96cd40443a216e42044201d733a30addf52
MD5 bffa3df1bf1482f90e6c2dab5a8b91be
BLAKE2b-256 a4310252058b34b10b3bb5bc6b752a29a97e391844d10bf3a1815dc8b3644d51

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycameleon-0.1.4-pp311-pypy311_pp73-manylinux_2_28_i686.whl
Algorithm Hash digest
SHA256 bef258e4ff321547090c982dbe09c7ea8930f150f95a40f2933ce9c78edf7a56
MD5 2ae89c09e1d6df54ee2893ef79a871a8
BLAKE2b-256 76950d0a032481aff4e556dde62465ea98642ff00624ebfb438f0afcf242a0e6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pycameleon-0.1.4-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.2

File hashes

Hashes for pycameleon-0.1.4-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 6cba41f0826976649ae1b1fc1b1711b89c9602fcf070ecb62df0a5bb23ea4d29
MD5 5e72d0079102d93c85336dc2a94bc1d0
BLAKE2b-256 789716f620e415e95d07d7f92a00e70687369b7e24cfa3b7d883cb0f7afe8e21

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pycameleon-0.1.4-cp39-abi3-win32.whl
Algorithm Hash digest
SHA256 7bcae3292ac324cc70b2ee21aea705e96f42b137c547734fe6ad027301dd522c
MD5 e70f144d0098400e74a88bbc42f2f78a
BLAKE2b-256 0740c362fc00fe7e9940114803aaf64e3bc4015bb5f0653d3b1732786d1cb745

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycameleon-0.1.4-cp39-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 483fb70d1f65bc60ac6dd76243eb948dfd90761b8a2a2aea69a72654efcf904b
MD5 8e6805f4d725bdef3a1a08f77e5de81c
BLAKE2b-256 3ccd364be51af51909f3c1d7bf4579be2cc014df555080c7687a5bfd3d3b0b4b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycameleon-0.1.4-cp39-abi3-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 7246ce84d4182c23a4e769bce4e2bef6fb3a14e51504e2da1f43737b87a1c55a
MD5 b5f6bb0d1dd0465a5863b4822a316a1d
BLAKE2b-256 e69a255ff264cd934baaff6203eb0e35f84de94208d488a2371632553e4c3352

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycameleon-0.1.4-cp39-abi3-musllinux_1_2_armv7l.whl
Algorithm Hash digest
SHA256 5a49c000662aca00fc1bcdbc675075ad8633c5a7a5c57bd3ef323cb9cfa0d120
MD5 dd845b1eb4d7f291ea57998bebcbdce2
BLAKE2b-256 9a1386f43c95cb0e848f6967c804c18dbf646e976892a628705c09bef5a0e23b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycameleon-0.1.4-cp39-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 9fbd032d3327e299624fda23f59131eafc8621e953f18754e3b6b929c4f3d4ac
MD5 7e2a5acf9dbfd496cbe76c1a242c27aa
BLAKE2b-256 16905125e4312a7faccd4b7dab87ac8fa5f58998eb43b76fbbabcaf65c1eb443

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycameleon-0.1.4-cp39-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ff2ad036eff52e3c31b5eb391f67965e57b0065c686ecc78f7693bae34bfa374
MD5 c0db0e8782da5fe08f398ec97526ce89
BLAKE2b-256 ea865eb0a331667709e148d7a1abc803f3adbb63ec0a7d155335ebd1eccf657f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycameleon-0.1.4-cp39-abi3-manylinux_2_28_s390x.whl
Algorithm Hash digest
SHA256 009c0660e862e11d10e57ce8162a4336c5531eb90f6fa1afa806e058934872fa
MD5 42dd69d4b116abb692d66fc60b879e1a
BLAKE2b-256 e000e3f6141df806e6cb5ab0058d581622484862c251bd30410c2d4875ada06c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycameleon-0.1.4-cp39-abi3-manylinux_2_28_ppc64le.whl
Algorithm Hash digest
SHA256 945f2c9e95597d51a230dbf9082cb957ae05f2e9073e377fabd6be0f2d9234f2
MD5 a7942954cd603146f1515ae708345ddf
BLAKE2b-256 64c67934269706fa0a13d0cc15bc632c0f8066d83373d6e3ebdff524ef6b1f45

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycameleon-0.1.4-cp39-abi3-manylinux_2_28_i686.whl
Algorithm Hash digest
SHA256 cc1de1fbb88a10acdc4dcb993a347458b7241826a1eb0d26cb3e4af1b7db08a9
MD5 ae3cc55c7a7a2e1111cc02def5fc9319
BLAKE2b-256 a2dff801e6bf2ab9d50d879a08a85dd737a16fc793a573252f722cb127287d60

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycameleon-0.1.4-cp39-abi3-manylinux_2_28_armv7l.whl
Algorithm Hash digest
SHA256 2711bdd62a6783c3b53c94a56d296a467e425ae79cfada88cdc986e798c327e1
MD5 ee381a9f9072b2311f1119d8ad157993
BLAKE2b-256 e57ede1035ceb0943913778b136574ee19f8d08f639a9f2531f1acfbf0c914f2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycameleon-0.1.4-cp39-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 4b56238b196b92e349af3b7d0f836aef9dedc0805221b99dcd7faf2d825b2c06
MD5 fa257c506cd7e63db431c9a856aa7b6f
BLAKE2b-256 f0b9771aa4d8ed2a9a8b112260a7d79851f27e6c097424928975137ab1de3059

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycameleon-0.1.4-cp39-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ae16903210a46b531b9ef3323ed807aedd44cccf4a71abc68dc6540f44c81b9d
MD5 33c0fc21c43a29ade3066348f69f4a87
BLAKE2b-256 7e7b699d224efaafbb0080841d62a4f2f7804e4a411e3140a6e31d5da9b283d9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycameleon-0.1.4-cp39-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 098e2399f5be9f48a46891e0974052489759afc6234922a30da3595d7323c766
MD5 95e9f42c860bac129430fd7717280b6b
BLAKE2b-256 4002e2dca44d6d3385c302fde7a2ca4f721a65252d7908c0341641df3b844eb9

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