Skip to main content
Yanked

This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Consider using release 0.6.0 instead.
Reason given by maintainers: Incorrect python dependency

Python bindings for libarc2

Introduction

This library presents a python interface to the low-level libarc2 library used to interface with ArC TWO™. Most of the user-facing facilities of libarc2 are present in this library. That being said, pyarc2 itself is still relatively low-level and a general understanding of the internals of ArC TWO is required.

Use

pyarc2 maps most of the functionality of libarc2 so the API translates fairly transparent. Most of the interaction with ArC TWO will be through the Instrument class that encapsulates the implemented functionality of libarc2. The library will keep being updated as new functionality is added. For instance to read the current between two channels you can write

from pyarc2 import Instrument, find_ids

# low voltage channel (typically grounded)
LOWV = 7
# high voltage channel
HIGHV = 33
# read-out voltage
VREAD = 0.2

# Get the ID of the first available ArC TWO
arc2id = find_ids()[0]

# firmware; shipped with your board
fw = 'arc2fw.bin'

# connect to the board
arc = Instrument(arc2id, fw)

current = arc.read_one(LOWV, HIGHV, VREAD)
print('I = %g A' % current)

Additional functionality

pyarc2 can also be used to implement new plugins based on libarc2. Access to the lower level object is done via Instrument::inner() and Instrument::inner_mut(). These plugins can fully leverage libarc2 functionality but require some familiarity with Rust and the libarc2 API.

Metadata

Release files for pyarc2 0.2.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 pyarc2 0.2.0
File Size Uploaded
pyarc2-0.2.0.tar.gz 50.2 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for pyarc2 0.2.0
File
pyarc2-0.2.0-cp311-none-win_amd64.whl CPython 3.11 none Windows x86-64 Details
pyarc2-0.2.0-cp311-cp311-manylinux_2_24_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.24+ x86-64 Details
pyarc2-0.2.0-cp310-none-win_amd64.whl CPython 3.10 none Windows x86-64 Details
pyarc2-0.2.0-cp310-cp310-manylinux_2_24_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.24+ x86-64 Details
pyarc2-0.2.0-cp39-none-win_amd64.whl CPython 3.9 none Windows x86-64 Details
pyarc2-0.2.0-cp39-cp39-manylinux_2_24_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.24+ x86-64 Details
pyarc2-0.2.0-cp38-none-win_amd64.whl CPython 3.8 none Windows x86-64 Details
pyarc2-0.2.0-cp38-cp38-manylinux_2_24_x86_64.whl CPython 3.8 CPython 3.8 Linux glibc 2.24+ x86-64 Details

Total release size: 8.7 MB

Release files / pyarc2-0.2.0.tar.gz

Download URL pyarc2-0.2.0.tar.gz
Size 50.2 kB
Tags Source
SHA-256 checksum
How to use checksums
fda1593a14fba747a930392508b2fb2ef57bd28ff0e444d1089537a8fadc9756
BLAKE2b-256 checksum
How to use checksums
af4360e8d5e4a88aa39a59371c2a9fccc012aa700952feee8f0956da162116cc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.9

Release files / pyarc2-0.2.0-cp311-none-win_amd64.whl

Download URL pyarc2-0.2.0-cp311-none-win_amd64.whl
Size 600.2 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
3aa3cae58fca98081f69d629ba81acb1b869ecc995f1f449166534c16511edb2
BLAKE2b-256 checksum
How to use checksums
720a15a64c6a352c08a59644afec03dc6c557c01374ff06df059caf97043fed9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.9

Release files / pyarc2-0.2.0-cp311-cp311-manylinux_2_24_x86_64.whl

Download URL pyarc2-0.2.0-cp311-cp311-manylinux_2_24_x86_64.whl
Size 1.6 MB
Tags CPython 3.11 Linux glibc 2.24+ x86-64
SHA-256 checksum
How to use checksums
0370b22e516a859a93917554d575938d7e878a2a65cb3f69972a425b6cb69a9b
BLAKE2b-256 checksum
How to use checksums
8d47b06bf326e55c44f9fcbbfe7c7d7dadc5fb3c92aa31c7db1ac985da728710
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.9

Release files / pyarc2-0.2.0-cp310-none-win_amd64.whl

Download URL pyarc2-0.2.0-cp310-none-win_amd64.whl
Size 600.2 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
b985f2c20cddb228158a6da385d0a6c50510ce7ad61bcab1f6919dbf96fd669d
BLAKE2b-256 checksum
How to use checksums
af9d10748b69e35caa040097c936b320752db6a66720e81e05a892e1caa454f0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.9

Release files / pyarc2-0.2.0-cp310-cp310-manylinux_2_24_x86_64.whl

Download URL pyarc2-0.2.0-cp310-cp310-manylinux_2_24_x86_64.whl
Size 1.6 MB
Tags CPython 3.10 Linux glibc 2.24+ x86-64
SHA-256 checksum
How to use checksums
0b667fab81beb5bbe4b2fd97ed108e59d7c5c9a24a7f0b777db59478fe640885
BLAKE2b-256 checksum
How to use checksums
4c166ea443d6f69713d2b866cb2fae600a6a0b1aaef4745c683c6a454553e9ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.9

Release files / pyarc2-0.2.0-cp39-none-win_amd64.whl

Download URL pyarc2-0.2.0-cp39-none-win_amd64.whl
Size 596.7 kB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
9f24c91e5c952c96ce739d952326b17f2a8295ad5074bc9a07b77393c134c5e3
BLAKE2b-256 checksum
How to use checksums
a3afad9552ae2ca40d2723836cdd9537e22367ab6d3fdb81e7f2ecafdcd54aa6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.9

Release files / pyarc2-0.2.0-cp39-cp39-manylinux_2_24_x86_64.whl

Download URL pyarc2-0.2.0-cp39-cp39-manylinux_2_24_x86_64.whl
Size 1.6 MB
Tags CPython 3.9 Linux glibc 2.24+ x86-64
SHA-256 checksum
How to use checksums
9cae8fad04c1bea85382e1685acb90801cea66178efa2cb3603f1f5a47ce9726
BLAKE2b-256 checksum
How to use checksums
37cf47d31c48eaf2d4fbb0da4c05a3c20effe29e3a8c6f1d6ba06708477bc88b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.9

Release files / pyarc2-0.2.0-cp38-none-win_amd64.whl

Download URL pyarc2-0.2.0-cp38-none-win_amd64.whl
Size 595.3 kB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
cc2536da03080b620c2825ec0450fbf6d997546d6613956fcae51c1fc46c524d
BLAKE2b-256 checksum
How to use checksums
ba07827456a893e2977beaf1033b989c816495216b8da5eb2a1aeda33bfb8721
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.9

Release files / pyarc2-0.2.0-cp38-cp38-manylinux_2_24_x86_64.whl

Download URL pyarc2-0.2.0-cp38-cp38-manylinux_2_24_x86_64.whl
Size 1.6 MB
Tags CPython 3.8 Linux glibc 2.24+ x86-64
SHA-256 checksum
How to use checksums
e4fd4b3dd3e5b1d0a3ce9a5e000496a3a5477d91e4e02f18cae3312b664066ae
BLAKE2b-256 checksum
How to use checksums
378ed3523e8a238083df385ae634c7b58326e8115f1c5cd5b2fd4279d7719250
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.9

Release history Release notifications | RSS feed

0.6.0

9 release files

0.5.0

9 release files

0.4.0

9 release files

0.3.0

9 release files

0.2.1

9 release files

This release

0.2.0 This release

9 release files

0.1.1

7 release files

0.1.0

7 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