class documentation

Undocumented

Method __init__ Undocumented
Method add_data Add data to this QR Code.
Method best_fit Find the minimum size required to fit in the data.
Method best_mask_pattern Find the most efficient mask pattern.
Method clear Reset the internal data.
Method get_matrix Return the QR Code as a multidimensonal array, including the border.
Method make Compile the data into a QR Code array.
Method makeImpl Undocumented
Method map_data Undocumented
Method render_matrix Undocumented
Method setup_position_adjust_pattern Undocumented
Method setup_position_probe_pattern Undocumented
Method setup_timing_pattern Undocumented
Method setup_type_info Undocumented
Method setup_type_number Undocumented
Instance Variable border Undocumented
Instance Variable box_size Undocumented
Instance Variable data_cache Undocumented
Instance Variable data_list Undocumented
Instance Variable error_correction Undocumented
Instance Variable mask_pattern Undocumented
Instance Variable modules Undocumented
Instance Variable modules_count Undocumented
Instance Variable version Undocumented
def __init__(self, version=None, error_correction=ERROR_CORRECT_M, box_size=10, border=4, mask_pattern=None):

Undocumented

def add_data(self, data, optimize=20):

Add data to this QR Code. :param optimize: Data will be split into multiple chunks to optimize the QR size by finding to more compressed modes of at least this length. Set to ``0`` to avoid optimizing at all.

def best_fit(self, start=None):

Find the minimum size required to fit in the data.

def best_mask_pattern(self):

Find the most efficient mask pattern.

def clear(self):

Reset the internal data.

def get_matrix(self):

Return the QR Code as a multidimensonal array, including the border.

To return the array without a border, set ``self.border`` to 0 first.

def make(self, fit=True):

Compile the data into a QR Code array. :param fit: If ``True`` (or if a size has not been provided), find the best fit for the data to avoid data overflow errors.

def makeImpl(self, test, mask_pattern):

Undocumented

def map_data(self, data, mask_pattern):

Undocumented

def render_matrix(self):

Undocumented

def setup_position_adjust_pattern(self):

Undocumented

def setup_position_probe_pattern(self, row, col):

Undocumented

def setup_timing_pattern(self):

Undocumented

def setup_type_info(self, test, mask_pattern):

Undocumented

def setup_type_number(self, test):

Undocumented

border =

Undocumented

box_size =

Undocumented

data_cache =

Undocumented

data_list: list =

Undocumented

error_correction =

Undocumented

mask_pattern =

Undocumented

modules =

Undocumented

modules_count =

Undocumented

version =

Undocumented