DrawTurksHead is a Python (2.7) library to draw Turk's head knots. An interactive demo is available.
It's licensed under the MIT license. It's available on the Python package index, its documentation is hosted by Python and its source code is on GitHub.
Questions? Remarks? Bugs? Want to contribute? Open an issue!
Install from PyPI:
$ pip install DrawTurksHead
Are you're good to go:
$ python -m DrawTurksHead
(This will create a turkshead.png file in the current directory)