domdf_python_tools๏ƒ

Helpful functions for Pythonโ€‚๐Ÿโ€‚๐Ÿ› ๏ธ

Docs

Documentation Build Status Docs Check Status

Tests

Linux Test Status Windows Test Status macOS Test Status Coverage

PyPI

PyPI - Package Version PyPI - Supported Python Versions PyPI - Supported Implementations PyPI - Wheel

Anaconda

Conda - Package Version Conda - Platform

Activity

GitHub last commit GitHub commits since tagged version Maintenance PyPI - Downloads

QA

CodeFactor Grade Flake8 Status mypy status

Other

License GitHub top language Requirements Status

Note

Before version 3 domdf_python_tools was licensed under the LGPLv3+. Version 3 and later are licensed under the MIT License.

Installation๏ƒ

python3 -m pip install domdf_python_tools --user

Highlights๏ƒ

StringList(
  iterable: Iterable[String] = (),
  convert_indents: bool = False,
  )

A list of strings that represent lines in a multiline string.

See more in domdf_python_tools.stringlist.

PathPlus(*args, **kwargs)

Subclass of pathlib.Path with additional methods and a default encoding of UTF-8.

See more in domdf_python_tools.paths.

groupfloats(
  iterable: Iterable[float],
  step: float = 1,
  ) -> Iterable[Tuple[float, ...]]

Returns an iterator over the discrete ranges of values in iterable.

See more in domdf_python_tools.iterative.

DelimitedList(iterable = ())

Subclass of list that supports custom delimiters in format strings.

See more in domdf_python_tools.stringlist.