Skip to main content

Library for interfacing with Intrepid devices in Python

Project description

# python_ics

Python C Code module for interfacing to the icsneo40 dynamic library. Code tries to respect PEP 8 (https://www.python.org/dev/peps/pep-0008/). Function naming convention does not follow the tradition c style icsneo40 naming convention as the python_ics module name acts as the namespace (icsneo portion of the function) and function names are suppose to be lowercase with underscores instead of mixedCase like icsneo API.

# Installing

  • pip install python_ics

  • Placing icsneo40.dll in the system path as the api uses this DLL extensively.

# How to use

#### Documentation

http://python-ics.readthedocs.io/

#### C API can be mimiced almost identically by doing the following:

>>> import ics as icsneo
>>> devices = icsneo.FindNeoDevices()
>>> for device in devices:
...     print(device.Name, device.SerialNumber)
...
neoVI FIRE 59886

#### Recommended Python way by doing the following:

>>> import ics
>>> devices = ics.find_devices()
>>> for device in devices:
...     print(device.Name, device.SerialNumber)
...
neoVI FIRE 59886

It should be noted that ics.NeoDevice is used a little bit differently than the C API. ics.NeoDevice contains two extra members:

ics.NeoDevice.AutoHandleClose and ics.NeoDevice._Handle The handle normally returned from icsneoOpenNeoDevice() is stored inside _Handle and setting AutoHandleClose to True (Default) will automatically close the handle when the ics.NeoDevice goes out of scope.

# License - MIT

Copyright (c) Intrepid Control Systems, Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Project details


Download files

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

Source Distribution

python_ics-907.5.post2.tar.gz (116.7 kB view details)

Uploaded Source

Built Distributions

python_ics-907.5.post2-cp310-cp310-win_amd64.whl (168.4 kB view details)

Uploaded CPython 3.10 Windows x86-64

python_ics-907.5.post2-cp310-cp310-win32.whl (160.4 kB view details)

Uploaded CPython 3.10 Windows x86

python_ics-907.5.post2-cp310-cp310-macosx_10_13_universal2.whl (964.7 kB view details)

Uploaded CPython 3.10 macOS 10.13+ universal2 (ARM64, x86-64)

python_ics-907.5.post2-cp39-cp39-win_amd64.whl (168.5 kB view details)

Uploaded CPython 3.9 Windows x86-64

python_ics-907.5.post2-cp39-cp39-win32.whl (160.4 kB view details)

Uploaded CPython 3.9 Windows x86

python_ics-907.5.post2-cp39-cp39-macosx_10_13_universal2.whl (964.7 kB view details)

Uploaded CPython 3.9 macOS 10.13+ universal2 (ARM64, x86-64)

python_ics-907.5.post2-cp38-cp38-win_amd64.whl (168.9 kB view details)

Uploaded CPython 3.8 Windows x86-64

python_ics-907.5.post2-cp38-cp38-win32.whl (160.9 kB view details)

Uploaded CPython 3.8 Windows x86

python_ics-907.5.post2-cp38-cp38-macosx_11_0_universal2.whl (965.0 kB view details)

Uploaded CPython 3.8 macOS 11.0+ universal2 (ARM64, x86-64)

python_ics-907.5.post2-cp37-cp37m-win_amd64.whl (168.6 kB view details)

Uploaded CPython 3.7m Windows x86-64

python_ics-907.5.post2-cp37-cp37m-win32.whl (160.6 kB view details)

Uploaded CPython 3.7m Windows x86

python_ics-907.5.post2-cp37-cp37m-macosx_10_13_x86_64.whl (862.8 kB view details)

Uploaded CPython 3.7m macOS 10.13+ x86-64

python_ics-907.5.post2-cp36-cp36m-win_amd64.whl (168.6 kB view details)

Uploaded CPython 3.6m Windows x86-64

python_ics-907.5.post2-cp36-cp36m-win32.whl (160.6 kB view details)

Uploaded CPython 3.6m Windows x86

File details

Details for the file python_ics-907.5.post2.tar.gz.

File metadata

  • Download URL: python_ics-907.5.post2.tar.gz
  • Upload date:
  • Size: 116.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/29.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.6 tqdm/4.61.2 importlib-metadata/4.6.1 keyring/23.0.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.7.9

File hashes

Hashes for python_ics-907.5.post2.tar.gz
Algorithm Hash digest
SHA256 5b816a3faa74ed457e8860f233811b79a595259ced5ef5a44c038f59e917c002
MD5 a0ffe6212d76e75a9a2aa62a179ea8d9
BLAKE2b-256 e5fdd7bd5525efdd9506087df872b7f9fcc8e0f245554d15a942f70349bc448d

See more details on using hashes here.

Provenance

File details

Details for the file python_ics-907.5.post2-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: python_ics-907.5.post2-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 168.4 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/29.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.6 tqdm/4.61.2 importlib-metadata/4.6.1 keyring/23.0.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.7.9

File hashes

Hashes for python_ics-907.5.post2-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 ad73a4d41628986435d030a0f1da837ff85e0c5eea0d0de5f100776e9ebfdb43
MD5 4b67faca2a603df5ad080c3bd3b42428
BLAKE2b-256 ea402b735ee9314d3c3a1c8a3b72a40a2a3ed4d29b8ae5a26593dbb28a69e818

See more details on using hashes here.

Provenance

File details

Details for the file python_ics-907.5.post2-cp310-cp310-win32.whl.

File metadata

  • Download URL: python_ics-907.5.post2-cp310-cp310-win32.whl
  • Upload date:
  • Size: 160.4 kB
  • Tags: CPython 3.10, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/29.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.6 tqdm/4.61.2 importlib-metadata/4.6.1 keyring/23.0.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.7.9

File hashes

Hashes for python_ics-907.5.post2-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 5d5e4768546757472f4e3fd6907ef530e9b0db551b4bd25b7978fc0b66073463
MD5 adb6f853f67ac5fc36a4de620c636357
BLAKE2b-256 5dff46592d3585ddafba7ed2fe880f0c0347104fb1999ab390947b28368572b4

See more details on using hashes here.

Provenance

File details

Details for the file python_ics-907.5.post2-cp310-cp310-macosx_10_13_universal2.whl.

File metadata

  • Download URL: python_ics-907.5.post2-cp310-cp310-macosx_10_13_universal2.whl
  • Upload date:
  • Size: 964.7 kB
  • Tags: CPython 3.10, macOS 10.13+ universal2 (ARM64, x86-64)
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/29.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.6 tqdm/4.61.2 importlib-metadata/4.6.1 keyring/23.0.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.7.9

File hashes

Hashes for python_ics-907.5.post2-cp310-cp310-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 de7ece0976fa5f711d20a20890d1792ca16507ea43a8ee7536094f1b2c9de234
MD5 c2812d543d331a853d58e6f809ebc7b5
BLAKE2b-256 5b0859491b91f7010d005a4b0cac653214bb9647be5cb4b2b89c3c0a39471363

See more details on using hashes here.

Provenance

File details

Details for the file python_ics-907.5.post2-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: python_ics-907.5.post2-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 168.5 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/29.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.6 tqdm/4.61.2 importlib-metadata/4.6.1 keyring/23.0.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.7.9

File hashes

Hashes for python_ics-907.5.post2-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 b1cb9ab5fb5b4f5d8c076f4d71a94e01a58cf30416489f53fc80bd7c65c55e3f
MD5 7d4fbf3f322fae33cf05a38134e12ba2
BLAKE2b-256 5096f5ddbb73cccf476c4264813f4a925909ecf7e6577edb05ba9761a9088267

See more details on using hashes here.

Provenance

File details

Details for the file python_ics-907.5.post2-cp39-cp39-win32.whl.

File metadata

  • Download URL: python_ics-907.5.post2-cp39-cp39-win32.whl
  • Upload date:
  • Size: 160.4 kB
  • Tags: CPython 3.9, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/29.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.6 tqdm/4.61.2 importlib-metadata/4.6.1 keyring/23.0.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.7.9

File hashes

Hashes for python_ics-907.5.post2-cp39-cp39-win32.whl
Algorithm Hash digest
SHA256 0597a38053b32ba57b9a4cbf683ef66ab8cbcaa4c62ccc9fb9669059f104a5ff
MD5 2f01417bec7e6d0ef8650f5720264653
BLAKE2b-256 cc7c43fa2737649850a17258351e81d51e39eeab8db4dee43727954eb4c4c0fc

See more details on using hashes here.

Provenance

File details

Details for the file python_ics-907.5.post2-cp39-cp39-macosx_10_13_universal2.whl.

File metadata

  • Download URL: python_ics-907.5.post2-cp39-cp39-macosx_10_13_universal2.whl
  • Upload date:
  • Size: 964.7 kB
  • Tags: CPython 3.9, macOS 10.13+ universal2 (ARM64, x86-64)
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/29.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.6 tqdm/4.61.2 importlib-metadata/4.6.1 keyring/23.0.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.7.9

File hashes

Hashes for python_ics-907.5.post2-cp39-cp39-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 86e29b3ff32358cf85b787304a3d8ad174cbba0c32b58762cc55c9cc52b00c7b
MD5 7fa62df1e88b066f9d5c58ba8c2daabe
BLAKE2b-256 328044db22f251579e2a96cb0970a291c0bcea04da89478fb8fe8b059a6415f6

See more details on using hashes here.

Provenance

File details

Details for the file python_ics-907.5.post2-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: python_ics-907.5.post2-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 168.9 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/29.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.6 tqdm/4.61.2 importlib-metadata/4.6.1 keyring/23.0.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.7.9

File hashes

Hashes for python_ics-907.5.post2-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 e1ed9f82c92277f2a7e65c8b2c7e39c605f7477f85e95fa3df5deb2b53295dbc
MD5 1567c07ead782c951b63f6a7b3dcbf7f
BLAKE2b-256 cc7117eb6ef38241cacb1e407853d43b12ff8b9065987773c1f958a3566c45dd

See more details on using hashes here.

Provenance

File details

Details for the file python_ics-907.5.post2-cp38-cp38-win32.whl.

File metadata

  • Download URL: python_ics-907.5.post2-cp38-cp38-win32.whl
  • Upload date:
  • Size: 160.9 kB
  • Tags: CPython 3.8, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/29.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.6 tqdm/4.61.2 importlib-metadata/4.6.1 keyring/23.0.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.7.9

File hashes

Hashes for python_ics-907.5.post2-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 bb444150eed4f0aa18aa3dd42d8f4698411ea7e9327e977dcb786cb742ffe319
MD5 361d38b5e520d2797fad299d8060aded
BLAKE2b-256 edfe53ec66ea507d4ab6264ac3c99ef33e7c74b53a7a0fac028e6d98c4a92e0a

See more details on using hashes here.

Provenance

File details

Details for the file python_ics-907.5.post2-cp38-cp38-macosx_11_0_universal2.whl.

File metadata

  • Download URL: python_ics-907.5.post2-cp38-cp38-macosx_11_0_universal2.whl
  • Upload date:
  • Size: 965.0 kB
  • Tags: CPython 3.8, macOS 11.0+ universal2 (ARM64, x86-64)
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/29.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.6 tqdm/4.61.2 importlib-metadata/4.6.1 keyring/23.0.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.7.9

File hashes

Hashes for python_ics-907.5.post2-cp38-cp38-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 406122b3117b0a7b42f393f3a7506caecb39584f602929cfeca16c0a7c160d58
MD5 bd02f50eb2e9aaa6b7f04ff26b7e5379
BLAKE2b-256 83439a2d0d194bca4d30b8a4c74f4f2981d6fd255ded254d69c273c1c8a266f7

See more details on using hashes here.

Provenance

File details

Details for the file python_ics-907.5.post2-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: python_ics-907.5.post2-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 168.6 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/29.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.6 tqdm/4.61.2 importlib-metadata/4.6.1 keyring/23.0.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.7.9

File hashes

Hashes for python_ics-907.5.post2-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 b32f73b78ae0e476b2f3c977c70c4c20b94ccbf2ed15cde977dd822dfbd8715f
MD5 7ec8b78605b82665dd6254b285db9208
BLAKE2b-256 b8e4e5327df46cb3899db39e13c8eda4e0c48c1b654b69428e73fe1245138a51

See more details on using hashes here.

Provenance

File details

Details for the file python_ics-907.5.post2-cp37-cp37m-win32.whl.

File metadata

  • Download URL: python_ics-907.5.post2-cp37-cp37m-win32.whl
  • Upload date:
  • Size: 160.6 kB
  • Tags: CPython 3.7m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/29.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.6 tqdm/4.61.2 importlib-metadata/4.6.1 keyring/23.0.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.7.9

File hashes

Hashes for python_ics-907.5.post2-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 798332dce24531de8d0e1d2cdd25bc3b1c36d0e3e7479e26471c6da213330709
MD5 1fe324044f0d87fd649198ffa2b09836
BLAKE2b-256 d743f7d3b42be6023b4b7556957841f324823f73f1289462c868c3dfc185fbb4

See more details on using hashes here.

Provenance

File details

Details for the file python_ics-907.5.post2-cp37-cp37m-macosx_10_13_x86_64.whl.

File metadata

  • Download URL: python_ics-907.5.post2-cp37-cp37m-macosx_10_13_x86_64.whl
  • Upload date:
  • Size: 862.8 kB
  • Tags: CPython 3.7m, macOS 10.13+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/29.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.6 tqdm/4.61.2 importlib-metadata/4.6.1 keyring/23.0.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.7.9

File hashes

Hashes for python_ics-907.5.post2-cp37-cp37m-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 1d70cc4621b90ba7701fe551a30a3195844f85805c4d10055cf6525af8011437
MD5 ab36839686784552922693de9fbe6628
BLAKE2b-256 5585ae625f259ab847ec36a6db3f73ff94e9f1eb121c5cdb1d9ed9a0765a2a4c

See more details on using hashes here.

Provenance

File details

Details for the file python_ics-907.5.post2-cp36-cp36m-win_amd64.whl.

File metadata

  • Download URL: python_ics-907.5.post2-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 168.6 kB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/29.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.6 tqdm/4.61.2 importlib-metadata/4.6.1 keyring/23.0.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.7.9

File hashes

Hashes for python_ics-907.5.post2-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 237270b7c539683f396274db96c2e04f3191d590b032933003f443d05bbfad31
MD5 4f77fc9d76a1e30c1dc30cdd27dd4b26
BLAKE2b-256 4338d5d509d789cd0eff408a378d228420a7043d355cac368c39a92adef8886b

See more details on using hashes here.

Provenance

File details

Details for the file python_ics-907.5.post2-cp36-cp36m-win32.whl.

File metadata

  • Download URL: python_ics-907.5.post2-cp36-cp36m-win32.whl
  • Upload date:
  • Size: 160.6 kB
  • Tags: CPython 3.6m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/29.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.6 tqdm/4.61.2 importlib-metadata/4.6.1 keyring/23.0.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.7.9

File hashes

Hashes for python_ics-907.5.post2-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 2458a5d30a1021004532be38a9bb4544d8bc6bedddea4e7337ad395be5fb6ca0
MD5 711700a62c8a5861db8bf33e072d2e20
BLAKE2b-256 ca2a18cb6a86fdd12b4b8937cd91816409f29235fa578819e3e4bb1bafdb3a21

See more details on using hashes here.

Provenance

Supported by

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