def METHOD_NAME(database, stream_out, **options):
    auth = _LoginPassword(
        options['mysql_db_login'], options['mysql_db_password'])
    mysql_client = _make_mysql_client(
        options['mysql_db_host'], options['mysql_db_port'], database, auth)
    targets = _make_pull_targets(options)
    time_range = _make_time_range(options['time_start'], options['time_stop'])
    pull_mysql.mysql_to_ndjson(mysql_client, stream_out, targets, time_range)