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.

Release files for python-ics 4.0

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 4.0
File Size Uploaded
python_ics-4.0.tar.gz 105.7 kB Details

Built distributions (wheels)

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

Total release size: 979.3 kB

Release files / python_ics-4.0.tar.gz

Download URL python_ics-4.0.tar.gz
Size 105.7 kB
Tags Source
SHA-256 checksum
How to use checksums
2afdd618f758a2f4db22e42e8bba5a63a59fd5375b7be721b3ea6877fd85627d
BLAKE2b-256 checksum
How to use checksums
a6683aeab0dd279da0bed86d4289195bec8eca39ce6dabf3574a1191ed64501b
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-4.0-cp37-cp37m-win_amd64.whl

Download URL python_ics-4.0-cp37-cp37m-win_amd64.whl
Size 114.0 kB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
7167b2cc89ce11aa74a6f444cdd9f0d3f804c83414c825287a089e0d675a86e8
BLAKE2b-256 checksum
How to use checksums
161d50509778b22fe4920dae5b80a7775bb9ec8560da1e7668a1fa469abe74fb
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-4.0-cp37-cp37m-win32.whl

Download URL python_ics-4.0-cp37-cp37m-win32.whl
Size 99.2 kB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
d73bc4f4ac36d1ac6540245b1972c334c485bf734b3dc23b0559992ae7dc43af
BLAKE2b-256 checksum
How to use checksums
c29ee3e3ddc0903fe43b2ba2e7e8587166f8f5929701d1c04fb47700cc0e6a5d
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-4.0-cp36-cp36m-win_amd64.whl

Download URL python_ics-4.0-cp36-cp36m-win_amd64.whl
Size 114.0 kB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
2cccb3df9baec73e907cf2230912373845bb8c90ee35a8beebb744e79c61541c
BLAKE2b-256 checksum
How to use checksums
9433fe55cf2e336ea6e869aaaa1b29ce67ca3feefe47e605434d651b365d0466
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-4.0-cp36-cp36m-win32.whl

Download URL python_ics-4.0-cp36-cp36m-win32.whl
Size 99.2 kB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
f9e8a1e1b68d732166a8fdd7cab85b85bdf58d4f22af4b1cccb6a0f741088427
BLAKE2b-256 checksum
How to use checksums
a6b4aa6272c79597445bfe281215a60d86e649cf305443c8a9277a10b07971c5
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-4.0-cp35-cp35m-win_amd64.whl

Download URL python_ics-4.0-cp35-cp35m-win_amd64.whl
Size 107.7 kB
Tags CPython 3.5 CPython 3.5 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
e39085acd909f6935a31908cf6b2d28d218eeb3c99a6971900635676134ab8cd
BLAKE2b-256 checksum
How to use checksums
e04d71af288d9268e0195bf0150243d347fc8335963d73c382dd8ff9ea7b7ccf
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-4.0-cp35-cp35m-win32.whl

Download URL python_ics-4.0-cp35-cp35m-win32.whl
Size 95.3 kB
Tags CPython 3.5 CPython 3.5 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
faab1b19294a5780cb605a0d400e03ae1a7f8c793cd54d472b03649a752a600a
BLAKE2b-256 checksum
How to use checksums
a9fec8ab156d3be1d8ecbad403f6527ba40237f73d5209bb01e2bb2abb9d89d1
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-4.0-cp34-cp34m-win_amd64.whl

Download URL python_ics-4.0-cp34-cp34m-win_amd64.whl
Size 127.3 kB
Tags CPython 3.4 CPython 3.4 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
9b6788e4e84079f43b275b49930e7f5246a3000486594e1295d7b51a0a905e87
BLAKE2b-256 checksum
How to use checksums
e043a6a1ff192a2be4b5463c73b3bea95bd10f9cbcdeba26aafdb3932106e2c9
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-4.0-cp34-cp34m-win32.whl

Download URL python_ics-4.0-cp34-cp34m-win32.whl
Size 117.0 kB
Tags CPython 3.4 CPython 3.4 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
3bbc2d9bc182b5517801d55127b78c6d349052170bbda3c754d167c406f331f4
BLAKE2b-256 checksum
How to use checksums
594a996664ab8743e93e1c4b1a5256d164f6e02b62be3329e1c0696ecde4c417
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

This release

4.0 This release

9 release files

3.1

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