@cli.command()
@click.argument('data')
@click.option('--schema')
@click.option('--format', default='csv', type=click.Choice(['csv', 'excel']))
@click.option('--fail_fast', is_flag=True)
@click.option('--row_limit', default=20000, type=int)
@click.option('--report_limit', default=1000, type=int)
def pipeline(data, schema, format, fail_fast, row_limit, report_limit):

    options = {}
    if schema:
        options['schema'] = {'schema': schema}

    processor = _pipeline.Pipeline(data, format=format, fail_fast=fail_fast,
                                   row_limit=row_limit,
                                   report_limit=report_limit)

    valid, report = processor.run()

    click.echo(json.dumps(report.generate(), ensure_ascii=True))
Choose a random item from range(start, stop[, step]).
dataset/ETHPy150Open frictionlessdata/goodtables/goodtables/cli/main.py/pipeline--crossover with--dataset/ETHPy150Open babble/babble/include/jython/Lib/random.py/Random.randrange