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-908.12.tar.gz (108.7 kB view details)

Uploaded Source

Built Distributions

python_ics-908.12-cp310-cp310-win_amd64.whl (176.7 kB view details)

Uploaded CPython 3.10 Windows x86-64

python_ics-908.12-cp310-cp310-win32.whl (168.7 kB view details)

Uploaded CPython 3.10 Windows x86

python_ics-908.12-cp310-cp310-macosx_10_13_universal2.whl (1.1 MB view details)

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

python_ics-908.12-cp39-cp39-win_amd64.whl (176.8 kB view details)

Uploaded CPython 3.9 Windows x86-64

python_ics-908.12-cp39-cp39-win32.whl (168.7 kB view details)

Uploaded CPython 3.9 Windows x86

python_ics-908.12-cp39-cp39-macosx_10_13_universal2.whl (1.1 MB view details)

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

python_ics-908.12-cp38-cp38-win_amd64.whl (177.2 kB view details)

Uploaded CPython 3.8 Windows x86-64

python_ics-908.12-cp38-cp38-win32.whl (169.2 kB view details)

Uploaded CPython 3.8 Windows x86

python_ics-908.12-cp38-cp38-macosx_11_0_universal2.whl (1.1 MB view details)

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

python_ics-908.12-cp37-cp37m-win_amd64.whl (176.9 kB view details)

Uploaded CPython 3.7m Windows x86-64

python_ics-908.12-cp37-cp37m-win32.whl (168.9 kB view details)

Uploaded CPython 3.7m Windows x86

python_ics-908.12-cp37-cp37m-macosx_10_13_x86_64.whl (958.9 kB view details)

Uploaded CPython 3.7m macOS 10.13+ x86-64

python_ics-908.12-cp36-cp36m-win_amd64.whl (176.9 kB view details)

Uploaded CPython 3.6m Windows x86-64

python_ics-908.12-cp36-cp36m-win32.whl (168.9 kB view details)

Uploaded CPython 3.6m Windows x86

File details

Details for the file python_ics-908.12.tar.gz.

File metadata

  • Download URL: python_ics-908.12.tar.gz
  • Upload date:
  • Size: 108.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.7.9

File hashes

Hashes for python_ics-908.12.tar.gz
Algorithm Hash digest
SHA256 517c828c45cf1a90b264c8c55462796b09067531db6744806e2f773c16bd3838
MD5 4c337c6ab221f9c9dae0448d3118df7d
BLAKE2b-256 7bffb0b4aa5175e8b37be661179c18041e46316f0bd99a600364b335c8050062

See more details on using hashes here.

Provenance

File details

Details for the file python_ics-908.12-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for python_ics-908.12-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 267e6fbb0f5f8600fb9dffef4d3e5c4205a789c953cc76ab879905cdfd8ff755
MD5 77a209558de4e0e97e1b57392622d0f9
BLAKE2b-256 d7b2414f6f00b6b5a2e1e65bd0ee4805bf7996dcc773f28cc0da156d2efd0d63

See more details on using hashes here.

Provenance

File details

Details for the file python_ics-908.12-cp310-cp310-win32.whl.

File metadata

  • Download URL: python_ics-908.12-cp310-cp310-win32.whl
  • Upload date:
  • Size: 168.7 kB
  • Tags: CPython 3.10, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.7.9

File hashes

Hashes for python_ics-908.12-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 63a6191fd8fe7e24625feb8c88a5f560dfd605efa10d1bf113c4ff9fa56969ad
MD5 321e240f76ccc6ec0f1536a79ad8b0b4
BLAKE2b-256 58dca0e9a661c40c80c101d34a442a771a156e6d421cb5edac046b4e9542f29c

See more details on using hashes here.

Provenance

File details

Details for the file python_ics-908.12-cp310-cp310-macosx_10_13_universal2.whl.

File metadata

File hashes

Hashes for python_ics-908.12-cp310-cp310-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 684c5c82981cfa91d294d33bd739c4311d125edd931d19b96a6eb6990dc131e6
MD5 f3bd56b3e2b57d4503d3bb1bcd228127
BLAKE2b-256 a9b2dbb1003bae8f4c761a45f33ee638b897b1fb84bb27ec1c016fdcacbca001

See more details on using hashes here.

Provenance

File details

Details for the file python_ics-908.12-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for python_ics-908.12-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 e4cccd7926ecc3a349ce967d8c5038e5cbd7a7ba11d4a365364d0ec2c8f1af9b
MD5 44f608d41d09cab114fb3d07fe08786f
BLAKE2b-256 916fd82758b8ba837199ffae10c7dff436c633f1ccff2d598dc11dbb9c8f4a1a

See more details on using hashes here.

Provenance

File details

Details for the file python_ics-908.12-cp39-cp39-win32.whl.

File metadata

  • Download URL: python_ics-908.12-cp39-cp39-win32.whl
  • Upload date:
  • Size: 168.7 kB
  • Tags: CPython 3.9, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.7.9

File hashes

Hashes for python_ics-908.12-cp39-cp39-win32.whl
Algorithm Hash digest
SHA256 7d77b7a3dfa61313661bb044225eefa8e1d0704bf4942b4fad8b5571a44212ba
MD5 50fad4b50e55f0fac0a41991e94bb113
BLAKE2b-256 7961a9182990f98594a70dc1d9f6f366ec025e9c2d5f47e5694c09d3b1eebe45

See more details on using hashes here.

Provenance

File details

Details for the file python_ics-908.12-cp39-cp39-macosx_10_13_universal2.whl.

File metadata

File hashes

Hashes for python_ics-908.12-cp39-cp39-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 98fc10ba44e32d4a850bbee95e06ec6063343b9aac81c2ae55f4190a7c97d051
MD5 7ba51a6a0c88b728d74db646379ac785
BLAKE2b-256 7e1c76f0b99ba037bfb0f033e557aa2f7ac562e8b809fc945dbd0359b9e19f1c

See more details on using hashes here.

Provenance

File details

Details for the file python_ics-908.12-cp38-cp38-win_amd64.whl.

File metadata

File hashes

Hashes for python_ics-908.12-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 d4253500d0eae473d7257851ba8357573cff6f3fa17d14c01e009503669f80c4
MD5 d2d43e56472207b11ee8b1634763260c
BLAKE2b-256 d4d3eb23c4a1d2946a7269eb6c1a12771b243efc7a0b44db66676978b3b9bb9a

See more details on using hashes here.

Provenance

File details

Details for the file python_ics-908.12-cp38-cp38-win32.whl.

File metadata

  • Download URL: python_ics-908.12-cp38-cp38-win32.whl
  • Upload date:
  • Size: 169.2 kB
  • Tags: CPython 3.8, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.7.9

File hashes

Hashes for python_ics-908.12-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 a8f6245875d90ea6836b361e427734d666e0ff0edcf5faaf589686c3ff9a040c
MD5 7261fea037178ff24877c762d25a259a
BLAKE2b-256 ee1275ad74387c6603c2eb1ac184e4ff101fb628c306bc69f52925f1d7f84876

See more details on using hashes here.

Provenance

File details

Details for the file python_ics-908.12-cp38-cp38-macosx_11_0_universal2.whl.

File metadata

File hashes

Hashes for python_ics-908.12-cp38-cp38-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 bbf2d9431c6f34e5ca6d1c26d573b056508a088478bb6397e72b9316f8bf62ac
MD5 7990bf0e3dc493d5f2884268de0b5f20
BLAKE2b-256 bb628d302e14220fea34ae6cd3554dfe4970a8eabbad9a482a2deb7e8fc685eb

See more details on using hashes here.

Provenance

File details

Details for the file python_ics-908.12-cp37-cp37m-win_amd64.whl.

File metadata

File hashes

Hashes for python_ics-908.12-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 ec6cf375c32bf452bd37e5f10710b582a906cf5266f8e25009aea950b5407011
MD5 b9805e6e2666b249a65a00f3860b5416
BLAKE2b-256 1402eb1eb41c8a2a760a7986e7e8b30f94c135240175de86091c512a937cec82

See more details on using hashes here.

Provenance

File details

Details for the file python_ics-908.12-cp37-cp37m-win32.whl.

File metadata

  • Download URL: python_ics-908.12-cp37-cp37m-win32.whl
  • Upload date:
  • Size: 168.9 kB
  • Tags: CPython 3.7m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.7.9

File hashes

Hashes for python_ics-908.12-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 8defc73724ac9169da0e709283d1bd5c85b45815a4cca3fbf38d531cd35f8fd5
MD5 3561318be8a2e66804c1cfd8775338a6
BLAKE2b-256 6c284640c5171c927af629392c807923b31efe77d833edad5450cea4ce58fd07

See more details on using hashes here.

Provenance

File details

Details for the file python_ics-908.12-cp37-cp37m-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for python_ics-908.12-cp37-cp37m-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 6f7abcab3411362efa2e8d429f713fd9c4934d8b821a0eef5df6abfe62afdda2
MD5 6190e45b66c6c703af4568259e6559b3
BLAKE2b-256 09281201d555713625b6e2784dc0ee946ec7eb7ca7465a421f1cdfbddb6427e7

See more details on using hashes here.

Provenance

File details

Details for the file python_ics-908.12-cp36-cp36m-win_amd64.whl.

File metadata

File hashes

Hashes for python_ics-908.12-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 00d6e950faff0f34ae07a5767906d14e354f71378ac2120b9d8e0f585ba89cee
MD5 3ed9cf4215ccf54d5d28824d7c9ecaf8
BLAKE2b-256 3625766e03f1caf2487947a2c34253e5469e49b0d8bb80ce95efed70e928973f

See more details on using hashes here.

Provenance

File details

Details for the file python_ics-908.12-cp36-cp36m-win32.whl.

File metadata

  • Download URL: python_ics-908.12-cp36-cp36m-win32.whl
  • Upload date:
  • Size: 168.9 kB
  • Tags: CPython 3.6m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.7.9

File hashes

Hashes for python_ics-908.12-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 d2443e3e2a0b161f960e0ed680af8662ec3bbb0943f6bd2b88365b11c088e51d
MD5 cb21a21a75568c16d5fc48f6b6aa2817
BLAKE2b-256 c299f647c57658197ec04cc1b3ea619083d6ce185be70b78870fa2b46e5748e8

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