import click


def para_options(f):
    """Create common options for parallellization"""
    f = click.option('--number_processes', '--nprocess', '-np', type=int,
                     help='Number of processes when compute the descriptors in parrallel.',
                     show_default=True, default=1)(f)
    return f