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

Uploaded Source

Built Distributions

python_ics-4.1-cp37-cp37m-win_amd64.whl (113.6 kB view details)

Uploaded CPython 3.7m Windows x86-64

python_ics-4.1-cp37-cp37m-win32.whl (98.8 kB view details)

Uploaded CPython 3.7m Windows x86

python_ics-4.1-cp36-cp36m-win_amd64.whl (113.6 kB view details)

Uploaded CPython 3.6m Windows x86-64

python_ics-4.1-cp36-cp36m-win32.whl (98.8 kB view details)

Uploaded CPython 3.6m Windows x86

python_ics-4.1-cp35-cp35m-win_amd64.whl (107.8 kB view details)

Uploaded CPython 3.5m Windows x86-64

python_ics-4.1-cp35-cp35m-win32.whl (95.3 kB view details)

Uploaded CPython 3.5m Windows x86

python_ics-4.1-cp34-cp34m-win_amd64.whl (127.3 kB view details)

Uploaded CPython 3.4m Windows x86-64

python_ics-4.1-cp34-cp34m-win32.whl (117.0 kB view details)

Uploaded CPython 3.4m Windows x86

File details

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

File metadata

  • Download URL: python_ics-4.1.tar.gz
  • Upload date:
  • Size: 85.5 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-4.1.tar.gz
Algorithm Hash digest
SHA256 41249aac4f5994cc398835284e30f67fa5d50cecd0b8739825e531e686f8071c
MD5 c0843817e89ea2c898d31cb7125f28ac
BLAKE2b-256 fcbac14019e8e425d16ba118d52ef8e9e6afe65a4bab85caedce45d80d8eb1f7

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: python_ics-4.1-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 113.6 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-4.1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 829e76e7f00cda3748d6b66dbafa031c42e922389371d7e93eabef4bbc8b904d
MD5 37a3ba634506952b6f183ed5f0680434
BLAKE2b-256 2cbd077d070ee02a8682f2fcf4bdfcc6698d93ddbea2da6880ac9f8776a3e5d9

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: python_ics-4.1-cp37-cp37m-win32.whl
  • Upload date:
  • Size: 98.8 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-4.1-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 d5e713400309cc734a06e3799e5a142f901f97b740d091ed4621d482cb60008e
MD5 7a7e2bda5ad79123673aae44ce899c0d
BLAKE2b-256 dbdfc7ebf4a077ce92a245952f7f3ba7108b88ae44490b72e1acbfd2c079dc7e

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: python_ics-4.1-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 113.6 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-4.1-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 bbdbb2a180ac407c17788fbbe75d7933231746b3d5dcd46ef2cf9bc3e1ac838a
MD5 63529d19cbf40a25886c76aaef34097b
BLAKE2b-256 715431d0d3d81f4c73fd833f46f7dcf5868ee2ca860d7acc3e7139a3e9ba4e4b

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: python_ics-4.1-cp36-cp36m-win32.whl
  • Upload date:
  • Size: 98.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-4.1-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 5b53ef936425c67b9c17dc50791c8918b2a1777ea69519860f898bc912289050
MD5 a5675fb13c7c08c641a0ee2b692ca1b7
BLAKE2b-256 ee7af43d27a6fb9eaa48edccf35b5975f2dfd52565046002e817eea832ea1cf2

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: python_ics-4.1-cp35-cp35m-win_amd64.whl
  • Upload date:
  • Size: 107.8 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-4.1-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 4ced681d65587ba34f0cf22ceeae868e821735dec4552929bd5823afd853b718
MD5 db7555ba95ed37a87b68cd62f9909a2f
BLAKE2b-256 6f301c47c27e931ab015a4c9e5034985cee0931cb0f890de93cc16d498cf3d61

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: python_ics-4.1-cp35-cp35m-win32.whl
  • Upload date:
  • Size: 95.3 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-4.1-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 9f16bbd17fd51de3567b0c7627d973638b45a4353492ba3d35f52e8aaaf2480c
MD5 863312ffcea2dfb713793b4b0d09b471
BLAKE2b-256 0a7661be8c6408c2896be57abe4fee7a9d69a574485bf8fa7970ebeccf1339a1

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: python_ics-4.1-cp34-cp34m-win_amd64.whl
  • Upload date:
  • Size: 127.3 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-4.1-cp34-cp34m-win_amd64.whl
Algorithm Hash digest
SHA256 6580d53c7bfb66b86e9d7af6fb4ed3c67d19b2f11740d1dfcafcdf1479bb39c7
MD5 a66c85fcee25ca6e88e91b4c24ebdefc
BLAKE2b-256 f17745764ffe437dbc3a08dc8cef352016a187161fc4597f825ad7b32335db9f

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: python_ics-4.1-cp34-cp34m-win32.whl
  • Upload date:
  • Size: 117.0 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-4.1-cp34-cp34m-win32.whl
Algorithm Hash digest
SHA256 cc47c158f826f129b3efa50f8dd4b24bdda0ac1e81db7eade38148e546a3a181
MD5 955bf871ae13c5699e5d5cf41eb1f49d
BLAKE2b-256 0981719f062399aaf86f3c4ca21d110224cb3658e010da50ea41d311154125a0

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