Skip to main content

# 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.

Metadata

Release files for python-ics 3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for python-ics 3.1
File Size Uploaded
python_ics-3.1.tar.gz 103.3 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for python-ics 3.1
File
python_ics-3.1-cp37-cp37m-win_amd64.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-64 Details
python_ics-3.1-cp37-cp37m-win32.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-32 Details
python_ics-3.1-cp36-cp36m-win_amd64.whl CPython 3.6 CPython 3.6 pymalloc Windows x86-64 Details
python_ics-3.1-cp36-cp36m-win32.whl CPython 3.6 CPython 3.6 pymalloc Windows x86-32 Details
python_ics-3.1-cp35-cp35m-win_amd64.whl CPython 3.5 CPython 3.5 pymalloc Windows x86-64 Details
python_ics-3.1-cp35-cp35m-win32.whl CPython 3.5 CPython 3.5 pymalloc Windows x86-32 Details
python_ics-3.1-cp34-cp34m-win_amd64.whl CPython 3.4 CPython 3.4 pymalloc Windows x86-64 Details
python_ics-3.1-cp34-cp34m-win32.whl CPython 3.4 CPython 3.4 pymalloc Windows x86-32 Details
python_ics-3.1-cp27-cp27m-win_amd64.whl CPython 2.7 CPython 2.7 pymalloc Windows x86-64 Details
python_ics-3.1-cp27-cp27m-win32.whl CPython 2.7 CPython 2.7 pymalloc Windows x86-32 Details

Total release size: 1.2 MB

Release files / python_ics-3.1.tar.gz

Download URL python_ics-3.1.tar.gz
Size 103.3 kB
Tags Source
SHA-256 checksum
How to use checksums
c853de88a91b3b94bea02a2ffc71f819f2a1e63d2d0c86a5d5f961c13970dbac
BLAKE2b-256 checksum
How to use checksums
07945771194a85a8922d54fc7f3877849c99718d9eced9e3669bee6cb6d58fb3
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / python_ics-3.1-cp37-cp37m-win_amd64.whl

Download URL python_ics-3.1-cp37-cp37m-win_amd64.whl
Size 112.5 kB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
692959fbf2dbd3f904dd99e612b2bbc98d6b4dae82de67846de2d08e4143d924
BLAKE2b-256 checksum
How to use checksums
d256c95108e365e924d08eabbb6b1f928d577f5436489d8b9a779ba0dcb171a1
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / python_ics-3.1-cp37-cp37m-win32.whl

Download URL python_ics-3.1-cp37-cp37m-win32.whl
Size 97.9 kB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
0f9d08530ab82c50f0f953f3da2ce421f08e66a5d7692e34ab8a76b00d443cd4
BLAKE2b-256 checksum
How to use checksums
0713e2625cbc6e7b8cfe1233904326b4455a570db66822486e3bd98d15844ce7
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / python_ics-3.1-cp36-cp36m-win_amd64.whl

Download URL python_ics-3.1-cp36-cp36m-win_amd64.whl
Size 112.5 kB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
b4f617572e774e2650d079493f9c1e2551bff3c5f0f2d0842ff660a490de131c
BLAKE2b-256 checksum
How to use checksums
4920ce91efc4f37b7208ef68fcd4a50a0e99d785005b42b97c4c11c16222c997
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / python_ics-3.1-cp36-cp36m-win32.whl

Download URL python_ics-3.1-cp36-cp36m-win32.whl
Size 93.8 kB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
be0855570643e4addf06528f5062f33f9c63bef5a695cd371ba29bd6adc5a79e
BLAKE2b-256 checksum
How to use checksums
dbe6a2dbc0785617f8a7b42c8a6d99fe0f14f90b9bdf36a8e0f408d8232a0e00
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / python_ics-3.1-cp35-cp35m-win_amd64.whl

Download URL python_ics-3.1-cp35-cp35m-win_amd64.whl
Size 106.3 kB
Tags CPython 3.5 CPython 3.5 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
2b29b7d4add2ff9fb2038891e437950b40936b2b81ceb075e48b584b7e3d244e
BLAKE2b-256 checksum
How to use checksums
b34ea2373541a9357c5eb6737cb916d5249c2f1226fa6fdaf70a175def020370
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / python_ics-3.1-cp35-cp35m-win32.whl

Download URL python_ics-3.1-cp35-cp35m-win32.whl
Size 93.8 kB
Tags CPython 3.5 CPython 3.5 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
9363d8d5965d71390ad0b5453f73be488b75ec358c158769e39eb0c912ad657d
BLAKE2b-256 checksum
How to use checksums
cfe80eb3c6600a002334e9ac3711124955a9b42d1a4c410c3c312ea87f882df4
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / python_ics-3.1-cp34-cp34m-win_amd64.whl

Download URL python_ics-3.1-cp34-cp34m-win_amd64.whl
Size 125.9 kB
Tags CPython 3.4 CPython 3.4 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
83ebaa35a829105bd2c5d13b19e7da328c67f2cf9b591c591ed00428bdcfa7ac
BLAKE2b-256 checksum
How to use checksums
c2337b5ea68d1c2e6644c64bf4988f07fe4fa35ecb5abf93977319724c96b256
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / python_ics-3.1-cp34-cp34m-win32.whl

Download URL python_ics-3.1-cp34-cp34m-win32.whl
Size 115.7 kB
Tags CPython 3.4 CPython 3.4 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
370e2df7b015a8aa11ecca37b07e5f8a4a64861112aeb136afc209fe8dfafd0b
BLAKE2b-256 checksum
How to use checksums
1aedba856d1a2c9ba037f30446d9a52f8f4849a3fb36d8d2fc05a16ec960fd2c
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / python_ics-3.1-cp27-cp27m-win_amd64.whl

Download URL python_ics-3.1-cp27-cp27m-win_amd64.whl
Size 122.4 kB
Tags CPython 2.7 CPython 2.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
5b39866bac8a9c5b5d2070ace6ea93c3f14f9ac46a770cc07729ba3507391813
BLAKE2b-256 checksum
How to use checksums
a83c554e0c8d6506c155a1cfdd085027e8c17f5def12835b310cfe88c6e72b52
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / python_ics-3.1-cp27-cp27m-win32.whl

Download URL python_ics-3.1-cp27-cp27m-win32.whl
Size 112.6 kB
Tags CPython 2.7 CPython 2.7 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
bba34bc07761826a91e1898a481908976e192e4bb6c5077e890a03dbdbd5f8e4
BLAKE2b-256 checksum
How to use checksums
ba3acb3a38b06d463ad96591aaf0d7ae3d03ef44fbab4efb32185531b69de212
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

912.4

19 release files

909.8

15 release files

907.5

11 release files

906.7

11 release files

905.11

9 release files

904.18

9 release files

903.17

9 release files

4.6

11 release files

4.4

11 release files

4.3

11 release files

4.2

9 release files

4.1

9 release files

4.0

9 release files

This release

3.1 This release

11 release files

3.0

11 release files

2.16

11 release files

2.15

12 release files

2.14

9 release files

2.12

9 release files

2.11

9 release files

2.10

9 release files

2.9

9 release files

2.8

9 release files

2.7

9 release files

2.6

9 release files

2.5

9 release files

2.4

9 release files

2.3

9 release files

2.2

9 release files

2.1

9 release files

2.0

9 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page