#!/usr/bin/env python

import hid

class dna75:
    _vendorId = 0x268b
    _productId = 0x0408

    def __init__(self):
        self._connect()

    def _connect(self):
        self.h = hid.device()
        self.h.open(self._vendorId, self._productId)
        self.h.set_nonblocking(1)

        print('Connecting %s [%s] (%s)' % (
            self.h.get_product_string(),
            self.h.get_manufacturer_string(),
            self.h.get_serial_number_string()))

    def disconnect(self):
        self.h.close()

class helix:
    def __init__(self):
        try:
            dna = dna75()
            dna.disconnect()
        except OSError:
            print('there is no dna chip available')

if __name__ == '__main__':
    helix()

6504c4bf81317f2403567cfa52a2a5d5ac108abd
<mask token>


class dna75:
    <mask token>
    <mask token>
    <mask token>

    def _connect(self):
        self.h = hid.device()
        self.h.open(self._vendorId, self._productId)
        self.h.set_nonblocking(1)
        print('Connecting %s [%s] (%s)' % (self.h.get_product_string(),
            self.h.get_manufacturer_string(), self.h.
            get_serial_number_string()))

    def disconnect(self):
        self.h.close()


class helix:

    def __init__(self):
        try:
            dna = dna75()
            dna.disconnect()
        except OSError:
            print('there is no dna chip available')


<mask token>

<mask token>


class dna75:
    <mask token>
    <mask token>

    def __init__(self):
        self._connect()

    def _connect(self):
        self.h = hid.device()
        self.h.open(self._vendorId, self._productId)
        self.h.set_nonblocking(1)
        print('Connecting %s [%s] (%s)' % (self.h.get_product_string(),
            self.h.get_manufacturer_string(), self.h.
            get_serial_number_string()))

    def disconnect(self):
        self.h.close()


class helix:

    def __init__(self):
        try:
            dna = dna75()
            dna.disconnect()
        except OSError:
            print('there is no dna chip available')


<mask token>

<mask token>


class dna75:
    _vendorId = 9867
    _productId = 1032

    def __init__(self):
        self._connect()

    def _connect(self):
        self.h = hid.device()
        self.h.open(self._vendorId, self._productId)
        self.h.set_nonblocking(1)
        print('Connecting %s [%s] (%s)' % (self.h.get_product_string(),
            self.h.get_manufacturer_string(), self.h.
            get_serial_number_string()))

    def disconnect(self):
        self.h.close()


class helix:

    def __init__(self):
        try:
            dna = dna75()
            dna.disconnect()
        except OSError:
            print('there is no dna chip available')


if __name__ == '__main__':
    helix()

import hid


class dna75:
    _vendorId = 9867
    _productId = 1032

    def __init__(self):
        self._connect()

    def _connect(self):
        self.h = hid.device()
        self.h.open(self._vendorId, self._productId)
        self.h.set_nonblocking(1)
        print('Connecting %s [%s] (%s)' % (self.h.get_product_string(),
            self.h.get_manufacturer_string(), self.h.
            get_serial_number_string()))

    def disconnect(self):
        self.h.close()


class helix:

    def __init__(self):
        try:
            dna = dna75()
            dna.disconnect()
        except OSError:
            print('there is no dna chip available')


if __name__ == '__main__':
    helix()

#!/usr/bin/env python

import hid

class dna75:
    _vendorId = 0x268b
    _productId = 0x0408

    def __init__(self):
        self._connect()

    def _connect(self):
        self.h = hid.device()
        self.h.open(self._vendorId, self._productId)
        self.h.set_nonblocking(1)

        print('Connecting %s [%s] (%s)' % (
            self.h.get_product_string(),
            self.h.get_manufacturer_string(),
            self.h.get_serial_number_string()))

    def disconnect(self):
        self.h.close()

class helix:
    def __init__(self):
        try:
            dna = dna75()
            dna.disconnect()
        except OSError:
            print('there is no dna chip available')

if __name__ == '__main__':
    helix()
