pydmt.helpers package¶
Submodules¶
pydmt.helpers.apt module¶
apt.py
pydmt.helpers.attrs module¶
attrs.py
pydmt.helpers.composites module¶
composites.py
pydmt.helpers.deb_python_package module¶
deb_python_package.py
pydmt.helpers.files module¶
files.py
pydmt.helpers.general module¶
general.py
pydmt.helpers.git module¶
git.py
pydmt.helpers.github module¶
github.py
pydmt.helpers.messages module¶
messages.py
pydmt.helpers.misc module¶
misc.py
pydmt.helpers.pkgs module¶
This simply extracts the description of a package.
References: - https://docs.python.org/3/library/importlib.metadata.html
pydmt.helpers.project module¶
project.py
pydmt.helpers.python module¶
python.py
- pydmt.helpers.python.array_indented(level: int, array: list[str], quote_char='"', comma_after=False) str [source]¶
return an array indented according to indent level :param level: :param array: :param quote_char: :param comma_after: :return:
- pydmt.helpers.python.dict_indented(level: int, dictionary: dict[str, list[int]], quote_char='"', comma_after=False) str [source]¶
return an dict indented according to indent level :param level: :param dictionary: :param quote_char: :param comma_after: :return:
- pydmt.helpers.python.find_packages(path: str) list[str] [source]¶
A better version of find_packages than what setuptools offers This function needs to be deterministic. :param path: :return:
- pydmt.helpers.python.get_list_quoted(a_list: list[str]) str [source]¶
The exact format of this output is to be used in python code from templates, that is why the left bracket ([) does not have space following it and the same for the right bracker (]).
- pydmt.helpers.python.get_list_unquoted(a_list: list[str]) str [source]¶
The exact format of this output is to be used in python code from templates, that is why the left bracket ([) does not have space following it and the same for the right bracker (]).
- pydmt.helpers.python.hlp_source_under(folder)[source]¶
this function finds all the python packages under a folder and write the “packages” and “package_dir” entries for a python setup.py script
pydmt.helpers.signature module¶
signature.py
pydmt.helpers.snipplets module¶
snipplets.py
pydmt.helpers.urls module¶
urls.py
Module contents¶
__init__.py