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

Uploaded Source

Built Distributions

python_ics-4.0-cp37-cp37m-win_amd64.whl (114.0 kB view details)

Uploaded CPython 3.7m Windows x86-64

python_ics-4.0-cp37-cp37m-win32.whl (99.2 kB view details)

Uploaded CPython 3.7m Windows x86

python_ics-4.0-cp36-cp36m-win_amd64.whl (114.0 kB view details)

Uploaded CPython 3.6m Windows x86-64

python_ics-4.0-cp36-cp36m-win32.whl (99.2 kB view details)

Uploaded CPython 3.6m Windows x86

python_ics-4.0-cp35-cp35m-win_amd64.whl (107.7 kB view details)

Uploaded CPython 3.5m Windows x86-64

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

Uploaded CPython 3.5m Windows x86

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

Uploaded CPython 3.4m Windows x86-64

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

Uploaded CPython 3.4m Windows x86

File details

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

File metadata

  • Download URL: python_ics-4.0.tar.gz
  • Upload date:
  • Size: 105.7 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.0.tar.gz
Algorithm Hash digest
SHA256 2afdd618f758a2f4db22e42e8bba5a63a59fd5375b7be721b3ea6877fd85627d
MD5 ed25d23ac592532219fc91c55b448776
BLAKE2b-256 a6683aeab0dd279da0bed86d4289195bec8eca39ce6dabf3574a1191ed64501b

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: python_ics-4.0-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 114.0 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.0-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 7167b2cc89ce11aa74a6f444cdd9f0d3f804c83414c825287a089e0d675a86e8
MD5 f28e33a41e00cc083bbfc854791d7e61
BLAKE2b-256 161d50509778b22fe4920dae5b80a7775bb9ec8560da1e7668a1fa469abe74fb

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: python_ics-4.0-cp37-cp37m-win32.whl
  • Upload date:
  • Size: 99.2 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.0-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 d73bc4f4ac36d1ac6540245b1972c334c485bf734b3dc23b0559992ae7dc43af
MD5 d8427ef596acabed2cfa9322048211b8
BLAKE2b-256 c29ee3e3ddc0903fe43b2ba2e7e8587166f8f5929701d1c04fb47700cc0e6a5d

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: python_ics-4.0-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 114.0 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.0-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 2cccb3df9baec73e907cf2230912373845bb8c90ee35a8beebb744e79c61541c
MD5 694d55e4b82b8d9a94d33c3dad001fca
BLAKE2b-256 9433fe55cf2e336ea6e869aaaa1b29ce67ca3feefe47e605434d651b365d0466

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: python_ics-4.0-cp36-cp36m-win32.whl
  • Upload date:
  • Size: 99.2 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.0-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 f9e8a1e1b68d732166a8fdd7cab85b85bdf58d4f22af4b1cccb6a0f741088427
MD5 a5b3fe4e69830ede76755a41c8b29a76
BLAKE2b-256 a6b4aa6272c79597445bfe281215a60d86e649cf305443c8a9277a10b07971c5

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: python_ics-4.0-cp35-cp35m-win_amd64.whl
  • Upload date:
  • Size: 107.7 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.0-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 e39085acd909f6935a31908cf6b2d28d218eeb3c99a6971900635676134ab8cd
MD5 d63ff2ed8efa0a4e3065cb013b951320
BLAKE2b-256 e04d71af288d9268e0195bf0150243d347fc8335963d73c382dd8ff9ea7b7ccf

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: python_ics-4.0-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.0-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 faab1b19294a5780cb605a0d400e03ae1a7f8c793cd54d472b03649a752a600a
MD5 6c5a1e44b016fa5fb1659aeb687fb46c
BLAKE2b-256 a9fec8ab156d3be1d8ecbad403f6527ba40237f73d5209bb01e2bb2abb9d89d1

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: python_ics-4.0-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.0-cp34-cp34m-win_amd64.whl
Algorithm Hash digest
SHA256 9b6788e4e84079f43b275b49930e7f5246a3000486594e1295d7b51a0a905e87
MD5 b12bc1fbf017d3583ffd61226fa7a001
BLAKE2b-256 e043a6a1ff192a2be4b5463c73b3bea95bd10f9cbcdeba26aafdb3932106e2c9

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: python_ics-4.0-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.0-cp34-cp34m-win32.whl
Algorithm Hash digest
SHA256 3bbc2d9bc182b5517801d55127b78c6d349052170bbda3c754d167c406f331f4
MD5 2bb827bb2c700c2a4c0d0b3b18585cf4
BLAKE2b-256 594a996664ab8743e93e1c4b1a5256d164f6e02b62be3329e1c0696ecde4c417

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