A collection of useful Python tools for my research.
Specifically, the files are classified as following:
- auxiliary: General purpose tools not fitting into any of the other categories.
- filenames_changes: Functions related to specific file-names in a path. For the time being these modify the content of those folders.
- menpo_related: Convenience functions related to menpo.
- path_related: Convenience functions related to path modifications, e.g. creating/deleting a path.
To install those tools, you can:
- clone this repository with
git clone https://github.com/grigorisg9gr/pyutils.git
. - Pip install it with
pip install --no-deps -e [path_you_cloned_it]
. With the editable mode every time you modify the source files the content of the actual functions will be modified accordingly.
To run the tests, you can use nosetests
. From the main folder (i.e. inside the research_pyutils), you can run nosetests .
or run a specific file, e.g., nosetests tests/test_base.py
.
If you do have any questions or improvements, feel free to open issues here or open a pull request. Feedback is always appreciated.