A Darktable lua utilities library


local du = require "lib/dtutils"


dtutils provides a common library of functions used to build lua scripts.


du- library - the library of functions



check the minimum required api version against the current api version


check that the operating system is supported


join a table of strings with a specified separator


a protected lua require


an iterator that provides sorted pairs from a table


split a string on a specified separator


dtutils.debug, dtutils.file, dtutils.log, dtutils.string, dtutils.system


This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see

Copyright (C) 2016 Bill Ferguson
Copyright (C) 2016 Tobias Jakobs