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) 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 907.5.post1

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

Built distributions (wheels)

Table of built distributions (wheels) for python-ics 907.5.post1
File
python_ics-907.5.post1-cp310-cp310-macosx_10_13_universal2.whl CPython 3.10 CPython 3.10 macOS 10.13+ universal2 (ARM64, x86-64) Details
python_ics-907.5.post1-cp39-cp39-macosx_10_13_universal2.whl CPython 3.9 CPython 3.9 macOS 10.13+ universal2 (ARM64, x86-64) Details
python_ics-907.5.post1-cp38-cp38-macosx_11_0_universal2.whl CPython 3.8 CPython 3.8 macOS 11.0+ universal2 (ARM64, x86-64) Details
python_ics-907.5.post1-cp37-cp37m-macosx_10_13_x86_64.whl CPython 3.7 CPython 3.7 pymalloc macOS 10.13+ x86-64 Details

Total release size: 3.8 MB

Release files / python_ics-907.5.post1-cp310-cp310-macosx_10_13_universal2.whl

Download URL python_ics-907.5.post1-cp310-cp310-macosx_10_13_universal2.whl
Size 964.8 kB
Tags CPython 3.10 macOS 10.13+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
8c4378438a2ed6806c5dedf4bc39d73f548996b987d52ea4298c71d2d8a1fbce
BLAKE2b-256 checksum
How to use checksums
e427c5612c6d9a8ee7fd9e7a36d40b0d297f8d9522a3ac2209d559ab0fcadf33
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/29.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.6 tqdm/4.61.2 importlib-metadata/4.6.1 keyring/23.0.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.7.9

Release files / python_ics-907.5.post1-cp39-cp39-macosx_10_13_universal2.whl

Download URL python_ics-907.5.post1-cp39-cp39-macosx_10_13_universal2.whl
Size 964.8 kB
Tags CPython 3.9 macOS 10.13+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
e77c85881bcc6c8f347ee052ee9a4d17092a4c1ff96dee5ecf186fbf7e3bc087
BLAKE2b-256 checksum
How to use checksums
eb7727152777aca041fab310623771e28823aa975fb52cf598e92065304e3774
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/29.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.6 tqdm/4.61.2 importlib-metadata/4.6.1 keyring/23.0.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.7.9

Release files / python_ics-907.5.post1-cp38-cp38-macosx_11_0_universal2.whl

Download URL python_ics-907.5.post1-cp38-cp38-macosx_11_0_universal2.whl
Size 965.0 kB
Tags CPython 3.8 macOS 11.0+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
68fb89054325306e3a39198622d3a2c5972e4e6171f38bbf6f761ffeef3e9eff
BLAKE2b-256 checksum
How to use checksums
398b1197c9efa71b83b2d2caa8adb1b11958faa5074f594111d82430e8d5542b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/29.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.6 tqdm/4.61.2 importlib-metadata/4.6.1 keyring/23.0.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.7.9

Release files / python_ics-907.5.post1-cp37-cp37m-macosx_10_13_x86_64.whl

Download URL python_ics-907.5.post1-cp37-cp37m-macosx_10_13_x86_64.whl
Size 862.8 kB
Tags CPython 3.7 CPython 3.7 pymalloc macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
8f446ea7b47c05ea44b1fe50d5ae0d2f9959731bf9dfc090b96021197b8da22e
BLAKE2b-256 checksum
How to use checksums
f3ac1a598bf5f252a754b52f6bdc1e82c8fe29f30796ac884e52728dc1fed620
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/29.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.6 tqdm/4.61.2 importlib-metadata/4.6.1 keyring/23.0.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.7.9

Release history Release notifications | RSS feed

912.4

19 release files

909.8

15 release files

This release

907.5.post1 This release

4 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

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