Skip to content
/ hibc Public

HIBC Barcodes for python (parse and generate, try to accept as much as possible)

License

Notifications You must be signed in to change notification settings

wienand/hibc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HIBC

HIBC Barcode for python (parse and generate, try to accept as much as possible)

There are only two functions of concern which should be pretty self explanatory:

import hibc
print(hibc.parse('+A99912345/$$52001510X3/16D20111212/S77DE1G45-'))
print(hibc.generate({
    'expiry date': datetime.datetime(2020, 1, 15, 0, 0),
    'lic': 'A999',
    'lot number': '10X3',
    'production date': datetime.date(2011, 12, 12),
    'ref': '1234',
    'serial number': '77DE1G45',
    'unit_of_measure': '5'
}))

About

HIBC Barcodes for python (parse and generate, try to accept as much as possible)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages