

from .core import Core


def get(path, **args):
    return Core(path, **args).get()



from .core import Core


def get(path, **args):
    """
    A simple script to get Security Hash Algorithms into JSON format

    :param path: A string, the path of the file or the directory we have to return.
    :param search: A string, the pattern the file have to match in ordrer to be included in the results
    :param output: A bool, Print on screen (False), print on file (True)
    :param output_destination: A string, the destination of the results
    :param algorithm: A string, the algorithm to use. Possibility: all, sha1, sha224, sha384, sha512
    :param exclude: A list, the list of path, filename or in general, a pattern to exclude
    """

    return Core(path, **args).get()

Update licence header + Introduction of docstrings
Update licence header + Introduction of docstrings

  
  
  from .core import Core
  
  
  def get(path, **args):
+     """
+     A simple script to get Security Hash Algorithms into JSON format
+ 
+     :param path: A string, the path of the file or the directory we have to return.
+     :param search: A string, the pattern the file have to match in ordrer to be included in the results
+     :param output: A bool, Print on screen (False), print on file (True)
+     :param output_destination: A string, the destination of the results
+     :param algorithm: A string, the algorithm to use. Possibility: all, sha1, sha224, sha384, sha512
+     :param exclude: A list, the list of path, filename or in general, a pattern to exclude
+     """
+ 
      return Core(path, **args).get()
  
Update licence header + Introduction of docstrings
## Code Before:


from .core import Core


def get(path, **args):
    return Core(path, **args).get()

## Instruction:
Update licence header + Introduction of docstrings
## Code After:


from .core import Core


def get(path, **args):
    """
    A simple script to get Security Hash Algorithms into JSON format

    :param path: A string, the path of the file or the directory we have to return.
    :param search: A string, the pattern the file have to match in ordrer to be included in the results
    :param output: A bool, Print on screen (False), print on file (True)
    :param output_destination: A string, the destination of the results
    :param algorithm: A string, the algorithm to use. Possibility: all, sha1, sha224, sha384, sha512
    :param exclude: A list, the list of path, filename or in general, a pattern to exclude
    """

    return Core(path, **args).get()
