Metadata-Version: 2.1
Name: pygpib
Version: 0.0.0
Summary: Take control of your GPIB adapters!
Home-page: https://github.com/mrnuke/pygpib
Author: Alexandru Gagniuc
License: GPLv3
Keywords: GPIB,USB
Platform: UNKNOWN
Classifier: Development Status :: 1 - Planning
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: Topic :: Scientific/Engineering
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Programming Language :: Python :: 3.7
Requires-Python: >=3.7
Description-Content-Type: text/x-rst
Requires-Dist: pyusb

===========================================
pygpib - Take control of your GPIB adapters
===========================================

The pygpib module provides Python access to GPIB adapters. It provides access
to GPIB instruments through an interface that hides the ugly details of GPIB.


Introduction
============

In general, USB-GPIB adapters require special drivers provided by the
manucaturer, or linux-gpib. Vendor drivers are usually limited to one operating
system. linux-gpib requires out-of-tree kernel modules, making it cumbersome
to set up and update with new kernels.

pygpib is designed to allow the use of USB-GPIB adapters without the need for
special drivers or kernel modules. The interface is centered around read() and
write() calls with minimal GPIB-centric configuration and housekeeping.


Tentative interface
===================

.. code-block:: python

	import pygpib as gpib

	interface = gpib.list_adapters()[0]

	interface.open(primary_address=10)

	instrument = interface.get_instrument(primary_address=22)
	instrument.configure(end_read_on_eos=True, eos_char='\n')

	instrument.query('*IDN?')


