domdf_python_toolsο
Helpful functions for Python π π οΈ
Docs |
|
|---|---|
Tests |
|
PyPI |
|
Anaconda |
|
Activity |
|
QA |
|
Other |
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
First add the required channels
conda config --add channels https://conda.anaconda.org/conda-forge
Then install
conda install domdf-python-tools
python3 -m pip install git+https://github.com/domdfcoding/domdf_python_tools@master --user
Highlightsο
TemporaryPathPlus( suffix:Optional[str] =None, prefix:Optional[str] =None, dir:Union[str,Path,PathLike,None] =None, )
Securely creates a temporary directory using the same rules as tempfile.mkdtemp().
The resulting object can be used as a context manager.
On completion of the context or destruction of the object
the newly created temporary directory and all its contents are removed from the filesystem.
See more in domdf_python_tools.paths.
count( start:~AnyNum=0, step:~AnyNum=1, ) ->Iterator[~AnyNum]
Make an iterator which returns evenly spaced values starting with number start.
See more in domdf_python_tools.iterative.
Contentsο
API Reference
Contributing
View the Function Index or browse the Source Code.