def _exclude_tags(journal, tags):

    remain_filter = lambda item: 'Tags' not in item or not set(item['Tags']).intersection(set(tags))

    return filter(remain_filter, journal)
remain only entries without specified tags
dataset/ETHPy150Open nathangrigg/dayone_export/dayone_export/__init__.py/_exclude_tags