mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 08:24:40 +01:00
more docs
This commit is contained in:
parent
4faffc9d56
commit
718576398a
2 changed files with 11 additions and 3 deletions
|
@ -4,8 +4,17 @@
|
|||
"url": "http://xon.sh",
|
||||
"description": [
|
||||
"The distributed parallel computing library hooks for xonsh. ",
|
||||
"Importantly this provides a subsitute 'dowrker' command which enables ",
|
||||
"distributed workers to have access to xonsh builtins."]
|
||||
"Importantly this provides a subsitute 'dworker' command which enables ",
|
||||
"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",
|
||||
"package": "xonsh",
|
||||
|
|
|
@ -72,4 +72,3 @@ def dsubmit(*a, args=(), kwargs=None, rtn='', **kw):
|
|||
# some cleanup
|
||||
del dworker, Functor
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue