steenzout.barcode.factory module

Factory module.

create_instance(name, code, writer=None)[source]

Return bar code instance.

Parameters:
Raises:

(BarcodeNotFoundError) – when the bar code encoding name is invalid or the encoding is not implemented.

Returns:

bar code instance.

Return type:

(steenzout.barcode.base.Base)