Skip to main content

The genicam module is the official Python binding of GenICam that is developed and maintained by the GenICam committee.

GenICam

About the genicam module

The genicam module consists of two sub-modules. The one is genapi and the other is gentl. The genapi module gives you a way to control GenICam features of the target device supports. On the other hand, the gentl module gives you a way to control functionality that the target GenTL Producer supports.

Using the genicam module

The genapi module

In this section, you will learn how to use the genapi module.

Creating a node map object

First, you create a node map object instantiating the NodeMap class:

from genicam.genapi import NodeMap

node_map = NodeMap()

And then, load a device description file on the node map object. The NodeMap object supports several ways to make it. One is to load the file content as a str object:

file_content = 'blabla'
node_map.load_xml_from_string(file_content)

Another way is to load the file as an XML file:

file = an_xml_file
node_map.load_xml_from_file(file)

The other ways is to load the file as a Zip file:

file = a_zip_file
node_map.load_xml_from_zip_file(file)

Changing a feature value

Once you loaded a device description file on a node map object, you would start to control GenICam feature nodes to control the target device. Now assume that we are going to control a GenICam feature node called Foo. To get the value of Foo, we code as follows:

a = node_map.Foo.value

On the other hand, if Foo is an Integer node then we code as follows to set a value:

node_map.Foo.value = 42

If Foo is a Boolean node, then you code as follows:

node_map.Foo.value = True

Or if Foo is an Enumeration node, then you code as follows; it also works for a case where Foo is a String node:

node_map.Foo.value = 'Bar'

If Foo is a Command node, then you can execute the command with the following code:

node_map.Foo.execute()

The gentl module

In this section, you will learn how to use the gentl module.

[TO BE DOCUMENTED]

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.

genicam-1.6.0-cp314-cp314-win_amd64.whl (1.8 MB view details)

Uploaded CPython 3.14Windows x86-64

genicam-1.6.0-cp314-cp314-manylinux2014_x86_64.whl (2.8 MB view details)

Uploaded CPython 3.14

genicam-1.6.0-cp314-cp314-manylinux2014_armv7l.whl (2.2 MB view details)

Uploaded CPython 3.14

genicam-1.6.0-cp314-cp314-manylinux2014_aarch64.whl (2.6 MB view details)

Uploaded CPython 3.14

genicam-1.6.0-cp314-cp314-macosx_13_0_arm64.whl (2.6 MB view details)

Uploaded CPython 3.14macOS 13.0+ ARM64

genicam-1.6.0-cp313-cp313-win_amd64.whl (1.8 MB view details)

Uploaded CPython 3.13Windows x86-64

genicam-1.6.0-cp313-cp313-manylinux2014_x86_64.whl (2.8 MB view details)

Uploaded CPython 3.13

genicam-1.6.0-cp313-cp313-manylinux2014_armv7l.whl (2.2 MB view details)

Uploaded CPython 3.13

genicam-1.6.0-cp313-cp313-manylinux2014_aarch64.whl (2.6 MB view details)

Uploaded CPython 3.13

genicam-1.6.0-cp313-cp313-macosx_13_0_arm64.whl (2.6 MB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

genicam-1.6.0-cp312-cp312-win_amd64.whl (1.8 MB view details)

Uploaded CPython 3.12Windows x86-64

genicam-1.6.0-cp312-cp312-manylinux2014_x86_64.whl (2.8 MB view details)

Uploaded CPython 3.12

genicam-1.6.0-cp312-cp312-manylinux2014_armv7l.whl (2.2 MB view details)

Uploaded CPython 3.12

genicam-1.6.0-cp312-cp312-manylinux2014_aarch64.whl (2.6 MB view details)

Uploaded CPython 3.12

genicam-1.6.0-cp312-cp312-macosx_13_0_arm64.whl (2.6 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

genicam-1.6.0-cp311-cp311-win_amd64.whl (1.8 MB view details)

Uploaded CPython 3.11Windows x86-64

genicam-1.6.0-cp311-cp311-manylinux2014_x86_64.whl (2.8 MB view details)

Uploaded CPython 3.11

genicam-1.6.0-cp311-cp311-manylinux2014_armv7l.whl (2.2 MB view details)

Uploaded CPython 3.11

genicam-1.6.0-cp311-cp311-manylinux2014_aarch64.whl (2.6 MB view details)

Uploaded CPython 3.11

genicam-1.6.0-cp311-cp311-macosx_13_0_arm64.whl (2.6 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

genicam-1.6.0-cp310-cp310-win_amd64.whl (1.8 MB view details)

Uploaded CPython 3.10Windows x86-64

genicam-1.6.0-cp310-cp310-manylinux2014_x86_64.whl (2.8 MB view details)

Uploaded CPython 3.10

genicam-1.6.0-cp310-cp310-manylinux2014_armv7l.whl (2.2 MB view details)

Uploaded CPython 3.10

genicam-1.6.0-cp310-cp310-manylinux2014_aarch64.whl (2.6 MB view details)

Uploaded CPython 3.10

genicam-1.6.0-cp310-cp310-macosx_13_0_arm64.whl (2.6 MB view details)

Uploaded CPython 3.10macOS 13.0+ ARM64

File details

Details for the file genicam-1.6.0-cp314-cp314-win_amd64.whl.

File metadata

  • Download URL: genicam-1.6.0-cp314-cp314-win_amd64.whl
  • Upload date:
  • Size: 1.8 MB
  • Tags: CPython 3.14, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.9

File hashes

Hashes for genicam-1.6.0-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 7630b7844b273080f21f01881c56667cc68521186b75dd15798f5dee1f8f1037
MD5 f5789f8bd9637f71c1d2c14fa33ae5c2
BLAKE2b-256 2418c6f0b7f3da480aac0c86d104664e9cf144675986cc4e3f108c909bec0ddf

See more details on using hashes here.

File details

Details for the file genicam-1.6.0-cp314-cp314-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for genicam-1.6.0-cp314-cp314-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d1e12e276eab6dbe8dec37e060ea5a8cc5758cc8c3502a048782e38a0451517d
MD5 f707963d67c0eff8a1a1228fa748a81b
BLAKE2b-256 38ffa8c90b9a7d99fa6008437491f1198264c22d49572a0013a05bc1c579e034

See more details on using hashes here.

File details

Details for the file genicam-1.6.0-cp314-cp314-manylinux2014_armv7l.whl.

File metadata

File hashes

Hashes for genicam-1.6.0-cp314-cp314-manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 e3f9ff542bbd2fe389e1a94e4a694ec34f94ab378247c5f7e761b78ff5891d24
MD5 b2aa9c4cabcaf73cbac17a8a97c245e5
BLAKE2b-256 4506ea8b6c2f4536cd8f54961040edae1ad9ff8a3dced2081a2377dac600bb73

See more details on using hashes here.

File details

Details for the file genicam-1.6.0-cp314-cp314-manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for genicam-1.6.0-cp314-cp314-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 3dcf4af1fabb1cee06cac0bed6560f0e49180dab1e078501949eaf07596736c3
MD5 763569f6ceba6e4afb75dab51607a473
BLAKE2b-256 f1322ef1193d27bb375e3d9822be883e987d75203fcb417bafa96fd77fe8be18

See more details on using hashes here.

File details

Details for the file genicam-1.6.0-cp314-cp314-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for genicam-1.6.0-cp314-cp314-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 064a87188b6102bac03a8ab1ccff5280e8fa4cf6378448e6286ed6f4cc9f7a64
MD5 1fd14071466a5444073fb72a85a963b4
BLAKE2b-256 502698a864061d25e78b96b7d621814b399a78fb7603ae6a6ac871648587bc49

See more details on using hashes here.

File details

Details for the file genicam-1.6.0-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: genicam-1.6.0-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 1.8 MB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.9

File hashes

Hashes for genicam-1.6.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 740156c5fa8d82330d36314112f4b755e8333c16f82792174f1a2a2e150519ae
MD5 f36edb2724b5b7ce1031c65d8d58352f
BLAKE2b-256 ae38895e9effffc858ff06996a9eed28decdc9b5b2176b2cfd82df8c4f65bdec

See more details on using hashes here.

File details

Details for the file genicam-1.6.0-cp313-cp313-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for genicam-1.6.0-cp313-cp313-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a342980e80735b7b1e4f18f6c33d64eccc3e95887dd72f302409f1296bef3dac
MD5 45dbcc60d44261cc0f8ecdd5402c7ce0
BLAKE2b-256 75eb37363beb1880674ff0976ff7607e2e045933c6388d08d98bc0b512df941c

See more details on using hashes here.

File details

Details for the file genicam-1.6.0-cp313-cp313-manylinux2014_armv7l.whl.

File metadata

File hashes

Hashes for genicam-1.6.0-cp313-cp313-manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 efe646df5e8ca76208c6621e8a5dbea3e9909641801787993ea2d7ec4a704c09
MD5 4a5ea64acb2c6574b3704cd96cc17f31
BLAKE2b-256 413725a84938b5ec34fc6123006a3f4173fead4fde3b460b516749a8ae8c1b02

See more details on using hashes here.

File details

Details for the file genicam-1.6.0-cp313-cp313-manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for genicam-1.6.0-cp313-cp313-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 f4d6496660507b32a7f6ef05f5344bcd305ea3e2158a41bf53169663d7a72e70
MD5 d627ce03f2d4a490d6699c3fe3033824
BLAKE2b-256 105986ae5cbc1a89f70c2b3b906e692a46b977e9230664781cd5a304012f6b20

See more details on using hashes here.

File details

Details for the file genicam-1.6.0-cp313-cp313-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for genicam-1.6.0-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 f5c35275014f4793b34a21ebe8bbcb269a87b5d1bf129daf2818c6160f8758c9
MD5 0ec9f570b34183d2b6c3215a50994087
BLAKE2b-256 7ff1b5f641ad64c296462ab2ca314b8a471827142b949606ebe8b69bff7e6a08

See more details on using hashes here.

File details

Details for the file genicam-1.6.0-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: genicam-1.6.0-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 1.8 MB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.9

File hashes

Hashes for genicam-1.6.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 1d2bb3f39443c5bc248fcbde83a3a973370ca43588a7c1ded7d7324d7d9427d3
MD5 f07ed011074402e9237b8534b6c7b63f
BLAKE2b-256 a34ae643cac4031ad7b1780ab19bcdeb6b0545e829b2ee10ea37ca1185d9417d

See more details on using hashes here.

File details

Details for the file genicam-1.6.0-cp312-cp312-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for genicam-1.6.0-cp312-cp312-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 83da90404da189a87273864f2c97c761c1807fc6fc532fabd3bf50c0ae28f8ae
MD5 4237dae21bbf4dce8e5ed8053c7a1bb9
BLAKE2b-256 309c49d68f5055e970e4e4d834bc3df686a01f7bd82e070888fc7ad2c86e2eaf

See more details on using hashes here.

File details

Details for the file genicam-1.6.0-cp312-cp312-manylinux2014_armv7l.whl.

File metadata

File hashes

Hashes for genicam-1.6.0-cp312-cp312-manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 b65beca4b425442922a2f2beefae1e3109ce166cfd726fcd9d2ac59ff1d57e24
MD5 ec79dadc24d7301618b535d66f3b2fcb
BLAKE2b-256 8fac3b8496c446715008e77dda7439735c428f163aab0a3f643352407a259a52

See more details on using hashes here.

File details

Details for the file genicam-1.6.0-cp312-cp312-manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for genicam-1.6.0-cp312-cp312-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 3a1a16b89fec69d52142781f280ce2c01a4c1422da1cd08893ed1cd630d11c30
MD5 dea2b679fcabd0ac7de24f8660b13494
BLAKE2b-256 0768499657bf3e5111fe1c87e3364c2ae6b59fe912d7184fccf591eafd762ceb

See more details on using hashes here.

File details

Details for the file genicam-1.6.0-cp312-cp312-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for genicam-1.6.0-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 d0becabb469d0f51f9d4820d655d2788c620a8ee1c8abcfa4703cac87ba27f53
MD5 85d993a21f9b3b0b7412d1ca33ba60a8
BLAKE2b-256 b7840dc939a435deef267d82bc6aaa4b7ed9c89510766454640622608d0e7ce5

See more details on using hashes here.

File details

Details for the file genicam-1.6.0-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: genicam-1.6.0-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 1.8 MB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.9

File hashes

Hashes for genicam-1.6.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 ef1d25c7e9823689dbfb9e08d8fdb46e0f05982ca9c27d1eeacc1aa8fcd69f6e
MD5 b5ffb52dd172bd09238a81725e4f0028
BLAKE2b-256 d4ec19092034d0f66646d97b85e1549b6b4e2448f5287bb3a76b5a8cd677ba4a

See more details on using hashes here.

File details

Details for the file genicam-1.6.0-cp311-cp311-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for genicam-1.6.0-cp311-cp311-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 589b1152f22ca766f8b5e1dff9c1b4006c2eb7f5ee33152619ef6ece8a5a3f47
MD5 8e87c771837348fb571260c68b650862
BLAKE2b-256 e6b3252e5d64022984de4a78220c456f1f91742dbd7bb02d5b3926ed4c228015

See more details on using hashes here.

File details

Details for the file genicam-1.6.0-cp311-cp311-manylinux2014_armv7l.whl.

File metadata

File hashes

Hashes for genicam-1.6.0-cp311-cp311-manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 a750ffb11194f02740531bc0f62bf7013d39f2eea65f5e283c7811ab757fc987
MD5 ed52935b9f78196bbe29fe38f0c11ea7
BLAKE2b-256 389268c0033f076ad1defed2e6bf1cec8fc720a24622fb0389013b058e841234

See more details on using hashes here.

File details

Details for the file genicam-1.6.0-cp311-cp311-manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for genicam-1.6.0-cp311-cp311-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 4207d7ccee9deb755ad372c0b473fd2f23e4e42da61e06e4a7873d199b883a0f
MD5 d7a5232219b6434eef063c3a38d8552f
BLAKE2b-256 bd1bbf993221a155d2fd35c8201be97cd0376e005bf1cc82dec27105a712d3b1

See more details on using hashes here.

File details

Details for the file genicam-1.6.0-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for genicam-1.6.0-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 2a5bfeb3b9796cf6667192c2957f8ea7ec240ff42e76cc6e3e05d1d0230bf68a
MD5 db315961a3c66fd68dc64e85f2f99511
BLAKE2b-256 3e3997c9a39fde61441731a383bde6a86b079a5a9d1d22c6d9eb16556b77016e

See more details on using hashes here.

File details

Details for the file genicam-1.6.0-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: genicam-1.6.0-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 1.8 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.9

File hashes

Hashes for genicam-1.6.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 dc8fa336bc3d3bcb8f22bd6e4df9dd7fa99f53237fc7813fce4053eaafb3aac5
MD5 46c1815131407075b631ac10a8c8ff8e
BLAKE2b-256 2a849d5513437ced20749a58145632d7c9f4f11c7fcf1f819ab9233fe04c6840

See more details on using hashes here.

File details

Details for the file genicam-1.6.0-cp310-cp310-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for genicam-1.6.0-cp310-cp310-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 eb5bcae2749005ad649d18ccce23368a463a889f7b20987549f63344e5c2158c
MD5 a96cc7f7350e722c6ab372cbcf3c72a9
BLAKE2b-256 1d45f8d0b0a42acb22655d4a694bcb9b1594990224774c80d30f9b7d2a004cee

See more details on using hashes here.

File details

Details for the file genicam-1.6.0-cp310-cp310-manylinux2014_armv7l.whl.

File metadata

File hashes

Hashes for genicam-1.6.0-cp310-cp310-manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 596295c2fb71c211f14454a40f1270cc411a447eb4087098d80ee2c02fab62e2
MD5 2d64f541f185196ba9bacfa2df61a591
BLAKE2b-256 c6341e610e0f605b88b57fd47912c71c00819f9b30b2b6f10eb83bdcb3dd44d7

See more details on using hashes here.

File details

Details for the file genicam-1.6.0-cp310-cp310-manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for genicam-1.6.0-cp310-cp310-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 2c75d6d38de9b7a72ae3e49a7cf03901fa4a167f9d049c5450913094b0411886
MD5 761766fc8d05c1245ba613b65eabe479
BLAKE2b-256 2fbf035e0ab1fe09dc9b85a31bacd3cfb66460d48eb0a9b770e847bed61ffd54

See more details on using hashes here.

File details

Details for the file genicam-1.6.0-cp310-cp310-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for genicam-1.6.0-cp310-cp310-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 6e4dd58017fb5168c3164ba6ff1642a7798d74ebc58e3b7c0e32ea18dcfc45a0
MD5 664c10cf3e7e4861226ca8665f1df083
BLAKE2b-256 1bdfc979b35566a00c7a98e53254dff4d9c44b88ac9c7b5638b03eb606d76356

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.6.0 This release

25 files

1.5.1

24 files

1.5.0

17 files

1.4.0

18 files

1.3.0

20 files

1.2.0

12 files

1.1.0

12 files

1.0.1

12 files

1.0.0

15 files

0.0.1

4 files

0.0.0

4 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page