best-doctor / import_me

Python library to simplify importing data from xls/xlsx
MIT License
11 stars 12 forks source link

Check unique values #13

Closed yakovistomin closed 4 years ago

yakovistomin commented 4 years ago

Example:

class MyParser(BaseXLSXParser):
    columns = [
        Column('id', index=0, unique=True),
        Column('first_name', index=1),
        Column('last_name', index=2),
    ]
    unique_together = [
        ['first_name', 'last_name'],
    ]