pip install somatic
Started from the shell, "somatic" presents files in the current working directory (cwd) that have extension "s.HTML".
somatic
import pathlib
from os.path import dirname, join, normpath
this_folder = pathlib.Path (__file__).parent.resolve ()
import somatic
somatic.start ({
"extensions": [
'.6.HTML',
'.$.HTML',
'.S.HTML',
'.s.HTML',
'.jpg',
'.png'
],
#
# This is the node from which the traversal occur.
#
"directory": str (this_folder) + "/structures/somatic",
#
# This path is removed from the absolute path of share files found.
#
"relative path": str (this_folder) + "/structures/somatic",
#
# The first port to check
#
"port": 20000,
#
# Whether to check more ports if port is unavailable
#
"static port": False,
#
# 0, 1, 2
#
"verbose": 1,
})