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

Uploaded Source

Built Distributions

python_ics-4.4-cp38-cp38-win_amd64.whl (116.9 kB view details)

Uploaded CPython 3.8 Windows x86-64

python_ics-4.4-cp38-cp38-win32.whl (100.8 kB view details)

Uploaded CPython 3.8 Windows x86

python_ics-4.4-cp37-cp37m-win_amd64.whl (115.2 kB view details)

Uploaded CPython 3.7m Windows x86-64

python_ics-4.4-cp37-cp37m-win32.whl (99.9 kB view details)

Uploaded CPython 3.7m Windows x86

python_ics-4.4-cp36-cp36m-win_amd64.whl (115.2 kB view details)

Uploaded CPython 3.6m Windows x86-64

python_ics-4.4-cp36-cp36m-win32.whl (99.9 kB view details)

Uploaded CPython 3.6m Windows x86

python_ics-4.4-cp35-cp35m-win_amd64.whl (109.1 kB view details)

Uploaded CPython 3.5m Windows x86-64

python_ics-4.4-cp35-cp35m-win32.whl (96.3 kB view details)

Uploaded CPython 3.5m Windows x86

python_ics-4.4-cp34-cp34m-win_amd64.whl (128.2 kB view details)

Uploaded CPython 3.4m Windows x86-64

python_ics-4.4-cp34-cp34m-win32.whl (117.8 kB view details)

Uploaded CPython 3.4m Windows x86

File details

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

File metadata

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

File hashes

Hashes for python_ics-4.4.tar.gz
Algorithm Hash digest
SHA256 ca5b56f6f95d1ac9970a8209a2d3dcacfe3874f9cbcb639334395837984ece59
MD5 73ac4fd2908be911fa485c2a2c74bfd7
BLAKE2b-256 ad2266a117287bae5fbfb1bc89f3a623348b246fce6ff05c33accf47d4e1c308

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: python_ics-4.4-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 116.9 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/41.1.0 requests-toolbelt/0.8.0 tqdm/4.14.0 CPython/3.4.4

File hashes

Hashes for python_ics-4.4-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 57a5897413899fd60fbf123974e0a43df8311f08cb3bdced65a2e3e7fc670aa2
MD5 4fcb42c9cb0c9281d3b28e5d86ed0c94
BLAKE2b-256 da3262f828fc623a50c73498ef62004ab3e4a26cc06bbddc059c503c163cbfc1

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: python_ics-4.4-cp38-cp38-win32.whl
  • Upload date:
  • Size: 100.8 kB
  • Tags: CPython 3.8, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/41.1.0 requests-toolbelt/0.8.0 tqdm/4.14.0 CPython/3.4.4

File hashes

Hashes for python_ics-4.4-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 5fe9aeb621184d23c97b4484a1e6e4bbd0f2d42e1853f3013bdefd537a34f802
MD5 5befc5fec86ded3cbe28cd9cfaec8a40
BLAKE2b-256 824ddf660a2657a94349522c01bdc1ac0904a659147fac6f12c7724f269451b2

See more details on using hashes here.

Provenance

File details

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

File metadata

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

File hashes

Hashes for python_ics-4.4-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 4bab998950c3b35daab643d5bc79c7016f1fae4a0de0e3f8c8b44f3ada244104
MD5 6d853819966e23bb0083ed75e38a9ec2
BLAKE2b-256 f599b465e1358b33f74471d0b65a3898febb8af165bd3bc61908ff5f0d6c0656

See more details on using hashes here.

Provenance

File details

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

File metadata

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

File hashes

Hashes for python_ics-4.4-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 27674ce5e820c8c0d18b77d72fdab3d6fd613c1162ceef048e591354a9822216
MD5 9e62a93b641f1247b45d72ebdc285761
BLAKE2b-256 e43c21e977f70c0c5846450bffff55e28d5c1cb591bde35926425ee163449ab7

See more details on using hashes here.

Provenance

File details

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

File metadata

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

File hashes

Hashes for python_ics-4.4-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 08a45ae20ab68bd12ece7b0e2f50c098d83e0835fc41b1f9bb49e27a1624d115
MD5 102243fdac3913318cb73dc251ec0434
BLAKE2b-256 f09c10130b8b1c3adeb615c7f15f9ce28459281d06f98964a1c7d8df9729d510

See more details on using hashes here.

Provenance

File details

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

File metadata

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

File hashes

Hashes for python_ics-4.4-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 5e9c23ed380cc9a0cd72ab9d9fa9b5b05bb69119665a35d1b9acd93bea0a2032
MD5 64947ec86c4a40debed1f4a9fb479d74
BLAKE2b-256 1da1935c5205764f4c60ed1890b232f7b874d80e8af05fa69573dfc6305fb838

See more details on using hashes here.

Provenance

File details

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

File metadata

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

File hashes

Hashes for python_ics-4.4-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 8d3591d1cc3565891cf300192977a083f3a7522c641d44b3f1c7ceaaf5a60b6a
MD5 50858a82f2104a42702ffafa8b59b23a
BLAKE2b-256 a0a6fbd164f750429b53a2835f5fcf78fad5ce09fd8b58cf29fbacb6a86c07f8

See more details on using hashes here.

Provenance

File details

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

File metadata

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

File hashes

Hashes for python_ics-4.4-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 1f8c44b397f23606f106fbb4e96ff733a180174f77fbb770a15314938ac24013
MD5 cfe612ecfcff4877d598235b52ccf6dc
BLAKE2b-256 5f01bc0b20877115c5bad965a5dd4af80395ef90565f4820d2840c68ec74b1e7

See more details on using hashes here.

Provenance

File details

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

File metadata

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

File hashes

Hashes for python_ics-4.4-cp34-cp34m-win_amd64.whl
Algorithm Hash digest
SHA256 21fbca4f323217d6fb03a5dc87ba4efe88ae34a6656782eeca9a2727459294b1
MD5 0da4a9cc5434d2dbf4b18af452e0e02a
BLAKE2b-256 b2791b20e45aa9b974f46971056b82f1f6f736f0324606ae624e2e44311d54ae

See more details on using hashes here.

Provenance

File details

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

File metadata

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

File hashes

Hashes for python_ics-4.4-cp34-cp34m-win32.whl
Algorithm Hash digest
SHA256 50cdc40638ba4c35b32533f748ce89f0cc815f7a3dc12f418b4dbba42269b36d
MD5 5720cb4dc24f5f84b4d2453abac5768c
BLAKE2b-256 6b04dbbddf6fefe8c1eedd5446dbabf490fc67a96bb197aac4bca6a0d7d80136

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