| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| <!doctype html> |
| <head> |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1" /> |
| |
| <title>nexuscli API documentation</title> |
| <meta name="description" content="" /> |
| |
| <link href='http://fonts.googleapis.com/css?family=Source+Sans+Pro:400,300' rel='stylesheet' type='text/css'> |
| |
| <style type="text/css"> |
| |
| * { |
| box-sizing: border-box; |
| } |
| /*! normalize.css v1.1.1 | MIT License | git.io/normalize */ |
| |
| /* ========================================================================== |
| HTML5 display definitions |
| ========================================================================== */ |
| |
| /** |
| * Correct `block` display not defined in IE 6/7/8/9 and Firefox 3. |
| */ |
| |
| article, |
| aside, |
| details, |
| figcaption, |
| figure, |
| footer, |
| header, |
| hgroup, |
| main, |
| nav, |
| section, |
| summary { |
| display: block; |
| } |
| |
| /** |
| * Correct `inline-block` display not defined in IE 6/7/8/9 and Firefox 3. |
| */ |
| |
| audio, |
| canvas, |
| video { |
| display: inline-block; |
| *display: inline; |
| *zoom: 1; |
| } |
| |
| /** |
| * Prevent modern browsers from displaying `audio` without controls. |
| * Remove excess height in iOS 5 devices. |
| */ |
| |
| audio:not([controls]) { |
| display: none; |
| height: 0; |
| } |
| |
| /** |
| * Address styling not present in IE 7/8/9, Firefox 3, and Safari 4. |
| * Known issue: no IE 6 support. |
| */ |
| |
| [hidden] { |
| display: none; |
| } |
| |
| /* ========================================================================== |
| Base |
| ========================================================================== */ |
| |
| /** |
| * 1. Prevent system color scheme's background color being used in Firefox, IE, |
| * and Opera. |
| * 2. Prevent system color scheme's text color being used in Firefox, IE, and |
| * Opera. |
| * 3. Correct text resizing oddly in IE 6/7 when body `font-size` is set using |
| * `em` units. |
| * 4. Prevent iOS text size adjust after orientation change, without disabling |
| * user zoom. |
| */ |
| |
| html { |
| background: #fff; /* 1 */ |
| color: #000; /* 2 */ |
| font-size: 100%; /* 3 */ |
| -webkit-text-size-adjust: 100%; /* 4 */ |
| -ms-text-size-adjust: 100%; /* 4 */ |
| } |
| |
| /** |
| * Address `font-family` inconsistency between `textarea` and other form |
| * elements. |
| */ |
| |
| html, |
| button, |
| input, |
| select, |
| textarea { |
| font-family: sans-serif; |
| } |
| |
| /** |
| * Address margins handled incorrectly in IE 6/7. |
| */ |
| |
| body { |
| margin: 0; |
| } |
| |
| /* ========================================================================== |
| Links |
| ========================================================================== */ |
| |
| /** |
| * Address `outline` inconsistency between Chrome and other browsers. |
| */ |
| |
| a:focus { |
| outline: thin dotted; |
| } |
| |
| /** |
| * Improve readability when focused and also mouse hovered in all browsers. |
| */ |
| |
| a:active, |
| a:hover { |
| outline: 0; |
| } |
| |
| /* ========================================================================== |
| Typography |
| ========================================================================== */ |
| |
| /** |
| * Address font sizes and margins set differently in IE 6/7. |
| * Address font sizes within `section` and `article` in Firefox 4+, Safari 5, |
| * and Chrome. |
| */ |
| |
| h1 { |
| font-size: 2em; |
| margin: 0.67em 0; |
| } |
| |
| h2 { |
| font-size: 1.5em; |
| margin: 0.83em 0; |
| } |
| |
| h3 { |
| font-size: 1.17em; |
| margin: 1em 0; |
| } |
| |
| h4 { |
| font-size: 1em; |
| margin: 1.33em 0; |
| } |
| |
| h5 { |
| font-size: 0.83em; |
| margin: 1.67em 0; |
| } |
| |
| h6 { |
| font-size: 0.67em; |
| margin: 2.33em 0; |
| } |
| |
| /** |
| * Address styling not present in IE 7/8/9, Safari 5, and Chrome. |
| */ |
| |
| abbr[title] { |
| border-bottom: 1px dotted; |
| } |
| |
| /** |
| * Address style set to `bolder` in Firefox 3+, Safari 4/5, and Chrome. |
| */ |
| |
| b, |
| strong { |
| font-weight: bold; |
| } |
| |
| blockquote { |
| margin: 1em 40px; |
| } |
| |
| /** |
| * Address styling not present in Safari 5 and Chrome. |
| */ |
| |
| dfn { |
| font-style: italic; |
| } |
| |
| /** |
| * Address differences between Firefox and other browsers. |
| * Known issue: no IE 6/7 normalization. |
| */ |
| |
| hr { |
| -moz-box-sizing: content-box; |
| box-sizing: content-box; |
| height: 0; |
| } |
| |
| /** |
| * Address styling not present in IE 6/7/8/9. |
| */ |
| |
| mark { |
| background: #ff0; |
| color: #000; |
| } |
| |
| /** |
| * Address margins set differently in IE 6/7. |
| */ |
| |
| p, |
| pre { |
| margin: 1em 0; |
| } |
| |
| /** |
| * Correct font family set oddly in IE 6, Safari 4/5, and Chrome. |
| */ |
| |
| code, |
| kbd, |
| pre, |
| samp { |
| font-family: monospace, serif; |
| _font-family: 'courier new', monospace; |
| font-size: 1em; |
| } |
| |
| /** |
| * Improve readability of pre-formatted text in all browsers. |
| */ |
| |
| pre { |
| white-space: pre; |
| white-space: pre-wrap; |
| word-wrap: break-word; |
| } |
| |
| /** |
| * Address CSS quotes not supported in IE 6/7. |
| */ |
| |
| q { |
| quotes: none; |
| } |
| |
| /** |
| * Address `quotes` property not supported in Safari 4. |
| */ |
| |
| q:before, |
| q:after { |
| content: ''; |
| content: none; |
| } |
| |
| /** |
| * Address inconsistent and variable font size in all browsers. |
| */ |
| |
| small { |
| font-size: 80%; |
| } |
| |
| /** |
| * Prevent `sub` and `sup` affecting `line-height` in all browsers. |
| */ |
| |
| sub, |
| sup { |
| font-size: 75%; |
| line-height: 0; |
| position: relative; |
| vertical-align: baseline; |
| } |
| |
| sup { |
| top: -0.5em; |
| } |
| |
| sub { |
| bottom: -0.25em; |
| } |
| |
| /* ========================================================================== |
| Lists |
| ========================================================================== */ |
| |
| /** |
| * Address margins set differently in IE 6/7. |
| */ |
| |
| dl, |
| menu, |
| ol, |
| ul { |
| margin: 1em 0; |
| } |
| |
| dd { |
| margin: 0 0 0 40px; |
| } |
| |
| /** |
| * Address paddings set differently in IE 6/7. |
| */ |
| |
| menu, |
| ol, |
| ul { |
| padding: 0 0 0 40px; |
| } |
| |
| /** |
| * Correct list images handled incorrectly in IE 7. |
| */ |
| |
| nav ul, |
| nav ol { |
| list-style: none; |
| list-style-image: none; |
| } |
| |
| /* ========================================================================== |
| Embedded content |
| ========================================================================== */ |
| |
| /** |
| * 1. Remove border when inside `a` element in IE 6/7/8/9 and Firefox 3. |
| * 2. Improve image quality when scaled in IE 7. |
| */ |
| |
| img { |
| border: 0; /* 1 */ |
| -ms-interpolation-mode: bicubic; /* 2 */ |
| } |
| |
| /** |
| * Correct overflow displayed oddly in IE 9. |
| */ |
| |
| svg:not(:root) { |
| overflow: hidden; |
| } |
| |
| /* ========================================================================== |
| Figures |
| ========================================================================== */ |
| |
| /** |
| * Address margin not present in IE 6/7/8/9, Safari 5, and Opera 11. |
| */ |
| |
| figure { |
| margin: 0; |
| } |
| |
| /* ========================================================================== |
| Forms |
| ========================================================================== */ |
| |
| /** |
| * Correct margin displayed oddly in IE 6/7. |
| */ |
| |
| form { |
| margin: 0; |
| } |
| |
| /** |
| * Define consistent border, margin, and padding. |
| */ |
| |
| fieldset { |
| border: 1px solid #c0c0c0; |
| margin: 0 2px; |
| padding: 0.35em 0.625em 0.75em; |
| } |
| |
| /** |
| * 1. Correct color not being inherited in IE 6/7/8/9. |
| * 2. Correct text not wrapping in Firefox 3. |
| * 3. Correct alignment displayed oddly in IE 6/7. |
| */ |
| |
| legend { |
| border: 0; /* 1 */ |
| padding: 0; |
| white-space: normal; /* 2 */ |
| *margin-left: -7px; /* 3 */ |
| } |
| |
| /** |
| * 1. Correct font size not being inherited in all browsers. |
| * 2. Address margins set differently in IE 6/7, Firefox 3+, Safari 5, |
| * and Chrome. |
| * 3. Improve appearance and consistency in all browsers. |
| */ |
| |
| button, |
| input, |
| select, |
| textarea { |
| font-size: 100%; /* 1 */ |
| margin: 0; /* 2 */ |
| vertical-align: baseline; /* 3 */ |
| *vertical-align: middle; /* 3 */ |
| } |
| |
| /** |
| * Address Firefox 3+ setting `line-height` on `input` using `!important` in |
| * the UA stylesheet. |
| */ |
| |
| button, |
| input { |
| line-height: normal; |
| } |
| |
| /** |
| * Address inconsistent `text-transform` inheritance for `button` and `select`. |
| * All other form control elements do not inherit `text-transform` values. |
| * Correct `button` style inheritance in Chrome, Safari 5+, and IE 6+. |
| * Correct `select` style inheritance in Firefox 4+ and Opera. |
| */ |
| |
| button, |
| select { |
| text-transform: none; |
| } |
| |
| /** |
| * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` |
| * and `video` controls. |
| * 2. Correct inability to style clickable `input` types in iOS. |
| * 3. Improve usability and consistency of cursor style between image-type |
| * `input` and others. |
| * 4. Remove inner spacing in IE 7 without affecting normal text inputs. |
| * Known issue: inner spacing remains in IE 6. |
| */ |
| |
| button, |
| html input[type="button"], /* 1 */ |
| input[type="reset"], |
| input[type="submit"] { |
| -webkit-appearance: button; /* 2 */ |
| cursor: pointer; /* 3 */ |
| *overflow: visible; /* 4 */ |
| } |
| |
| /** |
| * Re-set default cursor for disabled elements. |
| */ |
| |
| button[disabled], |
| html input[disabled] { |
| cursor: default; |
| } |
| |
| /** |
| * 1. Address box sizing set to content-box in IE 8/9. |
| * 2. Remove excess padding in IE 8/9. |
| * 3. Remove excess padding in IE 7. |
| * Known issue: excess padding remains in IE 6. |
| */ |
| |
| input[type="checkbox"], |
| input[type="radio"] { |
| box-sizing: border-box; /* 1 */ |
| padding: 0; /* 2 */ |
| *height: 13px; /* 3 */ |
| *width: 13px; /* 3 */ |
| } |
| |
| /** |
| * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome. |
| * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome |
| * (include `-moz` to future-proof). |
| */ |
| |
| input[type="search"] { |
| -webkit-appearance: textfield; /* 1 */ |
| -moz-box-sizing: content-box; |
| -webkit-box-sizing: content-box; /* 2 */ |
| box-sizing: content-box; |
| } |
| |
| /** |
| * Remove inner padding and search cancel button in Safari 5 and Chrome |
| * on OS X. |
| */ |
| |
| input[type="search"]::-webkit-search-cancel-button, |
| input[type="search"]::-webkit-search-decoration { |
| -webkit-appearance: none; |
| } |
| |
| /** |
| * Remove inner padding and border in Firefox 3+. |
| */ |
| |
| button::-moz-focus-inner, |
| input::-moz-focus-inner { |
| border: 0; |
| padding: 0; |
| } |
| |
| /** |
| * 1. Remove default vertical scrollbar in IE 6/7/8/9. |
| * 2. Improve readability and alignment in all browsers. |
| */ |
| |
| textarea { |
| overflow: auto; /* 1 */ |
| vertical-align: top; /* 2 */ |
| } |
| |
| /* ========================================================================== |
| Tables |
| ========================================================================== */ |
| |
| /** |
| * Remove most spacing between table cells. |
| */ |
| |
| table { |
| border-collapse: collapse; |
| border-spacing: 0; |
| } |
| |
| </style> |
| |
| <style type="text/css"> |
| |
| html, body { |
| margin: 0; |
| padding: 0; |
| min-height: 100%; |
| } |
| body { |
| background: #fff; |
| font-family: "Source Sans Pro", "Helvetica Neueue", Helvetica, sans; |
| font-weight: 300; |
| font-size: 16px; |
| line-height: 1.6em; |
| } |
| #content { |
| width: 70%; |
| max-width: 850px; |
| float: left; |
| padding: 30px 60px; |
| border-left: 1px solid #ddd; |
| } |
| #sidebar { |
| width: 25%; |
| float: left; |
| padding: 30px; |
| overflow: hidden; |
| } |
| #nav { |
| font-size: 130%; |
| margin: 0 0 15px 0; |
| } |
| |
| #top { |
| display: block; |
| position: fixed; |
| bottom: 5px; |
| left: 5px; |
| font-size: .85em; |
| text-transform: uppercase; |
| } |
| |
| #footer { |
| font-size: .75em; |
| padding: 5px 30px; |
| border-top: 1px solid #ddd; |
| text-align: right; |
| } |
| #footer p { |
| margin: 0 0 0 30px; |
| display: inline-block; |
| } |
| |
| h1, h2, h3, h4, h5 { |
| font-weight: 300; |
| } |
| h1 { |
| font-size: 2.5em; |
| line-height: 1.1em; |
| margin: 0 0 .50em 0; |
| } |
| |
| h2 { |
| font-size: 1.75em; |
| margin: 1em 0 .50em 0; |
| } |
| |
| h3 { |
| margin: 25px 0 10px 0; |
| } |
| |
| h4 { |
| margin: 0; |
| font-size: 105%; |
| } |
| |
| a { |
| color: #058; |
| text-decoration: none; |
| transition: color .3s ease-in-out; |
| } |
| |
| a:hover { |
| color: #e08524; |
| transition: color .3s ease-in-out; |
| } |
| |
| pre, code, .mono, .name { |
| font-family: "Ubuntu Mono", "Cousine", "DejaVu Sans Mono", monospace; |
| } |
| |
| .title .name { |
| font-weight: bold; |
| } |
| .section-title { |
| margin-top: 2em; |
| } |
| .ident { |
| color: #900; |
| } |
| |
| code { |
| background: #f9f9f9; |
| } |
| |
| pre { |
| background: #fefefe; |
| border: 1px solid #ddd; |
| box-shadow: 2px 2px 0 #f3f3f3; |
| margin: 0 30px; |
| padding: 15px 30px; |
| } |
| |
| .codehilite { |
| margin: 0 30px 10px 30px; |
| } |
| |
| .codehilite pre { |
| margin: 0; |
| } |
| .codehilite .err { background: #ff3300; color: #fff !important; } |
| |
| table#module-list { |
| font-size: 110%; |
| } |
| |
| table#module-list tr td:first-child { |
| padding-right: 10px; |
| white-space: nowrap; |
| } |
| |
| table#module-list td { |
| vertical-align: top; |
| padding-bottom: 8px; |
| } |
| |
| table#module-list td p { |
| margin: 0 0 7px 0; |
| } |
| |
| .def { |
| display: table; |
| } |
| |
| .def p { |
| display: table-cell; |
| vertical-align: top; |
| text-align: left; |
| } |
| |
| .def p:first-child { |
| white-space: nowrap; |
| } |
| |
| .def p:last-child { |
| width: 100%; |
| } |
| |
| |
| #index { |
| list-style-type: none; |
| margin: 0; |
| padding: 0; |
| } |
| ul#index .class_name { |
| /* font-size: 110%; */ |
| font-weight: bold; |
| } |
| #index ul { |
| margin: 0; |
| } |
| |
| .item { |
| margin: 0 0 15px 0; |
| } |
| |
| .item .class { |
| margin: 0 0 25px 30px; |
| } |
| |
| .item .class ul.class_list { |
| margin: 0 0 20px 0; |
| } |
| |
| .item .name { |
| background: #fafafa; |
| margin: 0; |
| font-weight: bold; |
| padding: 5px 10px; |
| border-radius: 3px; |
| display: inline-block; |
| min-width: 40%; |
| } |
| .item .name:hover { |
| background: #f6f6f6; |
| } |
| |
| .item .empty_desc { |
| margin: 0 0 5px 0; |
| padding: 0; |
| } |
| |
| .item .inheritance { |
| margin: 3px 0 0 30px; |
| } |
| |
| .item .inherited { |
| color: #666; |
| } |
| |
| .item .desc { |
| padding: 0 8px; |
| margin: 0; |
| } |
| |
| .item .desc p { |
| margin: 0 0 10px 0; |
| } |
| |
| .source_cont { |
| margin: 0; |
| padding: 0; |
| } |
| |
| .source_link a { |
| background: #ffc300; |
| font-weight: 400; |
| font-size: .75em; |
| text-transform: uppercase; |
| color: #fff; |
| text-shadow: 1px 1px 0 #f4b700; |
| |
| padding: 3px 8px; |
| border-radius: 2px; |
| transition: background .3s ease-in-out; |
| } |
| .source_link a:hover { |
| background: #FF7200; |
| text-shadow: none; |
| transition: background .3s ease-in-out; |
| } |
| |
| .source { |
| display: none; |
| max-height: 600px; |
| overflow-y: scroll; |
| margin-bottom: 15px; |
| } |
| |
| .source .codehilite { |
| margin: 0; |
| } |
| |
| .desc h1, .desc h2, .desc h3 { |
| font-size: 100% !important; |
| } |
| .clear { |
| clear: both; |
| } |
| |
| @media all and (max-width: 950px) { |
| #sidebar { |
| width: 35%; |
| } |
| #content { |
| width: 65%; |
| } |
| } |
| @media all and (max-width: 650px) { |
| #top { |
| display: none; |
| } |
| #sidebar { |
| float: none; |
| width: auto; |
| } |
| #content { |
| float: none; |
| width: auto; |
| padding: 30px; |
| } |
| |
| #index ul { |
| padding: 0; |
| margin-bottom: 15px; |
| } |
| #index ul li { |
| display: inline-block; |
| margin-right: 30px; |
| } |
| #footer { |
| text-align: left; |
| } |
| #footer p { |
| display: block; |
| margin: inherit; |
| } |
| } |
| |
| /*****************************/ |
| |
| </style> |
| |
| <style type="text/css"> |
| .codehilite .hll { background-color: #ffffcc } |
| .codehilite { background: #f8f8f8; } |
| .codehilite .c { color: #408080; font-style: italic } /* Comment */ |
| .codehilite .err { border: 1px solid #FF0000 } /* Error */ |
| .codehilite .k { color: #008000; font-weight: bold } /* Keyword */ |
| .codehilite .o { color: #666666 } /* Operator */ |
| .codehilite .ch { color: #408080; font-style: italic } /* Comment.Hashbang */ |
| .codehilite .cm { color: #408080; font-style: italic } /* Comment.Multiline */ |
| .codehilite .cp { color: #BC7A00 } /* Comment.Preproc */ |
| .codehilite .cpf { color: #408080; font-style: italic } /* Comment.PreprocFile */ |
| .codehilite .c1 { color: #408080; font-style: italic } /* Comment.Single */ |
| .codehilite .cs { color: #408080; font-style: italic } /* Comment.Special */ |
| .codehilite .gd { color: #A00000 } /* Generic.Deleted */ |
| .codehilite .ge { font-style: italic } /* Generic.Emph */ |
| .codehilite .gr { color: #FF0000 } /* Generic.Error */ |
| .codehilite .gh { color: #000080; font-weight: bold } /* Generic.Heading */ |
| .codehilite .gi { color: #00A000 } /* Generic.Inserted */ |
| .codehilite .go { color: #888888 } /* Generic.Output */ |
| .codehilite .gp { color: #000080; font-weight: bold } /* Generic.Prompt */ |
| .codehilite .gs { font-weight: bold } /* Generic.Strong */ |
| .codehilite .gu { color: #800080; font-weight: bold } /* Generic.Subheading */ |
| .codehilite .gt { color: #0044DD } /* Generic.Traceback */ |
| .codehilite .kc { color: #008000; font-weight: bold } /* Keyword.Constant */ |
| .codehilite .kd { color: #008000; font-weight: bold } /* Keyword.Declaration */ |
| .codehilite .kn { color: #008000; font-weight: bold } /* Keyword.Namespace */ |
| .codehilite .kp { color: #008000 } /* Keyword.Pseudo */ |
| .codehilite .kr { color: #008000; font-weight: bold } /* Keyword.Reserved */ |
| .codehilite .kt { color: #B00040 } /* Keyword.Type */ |
| .codehilite .m { color: #666666 } /* Literal.Number */ |
| .codehilite .s { color: #BA2121 } /* Literal.String */ |
| .codehilite .na { color: #7D9029 } /* Name.Attribute */ |
| .codehilite .nb { color: #008000 } /* Name.Builtin */ |
| .codehilite .nc { color: #0000FF; font-weight: bold } /* Name.Class */ |
| .codehilite .no { color: #880000 } /* Name.Constant */ |
| .codehilite .nd { color: #AA22FF } /* Name.Decorator */ |
| .codehilite .ni { color: #999999; font-weight: bold } /* Name.Entity */ |
| .codehilite .ne { color: #D2413A; font-weight: bold } /* Name.Exception */ |
| .codehilite .nf { color: #0000FF } /* Name.Function */ |
| .codehilite .nl { color: #A0A000 } /* Name.Label */ |
| .codehilite .nn { color: #0000FF; font-weight: bold } /* Name.Namespace */ |
| .codehilite .nt { color: #008000; font-weight: bold } /* Name.Tag */ |
| .codehilite .nv { color: #19177C } /* Name.Variable */ |
| .codehilite .ow { color: #AA22FF; font-weight: bold } /* Operator.Word */ |
| .codehilite .w { color: #bbbbbb } /* Text.Whitespace */ |
| .codehilite .mb { color: #666666 } /* Literal.Number.Bin */ |
| .codehilite .mf { color: #666666 } /* Literal.Number.Float */ |
| .codehilite .mh { color: #666666 } /* Literal.Number.Hex */ |
| .codehilite .mi { color: #666666 } /* Literal.Number.Integer */ |
| .codehilite .mo { color: #666666 } /* Literal.Number.Oct */ |
| .codehilite .sa { color: #BA2121 } /* Literal.String.Affix */ |
| .codehilite .sb { color: #BA2121 } /* Literal.String.Backtick */ |
| .codehilite .sc { color: #BA2121 } /* Literal.String.Char */ |
| .codehilite .dl { color: #BA2121 } /* Literal.String.Delimiter */ |
| .codehilite .sd { color: #BA2121; font-style: italic } /* Literal.String.Doc */ |
| .codehilite .s2 { color: #BA2121 } /* Literal.String.Double */ |
| .codehilite .se { color: #BB6622; font-weight: bold } /* Literal.String.Escape */ |
| .codehilite .sh { color: #BA2121 } /* Literal.String.Heredoc */ |
| .codehilite .si { color: #BB6688; font-weight: bold } /* Literal.String.Interpol */ |
| .codehilite .sx { color: #008000 } /* Literal.String.Other */ |
| .codehilite .sr { color: #BB6688 } /* Literal.String.Regex */ |
| .codehilite .s1 { color: #BA2121 } /* Literal.String.Single */ |
| .codehilite .ss { color: #19177C } /* Literal.String.Symbol */ |
| .codehilite .bp { color: #008000 } /* Name.Builtin.Pseudo */ |
| .codehilite .fm { color: #0000FF } /* Name.Function.Magic */ |
| .codehilite .vc { color: #19177C } /* Name.Variable.Class */ |
| .codehilite .vg { color: #19177C } /* Name.Variable.Global */ |
| .codehilite .vi { color: #19177C } /* Name.Variable.Instance */ |
| .codehilite .vm { color: #19177C } /* Name.Variable.Magic */ |
| .codehilite .il { color: #666666 } /* Literal.Number.Integer.Long */ |
| </style> |
| |
| <style type="text/css"> |
| |
| /* ========================================================================== |
| EXAMPLE Media Queries for Responsive Design. |
| These examples override the primary ('mobile first') styles. |
| Modify as content requires. |
| ========================================================================== */ |
| |
| @media only screen and (min-width: 35em) { |
| /* Style adjustments for viewports that meet the condition */ |
| } |
| |
| @media print, |
| (-o-min-device-pixel-ratio: 5/4), |
| (-webkit-min-device-pixel-ratio: 1.25), |
| (min-resolution: 120dpi) { |
| /* Style adjustments for high resolution devices */ |
| } |
| |
| /* ========================================================================== |
| Print styles. |
| Inlined to avoid required HTTP connection: h5bp.com/r |
| ========================================================================== */ |
| |
| @media print { |
| * { |
| background: transparent !important; |
| color: #000 !important; /* Black prints faster: h5bp.com/s */ |
| box-shadow: none !important; |
| text-shadow: none !important; |
| } |
| |
| a, |
| a:visited { |
| text-decoration: underline; |
| } |
| |
| a[href]:after { |
| content: " (" attr(href) ")"; |
| } |
| |
| abbr[title]:after { |
| content: " (" attr(title) ")"; |
| } |
| |
| /* |
| * Don't show links for images, or javascript/internal links |
| */ |
| |
| .ir a:after, |
| a[href^="javascript:"]:after, |
| a[href^="#"]:after { |
| content: ""; |
| } |
| |
| pre, |
| blockquote { |
| border: 1px solid #999; |
| page-break-inside: avoid; |
| } |
| |
| thead { |
| display: table-header-group; /* h5bp.com/t */ |
| } |
| |
| tr, |
| img { |
| page-break-inside: avoid; |
| } |
| |
| img { |
| max-width: 100% !important; |
| } |
| |
| @page { |
| margin: 0.5cm; |
| } |
| |
| p, |
| h2, |
| h3 { |
| orphans: 3; |
| widows: 3; |
| } |
| |
| h2, |
| h3 { |
| page-break-after: avoid; |
| } |
| } |
| |
| </style> |
| |
| <script type="text/javascript"> |
| function toggle(id, $link) { |
| $node = document.getElementById(id); |
| if (!$node) |
| return; |
| if (!$node.style.display || $node.style.display == 'none') { |
| $node.style.display = 'block'; |
| $link.innerHTML = 'Hide source ≢'; |
| } else { |
| $node.style.display = 'none'; |
| $link.innerHTML = 'Show source ≡'; |
| } |
| } |
| </script> |
| </head> |
| <body> |
| <a href="#" id="top">Top</a> |
| |
| <div id="container"> |
| |
| |
| <div id="sidebar"> |
| <h1>Index</h1> |
| <ul id="index"> |
| |
| |
| |
| <li class="set"><h3><a href="#header-submodules">Sub-modules</a></h3> |
| <ul> |
| <li class="mono"><a href="nexuscli.m.html">nexuscli.nexuscli</a></li> |
| <li class="mono"><a href="nexuscli_ow.m.html">nexuscli.nexuscli_ow</a></li> |
| <li class="mono"><a href="test/index.html">nexuscli.test</a></li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| |
| <article id="content"> |
| |
| |
| |
| |
| |
| |
| <header id="section-intro"> |
| <h1 class="title"><span class="name">nexuscli</span> module</h1> |
| |
| |
| <p class="source_link"><a href="javascript:void(0);" onclick="toggle('source-nexuscli', this);">Show source ≡</a></p> |
| <div id="source-nexuscli" class="source"> |
| <div class="codehilite"><pre><span></span><span class="c1"># Licensed to the Apache Software Foundation (ASF) under one or more</span> |
| <span class="c1"># contributor license agreements. See the NOTICE file distributed with</span> |
| <span class="c1"># this work for additional information regarding copyright ownership.</span> |
| <span class="c1"># The ASF licenses this file to You under the Apache License, Version 2.0</span> |
| <span class="c1"># (the "License"); you may not use this file except in compliance with</span> |
| <span class="c1"># the License. You may obtain a copy of the License at</span> |
| <span class="c1">#</span> |
| <span class="c1"># http://www.apache.org/licenses/LICENSE-2.0</span> |
| <span class="c1">#</span> |
| <span class="c1"># Unless required by applicable law or agreed to in writing, software</span> |
| <span class="c1"># distributed under the License is distributed on an "AS IS" BASIS,</span> |
| <span class="c1"># WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span> |
| <span class="c1"># See the License for the specific language governing permissions and</span> |
| <span class="c1"># limitations under the License.</span> |
| |
| <span class="kn">from</span> <span class="nn">nexuscli.nexuscli</span> <span class="kn">import</span> <span class="n">TimeSeries</span> |
| <span class="kn">from</span> <span class="nn">nexuscli.nexuscli</span> <span class="kn">import</span> <span class="n">set_target</span> |
| <span class="kn">from</span> <span class="nn">nexuscli.nexuscli</span> <span class="kn">import</span> <span class="n">time_series</span> |
| <span class="kn">from</span> <span class="nn">nexuscli.nexuscli</span> <span class="kn">import</span> <span class="n">dataset_list</span> |
| <span class="kn">from</span> <span class="nn">nexuscli.nexuscli</span> <span class="kn">import</span> <span class="n">daily_difference_average</span> |
| <span class="kn">from</span> <span class="nn">nexuscli.nexuscli</span> <span class="kn">import</span> <span class="n">subset</span> |
| <span class="kn">from</span> <span class="nn">nexuscli.nexuscli_ow</span> <span class="kn">import</span> <span class="n">set_target</span> |
| <span class="kn">from</span> <span class="nn">nexuscli.nexuscli_ow</span> <span class="kn">import</span> <span class="n">run_file</span> |
| <span class="kn">from</span> <span class="nn">nexuscli.nexuscli_ow</span> <span class="kn">import</span> <span class="n">run_str</span> |
| </pre></div> |
| |
| </div> |
| |
| </header> |
| |
| <section id="section-items"> |
| |
| |
| |
| <h2 class="section-title" id="header-submodules">Sub-modules</h2> |
| <div class="item"> |
| <p class="name"><a href="nexuscli.m.html">nexuscli.nexuscli</a></p> |
| |
| |
| <div class="desc"><p>This module provides a native python client interface to the NEXUS (https://github.com/apache/incubator-sdap-nexus) |
| webservice API.</p> |
| <p>Usage:</p> |
| <div class="codehilite"><pre><span></span><span class="kn">import</span> <span class="nn">nexuscli</span> |
| |
| <span class="n">nexuscli</span><span class="o">.</span><span class="n">set_target</span><span class="p">(</span><span class="s2">"http://nexus-webapp:8083"</span><span class="p">)</span> |
| <span class="n">nexuscli</span><span class="o">.</span><span class="n">dataset_list</span><span class="p">()</span> |
| </pre></div></div> |
| |
| </div> |
| <div class="item"> |
| <p class="name"><a href="nexuscli_ow.m.html">nexuscli.nexuscli_ow</a></p> |
| |
| |
| <div class="desc"><p>This module provides a native python client interface to the NEXUS Livy |
| webservice API.</p> |
| <p>Usage:</p> |
| <div class="codehilite"><pre><span></span><span class="kn">from</span> <span class="nn">nexuscli</span> <span class="kn">import</span> <span class="n">nexuscli_ow</span> |
| |
| <span class="n">nexuscli_ow</span><span class="o">.</span><span class="n">set_target</span><span class="p">(</span><span class="s2">"http://host:port"</span><span class="p">)</span> |
| |
| <span class="n">filename</span> <span class="o">=</span> <span class="s2">"mycode.py"</span> |
| <span class="n">nexuscli_ow</span><span class="o">.</span><span class="n">run_file</span><span class="p">(</span><span class="n">filename</span><span class="p">)</span> |
| |
| <span class="n">The</span> <span class="n">code</span> <span class="ow">in</span> <span class="n">the</span> <span class="nb">file</span> <span class="n">passed</span> <span class="n">to</span> <span class="n">run_file</span> <span class="n">must</span> <span class="n">b</span><span class="o">...</span> |
| </pre></div></div> |
| |
| </div> |
| <div class="item"> |
| <p class="name"><a href="test/index.html">nexuscli.test</a></p> |
| |
| |
| |
| </div> |
| </section> |
| |
| </article> |
| <div class="clear"> </div> |
| <footer id="footer"> |
| <p> |
| Documentation generated by |
| <a href="https://github.com/BurntSushi/pdoc">pdoc 0.3.2</a> |
| </p> |
| |
| <p>pdoc is in the public domain with the |
| <a href="http://unlicense.org">UNLICENSE</a></p> |
| |
| <p>Design by <a href="http://nadh.in">Kailash Nadh</a></p> |
| </footer> |
| </div> |
| </body> |
| </html> |