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) 2017 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-3.1.tar.gz (103.3 kB view details)

Uploaded Source

Built Distributions

python_ics-3.1-cp37-cp37m-win_amd64.whl (112.5 kB view details)

Uploaded CPython 3.7m Windows x86-64

python_ics-3.1-cp37-cp37m-win32.whl (97.9 kB view details)

Uploaded CPython 3.7m Windows x86

python_ics-3.1-cp36-cp36m-win_amd64.whl (112.5 kB view details)

Uploaded CPython 3.6m Windows x86-64

python_ics-3.1-cp36-cp36m-win32.whl (93.8 kB view details)

Uploaded CPython 3.6m Windows x86

python_ics-3.1-cp35-cp35m-win_amd64.whl (106.3 kB view details)

Uploaded CPython 3.5m Windows x86-64

python_ics-3.1-cp35-cp35m-win32.whl (93.8 kB view details)

Uploaded CPython 3.5m Windows x86

python_ics-3.1-cp34-cp34m-win_amd64.whl (125.9 kB view details)

Uploaded CPython 3.4m Windows x86-64

python_ics-3.1-cp34-cp34m-win32.whl (115.7 kB view details)

Uploaded CPython 3.4m Windows x86

python_ics-3.1-cp27-cp27m-win_amd64.whl (122.4 kB view details)

Uploaded CPython 2.7m Windows x86-64

python_ics-3.1-cp27-cp27m-win32.whl (112.6 kB view details)

Uploaded CPython 2.7m Windows x86

File details

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

File metadata

  • Download URL: python_ics-3.1.tar.gz
  • Upload date:
  • Size: 103.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/36.2.0 requests-toolbelt/0.8.0 tqdm/4.14.0 CPython/3.4.4

File hashes

Hashes for python_ics-3.1.tar.gz
Algorithm Hash digest
SHA256 c853de88a91b3b94bea02a2ffc71f819f2a1e63d2d0c86a5d5f961c13970dbac
MD5 d5636e1e0fd419d3e0144f45bfc772a8
BLAKE2b-256 07945771194a85a8922d54fc7f3877849c99718d9eced9e3669bee6cb6d58fb3

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: python_ics-3.1-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 112.5 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/36.2.0 requests-toolbelt/0.8.0 tqdm/4.14.0 CPython/3.4.4

File hashes

Hashes for python_ics-3.1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 692959fbf2dbd3f904dd99e612b2bbc98d6b4dae82de67846de2d08e4143d924
MD5 a9a485f8593f0c901e9d07004103ca55
BLAKE2b-256 d256c95108e365e924d08eabbb6b1f928d577f5436489d8b9a779ba0dcb171a1

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: python_ics-3.1-cp37-cp37m-win32.whl
  • Upload date:
  • Size: 97.9 kB
  • Tags: CPython 3.7m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/36.2.0 requests-toolbelt/0.8.0 tqdm/4.14.0 CPython/3.4.4

File hashes

Hashes for python_ics-3.1-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 0f9d08530ab82c50f0f953f3da2ce421f08e66a5d7692e34ab8a76b00d443cd4
MD5 3381dc7cad60e52ae64381040d9981e3
BLAKE2b-256 0713e2625cbc6e7b8cfe1233904326b4455a570db66822486e3bd98d15844ce7

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: python_ics-3.1-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 112.5 kB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/36.2.0 requests-toolbelt/0.8.0 tqdm/4.14.0 CPython/3.4.4

File hashes

Hashes for python_ics-3.1-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 b4f617572e774e2650d079493f9c1e2551bff3c5f0f2d0842ff660a490de131c
MD5 ac9026defc92aa7eb8a1a9a58ab9bbf7
BLAKE2b-256 4920ce91efc4f37b7208ef68fcd4a50a0e99d785005b42b97c4c11c16222c997

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: python_ics-3.1-cp36-cp36m-win32.whl
  • Upload date:
  • Size: 93.8 kB
  • Tags: CPython 3.6m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/36.2.0 requests-toolbelt/0.8.0 tqdm/4.14.0 CPython/3.4.4

File hashes

Hashes for python_ics-3.1-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 be0855570643e4addf06528f5062f33f9c63bef5a695cd371ba29bd6adc5a79e
MD5 e033659826164dbee0c169aaa52ffd0e
BLAKE2b-256 dbe6a2dbc0785617f8a7b42c8a6d99fe0f14f90b9bdf36a8e0f408d8232a0e00

See more details on using hashes here.

Provenance

File details

Details for the file python_ics-3.1-cp35-cp35m-win_amd64.whl.

File metadata

  • Download URL: python_ics-3.1-cp35-cp35m-win_amd64.whl
  • Upload date:
  • Size: 106.3 kB
  • Tags: CPython 3.5m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/36.2.0 requests-toolbelt/0.8.0 tqdm/4.14.0 CPython/3.4.4

File hashes

Hashes for python_ics-3.1-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 2b29b7d4add2ff9fb2038891e437950b40936b2b81ceb075e48b584b7e3d244e
MD5 651a5045ababb3441ac395feae4fe20e
BLAKE2b-256 b34ea2373541a9357c5eb6737cb916d5249c2f1226fa6fdaf70a175def020370

See more details on using hashes here.

Provenance

File details

Details for the file python_ics-3.1-cp35-cp35m-win32.whl.

File metadata

  • Download URL: python_ics-3.1-cp35-cp35m-win32.whl
  • Upload date:
  • Size: 93.8 kB
  • Tags: CPython 3.5m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/36.2.0 requests-toolbelt/0.8.0 tqdm/4.14.0 CPython/3.4.4

File hashes

Hashes for python_ics-3.1-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 9363d8d5965d71390ad0b5453f73be488b75ec358c158769e39eb0c912ad657d
MD5 fcd1c1391cbbd043c6d9fae5424fee7e
BLAKE2b-256 cfe80eb3c6600a002334e9ac3711124955a9b42d1a4c410c3c312ea87f882df4

See more details on using hashes here.

Provenance

File details

Details for the file python_ics-3.1-cp34-cp34m-win_amd64.whl.

File metadata

  • Download URL: python_ics-3.1-cp34-cp34m-win_amd64.whl
  • Upload date:
  • Size: 125.9 kB
  • Tags: CPython 3.4m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/36.2.0 requests-toolbelt/0.8.0 tqdm/4.14.0 CPython/3.4.4

File hashes

Hashes for python_ics-3.1-cp34-cp34m-win_amd64.whl
Algorithm Hash digest
SHA256 83ebaa35a829105bd2c5d13b19e7da328c67f2cf9b591c591ed00428bdcfa7ac
MD5 2f4ca4fd08c8fd69d490c8b85a3944ec
BLAKE2b-256 c2337b5ea68d1c2e6644c64bf4988f07fe4fa35ecb5abf93977319724c96b256

See more details on using hashes here.

Provenance

File details

Details for the file python_ics-3.1-cp34-cp34m-win32.whl.

File metadata

  • Download URL: python_ics-3.1-cp34-cp34m-win32.whl
  • Upload date:
  • Size: 115.7 kB
  • Tags: CPython 3.4m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/36.2.0 requests-toolbelt/0.8.0 tqdm/4.14.0 CPython/3.4.4

File hashes

Hashes for python_ics-3.1-cp34-cp34m-win32.whl
Algorithm Hash digest
SHA256 370e2df7b015a8aa11ecca37b07e5f8a4a64861112aeb136afc209fe8dfafd0b
MD5 0015c08ba864d9a11dd07b7faac0e1fc
BLAKE2b-256 1aedba856d1a2c9ba037f30446d9a52f8f4849a3fb36d8d2fc05a16ec960fd2c

See more details on using hashes here.

Provenance

File details

Details for the file python_ics-3.1-cp27-cp27m-win_amd64.whl.

File metadata

  • Download URL: python_ics-3.1-cp27-cp27m-win_amd64.whl
  • Upload date:
  • Size: 122.4 kB
  • Tags: CPython 2.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/36.2.0 requests-toolbelt/0.8.0 tqdm/4.14.0 CPython/3.4.4

File hashes

Hashes for python_ics-3.1-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 5b39866bac8a9c5b5d2070ace6ea93c3f14f9ac46a770cc07729ba3507391813
MD5 3a5253a2273a32d06b8c4a0dbf12a7c5
BLAKE2b-256 a83c554e0c8d6506c155a1cfdd085027e8c17f5def12835b310cfe88c6e72b52

See more details on using hashes here.

Provenance

File details

Details for the file python_ics-3.1-cp27-cp27m-win32.whl.

File metadata

  • Download URL: python_ics-3.1-cp27-cp27m-win32.whl
  • Upload date:
  • Size: 112.6 kB
  • Tags: CPython 2.7m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/36.2.0 requests-toolbelt/0.8.0 tqdm/4.14.0 CPython/3.4.4

File hashes

Hashes for python_ics-3.1-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 bba34bc07761826a91e1898a481908976e192e4bb6c5077e890a03dbdbd5f8e4
MD5 9164f82f75df0351281a85927f2a00b2
BLAKE2b-256 ba3acb3a38b06d463ad96591aaf0d7ae3d03ef44fbab4efb32185531b69de212

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