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 903.17.post2

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 903.17.post2
File Size Uploaded
python_ics-903.17.post2.tar.gz 94.6 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for python-ics 903.17.post2
File
python_ics-903.17.post2-cp39-cp39-win_amd64.whl CPython 3.9 CPython 3.9 Windows x86-64 Details
python_ics-903.17.post2-cp39-cp39-win32.whl CPython 3.9 CPython 3.9 Windows x86-32 Details
python_ics-903.17.post2-cp38-cp38-win_amd64.whl CPython 3.8 CPython 3.8 Windows x86-64 Details
python_ics-903.17.post2-cp38-cp38-win32.whl CPython 3.8 CPython 3.8 Windows x86-32 Details
python_ics-903.17.post2-cp37-cp37m-win_amd64.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-64 Details
python_ics-903.17.post2-cp37-cp37m-win32.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-32 Details
python_ics-903.17.post2-cp36-cp36m-win_amd64.whl CPython 3.6 CPython 3.6 pymalloc Windows x86-64 Details
python_ics-903.17.post2-cp36-cp36m-win32.whl CPython 3.6 CPython 3.6 pymalloc Windows x86-32 Details

Total release size: 1.4 MB

Release files / python_ics-903.17.post2.tar.gz

Download URL python_ics-903.17.post2.tar.gz
Size 94.6 kB
Tags Source
SHA-256 checksum
How to use checksums
c6a47b52b677bc0c217c62bf4e03adeefd00bc8c8b536a35af63df60fe7c09f2
BLAKE2b-256 checksum
How to use checksums
c6afeb3fe06194c36c7464455f05124d5d01d4bef2e265a7bc91561a5d0b3026
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.4.2 requests/2.22.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.7.4

Release files / python_ics-903.17.post2-cp39-cp39-win_amd64.whl

Download URL python_ics-903.17.post2-cp39-cp39-win_amd64.whl
Size 165.1 kB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
daefa24ae556764e2778f46214a1f936af2573b70a8557f2942cf0cfddcdc3d1
BLAKE2b-256 checksum
How to use checksums
34d4832ef8861b77bbfcb82e8eb48a74a60703426c52c3a638e7405e205c2e35
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.5.0.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.8.0

Release files / python_ics-903.17.post2-cp39-cp39-win32.whl

Download URL python_ics-903.17.post2-cp39-cp39-win32.whl
Size 152.1 kB
Tags CPython 3.9 Windows x86-32
SHA-256 checksum
How to use checksums
439ca8eb8d15d6900cc1fa6d8973ec54ba2be05c3845a7b65fa22bbd05aa88df
BLAKE2b-256 checksum
How to use checksums
2161c94ffcb29914d510b5948b33bda6e048905141aa8a3a650dfb98c6625cac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.5.0.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.8.0

Release files / python_ics-903.17.post2-cp38-cp38-win_amd64.whl

Download URL python_ics-903.17.post2-cp38-cp38-win_amd64.whl
Size 160.5 kB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
aee5884c6daf02afc615d4cf40c0db4f5168daa588caed1904f64e82c064afc9
BLAKE2b-256 checksum
How to use checksums
f66e2a6fe328a1f72d98e4d56da8439c08924e85db0f6c40bee0500c90d57031
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.5.0.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.8.0

Release files / python_ics-903.17.post2-cp38-cp38-win32.whl

Download URL python_ics-903.17.post2-cp38-cp38-win32.whl
Size 152.5 kB
Tags CPython 3.8 Windows x86-32
SHA-256 checksum
How to use checksums
237b023e9bf74da91ecc519a41de9da9a6e200b842a723e7e000620b2b98b884
BLAKE2b-256 checksum
How to use checksums
bebf7b3bfb45f0c58bd2c773e96e85c326a7c31b98a1f37238113de0bb35b9b7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.5.0.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.8.0

Release files / python_ics-903.17.post2-cp37-cp37m-win_amd64.whl

Download URL python_ics-903.17.post2-cp37-cp37m-win_amd64.whl
Size 186.7 kB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
579764c60460ef8e432f37b3293dba4c0e0480a2abd893ba0576e8aa5fb76b1d
BLAKE2b-256 checksum
How to use checksums
9a68382543d5688ae21c6df6d9a3ad723054fe17943120d8f6bcdbaf2616fc03
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.5.0.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.8.0

Release files / python_ics-903.17.post2-cp37-cp37m-win32.whl

Download URL python_ics-903.17.post2-cp37-cp37m-win32.whl
Size 172.0 kB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
54e9523c364d0f3beb49b2f63cc0dc343d3c015d1d54472b76d741452e8cf9b6
BLAKE2b-256 checksum
How to use checksums
1bccb83bd719b9f0c23be29f872f1972502abced44b0dba938071423eec8d1db
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.5.0.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.8.0

Release files / python_ics-903.17.post2-cp36-cp36m-win_amd64.whl

Download URL python_ics-903.17.post2-cp36-cp36m-win_amd64.whl
Size 186.7 kB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
842acc26af903f69e93133b2e3ee8f05f1fe0131a59ea93d18666d2afaef0c03
BLAKE2b-256 checksum
How to use checksums
b8d7dbfafe3e1f48cd6eea68cab667f65e9e44270f9a7b13dcc9789aee1ebb6f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.5.0.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.8.0

Release files / python_ics-903.17.post2-cp36-cp36m-win32.whl

Download URL python_ics-903.17.post2-cp36-cp36m-win32.whl
Size 172.0 kB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
9ff9732e1a1bb4095c5ae9f0fa8251c27bdbed2e1560c4b7875715da53dcba30
BLAKE2b-256 checksum
How to use checksums
14f5a75868fb3052c95e5f8f933218950d0154aaf35c2fbc79af1775a6cff0a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.5.0.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.8.0

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

This release

903.17.post2 This release

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

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