def infer(pattern, base_path=None):
    """https://github.com/frictionlessdata/datapackage-py#infer
    """
    package = Package({}, base_path=base_path)
    descriptor = package.infer(pattern)
    return descriptor
def infer(pattern, base_path=None):
    """https://github.com/frictionlessdata/datapackage-py#infer
    """
    package = Package({}, base_path=base_path)
    descriptor = package.infer(pattern)
    return descriptor
def infer ( pattern , base_path = None ) : package = Package ( { } , base_path = base_path ) descriptor = package . infer ( pattern ) return descriptor
https://github.com/frictionlessdata/datapackage-py#infer
https : // github . com / frictionlessdata / datapackage - py#infer