sparkle.tools package¶
Submodules¶
sparkle.tools.audiotools module¶
sparkle.tools.doc_inherit module¶
doc_inherit decorator
Usage:
- class Foo(object):
- def foo(self):
- “Frobber” pass
- class Bar(Foo):
@doc_inherit def foo(self):
pass
Now, Bar.foo.__doc__ == Bar().foo.__doc__ == Foo.foo.__doc__ == “Frobber”
Copied from http://code.activestate.com/recipes/576862/
-
class
sparkle.tools.doc_inherit.DocInherit(mthd)[source]¶ Bases:
objectDocstring inheriting method descriptor
The class itself is also used as a decorator
-
sparkle.tools.doc_inherit.doc_inherit¶ alias of
DocInherit
sparkle.tools.exceptions module¶
-
exception
sparkle.tools.exceptions.DataIndexError[source]¶ Bases:
exceptions.IndexError
-
exception
sparkle.tools.exceptions.DisallowedFilemodeError(fpath, mode)[source]¶ Bases:
exceptions.IOError
-
exception
sparkle.tools.exceptions.FileDoesNotExistError(fpath)[source]¶ Bases:
exceptions.IOError
-
exception
sparkle.tools.exceptions.OverwriteFileError(fpath)[source]¶ Bases:
exceptions.IOError
-
exception
sparkle.tools.exceptions.ReadOnlyError(fpath)[source]¶ Bases:
exceptions.IOError
sparkle.tools.log module¶
sparkle.tools.logging_example module¶
sparkle.tools.qsignals module¶
sparkle.tools.qtdoc module¶
Integration of Online Qt classes documentation with Sphinx
-
sparkle.tools.qtdoc.qtdoc_role(name, rawtext, text, lineno, inliner, options={}, content=[])[source]¶ Links to a Qt class’s doc
Returns 2 part tuple containing list of nodes to insert into the document and a list of system messages. Both are allowed to be empty.
Parameters: - name – The role name used in the document.
- rawtext – The entire markup snippet, with role.
- text – The text marked with the role.
- lineno – The line number where rawtext appears in the input.
- inliner – The inliner instance that called us.
- options – Directive options for customization.
- content – The directive content for customization.
sparkle.tools.spikestats module¶
sparkle.tools.systools module¶
sparkle.tools.uihandler module¶
sparkle.tools.util module¶
Module contents¶
Module docstring for tools module