High-level extension layer for Luigi analysis workflows.
Install via pip:
pip install law
This should also install luigi and six.
core
:db_file
: The path to the db file. Defaults to$HOME/.law/db
target_tmp_dir
: The directory where tmp targets are stored. Defaults totempfile.gettempdir()
.
target
:gfal2_log_level
: The log level of the gfal2 handler, a string describing a python log level. Defaults to"INFO"
.default_dropbox
: The section of the dropbox config to use by default. Defaults to"dropbox"
.default_dcache
: The section of the dcache config to use by default. Defaults to"dcache"
.
paths
: Listing of paths to look for tasks when creating the db file.
[target]
default_dropbox: my_dropbox
default_dcache: my_dcache
[my_dropbox]
base: ...
app_key: ...
app_secret: ...
access_token: ...
[my_dache]
base: ...
base_listdir: ... (optional)
LAW_CONFIG_FILE
LAW_DB_FILE
LAW_SANDBOX
LAW_SANDBOX_SWITCHED
LAW_SANDBOX_WORKER_ID
LAW_DROPBOX_CONFIG_FILE
source `law_completion`
- Source hosted at GitHub
- Report issues, questions, feature requests on GitHub Issues
docker run -ti -p 8082:8082 riga/law
git pull && law db
# or when passing a local checkout as a volume
docker run -ti -p 8082:8082 -v /path/to/law:/root/law riga/law
# the config can be passed as well by adding (e.g.)
-v $HOME/.law/config:/root/.law/config
For particular tags, see riga/law on DockerHub.
source dev.sh
law db
The MIT License (MIT)
Copyright (c) 2016-2017 Marcel R.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.