Did I find the right examples for you? yes no

All Samples(8)  |  Call(5)  |  Derive(0)  |  Import(3)

src/w/h/whisperctl-0.2.0/whisperctl/whisperctl.py   whisperctl(Download)
from datetime import datetime
from argparse import ArgumentParser
from indexer import Index
import subprocess
import os
 
    #return metrics
    return Index(whisper_root)
 
def search(**kwargs):
 
    if kwargs['regex']:
        for i in list(Index()):
            if re.search(metric, i):
                metrics.append(i)
    elif '*' in metric:
        # Convert non-regex with wildcard to regex.
        metric = re.escape(metric)
        metric = metric.replace('\*', '[^.]*')
        for i in list(Index()):
    else:
        # non-regex
        if metric in list(Index()):
            metrics.append(metric)
 

src/w/h/whisperctl-0.2.0/whisperctl/indexer/__init__.py   whisperctl(Download)
from indexer import Index