Leptons#

Language Decorators#

Decorator definition of languages other than python. Useful for scripting languages.

Lepton wrappers.

Functions:

bash([_func, display_name, executor, files, …])

Bash decorator which wraps a Python function as a Bash Lepton.

covalent.leptons.bash(_func=None, *, display_name='', executor='dask', files=[], deps_bash=[], deps_pip=None, call_before=[], call_after=[])[source]#

Bash decorator which wraps a Python function as a Bash Lepton.

Return type

Callable

Language Classes#

More robust definition of languages other than python.