more docs

This commit is contained in:
Anthony Scopatz 2016-06-05 22:39:28 -04:00
parent 4faffc9d56
commit 718576398a
2 changed files with 11 additions and 3 deletions

View file

@ -4,8 +4,17 @@
"url": "http://xon.sh", "url": "http://xon.sh",
"description": [ "description": [
"The distributed parallel computing library hooks for xonsh. ", "The distributed parallel computing library hooks for xonsh. ",
"Importantly this provides a subsitute 'dowrker' command which enables ", "Importantly this provides a subsitute 'dworker' command which enables ",
"distributed workers to have access to xonsh builtins."] "distributed workers to have access to xonsh builtins.\n\n",
"Furthermore, this xontrib adds a 'DSubmitter' context manager for ",
"executing a block remotely. Moroever, this also adds a convienece ",
"function 'dsubmit()' for creating DSubmitter and Executor instances ",
"at the same time. Thus users may submit distributed jobs with::\n\n",
" with dsubmit('127.0.0.1:8786', rtn='x') as dsub:\n",
" x = $(echo I am elsewhere)\n\n",
" res = dsub.future.result()\n",
" print(res)\n\n",
"This is useful for long running or non-blocking jobs."]
}, },
{"name": "mpl", {"name": "mpl",
"package": "xonsh", "package": "xonsh",

View file

@ -72,4 +72,3 @@ def dsubmit(*a, args=(), kwargs=None, rtn='', **kw):
# some cleanup # some cleanup
del dworker, Functor del dworker, Functor