diff --git a/.buildinfo b/.buildinfo new file mode 100644 index 00000000..5659ce6a --- /dev/null +++ b/.buildinfo @@ -0,0 +1,4 @@ +# Sphinx build info version 1 +# This file records the configuration used when building these files. When it is not found, a full rebuild will be done. +config: 4e5f1d55caf48d103b34d867a20eb26b +tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 00000000..e69de29b diff --git a/_sources/api/api.rst.txt b/_sources/api/api.rst.txt new file mode 100644 index 00000000..b38e0179 --- /dev/null +++ b/_sources/api/api.rst.txt @@ -0,0 +1,26 @@ +pyflyby API +=========== + +.. toctree:: + :maxdepth: 2 + :caption: Contents: + + autoimp + cmdline + comms + dbg + file + flags + format + idents + importclns + importdb + imports2s + importstmt + interactive + livepatch + log + modules + parse + py + util diff --git a/_sources/api/autoimp.rst.txt b/_sources/api/autoimp.rst.txt new file mode 100644 index 00000000..a7d9d3f0 --- /dev/null +++ b/_sources/api/autoimp.rst.txt @@ -0,0 +1,4 @@ +_autoimp module +=============== +.. automodule:: pyflyby._autoimp + :members: diff --git a/_sources/api/cmdline.rst.txt b/_sources/api/cmdline.rst.txt new file mode 100644 index 00000000..952eb0e3 --- /dev/null +++ b/_sources/api/cmdline.rst.txt @@ -0,0 +1,4 @@ +_cmdline module +=============== +.. automodule:: pyflyby._cmdline + :members: diff --git a/_sources/api/comms.rst.txt b/_sources/api/comms.rst.txt new file mode 100644 index 00000000..44357153 --- /dev/null +++ b/_sources/api/comms.rst.txt @@ -0,0 +1,4 @@ +_comms module +============= +.. automodule:: pyflyby._comms + :members: diff --git a/_sources/api/dbg.rst.txt b/_sources/api/dbg.rst.txt new file mode 100644 index 00000000..a147161a --- /dev/null +++ b/_sources/api/dbg.rst.txt @@ -0,0 +1,4 @@ +_dbg module +=========== +.. automodule:: pyflyby._dbg + :members: diff --git a/_sources/api/file.rst.txt b/_sources/api/file.rst.txt new file mode 100644 index 00000000..0943e92c --- /dev/null +++ b/_sources/api/file.rst.txt @@ -0,0 +1,4 @@ +_file module +============ +.. automodule:: pyflyby._file + :members: diff --git a/_sources/api/flags.rst.txt b/_sources/api/flags.rst.txt new file mode 100644 index 00000000..699275e9 --- /dev/null +++ b/_sources/api/flags.rst.txt @@ -0,0 +1,6 @@ +_flags module +============= +.. automodule:: pyflyby._flags + :members: + + .. autofunction:: pyflyby._flags.CompilerFlags diff --git a/_sources/api/format.rst.txt b/_sources/api/format.rst.txt new file mode 100644 index 00000000..76e42930 --- /dev/null +++ b/_sources/api/format.rst.txt @@ -0,0 +1,4 @@ +_format module +=============== +.. automodule:: pyflyby._format + :members: \ No newline at end of file diff --git a/_sources/api/idents.rst.txt b/_sources/api/idents.rst.txt new file mode 100644 index 00000000..7ce0170f --- /dev/null +++ b/_sources/api/idents.rst.txt @@ -0,0 +1,5 @@ +_idents module +============== +.. automodule:: pyflyby._idents + :members: + :exclude-members: _my_iskeyword \ No newline at end of file diff --git a/_sources/api/importclns.rst.txt b/_sources/api/importclns.rst.txt new file mode 100644 index 00000000..435d949c --- /dev/null +++ b/_sources/api/importclns.rst.txt @@ -0,0 +1,4 @@ +_importclns module +================== +.. automodule:: pyflyby._importclns + :members: \ No newline at end of file diff --git a/_sources/api/importdb.rst.txt b/_sources/api/importdb.rst.txt new file mode 100644 index 00000000..fa5bbcf9 --- /dev/null +++ b/_sources/api/importdb.rst.txt @@ -0,0 +1,4 @@ +_importdb module +================ +.. automodule:: pyflyby._importdb + :members: \ No newline at end of file diff --git a/_sources/api/imports2s.rst.txt b/_sources/api/imports2s.rst.txt new file mode 100644 index 00000000..d7480dba --- /dev/null +++ b/_sources/api/imports2s.rst.txt @@ -0,0 +1,4 @@ +_imports2s module +================= +.. automodule:: pyflyby._imports2s + :members: \ No newline at end of file diff --git a/_sources/api/importstmt.rst.txt b/_sources/api/importstmt.rst.txt new file mode 100644 index 00000000..f3314e32 --- /dev/null +++ b/_sources/api/importstmt.rst.txt @@ -0,0 +1,4 @@ +_importstmt module +================== +.. automodule:: pyflyby._importstmt + :members: \ No newline at end of file diff --git a/_sources/api/interactive.rst.txt b/_sources/api/interactive.rst.txt new file mode 100644 index 00000000..8529552d --- /dev/null +++ b/_sources/api/interactive.rst.txt @@ -0,0 +1,4 @@ +_interactive module +=================== +.. automodule:: pyflyby._interactive + :members: \ No newline at end of file diff --git a/_sources/api/livepatch.rst.txt b/_sources/api/livepatch.rst.txt new file mode 100644 index 00000000..fa5ae23d --- /dev/null +++ b/_sources/api/livepatch.rst.txt @@ -0,0 +1,4 @@ +_livepatch module +================= +.. automodule:: pyflyby._livepatch + :members: \ No newline at end of file diff --git a/_sources/api/log.rst.txt b/_sources/api/log.rst.txt new file mode 100644 index 00000000..265db9d3 --- /dev/null +++ b/_sources/api/log.rst.txt @@ -0,0 +1,4 @@ +_log module +=========== +.. automodule:: pyflyby._log + :members: \ No newline at end of file diff --git a/_sources/api/modules.rst.txt b/_sources/api/modules.rst.txt new file mode 100644 index 00000000..c07cd96b --- /dev/null +++ b/_sources/api/modules.rst.txt @@ -0,0 +1,4 @@ +_modules module +=============== +.. automodule:: pyflyby._modules + :members: \ No newline at end of file diff --git a/_sources/api/parse.rst.txt b/_sources/api/parse.rst.txt new file mode 100644 index 00000000..eef01eed --- /dev/null +++ b/_sources/api/parse.rst.txt @@ -0,0 +1,4 @@ +_parse module +============= +.. automodule:: pyflyby._parse + :members: \ No newline at end of file diff --git a/_sources/api/py.rst.txt b/_sources/api/py.rst.txt new file mode 100644 index 00000000..abe23bdf --- /dev/null +++ b/_sources/api/py.rst.txt @@ -0,0 +1,4 @@ +_py module +========== +.. automodule:: pyflyby._py + :members: \ No newline at end of file diff --git a/_sources/api/util.rst.txt b/_sources/api/util.rst.txt new file mode 100644 index 00000000..f4c621cb --- /dev/null +++ b/_sources/api/util.rst.txt @@ -0,0 +1,4 @@ +_util module +============ +.. automodule:: pyflyby._util + :members: \ No newline at end of file diff --git a/_sources/index.rst.txt b/_sources/index.rst.txt new file mode 100644 index 00000000..488658fb --- /dev/null +++ b/_sources/index.rst.txt @@ -0,0 +1,16 @@ +.. include:: ../README.rst + +Table of Contents +================= + +.. toctree:: + :maxdepth: -1 + + ./api/api + +Indices and tables +================== + +* :ref:`genindex` +* :ref:`modindex` +* :ref:`search` diff --git a/_static/_sphinx_javascript_frameworks_compat.js b/_static/_sphinx_javascript_frameworks_compat.js new file mode 100644 index 00000000..81415803 --- /dev/null +++ b/_static/_sphinx_javascript_frameworks_compat.js @@ -0,0 +1,123 @@ +/* Compatability shim for jQuery and underscores.js. + * + * Copyright Sphinx contributors + * Released under the two clause BSD licence + */ + +/** + * small helper function to urldecode strings + * + * See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/decodeURIComponent#Decoding_query_parameters_from_a_URL + */ +jQuery.urldecode = function(x) { + if (!x) { + return x + } + return decodeURIComponent(x.replace(/\+/g, ' ')); +}; + +/** + * small helper function to urlencode strings + */ +jQuery.urlencode = encodeURIComponent; + +/** + * This function returns the parsed url parameters of the + * current request. Multiple values per key are supported, + * it will always return arrays of strings for the value parts. + */ +jQuery.getQueryParameters = function(s) { + if (typeof s === 'undefined') + s = document.location.search; + var parts = s.substr(s.indexOf('?') + 1).split('&'); + var result = {}; + for (var i = 0; i < parts.length; i++) { + var tmp = parts[i].split('=', 2); + var key = jQuery.urldecode(tmp[0]); + var value = jQuery.urldecode(tmp[1]); + if (key in result) + result[key].push(value); + else + result[key] = [value]; + } + return result; +}; + +/** + * highlight a given string on a jquery object by wrapping it in + * span elements with the given class name. + */ +jQuery.fn.highlightText = function(text, className) { + function highlight(node, addItems) { + if (node.nodeType === 3) { + var val = node.nodeValue; + var pos = val.toLowerCase().indexOf(text); + if (pos >= 0 && + !jQuery(node.parentNode).hasClass(className) && + !jQuery(node.parentNode).hasClass("nohighlight")) { + var span; + var isInSVG = jQuery(node).closest("body, svg, foreignObject").is("svg"); + if (isInSVG) { + span = document.createElementNS("http://www.w3.org/2000/svg", "tspan"); + } else { + span = document.createElement("span"); + span.className = className; + } + span.appendChild(document.createTextNode(val.substr(pos, text.length))); + node.parentNode.insertBefore(span, node.parentNode.insertBefore( + document.createTextNode(val.substr(pos + text.length)), + node.nextSibling)); + node.nodeValue = val.substr(0, pos); + if (isInSVG) { + var rect = document.createElementNS("http://www.w3.org/2000/svg", "rect"); + var bbox = node.parentElement.getBBox(); + rect.x.baseVal.value = bbox.x; + rect.y.baseVal.value = bbox.y; + rect.width.baseVal.value = bbox.width; + rect.height.baseVal.value = bbox.height; + rect.setAttribute('class', className); + addItems.push({ + "parent": node.parentNode, + "target": rect}); + } + } + } + else if (!jQuery(node).is("button, select, textarea")) { + jQuery.each(node.childNodes, function() { + highlight(this, addItems); + }); + } + } + var addItems = []; + var result = this.each(function() { + highlight(this, addItems); + }); + for (var i = 0; i < addItems.length; ++i) { + jQuery(addItems[i].parent).before(addItems[i].target); + } + return result; +}; + +/* + * backward compatibility for jQuery.browser + * This will be supported until firefox bug is fixed. + */ +if (!jQuery.browser) { + jQuery.uaMatch = function(ua) { + ua = ua.toLowerCase(); + + var match = /(chrome)[ \/]([\w.]+)/.exec(ua) || + /(webkit)[ \/]([\w.]+)/.exec(ua) || + /(opera)(?:.*version|)[ \/]([\w.]+)/.exec(ua) || + /(msie) ([\w.]+)/.exec(ua) || + ua.indexOf("compatible") < 0 && /(mozilla)(?:.*? rv:([\w.]+)|)/.exec(ua) || + []; + + return { + browser: match[ 1 ] || "", + version: match[ 2 ] || "0" + }; + }; + jQuery.browser = {}; + jQuery.browser[jQuery.uaMatch(navigator.userAgent).browser] = true; +} diff --git a/_static/basic.css b/_static/basic.css new file mode 100644 index 00000000..7ebbd6d0 --- /dev/null +++ b/_static/basic.css @@ -0,0 +1,914 @@ +/* + * Sphinx stylesheet -- basic theme. + */ + +/* -- main layout ----------------------------------------------------------- */ + +div.clearer { + clear: both; +} + +div.section::after { + display: block; + content: ''; + clear: left; +} + +/* -- relbar ---------------------------------------------------------------- */ + +div.related { + width: 100%; + font-size: 90%; +} + +div.related h3 { + display: none; +} + +div.related ul { + margin: 0; + padding: 0 0 0 10px; + list-style: none; +} + +div.related li { + display: inline; +} + +div.related li.right { + float: right; + margin-right: 5px; +} + +/* -- sidebar --------------------------------------------------------------- */ + +div.sphinxsidebarwrapper { + padding: 10px 5px 0 10px; +} + +div.sphinxsidebar { + float: left; + width: 230px; + margin-left: -100%; + font-size: 90%; + word-wrap: break-word; + overflow-wrap : break-word; +} + +div.sphinxsidebar ul { + list-style: none; +} + +div.sphinxsidebar ul ul, +div.sphinxsidebar ul.want-points { + margin-left: 20px; + list-style: square; +} + +div.sphinxsidebar ul ul { + margin-top: 0; + margin-bottom: 0; +} + +div.sphinxsidebar form { + margin-top: 10px; +} + +div.sphinxsidebar input { + border: 1px solid #98dbcc; + font-family: sans-serif; + font-size: 1em; +} + +div.sphinxsidebar #searchbox form.search { + overflow: hidden; +} + +div.sphinxsidebar #searchbox input[type="text"] { + float: left; + width: 80%; + padding: 0.25em; + box-sizing: border-box; +} + +div.sphinxsidebar #searchbox input[type="submit"] { + float: left; + width: 20%; + border-left: none; + padding: 0.25em; + box-sizing: border-box; +} + + +img { + border: 0; + max-width: 100%; +} + +/* -- search page ----------------------------------------------------------- */ + +ul.search { + margin-top: 10px; +} + +ul.search li { + padding: 5px 0; +} + +ul.search li a { + font-weight: bold; +} + +ul.search li p.context { + color: #888; + margin: 2px 0 0 30px; + text-align: left; +} + +ul.keywordmatches li.goodmatch a { + font-weight: bold; +} + +/* -- index page ------------------------------------------------------------ */ + +table.contentstable { + width: 90%; + margin-left: auto; + margin-right: auto; +} + +table.contentstable p.biglink { + line-height: 150%; +} + +a.biglink { + font-size: 1.3em; +} + +span.linkdescr { + font-style: italic; + padding-top: 5px; + font-size: 90%; +} + +/* -- general index --------------------------------------------------------- */ + +table.indextable { + width: 100%; +} + +table.indextable td { + text-align: left; + vertical-align: top; +} + +table.indextable ul { + margin-top: 0; + margin-bottom: 0; + list-style-type: none; +} + +table.indextable > tbody > tr > td > ul { + padding-left: 0em; +} + +table.indextable tr.pcap { + height: 10px; +} + +table.indextable tr.cap { + margin-top: 10px; + background-color: #f2f2f2; +} + +img.toggler { + margin-right: 3px; + margin-top: 3px; + cursor: pointer; +} + +div.modindex-jumpbox { + border-top: 1px solid #ddd; + border-bottom: 1px solid #ddd; + margin: 1em 0 1em 0; + padding: 0.4em; +} + +div.genindex-jumpbox { + border-top: 1px solid #ddd; + border-bottom: 1px solid #ddd; + margin: 1em 0 1em 0; + padding: 0.4em; +} + +/* -- domain module index --------------------------------------------------- */ + +table.modindextable td { + padding: 2px; + border-collapse: collapse; +} + +/* -- general body styles --------------------------------------------------- */ + +div.body { + min-width: 360px; + max-width: 800px; +} + +div.body p, div.body dd, div.body li, div.body blockquote { + -moz-hyphens: auto; + -ms-hyphens: auto; + -webkit-hyphens: auto; + hyphens: auto; +} + +a.headerlink { + visibility: hidden; +} + +a:visited { + color: #551A8B; +} + +h1:hover > a.headerlink, +h2:hover > a.headerlink, +h3:hover > a.headerlink, +h4:hover > a.headerlink, +h5:hover > a.headerlink, +h6:hover > a.headerlink, +dt:hover > a.headerlink, +caption:hover > a.headerlink, +p.caption:hover > a.headerlink, +div.code-block-caption:hover > a.headerlink { + visibility: visible; +} + +div.body p.caption { + text-align: inherit; +} + +div.body td { + text-align: left; +} + +.first { + margin-top: 0 !important; +} + +p.rubric { + margin-top: 30px; + font-weight: bold; +} + +img.align-left, figure.align-left, .figure.align-left, object.align-left { + clear: left; + float: left; + margin-right: 1em; +} + +img.align-right, figure.align-right, .figure.align-right, object.align-right { + clear: right; + float: right; + margin-left: 1em; +} + +img.align-center, figure.align-center, .figure.align-center, object.align-center { + display: block; + margin-left: auto; + margin-right: auto; +} + +img.align-default, figure.align-default, .figure.align-default { + display: block; + margin-left: auto; + margin-right: auto; +} + +.align-left { + text-align: left; +} + +.align-center { + text-align: center; +} + +.align-default { + text-align: center; +} + +.align-right { + text-align: right; +} + +/* -- sidebars -------------------------------------------------------------- */ + +div.sidebar, +aside.sidebar { + margin: 0 0 0.5em 1em; + border: 1px solid #ddb; + padding: 7px; + background-color: #ffe; + width: 40%; + float: right; + clear: right; + overflow-x: auto; +} + +p.sidebar-title { + font-weight: bold; +} + +nav.contents, +aside.topic, +div.admonition, div.topic, blockquote { + clear: left; +} + +/* -- topics ---------------------------------------------------------------- */ + +nav.contents, +aside.topic, +div.topic { + border: 1px solid #ccc; + padding: 7px; + margin: 10px 0 10px 0; +} + +p.topic-title { + font-size: 1.1em; + font-weight: bold; + margin-top: 10px; +} + +/* -- admonitions ----------------------------------------------------------- */ + +div.admonition { + margin-top: 10px; + margin-bottom: 10px; + padding: 7px; +} + +div.admonition dt { + font-weight: bold; +} + +p.admonition-title { + margin: 0px 10px 5px 0px; + font-weight: bold; +} + +div.body p.centered { + text-align: center; + margin-top: 25px; +} + +/* -- content of sidebars/topics/admonitions -------------------------------- */ + +div.sidebar > :last-child, +aside.sidebar > :last-child, +nav.contents > :last-child, +aside.topic > :last-child, +div.topic > :last-child, +div.admonition > :last-child { + margin-bottom: 0; +} + +div.sidebar::after, +aside.sidebar::after, +nav.contents::after, +aside.topic::after, +div.topic::after, +div.admonition::after, +blockquote::after { + display: block; + content: ''; + clear: both; +} + +/* -- tables ---------------------------------------------------------------- */ + +table.docutils { + margin-top: 10px; + margin-bottom: 10px; + border: 0; + border-collapse: collapse; +} + +table.align-center { + margin-left: auto; + margin-right: auto; +} + +table.align-default { + margin-left: auto; + margin-right: auto; +} + +table caption span.caption-number { + font-style: italic; +} + +table caption span.caption-text { +} + +table.docutils td, table.docutils th { + padding: 1px 8px 1px 5px; + border-top: 0; + border-left: 0; + border-right: 0; + border-bottom: 1px solid #aaa; +} + +th { + text-align: left; + padding-right: 5px; +} + +table.citation { + border-left: solid 1px gray; + margin-left: 1px; +} + +table.citation td { + border-bottom: none; +} + +th > :first-child, +td > :first-child { + margin-top: 0px; +} + +th > :last-child, +td > :last-child { + margin-bottom: 0px; +} + +/* -- figures --------------------------------------------------------------- */ + +div.figure, figure { + margin: 0.5em; + padding: 0.5em; +} + +div.figure p.caption, figcaption { + padding: 0.3em; +} + +div.figure p.caption span.caption-number, +figcaption span.caption-number { + font-style: italic; +} + +div.figure p.caption span.caption-text, +figcaption span.caption-text { +} + +/* -- field list styles ----------------------------------------------------- */ + +table.field-list td, table.field-list th { + border: 0 !important; +} + +.field-list ul { + margin: 0; + padding-left: 1em; +} + +.field-list p { + margin: 0; +} + +.field-name { + -moz-hyphens: manual; + -ms-hyphens: manual; + -webkit-hyphens: manual; + hyphens: manual; +} + +/* -- hlist styles ---------------------------------------------------------- */ + +table.hlist { + margin: 1em 0; +} + +table.hlist td { + vertical-align: top; +} + +/* -- object description styles --------------------------------------------- */ + +.sig { + font-family: 'Consolas', 'Menlo', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace; +} + +.sig-name, code.descname { + background-color: transparent; + font-weight: bold; +} + +.sig-name { + font-size: 1.1em; +} + +code.descname { + font-size: 1.2em; +} + +.sig-prename, code.descclassname { + background-color: transparent; +} + +.optional { + font-size: 1.3em; +} + +.sig-paren { + font-size: larger; +} + +.sig-param.n { + font-style: italic; +} + +/* C++ specific styling */ + +.sig-inline.c-texpr, +.sig-inline.cpp-texpr { + font-family: unset; +} + +.sig.c .k, .sig.c .kt, +.sig.cpp .k, .sig.cpp .kt { + color: #0033B3; +} + +.sig.c .m, +.sig.cpp .m { + color: #1750EB; +} + +.sig.c .s, .sig.c .sc, +.sig.cpp .s, .sig.cpp .sc { + color: #067D17; +} + + +/* -- other body styles ----------------------------------------------------- */ + +ol.arabic { + list-style: decimal; +} + +ol.loweralpha { + list-style: lower-alpha; +} + +ol.upperalpha { + list-style: upper-alpha; +} + +ol.lowerroman { + list-style: lower-roman; +} + +ol.upperroman { + list-style: upper-roman; +} + +:not(li) > ol > li:first-child > :first-child, +:not(li) > ul > li:first-child > :first-child { + margin-top: 0px; +} + +:not(li) > ol > li:last-child > :last-child, +:not(li) > ul > li:last-child > :last-child { + margin-bottom: 0px; +} + +ol.simple ol p, +ol.simple ul p, +ul.simple ol p, +ul.simple ul p { + margin-top: 0; +} + +ol.simple > li:not(:first-child) > p, +ul.simple > li:not(:first-child) > p { + margin-top: 0; +} + +ol.simple p, +ul.simple p { + margin-bottom: 0; +} + +aside.footnote > span, +div.citation > span { + float: left; +} +aside.footnote > span:last-of-type, +div.citation > span:last-of-type { + padding-right: 0.5em; +} +aside.footnote > p { + margin-left: 2em; +} +div.citation > p { + margin-left: 4em; +} +aside.footnote > p:last-of-type, +div.citation > p:last-of-type { + margin-bottom: 0em; +} +aside.footnote > p:last-of-type:after, +div.citation > p:last-of-type:after { + content: ""; + clear: both; +} + +dl.field-list { + display: grid; + grid-template-columns: fit-content(30%) auto; +} + +dl.field-list > dt { + font-weight: bold; + word-break: break-word; + padding-left: 0.5em; + padding-right: 5px; +} + +dl.field-list > dd { + padding-left: 0.5em; + margin-top: 0em; + margin-left: 0em; + margin-bottom: 0em; +} + +dl { + margin-bottom: 15px; +} + +dd > :first-child { + margin-top: 0px; +} + +dd ul, dd table { + margin-bottom: 10px; +} + +dd { + margin-top: 3px; + margin-bottom: 10px; + margin-left: 30px; +} + +.sig dd { + margin-top: 0px; + margin-bottom: 0px; +} + +.sig dl { + margin-top: 0px; + margin-bottom: 0px; +} + +dl > dd:last-child, +dl > dd:last-child > :last-child { + margin-bottom: 0; +} + +dt:target, span.highlighted { + background-color: #fbe54e; +} + +rect.highlighted { + fill: #fbe54e; +} + +dl.glossary dt { + font-weight: bold; + font-size: 1.1em; +} + +.versionmodified { + font-style: italic; +} + +.system-message { + background-color: #fda; + padding: 5px; + border: 3px solid red; +} + +.footnote:target { + background-color: #ffa; +} + +.line-block { + display: block; + margin-top: 1em; + margin-bottom: 1em; +} + +.line-block .line-block { + margin-top: 0; + margin-bottom: 0; + margin-left: 1.5em; +} + +.guilabel, .menuselection { + font-family: sans-serif; +} + +.accelerator { + text-decoration: underline; +} + +.classifier { + font-style: oblique; +} + +.classifier:before { + font-style: normal; + margin: 0 0.5em; + content: ":"; + display: inline-block; +} + +abbr, acronym { + border-bottom: dotted 1px; + cursor: help; +} + +.translated { + background-color: rgba(207, 255, 207, 0.2) +} + +.untranslated { + background-color: rgba(255, 207, 207, 0.2) +} + +/* -- code displays --------------------------------------------------------- */ + +pre { + overflow: auto; + overflow-y: hidden; /* fixes display issues on Chrome browsers */ +} + +pre, div[class*="highlight-"] { + clear: both; +} + +span.pre { + -moz-hyphens: none; + -ms-hyphens: none; + -webkit-hyphens: none; + hyphens: none; + white-space: nowrap; +} + +div[class*="highlight-"] { + margin: 1em 0; +} + +td.linenos pre { + border: 0; + background-color: transparent; + color: #aaa; +} + +table.highlighttable { + display: block; +} + +table.highlighttable tbody { + display: block; +} + +table.highlighttable tr { + display: flex; +} + +table.highlighttable td { + margin: 0; + padding: 0; +} + +table.highlighttable td.linenos { + padding-right: 0.5em; +} + +table.highlighttable td.code { + flex: 1; + overflow: hidden; +} + +.highlight .hll { + display: block; +} + +div.highlight pre, +table.highlighttable pre { + margin: 0; +} + +div.code-block-caption + div { + margin-top: 0; +} + +div.code-block-caption { + margin-top: 1em; + padding: 2px 5px; + font-size: small; +} + +div.code-block-caption code { + background-color: transparent; +} + +table.highlighttable td.linenos, +span.linenos, +div.highlight span.gp { /* gp: Generic.Prompt */ + user-select: none; + -webkit-user-select: text; /* Safari fallback only */ + -webkit-user-select: none; /* Chrome/Safari */ + -moz-user-select: none; /* Firefox */ + -ms-user-select: none; /* IE10+ */ +} + +div.code-block-caption span.caption-number { + padding: 0.1em 0.3em; + font-style: italic; +} + +div.code-block-caption span.caption-text { +} + +div.literal-block-wrapper { + margin: 1em 0; +} + +code.xref, a code { + background-color: transparent; + font-weight: bold; +} + +h1 code, h2 code, h3 code, h4 code, h5 code, h6 code { + background-color: transparent; +} + +.viewcode-link { + float: right; +} + +.viewcode-back { + float: right; + font-family: sans-serif; +} + +div.viewcode-block:target { + margin: -1px -10px; + padding: 0 10px; +} + +/* -- math display ---------------------------------------------------------- */ + +img.math { + vertical-align: middle; +} + +div.body div.math p { + text-align: center; +} + +span.eqno { + float: right; +} + +span.eqno a.headerlink { + position: absolute; + z-index: 1; +} + +div.math:hover a.headerlink { + visibility: visible; +} + +/* -- printout stylesheet --------------------------------------------------- */ + +@media print { + div.document, + div.documentwrapper, + div.bodywrapper { + margin: 0 !important; + width: 100%; + } + + div.sphinxsidebar, + div.related, + div.footer, + #top-link { + display: none; + } +} \ No newline at end of file diff --git a/_static/css/badge_only.css b/_static/css/badge_only.css new file mode 100644 index 00000000..88ba55b9 --- /dev/null +++ b/_static/css/badge_only.css @@ -0,0 +1 @@ +.clearfix{*zoom:1}.clearfix:after,.clearfix:before{display:table;content:""}.clearfix:after{clear:both}@font-face{font-family:FontAwesome;font-style:normal;font-weight:400;src:url(fonts/fontawesome-webfont.eot?674f50d287a8c48dc19ba404d20fe713?#iefix) format("embedded-opentype"),url(fonts/fontawesome-webfont.woff2?af7ae505a9eed503f8b8e6982036873e) format("woff2"),url(fonts/fontawesome-webfont.woff?fee66e712a8a08eef5805a46892932ad) format("woff"),url(fonts/fontawesome-webfont.ttf?b06871f281fee6b241d60582ae9369b9) format("truetype"),url(fonts/fontawesome-webfont.svg?912ec66d7572ff821749319396470bde#FontAwesome) format("svg")}.fa:before{font-family:FontAwesome;font-style:normal;font-weight:400;line-height:1}.fa:before,a .fa{text-decoration:inherit}.fa:before,a .fa,li .fa{display:inline-block}li .fa-large:before{width:1.875em}ul.fas{list-style-type:none;margin-left:2em;text-indent:-.8em}ul.fas li .fa{width:.8em}ul.fas li .fa-large:before{vertical-align:baseline}.fa-book:before,.icon-book:before{content:"\f02d"}.fa-caret-down:before,.icon-caret-down:before{content:"\f0d7"}.fa-caret-up:before,.icon-caret-up:before{content:"\f0d8"}.fa-caret-left:before,.icon-caret-left:before{content:"\f0d9"}.fa-caret-right:before,.icon-caret-right:before{content:"\f0da"}.rst-versions{position:fixed;bottom:0;left:0;width:300px;color:#fcfcfc;background:#1f1d1d;font-family:Lato,proxima-nova,Helvetica Neue,Arial,sans-serif;z-index:400}.rst-versions a{color:#2980b9;text-decoration:none}.rst-versions .rst-badge-small{display:none}.rst-versions .rst-current-version{padding:12px;background-color:#272525;display:block;text-align:right;font-size:90%;cursor:pointer;color:#27ae60}.rst-versions .rst-current-version:after{clear:both;content:"";display:block}.rst-versions .rst-current-version .fa{color:#fcfcfc}.rst-versions .rst-current-version .fa-book,.rst-versions .rst-current-version .icon-book{float:left}.rst-versions .rst-current-version.rst-out-of-date{background-color:#e74c3c;color:#fff}.rst-versions .rst-current-version.rst-active-old-version{background-color:#f1c40f;color:#000}.rst-versions.shift-up{height:auto;max-height:100%;overflow-y:scroll}.rst-versions.shift-up .rst-other-versions{display:block}.rst-versions .rst-other-versions{font-size:90%;padding:12px;color:grey;display:none}.rst-versions .rst-other-versions hr{display:block;height:1px;border:0;margin:20px 0;padding:0;border-top:1px solid #413d3d}.rst-versions .rst-other-versions dd{display:inline-block;margin:0}.rst-versions .rst-other-versions dd a{display:inline-block;padding:6px;color:#fcfcfc}.rst-versions .rst-other-versions .rtd-current-item{font-weight:700}.rst-versions.rst-badge{width:auto;bottom:20px;right:20px;left:auto;border:none;max-width:300px;max-height:90%}.rst-versions.rst-badge .fa-book,.rst-versions.rst-badge .icon-book{float:none;line-height:30px}.rst-versions.rst-badge.shift-up .rst-current-version{text-align:right}.rst-versions.rst-badge.shift-up .rst-current-version .fa-book,.rst-versions.rst-badge.shift-up .rst-current-version .icon-book{float:left}.rst-versions.rst-badge>.rst-current-version{width:auto;height:30px;line-height:30px;padding:0 6px;display:block;text-align:center}@media screen and (max-width:768px){.rst-versions{width:85%;display:none}.rst-versions.shift{display:block}}#flyout-search-form{padding:6px} \ No newline at end of file diff --git a/_static/css/fonts/Roboto-Slab-Bold.woff b/_static/css/fonts/Roboto-Slab-Bold.woff new file mode 100644 index 00000000..6cb60000 Binary files /dev/null and b/_static/css/fonts/Roboto-Slab-Bold.woff differ diff --git a/_static/css/fonts/Roboto-Slab-Bold.woff2 b/_static/css/fonts/Roboto-Slab-Bold.woff2 new file mode 100644 index 00000000..7059e231 Binary files /dev/null and b/_static/css/fonts/Roboto-Slab-Bold.woff2 differ diff --git a/_static/css/fonts/Roboto-Slab-Regular.woff b/_static/css/fonts/Roboto-Slab-Regular.woff new file mode 100644 index 00000000..f815f63f Binary files /dev/null and b/_static/css/fonts/Roboto-Slab-Regular.woff differ diff --git a/_static/css/fonts/Roboto-Slab-Regular.woff2 b/_static/css/fonts/Roboto-Slab-Regular.woff2 new file mode 100644 index 00000000..f2c76e5b Binary files /dev/null and b/_static/css/fonts/Roboto-Slab-Regular.woff2 differ diff --git a/_static/css/fonts/fontawesome-webfont.eot b/_static/css/fonts/fontawesome-webfont.eot new file mode 100644 index 00000000..e9f60ca9 Binary files /dev/null and b/_static/css/fonts/fontawesome-webfont.eot differ diff --git a/_static/css/fonts/fontawesome-webfont.svg b/_static/css/fonts/fontawesome-webfont.svg new file mode 100644 index 00000000..855c845e --- /dev/null +++ b/_static/css/fonts/fontawesome-webfont.svg @@ -0,0 +1,2671 @@ + + + + +Created by FontForge 20120731 at Mon Oct 24 17:37:40 2016 + By ,,, +Copyright Dave Gandy 2016. All rights reserved. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/_static/css/fonts/fontawesome-webfont.ttf b/_static/css/fonts/fontawesome-webfont.ttf new file mode 100644 index 00000000..35acda2f Binary files /dev/null and b/_static/css/fonts/fontawesome-webfont.ttf differ diff --git a/_static/css/fonts/fontawesome-webfont.woff b/_static/css/fonts/fontawesome-webfont.woff new file mode 100644 index 00000000..400014a4 Binary files /dev/null and b/_static/css/fonts/fontawesome-webfont.woff differ diff --git a/_static/css/fonts/fontawesome-webfont.woff2 b/_static/css/fonts/fontawesome-webfont.woff2 new file mode 100644 index 00000000..4d13fc60 Binary files /dev/null and b/_static/css/fonts/fontawesome-webfont.woff2 differ diff --git a/_static/css/fonts/lato-bold-italic.woff b/_static/css/fonts/lato-bold-italic.woff new file mode 100644 index 00000000..88ad05b9 Binary files /dev/null and b/_static/css/fonts/lato-bold-italic.woff differ diff --git a/_static/css/fonts/lato-bold-italic.woff2 b/_static/css/fonts/lato-bold-italic.woff2 new file mode 100644 index 00000000..c4e3d804 Binary files /dev/null and b/_static/css/fonts/lato-bold-italic.woff2 differ diff --git a/_static/css/fonts/lato-bold.woff b/_static/css/fonts/lato-bold.woff new file mode 100644 index 00000000..c6dff51f Binary files /dev/null and b/_static/css/fonts/lato-bold.woff differ diff --git a/_static/css/fonts/lato-bold.woff2 b/_static/css/fonts/lato-bold.woff2 new file mode 100644 index 00000000..bb195043 Binary files /dev/null and b/_static/css/fonts/lato-bold.woff2 differ diff --git a/_static/css/fonts/lato-normal-italic.woff b/_static/css/fonts/lato-normal-italic.woff new file mode 100644 index 00000000..76114bc0 Binary files /dev/null and b/_static/css/fonts/lato-normal-italic.woff differ diff --git a/_static/css/fonts/lato-normal-italic.woff2 b/_static/css/fonts/lato-normal-italic.woff2 new file mode 100644 index 00000000..3404f37e Binary files /dev/null and b/_static/css/fonts/lato-normal-italic.woff2 differ diff --git a/_static/css/fonts/lato-normal.woff b/_static/css/fonts/lato-normal.woff new file mode 100644 index 00000000..ae1307ff Binary files /dev/null and b/_static/css/fonts/lato-normal.woff differ diff --git a/_static/css/fonts/lato-normal.woff2 b/_static/css/fonts/lato-normal.woff2 new file mode 100644 index 00000000..3bf98433 Binary files /dev/null and b/_static/css/fonts/lato-normal.woff2 differ diff --git a/_static/css/theme.css b/_static/css/theme.css new file mode 100644 index 00000000..0f14f106 --- /dev/null +++ b/_static/css/theme.css @@ -0,0 +1,4 @@ +html{box-sizing:border-box}*,:after,:before{box-sizing:inherit}article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block}audio,canvas,video{display:inline-block;*display:inline;*zoom:1}[hidden],audio:not([controls]){display:none}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{font-size:100%;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}blockquote{margin:0}dfn{font-style:italic}ins{background:#ff9;text-decoration:none}ins,mark{color:#000}mark{background:#ff0;font-style:italic;font-weight:700}.rst-content code,.rst-content tt,code,kbd,pre,samp{font-family:monospace,serif;_font-family:courier new,monospace;font-size:1em}pre{white-space:pre}q{quotes:none}q:after,q:before{content:"";content:none}small{font-size:85%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}dl,ol,ul{margin:0;padding:0;list-style:none;list-style-image:none}li{list-style:none}dd{margin:0}img{border:0;-ms-interpolation-mode:bicubic;vertical-align:middle;max-width:100%}svg:not(:root){overflow:hidden}figure,form{margin:0}label{cursor:pointer}button,input,select,textarea{font-size:100%;margin:0;vertical-align:baseline;*vertical-align:middle}button,input{line-height:normal}button,input[type=button],input[type=reset],input[type=submit]{cursor:pointer;-webkit-appearance:button;*overflow:visible}button[disabled],input[disabled]{cursor:default}input[type=search]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}textarea{resize:vertical}table{border-collapse:collapse;border-spacing:0}td{vertical-align:top}.chromeframe{margin:.2em 0;background:#ccc;color:#000;padding:.2em 0}.ir{display:block;border:0;text-indent:-999em;overflow:hidden;background-color:transparent;background-repeat:no-repeat;text-align:left;direction:ltr;*line-height:0}.ir br{display:none}.hidden{display:none!important;visibility:hidden}.visuallyhidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.visuallyhidden.focusable:active,.visuallyhidden.focusable:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}.invisible{visibility:hidden}.relative{position:relative}big,small{font-size:100%}@media print{body,html,section{background:none!important}*{box-shadow:none!important;text-shadow:none!important;filter:none!important;-ms-filter:none!important}a,a:visited{text-decoration:underline}.ir a:after,a[href^="#"]:after,a[href^="javascript:"]:after{content:""}blockquote,pre{page-break-inside:avoid}thead{display:table-header-group}img,tr{page-break-inside:avoid}img{max-width:100%!important}@page{margin:.5cm}.rst-content .toctree-wrapper>p.caption,h2,h3,p{orphans:3;widows:3}.rst-content .toctree-wrapper>p.caption,h2,h3{page-break-after:avoid}}.btn,.fa:before,.icon:before,.rst-content .admonition,.rst-content .admonition-title:before,.rst-content .admonition-todo,.rst-content .attention,.rst-content .caution,.rst-content .code-block-caption .headerlink:before,.rst-content .danger,.rst-content .eqno .headerlink:before,.rst-content .error,.rst-content .hint,.rst-content .important,.rst-content .note,.rst-content .seealso,.rst-content .tip,.rst-content .warning,.rst-content code.download span:first-child:before,.rst-content dl dt .headerlink:before,.rst-content h1 .headerlink:before,.rst-content h2 .headerlink:before,.rst-content h3 .headerlink:before,.rst-content h4 .headerlink:before,.rst-content h5 .headerlink:before,.rst-content h6 .headerlink:before,.rst-content p.caption .headerlink:before,.rst-content p .headerlink:before,.rst-content table>caption .headerlink:before,.rst-content tt.download span:first-child:before,.wy-alert,.wy-dropdown .caret:before,.wy-inline-validate.wy-inline-validate-danger .wy-input-context:before,.wy-inline-validate.wy-inline-validate-info .wy-input-context:before,.wy-inline-validate.wy-inline-validate-success .wy-input-context:before,.wy-inline-validate.wy-inline-validate-warning .wy-input-context:before,.wy-menu-vertical li.current>a button.toctree-expand:before,.wy-menu-vertical li.on a button.toctree-expand:before,.wy-menu-vertical li button.toctree-expand:before,input[type=color],input[type=date],input[type=datetime-local],input[type=datetime],input[type=email],input[type=month],input[type=number],input[type=password],input[type=search],input[type=tel],input[type=text],input[type=time],input[type=url],input[type=week],select,textarea{-webkit-font-smoothing:antialiased}.clearfix{*zoom:1}.clearfix:after,.clearfix:before{display:table;content:""}.clearfix:after{clear:both}/*! + * Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome + * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) + */@font-face{font-family:FontAwesome;src:url(fonts/fontawesome-webfont.eot?674f50d287a8c48dc19ba404d20fe713);src:url(fonts/fontawesome-webfont.eot?674f50d287a8c48dc19ba404d20fe713?#iefix&v=4.7.0) format("embedded-opentype"),url(fonts/fontawesome-webfont.woff2?af7ae505a9eed503f8b8e6982036873e) format("woff2"),url(fonts/fontawesome-webfont.woff?fee66e712a8a08eef5805a46892932ad) format("woff"),url(fonts/fontawesome-webfont.ttf?b06871f281fee6b241d60582ae9369b9) format("truetype"),url(fonts/fontawesome-webfont.svg?912ec66d7572ff821749319396470bde#fontawesomeregular) format("svg");font-weight:400;font-style:normal}.fa,.icon,.rst-content .admonition-title,.rst-content .code-block-caption .headerlink,.rst-content .eqno .headerlink,.rst-content code.download span:first-child,.rst-content dl dt .headerlink,.rst-content h1 .headerlink,.rst-content h2 .headerlink,.rst-content h3 .headerlink,.rst-content h4 .headerlink,.rst-content h5 .headerlink,.rst-content h6 .headerlink,.rst-content p.caption .headerlink,.rst-content p .headerlink,.rst-content table>caption .headerlink,.rst-content tt.download span:first-child,.wy-menu-vertical li.current>a button.toctree-expand,.wy-menu-vertical li.on a button.toctree-expand,.wy-menu-vertical li button.toctree-expand{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-lg{font-size:1.33333em;line-height:.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.28571em;text-align:center}.fa-ul{padding-left:0;margin-left:2.14286em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.14286em;width:2.14286em;top:.14286em;text-align:center}.fa-li.fa-lg{left:-1.85714em}.fa-border{padding:.2em .25em .15em;border:.08em solid #eee;border-radius:.1em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa-pull-left.icon,.fa.fa-pull-left,.rst-content .code-block-caption .fa-pull-left.headerlink,.rst-content .eqno .fa-pull-left.headerlink,.rst-content .fa-pull-left.admonition-title,.rst-content code.download span.fa-pull-left:first-child,.rst-content dl dt .fa-pull-left.headerlink,.rst-content h1 .fa-pull-left.headerlink,.rst-content h2 .fa-pull-left.headerlink,.rst-content h3 .fa-pull-left.headerlink,.rst-content h4 .fa-pull-left.headerlink,.rst-content h5 .fa-pull-left.headerlink,.rst-content h6 .fa-pull-left.headerlink,.rst-content p .fa-pull-left.headerlink,.rst-content table>caption .fa-pull-left.headerlink,.rst-content tt.download span.fa-pull-left:first-child,.wy-menu-vertical li.current>a button.fa-pull-left.toctree-expand,.wy-menu-vertical li.on a button.fa-pull-left.toctree-expand,.wy-menu-vertical li button.fa-pull-left.toctree-expand{margin-right:.3em}.fa-pull-right.icon,.fa.fa-pull-right,.rst-content .code-block-caption .fa-pull-right.headerlink,.rst-content .eqno .fa-pull-right.headerlink,.rst-content .fa-pull-right.admonition-title,.rst-content code.download span.fa-pull-right:first-child,.rst-content dl dt .fa-pull-right.headerlink,.rst-content h1 .fa-pull-right.headerlink,.rst-content h2 .fa-pull-right.headerlink,.rst-content h3 .fa-pull-right.headerlink,.rst-content h4 .fa-pull-right.headerlink,.rst-content h5 .fa-pull-right.headerlink,.rst-content h6 .fa-pull-right.headerlink,.rst-content p .fa-pull-right.headerlink,.rst-content table>caption .fa-pull-right.headerlink,.rst-content tt.download span.fa-pull-right:first-child,.wy-menu-vertical li.current>a button.fa-pull-right.toctree-expand,.wy-menu-vertical li.on a button.fa-pull-right.toctree-expand,.wy-menu-vertical li button.fa-pull-right.toctree-expand{margin-left:.3em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left,.pull-left.icon,.rst-content .code-block-caption .pull-left.headerlink,.rst-content .eqno .pull-left.headerlink,.rst-content .pull-left.admonition-title,.rst-content code.download span.pull-left:first-child,.rst-content dl dt .pull-left.headerlink,.rst-content h1 .pull-left.headerlink,.rst-content h2 .pull-left.headerlink,.rst-content h3 .pull-left.headerlink,.rst-content h4 .pull-left.headerlink,.rst-content h5 .pull-left.headerlink,.rst-content h6 .pull-left.headerlink,.rst-content p .pull-left.headerlink,.rst-content table>caption .pull-left.headerlink,.rst-content tt.download span.pull-left:first-child,.wy-menu-vertical li.current>a button.pull-left.toctree-expand,.wy-menu-vertical li.on a button.pull-left.toctree-expand,.wy-menu-vertical li button.pull-left.toctree-expand{margin-right:.3em}.fa.pull-right,.pull-right.icon,.rst-content .code-block-caption .pull-right.headerlink,.rst-content .eqno .pull-right.headerlink,.rst-content .pull-right.admonition-title,.rst-content code.download span.pull-right:first-child,.rst-content dl dt .pull-right.headerlink,.rst-content h1 .pull-right.headerlink,.rst-content h2 .pull-right.headerlink,.rst-content h3 .pull-right.headerlink,.rst-content h4 .pull-right.headerlink,.rst-content h5 .pull-right.headerlink,.rst-content h6 .pull-right.headerlink,.rst-content p .pull-right.headerlink,.rst-content table>caption .pull-right.headerlink,.rst-content tt.download span.pull-right:first-child,.wy-menu-vertical li.current>a button.pull-right.toctree-expand,.wy-menu-vertical li.on a button.pull-right.toctree-expand,.wy-menu-vertical li button.pull-right.toctree-expand{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s linear infinite;animation:fa-spin 2s linear infinite}.fa-pulse{-webkit-animation:fa-spin 1s steps(8) infinite;animation:fa-spin 1s steps(8) infinite}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.fa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";-webkit-transform:scaleX(-1);-ms-transform:scaleX(-1);transform:scaleX(-1)}.fa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";-webkit-transform:scaleY(-1);-ms-transform:scaleY(-1);transform:scaleY(-1)}:root .fa-flip-horizontal,:root .fa-flip-vertical,:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270{filter:none}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-glass:before{content:""}.fa-music:before{content:""}.fa-search:before,.icon-search:before{content:""}.fa-envelope-o:before{content:""}.fa-heart:before{content:""}.fa-star:before{content:""}.fa-star-o:before{content:""}.fa-user:before{content:""}.fa-film:before{content:""}.fa-th-large:before{content:""}.fa-th:before{content:""}.fa-th-list:before{content:""}.fa-check:before{content:""}.fa-close:before,.fa-remove:before,.fa-times:before{content:""}.fa-search-plus:before{content:""}.fa-search-minus:before{content:""}.fa-power-off:before{content:""}.fa-signal:before{content:""}.fa-cog:before,.fa-gear:before{content:""}.fa-trash-o:before{content:""}.fa-home:before,.icon-home:before{content:""}.fa-file-o:before{content:""}.fa-clock-o:before{content:""}.fa-road:before{content:""}.fa-download:before,.rst-content code.download span:first-child:before,.rst-content tt.download span:first-child:before{content:""}.fa-arrow-circle-o-down:before{content:""}.fa-arrow-circle-o-up:before{content:""}.fa-inbox:before{content:""}.fa-play-circle-o:before{content:""}.fa-repeat:before,.fa-rotate-right:before{content:""}.fa-refresh:before{content:""}.fa-list-alt:before{content:""}.fa-lock:before{content:""}.fa-flag:before{content:""}.fa-headphones:before{content:""}.fa-volume-off:before{content:""}.fa-volume-down:before{content:""}.fa-volume-up:before{content:""}.fa-qrcode:before{content:""}.fa-barcode:before{content:""}.fa-tag:before{content:""}.fa-tags:before{content:""}.fa-book:before,.icon-book:before{content:""}.fa-bookmark:before{content:""}.fa-print:before{content:""}.fa-camera:before{content:""}.fa-font:before{content:""}.fa-bold:before{content:""}.fa-italic:before{content:""}.fa-text-height:before{content:""}.fa-text-width:before{content:""}.fa-align-left:before{content:""}.fa-align-center:before{content:""}.fa-align-right:before{content:""}.fa-align-justify:before{content:""}.fa-list:before{content:""}.fa-dedent:before,.fa-outdent:before{content:""}.fa-indent:before{content:""}.fa-video-camera:before{content:""}.fa-image:before,.fa-photo:before,.fa-picture-o:before{content:""}.fa-pencil:before{content:""}.fa-map-marker:before{content:""}.fa-adjust:before{content:""}.fa-tint:before{content:""}.fa-edit:before,.fa-pencil-square-o:before{content:""}.fa-share-square-o:before{content:""}.fa-check-square-o:before{content:""}.fa-arrows:before{content:""}.fa-step-backward:before{content:""}.fa-fast-backward:before{content:""}.fa-backward:before{content:""}.fa-play:before{content:""}.fa-pause:before{content:""}.fa-stop:before{content:""}.fa-forward:before{content:""}.fa-fast-forward:before{content:""}.fa-step-forward:before{content:""}.fa-eject:before{content:""}.fa-chevron-left:before{content:""}.fa-chevron-right:before{content:""}.fa-plus-circle:before{content:""}.fa-minus-circle:before{content:""}.fa-times-circle:before,.wy-inline-validate.wy-inline-validate-danger .wy-input-context:before{content:""}.fa-check-circle:before,.wy-inline-validate.wy-inline-validate-success .wy-input-context:before{content:""}.fa-question-circle:before{content:""}.fa-info-circle:before{content:""}.fa-crosshairs:before{content:""}.fa-times-circle-o:before{content:""}.fa-check-circle-o:before{content:""}.fa-ban:before{content:""}.fa-arrow-left:before{content:""}.fa-arrow-right:before{content:""}.fa-arrow-up:before{content:""}.fa-arrow-down:before{content:""}.fa-mail-forward:before,.fa-share:before{content:""}.fa-expand:before{content:""}.fa-compress:before{content:""}.fa-plus:before{content:""}.fa-minus:before{content:""}.fa-asterisk:before{content:""}.fa-exclamation-circle:before,.rst-content .admonition-title:before,.wy-inline-validate.wy-inline-validate-info .wy-input-context:before,.wy-inline-validate.wy-inline-validate-warning .wy-input-context:before{content:""}.fa-gift:before{content:""}.fa-leaf:before{content:""}.fa-fire:before,.icon-fire:before{content:""}.fa-eye:before{content:""}.fa-eye-slash:before{content:""}.fa-exclamation-triangle:before,.fa-warning:before{content:""}.fa-plane:before{content:""}.fa-calendar:before{content:""}.fa-random:before{content:""}.fa-comment:before{content:""}.fa-magnet:before{content:""}.fa-chevron-up:before{content:""}.fa-chevron-down:before{content:""}.fa-retweet:before{content:""}.fa-shopping-cart:before{content:""}.fa-folder:before{content:""}.fa-folder-open:before{content:""}.fa-arrows-v:before{content:""}.fa-arrows-h:before{content:""}.fa-bar-chart-o:before,.fa-bar-chart:before{content:""}.fa-twitter-square:before{content:""}.fa-facebook-square:before{content:""}.fa-camera-retro:before{content:""}.fa-key:before{content:""}.fa-cogs:before,.fa-gears:before{content:""}.fa-comments:before{content:""}.fa-thumbs-o-up:before{content:""}.fa-thumbs-o-down:before{content:""}.fa-star-half:before{content:""}.fa-heart-o:before{content:""}.fa-sign-out:before{content:""}.fa-linkedin-square:before{content:""}.fa-thumb-tack:before{content:""}.fa-external-link:before{content:""}.fa-sign-in:before{content:""}.fa-trophy:before{content:""}.fa-github-square:before{content:""}.fa-upload:before{content:""}.fa-lemon-o:before{content:""}.fa-phone:before{content:""}.fa-square-o:before{content:""}.fa-bookmark-o:before{content:""}.fa-phone-square:before{content:""}.fa-twitter:before{content:""}.fa-facebook-f:before,.fa-facebook:before{content:""}.fa-github:before,.icon-github:before{content:""}.fa-unlock:before{content:""}.fa-credit-card:before{content:""}.fa-feed:before,.fa-rss:before{content:""}.fa-hdd-o:before{content:""}.fa-bullhorn:before{content:""}.fa-bell:before{content:""}.fa-certificate:before{content:""}.fa-hand-o-right:before{content:""}.fa-hand-o-left:before{content:""}.fa-hand-o-up:before{content:""}.fa-hand-o-down:before{content:""}.fa-arrow-circle-left:before,.icon-circle-arrow-left:before{content:""}.fa-arrow-circle-right:before,.icon-circle-arrow-right:before{content:""}.fa-arrow-circle-up:before{content:""}.fa-arrow-circle-down:before{content:""}.fa-globe:before{content:""}.fa-wrench:before{content:""}.fa-tasks:before{content:""}.fa-filter:before{content:""}.fa-briefcase:before{content:""}.fa-arrows-alt:before{content:""}.fa-group:before,.fa-users:before{content:""}.fa-chain:before,.fa-link:before,.icon-link:before{content:""}.fa-cloud:before{content:""}.fa-flask:before{content:""}.fa-cut:before,.fa-scissors:before{content:""}.fa-copy:before,.fa-files-o:before{content:""}.fa-paperclip:before{content:""}.fa-floppy-o:before,.fa-save:before{content:""}.fa-square:before{content:""}.fa-bars:before,.fa-navicon:before,.fa-reorder:before{content:""}.fa-list-ul:before{content:""}.fa-list-ol:before{content:""}.fa-strikethrough:before{content:""}.fa-underline:before{content:""}.fa-table:before{content:""}.fa-magic:before{content:""}.fa-truck:before{content:""}.fa-pinterest:before{content:""}.fa-pinterest-square:before{content:""}.fa-google-plus-square:before{content:""}.fa-google-plus:before{content:""}.fa-money:before{content:""}.fa-caret-down:before,.icon-caret-down:before,.wy-dropdown .caret:before{content:""}.fa-caret-up:before{content:""}.fa-caret-left:before{content:""}.fa-caret-right:before{content:""}.fa-columns:before{content:""}.fa-sort:before,.fa-unsorted:before{content:""}.fa-sort-desc:before,.fa-sort-down:before{content:""}.fa-sort-asc:before,.fa-sort-up:before{content:""}.fa-envelope:before{content:""}.fa-linkedin:before{content:""}.fa-rotate-left:before,.fa-undo:before{content:""}.fa-gavel:before,.fa-legal:before{content:""}.fa-dashboard:before,.fa-tachometer:before{content:""}.fa-comment-o:before{content:""}.fa-comments-o:before{content:""}.fa-bolt:before,.fa-flash:before{content:""}.fa-sitemap:before{content:""}.fa-umbrella:before{content:""}.fa-clipboard:before,.fa-paste:before{content:""}.fa-lightbulb-o:before{content:""}.fa-exchange:before{content:""}.fa-cloud-download:before{content:""}.fa-cloud-upload:before{content:""}.fa-user-md:before{content:""}.fa-stethoscope:before{content:""}.fa-suitcase:before{content:""}.fa-bell-o:before{content:""}.fa-coffee:before{content:""}.fa-cutlery:before{content:""}.fa-file-text-o:before{content:""}.fa-building-o:before{content:""}.fa-hospital-o:before{content:""}.fa-ambulance:before{content:""}.fa-medkit:before{content:""}.fa-fighter-jet:before{content:""}.fa-beer:before{content:""}.fa-h-square:before{content:""}.fa-plus-square:before{content:""}.fa-angle-double-left:before{content:""}.fa-angle-double-right:before{content:""}.fa-angle-double-up:before{content:""}.fa-angle-double-down:before{content:""}.fa-angle-left:before{content:""}.fa-angle-right:before{content:""}.fa-angle-up:before{content:""}.fa-angle-down:before{content:""}.fa-desktop:before{content:""}.fa-laptop:before{content:""}.fa-tablet:before{content:""}.fa-mobile-phone:before,.fa-mobile:before{content:""}.fa-circle-o:before{content:""}.fa-quote-left:before{content:""}.fa-quote-right:before{content:""}.fa-spinner:before{content:""}.fa-circle:before{content:""}.fa-mail-reply:before,.fa-reply:before{content:""}.fa-github-alt:before{content:""}.fa-folder-o:before{content:""}.fa-folder-open-o:before{content:""}.fa-smile-o:before{content:""}.fa-frown-o:before{content:""}.fa-meh-o:before{content:""}.fa-gamepad:before{content:""}.fa-keyboard-o:before{content:""}.fa-flag-o:before{content:""}.fa-flag-checkered:before{content:""}.fa-terminal:before{content:""}.fa-code:before{content:""}.fa-mail-reply-all:before,.fa-reply-all:before{content:""}.fa-star-half-empty:before,.fa-star-half-full:before,.fa-star-half-o:before{content:""}.fa-location-arrow:before{content:""}.fa-crop:before{content:""}.fa-code-fork:before{content:""}.fa-chain-broken:before,.fa-unlink:before{content:""}.fa-question:before{content:""}.fa-info:before{content:""}.fa-exclamation:before{content:""}.fa-superscript:before{content:""}.fa-subscript:before{content:""}.fa-eraser:before{content:""}.fa-puzzle-piece:before{content:""}.fa-microphone:before{content:""}.fa-microphone-slash:before{content:""}.fa-shield:before{content:""}.fa-calendar-o:before{content:""}.fa-fire-extinguisher:before{content:""}.fa-rocket:before{content:""}.fa-maxcdn:before{content:""}.fa-chevron-circle-left:before{content:""}.fa-chevron-circle-right:before{content:""}.fa-chevron-circle-up:before{content:""}.fa-chevron-circle-down:before{content:""}.fa-html5:before{content:""}.fa-css3:before{content:""}.fa-anchor:before{content:""}.fa-unlock-alt:before{content:""}.fa-bullseye:before{content:""}.fa-ellipsis-h:before{content:""}.fa-ellipsis-v:before{content:""}.fa-rss-square:before{content:""}.fa-play-circle:before{content:""}.fa-ticket:before{content:""}.fa-minus-square:before{content:""}.fa-minus-square-o:before,.wy-menu-vertical li.current>a button.toctree-expand:before,.wy-menu-vertical li.on a button.toctree-expand:before{content:""}.fa-level-up:before{content:""}.fa-level-down:before{content:""}.fa-check-square:before{content:""}.fa-pencil-square:before{content:""}.fa-external-link-square:before{content:""}.fa-share-square:before{content:""}.fa-compass:before{content:""}.fa-caret-square-o-down:before,.fa-toggle-down:before{content:""}.fa-caret-square-o-up:before,.fa-toggle-up:before{content:""}.fa-caret-square-o-right:before,.fa-toggle-right:before{content:""}.fa-eur:before,.fa-euro:before{content:""}.fa-gbp:before{content:""}.fa-dollar:before,.fa-usd:before{content:""}.fa-inr:before,.fa-rupee:before{content:""}.fa-cny:before,.fa-jpy:before,.fa-rmb:before,.fa-yen:before{content:""}.fa-rouble:before,.fa-rub:before,.fa-ruble:before{content:""}.fa-krw:before,.fa-won:before{content:""}.fa-bitcoin:before,.fa-btc:before{content:""}.fa-file:before{content:""}.fa-file-text:before{content:""}.fa-sort-alpha-asc:before{content:""}.fa-sort-alpha-desc:before{content:""}.fa-sort-amount-asc:before{content:""}.fa-sort-amount-desc:before{content:""}.fa-sort-numeric-asc:before{content:""}.fa-sort-numeric-desc:before{content:""}.fa-thumbs-up:before{content:""}.fa-thumbs-down:before{content:""}.fa-youtube-square:before{content:""}.fa-youtube:before{content:""}.fa-xing:before{content:""}.fa-xing-square:before{content:""}.fa-youtube-play:before{content:""}.fa-dropbox:before{content:""}.fa-stack-overflow:before{content:""}.fa-instagram:before{content:""}.fa-flickr:before{content:""}.fa-adn:before{content:""}.fa-bitbucket:before,.icon-bitbucket:before{content:""}.fa-bitbucket-square:before{content:""}.fa-tumblr:before{content:""}.fa-tumblr-square:before{content:""}.fa-long-arrow-down:before{content:""}.fa-long-arrow-up:before{content:""}.fa-long-arrow-left:before{content:""}.fa-long-arrow-right:before{content:""}.fa-apple:before{content:""}.fa-windows:before{content:""}.fa-android:before{content:""}.fa-linux:before{content:""}.fa-dribbble:before{content:""}.fa-skype:before{content:""}.fa-foursquare:before{content:""}.fa-trello:before{content:""}.fa-female:before{content:""}.fa-male:before{content:""}.fa-gittip:before,.fa-gratipay:before{content:""}.fa-sun-o:before{content:""}.fa-moon-o:before{content:""}.fa-archive:before{content:""}.fa-bug:before{content:""}.fa-vk:before{content:""}.fa-weibo:before{content:""}.fa-renren:before{content:""}.fa-pagelines:before{content:""}.fa-stack-exchange:before{content:""}.fa-arrow-circle-o-right:before{content:""}.fa-arrow-circle-o-left:before{content:""}.fa-caret-square-o-left:before,.fa-toggle-left:before{content:""}.fa-dot-circle-o:before{content:""}.fa-wheelchair:before{content:""}.fa-vimeo-square:before{content:""}.fa-try:before,.fa-turkish-lira:before{content:""}.fa-plus-square-o:before,.wy-menu-vertical li button.toctree-expand:before{content:""}.fa-space-shuttle:before{content:""}.fa-slack:before{content:""}.fa-envelope-square:before{content:""}.fa-wordpress:before{content:""}.fa-openid:before{content:""}.fa-bank:before,.fa-institution:before,.fa-university:before{content:""}.fa-graduation-cap:before,.fa-mortar-board:before{content:""}.fa-yahoo:before{content:""}.fa-google:before{content:""}.fa-reddit:before{content:""}.fa-reddit-square:before{content:""}.fa-stumbleupon-circle:before{content:""}.fa-stumbleupon:before{content:""}.fa-delicious:before{content:""}.fa-digg:before{content:""}.fa-pied-piper-pp:before{content:""}.fa-pied-piper-alt:before{content:""}.fa-drupal:before{content:""}.fa-joomla:before{content:""}.fa-language:before{content:""}.fa-fax:before{content:""}.fa-building:before{content:""}.fa-child:before{content:""}.fa-paw:before{content:""}.fa-spoon:before{content:""}.fa-cube:before{content:""}.fa-cubes:before{content:""}.fa-behance:before{content:""}.fa-behance-square:before{content:""}.fa-steam:before{content:""}.fa-steam-square:before{content:""}.fa-recycle:before{content:""}.fa-automobile:before,.fa-car:before{content:""}.fa-cab:before,.fa-taxi:before{content:""}.fa-tree:before{content:""}.fa-spotify:before{content:""}.fa-deviantart:before{content:""}.fa-soundcloud:before{content:""}.fa-database:before{content:""}.fa-file-pdf-o:before{content:""}.fa-file-word-o:before{content:""}.fa-file-excel-o:before{content:""}.fa-file-powerpoint-o:before{content:""}.fa-file-image-o:before,.fa-file-photo-o:before,.fa-file-picture-o:before{content:""}.fa-file-archive-o:before,.fa-file-zip-o:before{content:""}.fa-file-audio-o:before,.fa-file-sound-o:before{content:""}.fa-file-movie-o:before,.fa-file-video-o:before{content:""}.fa-file-code-o:before{content:""}.fa-vine:before{content:""}.fa-codepen:before{content:""}.fa-jsfiddle:before{content:""}.fa-life-bouy:before,.fa-life-buoy:before,.fa-life-ring:before,.fa-life-saver:before,.fa-support:before{content:""}.fa-circle-o-notch:before{content:""}.fa-ra:before,.fa-rebel:before,.fa-resistance:before{content:""}.fa-empire:before,.fa-ge:before{content:""}.fa-git-square:before{content:""}.fa-git:before{content:""}.fa-hacker-news:before,.fa-y-combinator-square:before,.fa-yc-square:before{content:""}.fa-tencent-weibo:before{content:""}.fa-qq:before{content:""}.fa-wechat:before,.fa-weixin:before{content:""}.fa-paper-plane:before,.fa-send:before{content:""}.fa-paper-plane-o:before,.fa-send-o:before{content:""}.fa-history:before{content:""}.fa-circle-thin:before{content:""}.fa-header:before{content:""}.fa-paragraph:before{content:""}.fa-sliders:before{content:""}.fa-share-alt:before{content:""}.fa-share-alt-square:before{content:""}.fa-bomb:before{content:""}.fa-futbol-o:before,.fa-soccer-ball-o:before{content:""}.fa-tty:before{content:""}.fa-binoculars:before{content:""}.fa-plug:before{content:""}.fa-slideshare:before{content:""}.fa-twitch:before{content:""}.fa-yelp:before{content:""}.fa-newspaper-o:before{content:""}.fa-wifi:before{content:""}.fa-calculator:before{content:""}.fa-paypal:before{content:""}.fa-google-wallet:before{content:""}.fa-cc-visa:before{content:""}.fa-cc-mastercard:before{content:""}.fa-cc-discover:before{content:""}.fa-cc-amex:before{content:""}.fa-cc-paypal:before{content:""}.fa-cc-stripe:before{content:""}.fa-bell-slash:before{content:""}.fa-bell-slash-o:before{content:""}.fa-trash:before{content:""}.fa-copyright:before{content:""}.fa-at:before{content:""}.fa-eyedropper:before{content:""}.fa-paint-brush:before{content:""}.fa-birthday-cake:before{content:""}.fa-area-chart:before{content:""}.fa-pie-chart:before{content:""}.fa-line-chart:before{content:""}.fa-lastfm:before{content:""}.fa-lastfm-square:before{content:""}.fa-toggle-off:before{content:""}.fa-toggle-on:before{content:""}.fa-bicycle:before{content:""}.fa-bus:before{content:""}.fa-ioxhost:before{content:""}.fa-angellist:before{content:""}.fa-cc:before{content:""}.fa-ils:before,.fa-shekel:before,.fa-sheqel:before{content:""}.fa-meanpath:before{content:""}.fa-buysellads:before{content:""}.fa-connectdevelop:before{content:""}.fa-dashcube:before{content:""}.fa-forumbee:before{content:""}.fa-leanpub:before{content:""}.fa-sellsy:before{content:""}.fa-shirtsinbulk:before{content:""}.fa-simplybuilt:before{content:""}.fa-skyatlas:before{content:""}.fa-cart-plus:before{content:""}.fa-cart-arrow-down:before{content:""}.fa-diamond:before{content:""}.fa-ship:before{content:""}.fa-user-secret:before{content:""}.fa-motorcycle:before{content:""}.fa-street-view:before{content:""}.fa-heartbeat:before{content:""}.fa-venus:before{content:""}.fa-mars:before{content:""}.fa-mercury:before{content:""}.fa-intersex:before,.fa-transgender:before{content:""}.fa-transgender-alt:before{content:""}.fa-venus-double:before{content:""}.fa-mars-double:before{content:""}.fa-venus-mars:before{content:""}.fa-mars-stroke:before{content:""}.fa-mars-stroke-v:before{content:""}.fa-mars-stroke-h:before{content:""}.fa-neuter:before{content:""}.fa-genderless:before{content:""}.fa-facebook-official:before{content:""}.fa-pinterest-p:before{content:""}.fa-whatsapp:before{content:""}.fa-server:before{content:""}.fa-user-plus:before{content:""}.fa-user-times:before{content:""}.fa-bed:before,.fa-hotel:before{content:""}.fa-viacoin:before{content:""}.fa-train:before{content:""}.fa-subway:before{content:""}.fa-medium:before{content:""}.fa-y-combinator:before,.fa-yc:before{content:""}.fa-optin-monster:before{content:""}.fa-opencart:before{content:""}.fa-expeditedssl:before{content:""}.fa-battery-4:before,.fa-battery-full:before,.fa-battery:before{content:""}.fa-battery-3:before,.fa-battery-three-quarters:before{content:""}.fa-battery-2:before,.fa-battery-half:before{content:""}.fa-battery-1:before,.fa-battery-quarter:before{content:""}.fa-battery-0:before,.fa-battery-empty:before{content:""}.fa-mouse-pointer:before{content:""}.fa-i-cursor:before{content:""}.fa-object-group:before{content:""}.fa-object-ungroup:before{content:""}.fa-sticky-note:before{content:""}.fa-sticky-note-o:before{content:""}.fa-cc-jcb:before{content:""}.fa-cc-diners-club:before{content:""}.fa-clone:before{content:""}.fa-balance-scale:before{content:""}.fa-hourglass-o:before{content:""}.fa-hourglass-1:before,.fa-hourglass-start:before{content:""}.fa-hourglass-2:before,.fa-hourglass-half:before{content:""}.fa-hourglass-3:before,.fa-hourglass-end:before{content:""}.fa-hourglass:before{content:""}.fa-hand-grab-o:before,.fa-hand-rock-o:before{content:""}.fa-hand-paper-o:before,.fa-hand-stop-o:before{content:""}.fa-hand-scissors-o:before{content:""}.fa-hand-lizard-o:before{content:""}.fa-hand-spock-o:before{content:""}.fa-hand-pointer-o:before{content:""}.fa-hand-peace-o:before{content:""}.fa-trademark:before{content:""}.fa-registered:before{content:""}.fa-creative-commons:before{content:""}.fa-gg:before{content:""}.fa-gg-circle:before{content:""}.fa-tripadvisor:before{content:""}.fa-odnoklassniki:before{content:""}.fa-odnoklassniki-square:before{content:""}.fa-get-pocket:before{content:""}.fa-wikipedia-w:before{content:""}.fa-safari:before{content:""}.fa-chrome:before{content:""}.fa-firefox:before{content:""}.fa-opera:before{content:""}.fa-internet-explorer:before{content:""}.fa-television:before,.fa-tv:before{content:""}.fa-contao:before{content:""}.fa-500px:before{content:""}.fa-amazon:before{content:""}.fa-calendar-plus-o:before{content:""}.fa-calendar-minus-o:before{content:""}.fa-calendar-times-o:before{content:""}.fa-calendar-check-o:before{content:""}.fa-industry:before{content:""}.fa-map-pin:before{content:""}.fa-map-signs:before{content:""}.fa-map-o:before{content:""}.fa-map:before{content:""}.fa-commenting:before{content:""}.fa-commenting-o:before{content:""}.fa-houzz:before{content:""}.fa-vimeo:before{content:""}.fa-black-tie:before{content:""}.fa-fonticons:before{content:""}.fa-reddit-alien:before{content:""}.fa-edge:before{content:""}.fa-credit-card-alt:before{content:""}.fa-codiepie:before{content:""}.fa-modx:before{content:""}.fa-fort-awesome:before{content:""}.fa-usb:before{content:""}.fa-product-hunt:before{content:""}.fa-mixcloud:before{content:""}.fa-scribd:before{content:""}.fa-pause-circle:before{content:""}.fa-pause-circle-o:before{content:""}.fa-stop-circle:before{content:""}.fa-stop-circle-o:before{content:""}.fa-shopping-bag:before{content:""}.fa-shopping-basket:before{content:""}.fa-hashtag:before{content:""}.fa-bluetooth:before{content:""}.fa-bluetooth-b:before{content:""}.fa-percent:before{content:""}.fa-gitlab:before,.icon-gitlab:before{content:""}.fa-wpbeginner:before{content:""}.fa-wpforms:before{content:""}.fa-envira:before{content:""}.fa-universal-access:before{content:""}.fa-wheelchair-alt:before{content:""}.fa-question-circle-o:before{content:""}.fa-blind:before{content:""}.fa-audio-description:before{content:""}.fa-volume-control-phone:before{content:""}.fa-braille:before{content:""}.fa-assistive-listening-systems:before{content:""}.fa-american-sign-language-interpreting:before,.fa-asl-interpreting:before{content:""}.fa-deaf:before,.fa-deafness:before,.fa-hard-of-hearing:before{content:""}.fa-glide:before{content:""}.fa-glide-g:before{content:""}.fa-sign-language:before,.fa-signing:before{content:""}.fa-low-vision:before{content:""}.fa-viadeo:before{content:""}.fa-viadeo-square:before{content:""}.fa-snapchat:before{content:""}.fa-snapchat-ghost:before{content:""}.fa-snapchat-square:before{content:""}.fa-pied-piper:before{content:""}.fa-first-order:before{content:""}.fa-yoast:before{content:""}.fa-themeisle:before{content:""}.fa-google-plus-circle:before,.fa-google-plus-official:before{content:""}.fa-fa:before,.fa-font-awesome:before{content:""}.fa-handshake-o:before{content:""}.fa-envelope-open:before{content:""}.fa-envelope-open-o:before{content:""}.fa-linode:before{content:""}.fa-address-book:before{content:""}.fa-address-book-o:before{content:""}.fa-address-card:before,.fa-vcard:before{content:""}.fa-address-card-o:before,.fa-vcard-o:before{content:""}.fa-user-circle:before{content:""}.fa-user-circle-o:before{content:""}.fa-user-o:before{content:""}.fa-id-badge:before{content:""}.fa-drivers-license:before,.fa-id-card:before{content:""}.fa-drivers-license-o:before,.fa-id-card-o:before{content:""}.fa-quora:before{content:""}.fa-free-code-camp:before{content:""}.fa-telegram:before{content:""}.fa-thermometer-4:before,.fa-thermometer-full:before,.fa-thermometer:before{content:""}.fa-thermometer-3:before,.fa-thermometer-three-quarters:before{content:""}.fa-thermometer-2:before,.fa-thermometer-half:before{content:""}.fa-thermometer-1:before,.fa-thermometer-quarter:before{content:""}.fa-thermometer-0:before,.fa-thermometer-empty:before{content:""}.fa-shower:before{content:""}.fa-bath:before,.fa-bathtub:before,.fa-s15:before{content:""}.fa-podcast:before{content:""}.fa-window-maximize:before{content:""}.fa-window-minimize:before{content:""}.fa-window-restore:before{content:""}.fa-times-rectangle:before,.fa-window-close:before{content:""}.fa-times-rectangle-o:before,.fa-window-close-o:before{content:""}.fa-bandcamp:before{content:""}.fa-grav:before{content:""}.fa-etsy:before{content:""}.fa-imdb:before{content:""}.fa-ravelry:before{content:""}.fa-eercast:before{content:""}.fa-microchip:before{content:""}.fa-snowflake-o:before{content:""}.fa-superpowers:before{content:""}.fa-wpexplorer:before{content:""}.fa-meetup:before{content:""}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}.fa,.icon,.rst-content .admonition-title,.rst-content .code-block-caption .headerlink,.rst-content .eqno .headerlink,.rst-content code.download span:first-child,.rst-content dl dt .headerlink,.rst-content h1 .headerlink,.rst-content h2 .headerlink,.rst-content h3 .headerlink,.rst-content h4 .headerlink,.rst-content h5 .headerlink,.rst-content h6 .headerlink,.rst-content p.caption .headerlink,.rst-content p .headerlink,.rst-content table>caption .headerlink,.rst-content tt.download span:first-child,.wy-dropdown .caret,.wy-inline-validate.wy-inline-validate-danger .wy-input-context,.wy-inline-validate.wy-inline-validate-info .wy-input-context,.wy-inline-validate.wy-inline-validate-success .wy-input-context,.wy-inline-validate.wy-inline-validate-warning .wy-input-context,.wy-menu-vertical li.current>a button.toctree-expand,.wy-menu-vertical li.on a button.toctree-expand,.wy-menu-vertical li button.toctree-expand{font-family:inherit}.fa:before,.icon:before,.rst-content .admonition-title:before,.rst-content .code-block-caption .headerlink:before,.rst-content .eqno .headerlink:before,.rst-content code.download span:first-child:before,.rst-content dl dt .headerlink:before,.rst-content h1 .headerlink:before,.rst-content h2 .headerlink:before,.rst-content h3 .headerlink:before,.rst-content h4 .headerlink:before,.rst-content h5 .headerlink:before,.rst-content h6 .headerlink:before,.rst-content p.caption .headerlink:before,.rst-content p .headerlink:before,.rst-content table>caption .headerlink:before,.rst-content tt.download span:first-child:before,.wy-dropdown .caret:before,.wy-inline-validate.wy-inline-validate-danger .wy-input-context:before,.wy-inline-validate.wy-inline-validate-info .wy-input-context:before,.wy-inline-validate.wy-inline-validate-success .wy-input-context:before,.wy-inline-validate.wy-inline-validate-warning .wy-input-context:before,.wy-menu-vertical li.current>a button.toctree-expand:before,.wy-menu-vertical li.on a button.toctree-expand:before,.wy-menu-vertical li button.toctree-expand:before{font-family:FontAwesome;display:inline-block;font-style:normal;font-weight:400;line-height:1;text-decoration:inherit}.rst-content .code-block-caption a .headerlink,.rst-content .eqno a .headerlink,.rst-content a .admonition-title,.rst-content code.download a span:first-child,.rst-content dl dt a .headerlink,.rst-content h1 a .headerlink,.rst-content h2 a .headerlink,.rst-content h3 a .headerlink,.rst-content h4 a .headerlink,.rst-content h5 a .headerlink,.rst-content h6 a .headerlink,.rst-content p.caption a .headerlink,.rst-content p a .headerlink,.rst-content table>caption a .headerlink,.rst-content tt.download a span:first-child,.wy-menu-vertical li.current>a button.toctree-expand,.wy-menu-vertical li.on a button.toctree-expand,.wy-menu-vertical li a button.toctree-expand,a .fa,a .icon,a .rst-content .admonition-title,a .rst-content .code-block-caption .headerlink,a .rst-content .eqno .headerlink,a .rst-content code.download span:first-child,a .rst-content dl dt .headerlink,a .rst-content h1 .headerlink,a .rst-content h2 .headerlink,a .rst-content h3 .headerlink,a .rst-content h4 .headerlink,a .rst-content h5 .headerlink,a .rst-content h6 .headerlink,a .rst-content p.caption .headerlink,a .rst-content p .headerlink,a .rst-content table>caption .headerlink,a .rst-content tt.download span:first-child,a .wy-menu-vertical li button.toctree-expand{display:inline-block;text-decoration:inherit}.btn .fa,.btn .icon,.btn .rst-content .admonition-title,.btn .rst-content .code-block-caption .headerlink,.btn .rst-content .eqno .headerlink,.btn .rst-content code.download span:first-child,.btn .rst-content dl dt .headerlink,.btn .rst-content h1 .headerlink,.btn .rst-content h2 .headerlink,.btn .rst-content h3 .headerlink,.btn .rst-content h4 .headerlink,.btn .rst-content h5 .headerlink,.btn .rst-content h6 .headerlink,.btn .rst-content p .headerlink,.btn .rst-content table>caption .headerlink,.btn .rst-content tt.download span:first-child,.btn .wy-menu-vertical li.current>a button.toctree-expand,.btn .wy-menu-vertical li.on a button.toctree-expand,.btn .wy-menu-vertical li button.toctree-expand,.nav .fa,.nav .icon,.nav .rst-content .admonition-title,.nav .rst-content .code-block-caption .headerlink,.nav .rst-content .eqno .headerlink,.nav .rst-content code.download span:first-child,.nav .rst-content dl dt .headerlink,.nav .rst-content h1 .headerlink,.nav .rst-content h2 .headerlink,.nav .rst-content h3 .headerlink,.nav .rst-content h4 .headerlink,.nav .rst-content h5 .headerlink,.nav .rst-content h6 .headerlink,.nav .rst-content p .headerlink,.nav .rst-content table>caption .headerlink,.nav .rst-content tt.download span:first-child,.nav .wy-menu-vertical li.current>a button.toctree-expand,.nav .wy-menu-vertical li.on a button.toctree-expand,.nav .wy-menu-vertical li button.toctree-expand,.rst-content .btn .admonition-title,.rst-content .code-block-caption .btn .headerlink,.rst-content .code-block-caption .nav .headerlink,.rst-content .eqno .btn .headerlink,.rst-content .eqno .nav .headerlink,.rst-content .nav .admonition-title,.rst-content code.download .btn span:first-child,.rst-content code.download .nav span:first-child,.rst-content dl dt .btn .headerlink,.rst-content dl dt .nav .headerlink,.rst-content h1 .btn .headerlink,.rst-content h1 .nav .headerlink,.rst-content h2 .btn .headerlink,.rst-content h2 .nav .headerlink,.rst-content h3 .btn .headerlink,.rst-content h3 .nav .headerlink,.rst-content h4 .btn .headerlink,.rst-content h4 .nav .headerlink,.rst-content h5 .btn .headerlink,.rst-content h5 .nav .headerlink,.rst-content h6 .btn .headerlink,.rst-content h6 .nav .headerlink,.rst-content p .btn .headerlink,.rst-content p .nav .headerlink,.rst-content table>caption .btn .headerlink,.rst-content table>caption .nav .headerlink,.rst-content tt.download .btn span:first-child,.rst-content tt.download .nav span:first-child,.wy-menu-vertical li .btn button.toctree-expand,.wy-menu-vertical li.current>a .btn button.toctree-expand,.wy-menu-vertical li.current>a .nav button.toctree-expand,.wy-menu-vertical li .nav button.toctree-expand,.wy-menu-vertical li.on a .btn button.toctree-expand,.wy-menu-vertical li.on a .nav button.toctree-expand{display:inline}.btn .fa-large.icon,.btn .fa.fa-large,.btn .rst-content .code-block-caption .fa-large.headerlink,.btn .rst-content .eqno .fa-large.headerlink,.btn .rst-content .fa-large.admonition-title,.btn .rst-content code.download span.fa-large:first-child,.btn .rst-content dl dt .fa-large.headerlink,.btn .rst-content h1 .fa-large.headerlink,.btn .rst-content h2 .fa-large.headerlink,.btn .rst-content h3 .fa-large.headerlink,.btn .rst-content h4 .fa-large.headerlink,.btn .rst-content h5 .fa-large.headerlink,.btn .rst-content h6 .fa-large.headerlink,.btn .rst-content p .fa-large.headerlink,.btn .rst-content table>caption .fa-large.headerlink,.btn .rst-content tt.download span.fa-large:first-child,.btn .wy-menu-vertical li button.fa-large.toctree-expand,.nav .fa-large.icon,.nav .fa.fa-large,.nav .rst-content .code-block-caption .fa-large.headerlink,.nav .rst-content .eqno .fa-large.headerlink,.nav .rst-content .fa-large.admonition-title,.nav .rst-content code.download span.fa-large:first-child,.nav .rst-content dl dt .fa-large.headerlink,.nav .rst-content h1 .fa-large.headerlink,.nav .rst-content h2 .fa-large.headerlink,.nav .rst-content h3 .fa-large.headerlink,.nav .rst-content h4 .fa-large.headerlink,.nav .rst-content h5 .fa-large.headerlink,.nav .rst-content h6 .fa-large.headerlink,.nav .rst-content p .fa-large.headerlink,.nav .rst-content table>caption .fa-large.headerlink,.nav .rst-content tt.download span.fa-large:first-child,.nav .wy-menu-vertical li button.fa-large.toctree-expand,.rst-content .btn .fa-large.admonition-title,.rst-content .code-block-caption .btn .fa-large.headerlink,.rst-content .code-block-caption .nav .fa-large.headerlink,.rst-content .eqno .btn .fa-large.headerlink,.rst-content .eqno .nav .fa-large.headerlink,.rst-content .nav .fa-large.admonition-title,.rst-content code.download .btn span.fa-large:first-child,.rst-content code.download .nav span.fa-large:first-child,.rst-content dl dt .btn .fa-large.headerlink,.rst-content dl dt .nav .fa-large.headerlink,.rst-content h1 .btn .fa-large.headerlink,.rst-content h1 .nav .fa-large.headerlink,.rst-content h2 .btn .fa-large.headerlink,.rst-content h2 .nav .fa-large.headerlink,.rst-content h3 .btn .fa-large.headerlink,.rst-content h3 .nav .fa-large.headerlink,.rst-content h4 .btn .fa-large.headerlink,.rst-content h4 .nav .fa-large.headerlink,.rst-content h5 .btn .fa-large.headerlink,.rst-content h5 .nav .fa-large.headerlink,.rst-content h6 .btn .fa-large.headerlink,.rst-content h6 .nav .fa-large.headerlink,.rst-content p .btn .fa-large.headerlink,.rst-content p .nav .fa-large.headerlink,.rst-content table>caption .btn .fa-large.headerlink,.rst-content table>caption .nav .fa-large.headerlink,.rst-content tt.download .btn span.fa-large:first-child,.rst-content tt.download .nav span.fa-large:first-child,.wy-menu-vertical li .btn button.fa-large.toctree-expand,.wy-menu-vertical li .nav button.fa-large.toctree-expand{line-height:.9em}.btn .fa-spin.icon,.btn .fa.fa-spin,.btn .rst-content .code-block-caption .fa-spin.headerlink,.btn .rst-content .eqno .fa-spin.headerlink,.btn .rst-content .fa-spin.admonition-title,.btn .rst-content code.download span.fa-spin:first-child,.btn .rst-content dl dt .fa-spin.headerlink,.btn .rst-content h1 .fa-spin.headerlink,.btn .rst-content h2 .fa-spin.headerlink,.btn .rst-content h3 .fa-spin.headerlink,.btn .rst-content h4 .fa-spin.headerlink,.btn .rst-content h5 .fa-spin.headerlink,.btn .rst-content h6 .fa-spin.headerlink,.btn .rst-content p .fa-spin.headerlink,.btn .rst-content table>caption .fa-spin.headerlink,.btn .rst-content tt.download span.fa-spin:first-child,.btn .wy-menu-vertical li button.fa-spin.toctree-expand,.nav .fa-spin.icon,.nav .fa.fa-spin,.nav .rst-content .code-block-caption .fa-spin.headerlink,.nav .rst-content .eqno .fa-spin.headerlink,.nav .rst-content .fa-spin.admonition-title,.nav .rst-content code.download span.fa-spin:first-child,.nav .rst-content dl dt .fa-spin.headerlink,.nav .rst-content h1 .fa-spin.headerlink,.nav .rst-content h2 .fa-spin.headerlink,.nav .rst-content h3 .fa-spin.headerlink,.nav .rst-content h4 .fa-spin.headerlink,.nav .rst-content h5 .fa-spin.headerlink,.nav .rst-content h6 .fa-spin.headerlink,.nav .rst-content p .fa-spin.headerlink,.nav .rst-content table>caption .fa-spin.headerlink,.nav .rst-content tt.download span.fa-spin:first-child,.nav .wy-menu-vertical li button.fa-spin.toctree-expand,.rst-content .btn .fa-spin.admonition-title,.rst-content .code-block-caption .btn .fa-spin.headerlink,.rst-content .code-block-caption .nav .fa-spin.headerlink,.rst-content .eqno .btn .fa-spin.headerlink,.rst-content .eqno .nav .fa-spin.headerlink,.rst-content .nav .fa-spin.admonition-title,.rst-content code.download .btn span.fa-spin:first-child,.rst-content code.download .nav span.fa-spin:first-child,.rst-content dl dt .btn .fa-spin.headerlink,.rst-content dl dt .nav .fa-spin.headerlink,.rst-content h1 .btn .fa-spin.headerlink,.rst-content h1 .nav .fa-spin.headerlink,.rst-content h2 .btn .fa-spin.headerlink,.rst-content h2 .nav .fa-spin.headerlink,.rst-content h3 .btn .fa-spin.headerlink,.rst-content h3 .nav .fa-spin.headerlink,.rst-content h4 .btn .fa-spin.headerlink,.rst-content h4 .nav .fa-spin.headerlink,.rst-content h5 .btn .fa-spin.headerlink,.rst-content h5 .nav .fa-spin.headerlink,.rst-content h6 .btn .fa-spin.headerlink,.rst-content h6 .nav .fa-spin.headerlink,.rst-content p .btn .fa-spin.headerlink,.rst-content p .nav .fa-spin.headerlink,.rst-content table>caption .btn .fa-spin.headerlink,.rst-content table>caption .nav .fa-spin.headerlink,.rst-content tt.download .btn span.fa-spin:first-child,.rst-content tt.download .nav span.fa-spin:first-child,.wy-menu-vertical li .btn button.fa-spin.toctree-expand,.wy-menu-vertical li .nav button.fa-spin.toctree-expand{display:inline-block}.btn.fa:before,.btn.icon:before,.rst-content .btn.admonition-title:before,.rst-content .code-block-caption .btn.headerlink:before,.rst-content .eqno .btn.headerlink:before,.rst-content code.download span.btn:first-child:before,.rst-content dl dt .btn.headerlink:before,.rst-content h1 .btn.headerlink:before,.rst-content h2 .btn.headerlink:before,.rst-content h3 .btn.headerlink:before,.rst-content h4 .btn.headerlink:before,.rst-content h5 .btn.headerlink:before,.rst-content h6 .btn.headerlink:before,.rst-content p .btn.headerlink:before,.rst-content table>caption .btn.headerlink:before,.rst-content tt.download span.btn:first-child:before,.wy-menu-vertical li button.btn.toctree-expand:before{opacity:.5;-webkit-transition:opacity .05s ease-in;-moz-transition:opacity .05s ease-in;transition:opacity .05s ease-in}.btn.fa:hover:before,.btn.icon:hover:before,.rst-content .btn.admonition-title:hover:before,.rst-content .code-block-caption .btn.headerlink:hover:before,.rst-content .eqno .btn.headerlink:hover:before,.rst-content code.download span.btn:first-child:hover:before,.rst-content dl dt .btn.headerlink:hover:before,.rst-content h1 .btn.headerlink:hover:before,.rst-content h2 .btn.headerlink:hover:before,.rst-content h3 .btn.headerlink:hover:before,.rst-content h4 .btn.headerlink:hover:before,.rst-content h5 .btn.headerlink:hover:before,.rst-content h6 .btn.headerlink:hover:before,.rst-content p .btn.headerlink:hover:before,.rst-content table>caption .btn.headerlink:hover:before,.rst-content tt.download span.btn:first-child:hover:before,.wy-menu-vertical li button.btn.toctree-expand:hover:before{opacity:1}.btn-mini .fa:before,.btn-mini .icon:before,.btn-mini .rst-content .admonition-title:before,.btn-mini .rst-content .code-block-caption .headerlink:before,.btn-mini .rst-content .eqno .headerlink:before,.btn-mini .rst-content code.download span:first-child:before,.btn-mini .rst-content dl dt .headerlink:before,.btn-mini .rst-content h1 .headerlink:before,.btn-mini .rst-content h2 .headerlink:before,.btn-mini .rst-content h3 .headerlink:before,.btn-mini .rst-content h4 .headerlink:before,.btn-mini .rst-content h5 .headerlink:before,.btn-mini .rst-content h6 .headerlink:before,.btn-mini .rst-content p .headerlink:before,.btn-mini .rst-content table>caption .headerlink:before,.btn-mini .rst-content tt.download span:first-child:before,.btn-mini .wy-menu-vertical li button.toctree-expand:before,.rst-content .btn-mini .admonition-title:before,.rst-content .code-block-caption .btn-mini .headerlink:before,.rst-content .eqno .btn-mini .headerlink:before,.rst-content code.download .btn-mini span:first-child:before,.rst-content dl dt .btn-mini .headerlink:before,.rst-content h1 .btn-mini .headerlink:before,.rst-content h2 .btn-mini .headerlink:before,.rst-content h3 .btn-mini .headerlink:before,.rst-content h4 .btn-mini .headerlink:before,.rst-content h5 .btn-mini .headerlink:before,.rst-content h6 .btn-mini .headerlink:before,.rst-content p .btn-mini .headerlink:before,.rst-content table>caption .btn-mini .headerlink:before,.rst-content tt.download .btn-mini span:first-child:before,.wy-menu-vertical li .btn-mini button.toctree-expand:before{font-size:14px;vertical-align:-15%}.rst-content .admonition,.rst-content .admonition-todo,.rst-content .attention,.rst-content .caution,.rst-content .danger,.rst-content .error,.rst-content .hint,.rst-content .important,.rst-content .note,.rst-content .seealso,.rst-content .tip,.rst-content .warning,.wy-alert{padding:12px;line-height:24px;margin-bottom:24px;background:#e7f2fa}.rst-content .admonition-title,.wy-alert-title{font-weight:700;display:block;color:#fff;background:#6ab0de;padding:6px 12px;margin:-12px -12px 12px}.rst-content .danger,.rst-content .error,.rst-content .wy-alert-danger.admonition,.rst-content .wy-alert-danger.admonition-todo,.rst-content .wy-alert-danger.attention,.rst-content .wy-alert-danger.caution,.rst-content .wy-alert-danger.hint,.rst-content .wy-alert-danger.important,.rst-content .wy-alert-danger.note,.rst-content .wy-alert-danger.seealso,.rst-content .wy-alert-danger.tip,.rst-content .wy-alert-danger.warning,.wy-alert.wy-alert-danger{background:#fdf3f2}.rst-content .danger .admonition-title,.rst-content .danger .wy-alert-title,.rst-content .error .admonition-title,.rst-content .error .wy-alert-title,.rst-content .wy-alert-danger.admonition-todo .admonition-title,.rst-content .wy-alert-danger.admonition-todo .wy-alert-title,.rst-content .wy-alert-danger.admonition .admonition-title,.rst-content .wy-alert-danger.admonition .wy-alert-title,.rst-content .wy-alert-danger.attention .admonition-title,.rst-content .wy-alert-danger.attention .wy-alert-title,.rst-content .wy-alert-danger.caution .admonition-title,.rst-content .wy-alert-danger.caution .wy-alert-title,.rst-content .wy-alert-danger.hint .admonition-title,.rst-content .wy-alert-danger.hint .wy-alert-title,.rst-content .wy-alert-danger.important .admonition-title,.rst-content .wy-alert-danger.important .wy-alert-title,.rst-content .wy-alert-danger.note .admonition-title,.rst-content .wy-alert-danger.note .wy-alert-title,.rst-content .wy-alert-danger.seealso .admonition-title,.rst-content .wy-alert-danger.seealso .wy-alert-title,.rst-content .wy-alert-danger.tip .admonition-title,.rst-content .wy-alert-danger.tip .wy-alert-title,.rst-content .wy-alert-danger.warning .admonition-title,.rst-content .wy-alert-danger.warning .wy-alert-title,.rst-content .wy-alert.wy-alert-danger .admonition-title,.wy-alert.wy-alert-danger .rst-content .admonition-title,.wy-alert.wy-alert-danger .wy-alert-title{background:#f29f97}.rst-content .admonition-todo,.rst-content .attention,.rst-content .caution,.rst-content .warning,.rst-content .wy-alert-warning.admonition,.rst-content .wy-alert-warning.danger,.rst-content .wy-alert-warning.error,.rst-content .wy-alert-warning.hint,.rst-content .wy-alert-warning.important,.rst-content .wy-alert-warning.note,.rst-content .wy-alert-warning.seealso,.rst-content .wy-alert-warning.tip,.wy-alert.wy-alert-warning{background:#ffedcc}.rst-content .admonition-todo .admonition-title,.rst-content .admonition-todo .wy-alert-title,.rst-content .attention .admonition-title,.rst-content .attention .wy-alert-title,.rst-content .caution .admonition-title,.rst-content .caution .wy-alert-title,.rst-content .warning .admonition-title,.rst-content .warning .wy-alert-title,.rst-content .wy-alert-warning.admonition .admonition-title,.rst-content .wy-alert-warning.admonition .wy-alert-title,.rst-content .wy-alert-warning.danger .admonition-title,.rst-content .wy-alert-warning.danger .wy-alert-title,.rst-content .wy-alert-warning.error .admonition-title,.rst-content .wy-alert-warning.error .wy-alert-title,.rst-content .wy-alert-warning.hint .admonition-title,.rst-content .wy-alert-warning.hint .wy-alert-title,.rst-content .wy-alert-warning.important .admonition-title,.rst-content .wy-alert-warning.important .wy-alert-title,.rst-content .wy-alert-warning.note .admonition-title,.rst-content .wy-alert-warning.note .wy-alert-title,.rst-content .wy-alert-warning.seealso .admonition-title,.rst-content .wy-alert-warning.seealso .wy-alert-title,.rst-content .wy-alert-warning.tip .admonition-title,.rst-content .wy-alert-warning.tip .wy-alert-title,.rst-content .wy-alert.wy-alert-warning .admonition-title,.wy-alert.wy-alert-warning .rst-content .admonition-title,.wy-alert.wy-alert-warning .wy-alert-title{background:#f0b37e}.rst-content .note,.rst-content .seealso,.rst-content .wy-alert-info.admonition,.rst-content .wy-alert-info.admonition-todo,.rst-content .wy-alert-info.attention,.rst-content .wy-alert-info.caution,.rst-content .wy-alert-info.danger,.rst-content .wy-alert-info.error,.rst-content .wy-alert-info.hint,.rst-content .wy-alert-info.important,.rst-content .wy-alert-info.tip,.rst-content .wy-alert-info.warning,.wy-alert.wy-alert-info{background:#e7f2fa}.rst-content .note .admonition-title,.rst-content .note .wy-alert-title,.rst-content .seealso .admonition-title,.rst-content .seealso .wy-alert-title,.rst-content .wy-alert-info.admonition-todo .admonition-title,.rst-content .wy-alert-info.admonition-todo .wy-alert-title,.rst-content .wy-alert-info.admonition .admonition-title,.rst-content .wy-alert-info.admonition .wy-alert-title,.rst-content .wy-alert-info.attention .admonition-title,.rst-content .wy-alert-info.attention .wy-alert-title,.rst-content .wy-alert-info.caution .admonition-title,.rst-content .wy-alert-info.caution .wy-alert-title,.rst-content .wy-alert-info.danger .admonition-title,.rst-content .wy-alert-info.danger .wy-alert-title,.rst-content .wy-alert-info.error .admonition-title,.rst-content .wy-alert-info.error .wy-alert-title,.rst-content .wy-alert-info.hint .admonition-title,.rst-content .wy-alert-info.hint .wy-alert-title,.rst-content .wy-alert-info.important .admonition-title,.rst-content .wy-alert-info.important .wy-alert-title,.rst-content .wy-alert-info.tip .admonition-title,.rst-content .wy-alert-info.tip .wy-alert-title,.rst-content .wy-alert-info.warning .admonition-title,.rst-content .wy-alert-info.warning .wy-alert-title,.rst-content .wy-alert.wy-alert-info .admonition-title,.wy-alert.wy-alert-info .rst-content .admonition-title,.wy-alert.wy-alert-info .wy-alert-title{background:#6ab0de}.rst-content .hint,.rst-content .important,.rst-content .tip,.rst-content .wy-alert-success.admonition,.rst-content .wy-alert-success.admonition-todo,.rst-content .wy-alert-success.attention,.rst-content .wy-alert-success.caution,.rst-content .wy-alert-success.danger,.rst-content .wy-alert-success.error,.rst-content .wy-alert-success.note,.rst-content .wy-alert-success.seealso,.rst-content .wy-alert-success.warning,.wy-alert.wy-alert-success{background:#dbfaf4}.rst-content .hint .admonition-title,.rst-content .hint .wy-alert-title,.rst-content .important .admonition-title,.rst-content .important .wy-alert-title,.rst-content .tip .admonition-title,.rst-content .tip .wy-alert-title,.rst-content .wy-alert-success.admonition-todo .admonition-title,.rst-content .wy-alert-success.admonition-todo .wy-alert-title,.rst-content .wy-alert-success.admonition .admonition-title,.rst-content .wy-alert-success.admonition .wy-alert-title,.rst-content .wy-alert-success.attention .admonition-title,.rst-content .wy-alert-success.attention .wy-alert-title,.rst-content .wy-alert-success.caution .admonition-title,.rst-content .wy-alert-success.caution .wy-alert-title,.rst-content .wy-alert-success.danger .admonition-title,.rst-content .wy-alert-success.danger .wy-alert-title,.rst-content .wy-alert-success.error .admonition-title,.rst-content .wy-alert-success.error .wy-alert-title,.rst-content .wy-alert-success.note .admonition-title,.rst-content .wy-alert-success.note .wy-alert-title,.rst-content .wy-alert-success.seealso .admonition-title,.rst-content .wy-alert-success.seealso .wy-alert-title,.rst-content .wy-alert-success.warning .admonition-title,.rst-content .wy-alert-success.warning .wy-alert-title,.rst-content .wy-alert.wy-alert-success .admonition-title,.wy-alert.wy-alert-success .rst-content .admonition-title,.wy-alert.wy-alert-success .wy-alert-title{background:#1abc9c}.rst-content .wy-alert-neutral.admonition,.rst-content .wy-alert-neutral.admonition-todo,.rst-content .wy-alert-neutral.attention,.rst-content .wy-alert-neutral.caution,.rst-content .wy-alert-neutral.danger,.rst-content .wy-alert-neutral.error,.rst-content .wy-alert-neutral.hint,.rst-content .wy-alert-neutral.important,.rst-content .wy-alert-neutral.note,.rst-content .wy-alert-neutral.seealso,.rst-content .wy-alert-neutral.tip,.rst-content .wy-alert-neutral.warning,.wy-alert.wy-alert-neutral{background:#f3f6f6}.rst-content .wy-alert-neutral.admonition-todo .admonition-title,.rst-content .wy-alert-neutral.admonition-todo .wy-alert-title,.rst-content .wy-alert-neutral.admonition .admonition-title,.rst-content .wy-alert-neutral.admonition .wy-alert-title,.rst-content .wy-alert-neutral.attention .admonition-title,.rst-content .wy-alert-neutral.attention .wy-alert-title,.rst-content .wy-alert-neutral.caution .admonition-title,.rst-content .wy-alert-neutral.caution .wy-alert-title,.rst-content .wy-alert-neutral.danger .admonition-title,.rst-content .wy-alert-neutral.danger .wy-alert-title,.rst-content .wy-alert-neutral.error .admonition-title,.rst-content .wy-alert-neutral.error .wy-alert-title,.rst-content .wy-alert-neutral.hint .admonition-title,.rst-content .wy-alert-neutral.hint .wy-alert-title,.rst-content .wy-alert-neutral.important .admonition-title,.rst-content .wy-alert-neutral.important .wy-alert-title,.rst-content .wy-alert-neutral.note .admonition-title,.rst-content .wy-alert-neutral.note .wy-alert-title,.rst-content .wy-alert-neutral.seealso .admonition-title,.rst-content .wy-alert-neutral.seealso .wy-alert-title,.rst-content .wy-alert-neutral.tip .admonition-title,.rst-content .wy-alert-neutral.tip .wy-alert-title,.rst-content .wy-alert-neutral.warning .admonition-title,.rst-content .wy-alert-neutral.warning .wy-alert-title,.rst-content .wy-alert.wy-alert-neutral .admonition-title,.wy-alert.wy-alert-neutral .rst-content .admonition-title,.wy-alert.wy-alert-neutral .wy-alert-title{color:#404040;background:#e1e4e5}.rst-content .wy-alert-neutral.admonition-todo a,.rst-content .wy-alert-neutral.admonition a,.rst-content .wy-alert-neutral.attention a,.rst-content .wy-alert-neutral.caution a,.rst-content .wy-alert-neutral.danger a,.rst-content .wy-alert-neutral.error a,.rst-content .wy-alert-neutral.hint a,.rst-content .wy-alert-neutral.important a,.rst-content .wy-alert-neutral.note a,.rst-content .wy-alert-neutral.seealso a,.rst-content .wy-alert-neutral.tip a,.rst-content .wy-alert-neutral.warning a,.wy-alert.wy-alert-neutral a{color:#2980b9}.rst-content .admonition-todo p:last-child,.rst-content .admonition p:last-child,.rst-content .attention p:last-child,.rst-content .caution p:last-child,.rst-content .danger p:last-child,.rst-content .error p:last-child,.rst-content .hint p:last-child,.rst-content .important p:last-child,.rst-content .note p:last-child,.rst-content .seealso p:last-child,.rst-content .tip p:last-child,.rst-content .warning p:last-child,.wy-alert p:last-child{margin-bottom:0}.wy-tray-container{position:fixed;bottom:0;left:0;z-index:600}.wy-tray-container li{display:block;width:300px;background:transparent;color:#fff;text-align:center;box-shadow:0 5px 5px 0 rgba(0,0,0,.1);padding:0 24px;min-width:20%;opacity:0;height:0;line-height:56px;overflow:hidden;-webkit-transition:all .3s ease-in;-moz-transition:all .3s ease-in;transition:all .3s ease-in}.wy-tray-container li.wy-tray-item-success{background:#27ae60}.wy-tray-container li.wy-tray-item-info{background:#2980b9}.wy-tray-container li.wy-tray-item-warning{background:#e67e22}.wy-tray-container li.wy-tray-item-danger{background:#e74c3c}.wy-tray-container li.on{opacity:1;height:56px}@media screen and (max-width:768px){.wy-tray-container{bottom:auto;top:0;width:100%}.wy-tray-container li{width:100%}}button{font-size:100%;margin:0;vertical-align:baseline;*vertical-align:middle;cursor:pointer;line-height:normal;-webkit-appearance:button;*overflow:visible}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}button[disabled]{cursor:default}.btn{display:inline-block;border-radius:2px;line-height:normal;white-space:nowrap;text-align:center;cursor:pointer;font-size:100%;padding:6px 12px 8px;color:#fff;border:1px solid rgba(0,0,0,.1);background-color:#27ae60;text-decoration:none;font-weight:400;font-family:Lato,proxima-nova,Helvetica Neue,Arial,sans-serif;box-shadow:inset 0 1px 2px -1px hsla(0,0%,100%,.5),inset 0 -2px 0 0 rgba(0,0,0,.1);outline-none:false;vertical-align:middle;*display:inline;zoom:1;-webkit-user-drag:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-transition:all .1s linear;-moz-transition:all .1s linear;transition:all .1s linear}.btn-hover{background:#2e8ece;color:#fff}.btn:hover{background:#2cc36b;color:#fff}.btn:focus{background:#2cc36b;outline:0}.btn:active{box-shadow:inset 0 -1px 0 0 rgba(0,0,0,.05),inset 0 2px 0 0 rgba(0,0,0,.1);padding:8px 12px 6px}.btn:visited{color:#fff}.btn-disabled,.btn-disabled:active,.btn-disabled:focus,.btn-disabled:hover,.btn:disabled{background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);filter:alpha(opacity=40);opacity:.4;cursor:not-allowed;box-shadow:none}.btn::-moz-focus-inner{padding:0;border:0}.btn-small{font-size:80%}.btn-info{background-color:#2980b9!important}.btn-info:hover{background-color:#2e8ece!important}.btn-neutral{background-color:#f3f6f6!important;color:#404040!important}.btn-neutral:hover{background-color:#e5ebeb!important;color:#404040}.btn-neutral:visited{color:#404040!important}.btn-success{background-color:#27ae60!important}.btn-success:hover{background-color:#295!important}.btn-danger{background-color:#e74c3c!important}.btn-danger:hover{background-color:#ea6153!important}.btn-warning{background-color:#e67e22!important}.btn-warning:hover{background-color:#e98b39!important}.btn-invert{background-color:#222}.btn-invert:hover{background-color:#2f2f2f!important}.btn-link{background-color:transparent!important;color:#2980b9;box-shadow:none;border-color:transparent!important}.btn-link:active,.btn-link:hover{background-color:transparent!important;color:#409ad5!important;box-shadow:none}.btn-link:visited{color:#9b59b6}.wy-btn-group .btn,.wy-control .btn{vertical-align:middle}.wy-btn-group{margin-bottom:24px;*zoom:1}.wy-btn-group:after,.wy-btn-group:before{display:table;content:""}.wy-btn-group:after{clear:both}.wy-dropdown{position:relative;display:inline-block}.wy-dropdown-active .wy-dropdown-menu{display:block}.wy-dropdown-menu{position:absolute;left:0;display:none;float:left;top:100%;min-width:100%;background:#fcfcfc;z-index:100;border:1px solid #cfd7dd;box-shadow:0 2px 2px 0 rgba(0,0,0,.1);padding:12px}.wy-dropdown-menu>dd>a{display:block;clear:both;color:#404040;white-space:nowrap;font-size:90%;padding:0 12px;cursor:pointer}.wy-dropdown-menu>dd>a:hover{background:#2980b9;color:#fff}.wy-dropdown-menu>dd.divider{border-top:1px solid #cfd7dd;margin:6px 0}.wy-dropdown-menu>dd.search{padding-bottom:12px}.wy-dropdown-menu>dd.search input[type=search]{width:100%}.wy-dropdown-menu>dd.call-to-action{background:#e3e3e3;text-transform:uppercase;font-weight:500;font-size:80%}.wy-dropdown-menu>dd.call-to-action:hover{background:#e3e3e3}.wy-dropdown-menu>dd.call-to-action .btn{color:#fff}.wy-dropdown.wy-dropdown-up .wy-dropdown-menu{bottom:100%;top:auto;left:auto;right:0}.wy-dropdown.wy-dropdown-bubble .wy-dropdown-menu{background:#fcfcfc;margin-top:2px}.wy-dropdown.wy-dropdown-bubble .wy-dropdown-menu a{padding:6px 12px}.wy-dropdown.wy-dropdown-bubble .wy-dropdown-menu a:hover{background:#2980b9;color:#fff}.wy-dropdown.wy-dropdown-left .wy-dropdown-menu{right:0;left:auto;text-align:right}.wy-dropdown-arrow:before{content:" ";border-bottom:5px solid #f5f5f5;border-left:5px solid transparent;border-right:5px solid transparent;position:absolute;display:block;top:-4px;left:50%;margin-left:-3px}.wy-dropdown-arrow.wy-dropdown-arrow-left:before{left:11px}.wy-form-stacked select{display:block}.wy-form-aligned .wy-help-inline,.wy-form-aligned input,.wy-form-aligned label,.wy-form-aligned select,.wy-form-aligned textarea{display:inline-block;*display:inline;*zoom:1;vertical-align:middle}.wy-form-aligned .wy-control-group>label{display:inline-block;vertical-align:middle;width:10em;margin:6px 12px 0 0;float:left}.wy-form-aligned .wy-control{float:left}.wy-form-aligned .wy-control label{display:block}.wy-form-aligned .wy-control select{margin-top:6px}fieldset{margin:0}fieldset,legend{border:0;padding:0}legend{width:100%;white-space:normal;margin-bottom:24px;font-size:150%;*margin-left:-7px}label,legend{display:block}label{margin:0 0 .3125em;color:#333;font-size:90%}input,select,textarea{font-size:100%;margin:0;vertical-align:baseline;*vertical-align:middle}.wy-control-group{margin-bottom:24px;max-width:1200px;margin-left:auto;margin-right:auto;*zoom:1}.wy-control-group:after,.wy-control-group:before{display:table;content:""}.wy-control-group:after{clear:both}.wy-control-group.wy-control-group-required>label:after{content:" *";color:#e74c3c}.wy-control-group .wy-form-full,.wy-control-group .wy-form-halves,.wy-control-group .wy-form-thirds{padding-bottom:12px}.wy-control-group .wy-form-full input[type=color],.wy-control-group .wy-form-full input[type=date],.wy-control-group .wy-form-full input[type=datetime-local],.wy-control-group .wy-form-full input[type=datetime],.wy-control-group .wy-form-full input[type=email],.wy-control-group .wy-form-full input[type=month],.wy-control-group .wy-form-full input[type=number],.wy-control-group .wy-form-full input[type=password],.wy-control-group .wy-form-full input[type=search],.wy-control-group .wy-form-full input[type=tel],.wy-control-group .wy-form-full input[type=text],.wy-control-group .wy-form-full input[type=time],.wy-control-group .wy-form-full input[type=url],.wy-control-group .wy-form-full input[type=week],.wy-control-group .wy-form-full select,.wy-control-group .wy-form-halves input[type=color],.wy-control-group .wy-form-halves input[type=date],.wy-control-group .wy-form-halves input[type=datetime-local],.wy-control-group .wy-form-halves input[type=datetime],.wy-control-group .wy-form-halves input[type=email],.wy-control-group .wy-form-halves input[type=month],.wy-control-group .wy-form-halves input[type=number],.wy-control-group .wy-form-halves input[type=password],.wy-control-group .wy-form-halves input[type=search],.wy-control-group .wy-form-halves input[type=tel],.wy-control-group .wy-form-halves input[type=text],.wy-control-group .wy-form-halves input[type=time],.wy-control-group .wy-form-halves input[type=url],.wy-control-group .wy-form-halves input[type=week],.wy-control-group .wy-form-halves select,.wy-control-group .wy-form-thirds input[type=color],.wy-control-group .wy-form-thirds input[type=date],.wy-control-group .wy-form-thirds input[type=datetime-local],.wy-control-group .wy-form-thirds input[type=datetime],.wy-control-group .wy-form-thirds input[type=email],.wy-control-group .wy-form-thirds input[type=month],.wy-control-group .wy-form-thirds input[type=number],.wy-control-group .wy-form-thirds input[type=password],.wy-control-group .wy-form-thirds input[type=search],.wy-control-group .wy-form-thirds input[type=tel],.wy-control-group .wy-form-thirds input[type=text],.wy-control-group .wy-form-thirds input[type=time],.wy-control-group .wy-form-thirds input[type=url],.wy-control-group .wy-form-thirds input[type=week],.wy-control-group .wy-form-thirds select{width:100%}.wy-control-group .wy-form-full{float:left;display:block;width:100%;margin-right:0}.wy-control-group .wy-form-full:last-child{margin-right:0}.wy-control-group .wy-form-halves{float:left;display:block;margin-right:2.35765%;width:48.82117%}.wy-control-group .wy-form-halves:last-child,.wy-control-group .wy-form-halves:nth-of-type(2n){margin-right:0}.wy-control-group .wy-form-halves:nth-of-type(odd){clear:left}.wy-control-group .wy-form-thirds{float:left;display:block;margin-right:2.35765%;width:31.76157%}.wy-control-group .wy-form-thirds:last-child,.wy-control-group .wy-form-thirds:nth-of-type(3n){margin-right:0}.wy-control-group .wy-form-thirds:nth-of-type(3n+1){clear:left}.wy-control-group.wy-control-group-no-input .wy-control,.wy-control-no-input{margin:6px 0 0;font-size:90%}.wy-control-no-input{display:inline-block}.wy-control-group.fluid-input input[type=color],.wy-control-group.fluid-input input[type=date],.wy-control-group.fluid-input input[type=datetime-local],.wy-control-group.fluid-input input[type=datetime],.wy-control-group.fluid-input input[type=email],.wy-control-group.fluid-input input[type=month],.wy-control-group.fluid-input input[type=number],.wy-control-group.fluid-input input[type=password],.wy-control-group.fluid-input input[type=search],.wy-control-group.fluid-input input[type=tel],.wy-control-group.fluid-input input[type=text],.wy-control-group.fluid-input input[type=time],.wy-control-group.fluid-input input[type=url],.wy-control-group.fluid-input input[type=week]{width:100%}.wy-form-message-inline{padding-left:.3em;color:#666;font-size:90%}.wy-form-message{display:block;color:#999;font-size:70%;margin-top:.3125em;font-style:italic}.wy-form-message p{font-size:inherit;font-style:italic;margin-bottom:6px}.wy-form-message p:last-child{margin-bottom:0}input{line-height:normal}input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer;font-family:Lato,proxima-nova,Helvetica Neue,Arial,sans-serif;*overflow:visible}input[type=color],input[type=date],input[type=datetime-local],input[type=datetime],input[type=email],input[type=month],input[type=number],input[type=password],input[type=search],input[type=tel],input[type=text],input[type=time],input[type=url],input[type=week]{-webkit-appearance:none;padding:6px;display:inline-block;border:1px solid #ccc;font-size:80%;font-family:Lato,proxima-nova,Helvetica Neue,Arial,sans-serif;box-shadow:inset 0 1px 3px #ddd;border-radius:0;-webkit-transition:border .3s linear;-moz-transition:border .3s linear;transition:border .3s linear}input[type=datetime-local]{padding:.34375em .625em}input[disabled]{cursor:default}input[type=checkbox],input[type=radio]{padding:0;margin-right:.3125em;*height:13px;*width:13px}input[type=checkbox],input[type=radio],input[type=search]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}input[type=color]:focus,input[type=date]:focus,input[type=datetime-local]:focus,input[type=datetime]:focus,input[type=email]:focus,input[type=month]:focus,input[type=number]:focus,input[type=password]:focus,input[type=search]:focus,input[type=tel]:focus,input[type=text]:focus,input[type=time]:focus,input[type=url]:focus,input[type=week]:focus{outline:0;outline:thin dotted\9;border-color:#333}input.no-focus:focus{border-color:#ccc!important}input[type=checkbox]:focus,input[type=file]:focus,input[type=radio]:focus{outline:thin dotted #333;outline:1px auto #129fea}input[type=color][disabled],input[type=date][disabled],input[type=datetime-local][disabled],input[type=datetime][disabled],input[type=email][disabled],input[type=month][disabled],input[type=number][disabled],input[type=password][disabled],input[type=search][disabled],input[type=tel][disabled],input[type=text][disabled],input[type=time][disabled],input[type=url][disabled],input[type=week][disabled]{cursor:not-allowed;background-color:#fafafa}input:focus:invalid,select:focus:invalid,textarea:focus:invalid{color:#e74c3c;border:1px solid #e74c3c}input:focus:invalid:focus,select:focus:invalid:focus,textarea:focus:invalid:focus{border-color:#e74c3c}input[type=checkbox]:focus:invalid:focus,input[type=file]:focus:invalid:focus,input[type=radio]:focus:invalid:focus{outline-color:#e74c3c}input.wy-input-large{padding:12px;font-size:100%}textarea{overflow:auto;vertical-align:top;width:100%;font-family:Lato,proxima-nova,Helvetica Neue,Arial,sans-serif}select,textarea{padding:.5em .625em;display:inline-block;border:1px solid #ccc;font-size:80%;box-shadow:inset 0 1px 3px #ddd;-webkit-transition:border .3s linear;-moz-transition:border .3s linear;transition:border .3s linear}select{border:1px solid #ccc;background-color:#fff}select[multiple]{height:auto}select:focus,textarea:focus{outline:0}input[readonly],select[disabled],select[readonly],textarea[disabled],textarea[readonly]{cursor:not-allowed;background-color:#fafafa}input[type=checkbox][disabled],input[type=radio][disabled]{cursor:not-allowed}.wy-checkbox,.wy-radio{margin:6px 0;color:#404040;display:block}.wy-checkbox input,.wy-radio input{vertical-align:baseline}.wy-form-message-inline{display:inline-block;*display:inline;*zoom:1;vertical-align:middle}.wy-input-prefix,.wy-input-suffix{white-space:nowrap;padding:6px}.wy-input-prefix .wy-input-context,.wy-input-suffix .wy-input-context{line-height:27px;padding:0 8px;display:inline-block;font-size:80%;background-color:#f3f6f6;border:1px solid #ccc;color:#999}.wy-input-suffix .wy-input-context{border-left:0}.wy-input-prefix .wy-input-context{border-right:0}.wy-switch{position:relative;display:block;height:24px;margin-top:12px;cursor:pointer}.wy-switch:before{left:0;top:0;width:36px;height:12px;background:#ccc}.wy-switch:after,.wy-switch:before{position:absolute;content:"";display:block;border-radius:4px;-webkit-transition:all .2s ease-in-out;-moz-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.wy-switch:after{width:18px;height:18px;background:#999;left:-3px;top:-3px}.wy-switch span{position:absolute;left:48px;display:block;font-size:12px;color:#ccc;line-height:1}.wy-switch.active:before{background:#1e8449}.wy-switch.active:after{left:24px;background:#27ae60}.wy-switch.disabled{cursor:not-allowed;opacity:.8}.wy-control-group.wy-control-group-error .wy-form-message,.wy-control-group.wy-control-group-error>label{color:#e74c3c}.wy-control-group.wy-control-group-error input[type=color],.wy-control-group.wy-control-group-error input[type=date],.wy-control-group.wy-control-group-error input[type=datetime-local],.wy-control-group.wy-control-group-error input[type=datetime],.wy-control-group.wy-control-group-error input[type=email],.wy-control-group.wy-control-group-error input[type=month],.wy-control-group.wy-control-group-error input[type=number],.wy-control-group.wy-control-group-error input[type=password],.wy-control-group.wy-control-group-error input[type=search],.wy-control-group.wy-control-group-error input[type=tel],.wy-control-group.wy-control-group-error input[type=text],.wy-control-group.wy-control-group-error input[type=time],.wy-control-group.wy-control-group-error input[type=url],.wy-control-group.wy-control-group-error input[type=week],.wy-control-group.wy-control-group-error textarea{border:1px solid #e74c3c}.wy-inline-validate{white-space:nowrap}.wy-inline-validate .wy-input-context{padding:.5em .625em;display:inline-block;font-size:80%}.wy-inline-validate.wy-inline-validate-success .wy-input-context{color:#27ae60}.wy-inline-validate.wy-inline-validate-danger .wy-input-context{color:#e74c3c}.wy-inline-validate.wy-inline-validate-warning .wy-input-context{color:#e67e22}.wy-inline-validate.wy-inline-validate-info .wy-input-context{color:#2980b9}.rotate-90{-webkit-transform:rotate(90deg);-moz-transform:rotate(90deg);-ms-transform:rotate(90deg);-o-transform:rotate(90deg);transform:rotate(90deg)}.rotate-180{-webkit-transform:rotate(180deg);-moz-transform:rotate(180deg);-ms-transform:rotate(180deg);-o-transform:rotate(180deg);transform:rotate(180deg)}.rotate-270{-webkit-transform:rotate(270deg);-moz-transform:rotate(270deg);-ms-transform:rotate(270deg);-o-transform:rotate(270deg);transform:rotate(270deg)}.mirror{-webkit-transform:scaleX(-1);-moz-transform:scaleX(-1);-ms-transform:scaleX(-1);-o-transform:scaleX(-1);transform:scaleX(-1)}.mirror.rotate-90{-webkit-transform:scaleX(-1) rotate(90deg);-moz-transform:scaleX(-1) rotate(90deg);-ms-transform:scaleX(-1) rotate(90deg);-o-transform:scaleX(-1) rotate(90deg);transform:scaleX(-1) rotate(90deg)}.mirror.rotate-180{-webkit-transform:scaleX(-1) rotate(180deg);-moz-transform:scaleX(-1) rotate(180deg);-ms-transform:scaleX(-1) rotate(180deg);-o-transform:scaleX(-1) rotate(180deg);transform:scaleX(-1) rotate(180deg)}.mirror.rotate-270{-webkit-transform:scaleX(-1) rotate(270deg);-moz-transform:scaleX(-1) rotate(270deg);-ms-transform:scaleX(-1) rotate(270deg);-o-transform:scaleX(-1) rotate(270deg);transform:scaleX(-1) rotate(270deg)}@media only screen and (max-width:480px){.wy-form button[type=submit]{margin:.7em 0 0}.wy-form input[type=color],.wy-form input[type=date],.wy-form input[type=datetime-local],.wy-form input[type=datetime],.wy-form input[type=email],.wy-form input[type=month],.wy-form input[type=number],.wy-form input[type=password],.wy-form input[type=search],.wy-form input[type=tel],.wy-form input[type=text],.wy-form input[type=time],.wy-form input[type=url],.wy-form input[type=week],.wy-form label{margin-bottom:.3em;display:block}.wy-form input[type=color],.wy-form input[type=date],.wy-form input[type=datetime-local],.wy-form input[type=datetime],.wy-form input[type=email],.wy-form input[type=month],.wy-form input[type=number],.wy-form input[type=password],.wy-form input[type=search],.wy-form input[type=tel],.wy-form input[type=time],.wy-form input[type=url],.wy-form input[type=week]{margin-bottom:0}.wy-form-aligned .wy-control-group label{margin-bottom:.3em;text-align:left;display:block;width:100%}.wy-form-aligned .wy-control{margin:1.5em 0 0}.wy-form-message,.wy-form-message-inline,.wy-form .wy-help-inline{display:block;font-size:80%;padding:6px 0}}@media screen and (max-width:768px){.tablet-hide{display:none}}@media screen and (max-width:480px){.mobile-hide{display:none}}.float-left{float:left}.float-right{float:right}.full-width{width:100%}.rst-content table.docutils,.rst-content table.field-list,.wy-table{border-collapse:collapse;border-spacing:0;empty-cells:show;margin-bottom:24px}.rst-content table.docutils caption,.rst-content table.field-list caption,.wy-table caption{color:#000;font:italic 85%/1 arial,sans-serif;padding:1em 0;text-align:center}.rst-content table.docutils td,.rst-content table.docutils th,.rst-content table.field-list td,.rst-content table.field-list th,.wy-table td,.wy-table th{font-size:90%;margin:0;overflow:visible;padding:8px 16px}.rst-content table.docutils td:first-child,.rst-content table.docutils th:first-child,.rst-content table.field-list td:first-child,.rst-content table.field-list th:first-child,.wy-table td:first-child,.wy-table th:first-child{border-left-width:0}.rst-content table.docutils thead,.rst-content table.field-list thead,.wy-table thead{color:#000;text-align:left;vertical-align:bottom;white-space:nowrap}.rst-content table.docutils thead th,.rst-content table.field-list thead th,.wy-table thead th{font-weight:700;border-bottom:2px solid #e1e4e5}.rst-content table.docutils td,.rst-content table.field-list td,.wy-table td{background-color:transparent;vertical-align:middle}.rst-content table.docutils td p,.rst-content table.field-list td p,.wy-table td p{line-height:18px}.rst-content table.docutils td p:last-child,.rst-content table.field-list td p:last-child,.wy-table td p:last-child{margin-bottom:0}.rst-content table.docutils .wy-table-cell-min,.rst-content table.field-list .wy-table-cell-min,.wy-table .wy-table-cell-min{width:1%;padding-right:0}.rst-content table.docutils .wy-table-cell-min input[type=checkbox],.rst-content table.field-list .wy-table-cell-min input[type=checkbox],.wy-table .wy-table-cell-min input[type=checkbox]{margin:0}.wy-table-secondary{color:grey;font-size:90%}.wy-table-tertiary{color:grey;font-size:80%}.rst-content table.docutils:not(.field-list) tr:nth-child(2n-1) td,.wy-table-backed,.wy-table-odd td,.wy-table-striped tr:nth-child(2n-1) td{background-color:#f3f6f6}.rst-content table.docutils,.wy-table-bordered-all{border:1px solid #e1e4e5}.rst-content table.docutils td,.wy-table-bordered-all td{border-bottom:1px solid #e1e4e5;border-left:1px solid #e1e4e5}.rst-content table.docutils tbody>tr:last-child td,.wy-table-bordered-all tbody>tr:last-child td{border-bottom-width:0}.wy-table-bordered{border:1px solid #e1e4e5}.wy-table-bordered-rows td{border-bottom:1px solid #e1e4e5}.wy-table-bordered-rows tbody>tr:last-child td{border-bottom-width:0}.wy-table-horizontal td,.wy-table-horizontal th{border-width:0 0 1px;border-bottom:1px solid #e1e4e5}.wy-table-horizontal tbody>tr:last-child td{border-bottom-width:0}.wy-table-responsive{margin-bottom:24px;max-width:100%;overflow:auto}.wy-table-responsive table{margin-bottom:0!important}.wy-table-responsive table td,.wy-table-responsive table th{white-space:nowrap}a{color:#2980b9;text-decoration:none;cursor:pointer}a:hover{color:#3091d1}a:visited{color:#9b59b6}html{height:100%}body,html{overflow-x:hidden}body{font-family:Lato,proxima-nova,Helvetica Neue,Arial,sans-serif;font-weight:400;color:#404040;min-height:100%;background:#edf0f2}.wy-text-left{text-align:left}.wy-text-center{text-align:center}.wy-text-right{text-align:right}.wy-text-large{font-size:120%}.wy-text-normal{font-size:100%}.wy-text-small,small{font-size:80%}.wy-text-strike{text-decoration:line-through}.wy-text-warning{color:#e67e22!important}a.wy-text-warning:hover{color:#eb9950!important}.wy-text-info{color:#2980b9!important}a.wy-text-info:hover{color:#409ad5!important}.wy-text-success{color:#27ae60!important}a.wy-text-success:hover{color:#36d278!important}.wy-text-danger{color:#e74c3c!important}a.wy-text-danger:hover{color:#ed7669!important}.wy-text-neutral{color:#404040!important}a.wy-text-neutral:hover{color:#595959!important}.rst-content .toctree-wrapper>p.caption,h1,h2,h3,h4,h5,h6,legend{margin-top:0;font-weight:700;font-family:Roboto Slab,ff-tisa-web-pro,Georgia,Arial,sans-serif}p{line-height:24px;font-size:16px;margin:0 0 24px}h1{font-size:175%}.rst-content .toctree-wrapper>p.caption,h2{font-size:150%}h3{font-size:125%}h4{font-size:115%}h5{font-size:110%}h6{font-size:100%}hr{display:block;height:1px;border:0;border-top:1px solid #e1e4e5;margin:24px 0;padding:0}.rst-content code,.rst-content tt,code{white-space:nowrap;max-width:100%;background:#fff;border:1px solid #e1e4e5;font-size:75%;padding:0 5px;font-family:SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,Courier,monospace;color:#e74c3c;overflow-x:auto}.rst-content tt.code-large,code.code-large{font-size:90%}.rst-content .section ul,.rst-content .toctree-wrapper ul,.rst-content section ul,.wy-plain-list-disc,article ul{list-style:disc;line-height:24px;margin-bottom:24px}.rst-content .section ul li,.rst-content .toctree-wrapper ul li,.rst-content section ul li,.wy-plain-list-disc li,article ul li{list-style:disc;margin-left:24px}.rst-content .section ul li p:last-child,.rst-content .section ul li ul,.rst-content .toctree-wrapper ul li p:last-child,.rst-content .toctree-wrapper ul li ul,.rst-content section ul li p:last-child,.rst-content section ul li ul,.wy-plain-list-disc li p:last-child,.wy-plain-list-disc li ul,article ul li p:last-child,article ul li ul{margin-bottom:0}.rst-content .section ul li li,.rst-content .toctree-wrapper ul li li,.rst-content section ul li li,.wy-plain-list-disc li li,article ul li li{list-style:circle}.rst-content .section ul li li li,.rst-content .toctree-wrapper ul li li li,.rst-content section ul li li li,.wy-plain-list-disc li li li,article ul li li li{list-style:square}.rst-content .section ul li ol li,.rst-content .toctree-wrapper ul li ol li,.rst-content section ul li ol li,.wy-plain-list-disc li ol li,article ul li ol li{list-style:decimal}.rst-content .section ol,.rst-content .section ol.arabic,.rst-content .toctree-wrapper ol,.rst-content .toctree-wrapper ol.arabic,.rst-content section ol,.rst-content section ol.arabic,.wy-plain-list-decimal,article ol{list-style:decimal;line-height:24px;margin-bottom:24px}.rst-content .section ol.arabic li,.rst-content .section ol li,.rst-content .toctree-wrapper ol.arabic li,.rst-content .toctree-wrapper ol li,.rst-content section ol.arabic li,.rst-content section ol li,.wy-plain-list-decimal li,article ol li{list-style:decimal;margin-left:24px}.rst-content .section ol.arabic li ul,.rst-content .section ol li p:last-child,.rst-content .section ol li ul,.rst-content .toctree-wrapper ol.arabic li ul,.rst-content .toctree-wrapper ol li p:last-child,.rst-content .toctree-wrapper ol li ul,.rst-content section ol.arabic li ul,.rst-content section ol li p:last-child,.rst-content section ol li ul,.wy-plain-list-decimal li p:last-child,.wy-plain-list-decimal li ul,article ol li p:last-child,article ol li ul{margin-bottom:0}.rst-content .section ol.arabic li ul li,.rst-content .section ol li ul li,.rst-content .toctree-wrapper ol.arabic li ul li,.rst-content .toctree-wrapper ol li ul li,.rst-content section ol.arabic li ul li,.rst-content section ol li ul li,.wy-plain-list-decimal li ul li,article ol li ul li{list-style:disc}.wy-breadcrumbs{*zoom:1}.wy-breadcrumbs:after,.wy-breadcrumbs:before{display:table;content:""}.wy-breadcrumbs:after{clear:both}.wy-breadcrumbs>li{display:inline-block;padding-top:5px}.wy-breadcrumbs>li.wy-breadcrumbs-aside{float:right}.rst-content .wy-breadcrumbs>li code,.rst-content .wy-breadcrumbs>li tt,.wy-breadcrumbs>li .rst-content tt,.wy-breadcrumbs>li code{all:inherit;color:inherit}.breadcrumb-item:before{content:"/";color:#bbb;font-size:13px;padding:0 6px 0 3px}.wy-breadcrumbs-extra{margin-bottom:0;color:#b3b3b3;font-size:80%;display:inline-block}@media screen and (max-width:480px){.wy-breadcrumbs-extra,.wy-breadcrumbs li.wy-breadcrumbs-aside{display:none}}@media print{.wy-breadcrumbs li.wy-breadcrumbs-aside{display:none}}html{font-size:16px}.wy-affix{position:fixed;top:1.618em}.wy-menu a:hover{text-decoration:none}.wy-menu-horiz{*zoom:1}.wy-menu-horiz:after,.wy-menu-horiz:before{display:table;content:""}.wy-menu-horiz:after{clear:both}.wy-menu-horiz li,.wy-menu-horiz ul{display:inline-block}.wy-menu-horiz li:hover{background:hsla(0,0%,100%,.1)}.wy-menu-horiz li.divide-left{border-left:1px solid #404040}.wy-menu-horiz li.divide-right{border-right:1px solid #404040}.wy-menu-horiz a{height:32px;display:inline-block;line-height:32px;padding:0 16px}.wy-menu-vertical{width:300px}.wy-menu-vertical header,.wy-menu-vertical p.caption{color:#55a5d9;height:32px;line-height:32px;padding:0 1.618em;margin:12px 0 0;display:block;font-weight:700;text-transform:uppercase;font-size:85%;white-space:nowrap}.wy-menu-vertical ul{margin-bottom:0}.wy-menu-vertical li.divide-top{border-top:1px solid #404040}.wy-menu-vertical li.divide-bottom{border-bottom:1px solid #404040}.wy-menu-vertical li.current{background:#e3e3e3}.wy-menu-vertical li.current a{color:grey;border-right:1px solid #c9c9c9;padding:.4045em 2.427em}.wy-menu-vertical li.current a:hover{background:#d6d6d6}.rst-content .wy-menu-vertical li tt,.wy-menu-vertical li .rst-content tt,.wy-menu-vertical li code{border:none;background:inherit;color:inherit;padding-left:0;padding-right:0}.wy-menu-vertical li button.toctree-expand{display:block;float:left;margin-left:-1.2em;line-height:18px;color:#4d4d4d;border:none;background:none;padding:0}.wy-menu-vertical li.current>a,.wy-menu-vertical li.on a{color:#404040;font-weight:700;position:relative;background:#fcfcfc;border:none;padding:.4045em 1.618em}.wy-menu-vertical li.current>a:hover,.wy-menu-vertical li.on a:hover{background:#fcfcfc}.wy-menu-vertical li.current>a:hover button.toctree-expand,.wy-menu-vertical li.on a:hover button.toctree-expand{color:grey}.wy-menu-vertical li.current>a button.toctree-expand,.wy-menu-vertical li.on a button.toctree-expand{display:block;line-height:18px;color:#333}.wy-menu-vertical li.toctree-l1.current>a{border-bottom:1px solid #c9c9c9;border-top:1px solid #c9c9c9}.wy-menu-vertical .toctree-l1.current .toctree-l2>ul,.wy-menu-vertical .toctree-l2.current .toctree-l3>ul,.wy-menu-vertical .toctree-l3.current .toctree-l4>ul,.wy-menu-vertical .toctree-l4.current .toctree-l5>ul,.wy-menu-vertical .toctree-l5.current .toctree-l6>ul,.wy-menu-vertical .toctree-l6.current .toctree-l7>ul,.wy-menu-vertical .toctree-l7.current .toctree-l8>ul,.wy-menu-vertical .toctree-l8.current .toctree-l9>ul,.wy-menu-vertical .toctree-l9.current .toctree-l10>ul,.wy-menu-vertical .toctree-l10.current .toctree-l11>ul{display:none}.wy-menu-vertical .toctree-l1.current .current.toctree-l2>ul,.wy-menu-vertical .toctree-l2.current .current.toctree-l3>ul,.wy-menu-vertical .toctree-l3.current .current.toctree-l4>ul,.wy-menu-vertical .toctree-l4.current .current.toctree-l5>ul,.wy-menu-vertical .toctree-l5.current .current.toctree-l6>ul,.wy-menu-vertical .toctree-l6.current .current.toctree-l7>ul,.wy-menu-vertical .toctree-l7.current .current.toctree-l8>ul,.wy-menu-vertical .toctree-l8.current .current.toctree-l9>ul,.wy-menu-vertical .toctree-l9.current .current.toctree-l10>ul,.wy-menu-vertical .toctree-l10.current .current.toctree-l11>ul{display:block}.wy-menu-vertical li.toctree-l3,.wy-menu-vertical li.toctree-l4{font-size:.9em}.wy-menu-vertical li.toctree-l2 a,.wy-menu-vertical li.toctree-l3 a,.wy-menu-vertical li.toctree-l4 a,.wy-menu-vertical li.toctree-l5 a,.wy-menu-vertical li.toctree-l6 a,.wy-menu-vertical li.toctree-l7 a,.wy-menu-vertical li.toctree-l8 a,.wy-menu-vertical li.toctree-l9 a,.wy-menu-vertical li.toctree-l10 a{color:#404040}.wy-menu-vertical li.toctree-l2 a:hover button.toctree-expand,.wy-menu-vertical li.toctree-l3 a:hover button.toctree-expand,.wy-menu-vertical li.toctree-l4 a:hover button.toctree-expand,.wy-menu-vertical li.toctree-l5 a:hover button.toctree-expand,.wy-menu-vertical li.toctree-l6 a:hover button.toctree-expand,.wy-menu-vertical li.toctree-l7 a:hover button.toctree-expand,.wy-menu-vertical li.toctree-l8 a:hover button.toctree-expand,.wy-menu-vertical li.toctree-l9 a:hover button.toctree-expand,.wy-menu-vertical li.toctree-l10 a:hover button.toctree-expand{color:grey}.wy-menu-vertical li.toctree-l2.current li.toctree-l3>a,.wy-menu-vertical li.toctree-l3.current li.toctree-l4>a,.wy-menu-vertical li.toctree-l4.current li.toctree-l5>a,.wy-menu-vertical li.toctree-l5.current li.toctree-l6>a,.wy-menu-vertical li.toctree-l6.current li.toctree-l7>a,.wy-menu-vertical li.toctree-l7.current li.toctree-l8>a,.wy-menu-vertical li.toctree-l8.current li.toctree-l9>a,.wy-menu-vertical li.toctree-l9.current li.toctree-l10>a,.wy-menu-vertical li.toctree-l10.current li.toctree-l11>a{display:block}.wy-menu-vertical li.toctree-l2.current>a{padding:.4045em 2.427em}.wy-menu-vertical li.toctree-l2.current li.toctree-l3>a{padding:.4045em 1.618em .4045em 4.045em}.wy-menu-vertical li.toctree-l3.current>a{padding:.4045em 4.045em}.wy-menu-vertical li.toctree-l3.current li.toctree-l4>a{padding:.4045em 1.618em .4045em 5.663em}.wy-menu-vertical li.toctree-l4.current>a{padding:.4045em 5.663em}.wy-menu-vertical li.toctree-l4.current li.toctree-l5>a{padding:.4045em 1.618em .4045em 7.281em}.wy-menu-vertical li.toctree-l5.current>a{padding:.4045em 7.281em}.wy-menu-vertical li.toctree-l5.current li.toctree-l6>a{padding:.4045em 1.618em .4045em 8.899em}.wy-menu-vertical li.toctree-l6.current>a{padding:.4045em 8.899em}.wy-menu-vertical li.toctree-l6.current li.toctree-l7>a{padding:.4045em 1.618em .4045em 10.517em}.wy-menu-vertical li.toctree-l7.current>a{padding:.4045em 10.517em}.wy-menu-vertical li.toctree-l7.current li.toctree-l8>a{padding:.4045em 1.618em .4045em 12.135em}.wy-menu-vertical li.toctree-l8.current>a{padding:.4045em 12.135em}.wy-menu-vertical li.toctree-l8.current li.toctree-l9>a{padding:.4045em 1.618em .4045em 13.753em}.wy-menu-vertical li.toctree-l9.current>a{padding:.4045em 13.753em}.wy-menu-vertical li.toctree-l9.current li.toctree-l10>a{padding:.4045em 1.618em .4045em 15.371em}.wy-menu-vertical li.toctree-l10.current>a{padding:.4045em 15.371em}.wy-menu-vertical li.toctree-l10.current li.toctree-l11>a{padding:.4045em 1.618em .4045em 16.989em}.wy-menu-vertical li.toctree-l2.current>a,.wy-menu-vertical li.toctree-l2.current li.toctree-l3>a{background:#c9c9c9}.wy-menu-vertical li.toctree-l2 button.toctree-expand{color:#a3a3a3}.wy-menu-vertical li.toctree-l3.current>a,.wy-menu-vertical li.toctree-l3.current li.toctree-l4>a{background:#bdbdbd}.wy-menu-vertical li.toctree-l3 button.toctree-expand{color:#969696}.wy-menu-vertical li.current ul{display:block}.wy-menu-vertical li ul{margin-bottom:0;display:none}.wy-menu-vertical li ul li a{margin-bottom:0;color:#d9d9d9;font-weight:400}.wy-menu-vertical a{line-height:18px;padding:.4045em 1.618em;display:block;position:relative;font-size:90%;color:#d9d9d9}.wy-menu-vertical a:hover{background-color:#4e4a4a;cursor:pointer}.wy-menu-vertical a:hover button.toctree-expand{color:#d9d9d9}.wy-menu-vertical a:active{background-color:#2980b9;cursor:pointer;color:#fff}.wy-menu-vertical a:active button.toctree-expand{color:#fff}.wy-side-nav-search{display:block;width:300px;padding:.809em;margin-bottom:.809em;z-index:200;background-color:#2980b9;text-align:center;color:#fcfcfc}.wy-side-nav-search input[type=text]{width:100%;border-radius:50px;padding:6px 12px;border-color:#2472a4}.wy-side-nav-search img{display:block;margin:auto auto .809em;height:45px;width:45px;background-color:#2980b9;padding:5px;border-radius:100%}.wy-side-nav-search .wy-dropdown>a,.wy-side-nav-search>a{color:#fcfcfc;font-size:100%;font-weight:700;display:inline-block;padding:4px 6px;margin-bottom:.809em;max-width:100%}.wy-side-nav-search .wy-dropdown>a:hover,.wy-side-nav-search .wy-dropdown>aactive,.wy-side-nav-search .wy-dropdown>afocus,.wy-side-nav-search>a:hover,.wy-side-nav-search>aactive,.wy-side-nav-search>afocus{background:hsla(0,0%,100%,.1)}.wy-side-nav-search .wy-dropdown>a img.logo,.wy-side-nav-search>a img.logo{display:block;margin:0 auto;height:auto;width:auto;border-radius:0;max-width:100%;background:transparent}.wy-side-nav-search .wy-dropdown>a.icon,.wy-side-nav-search>a.icon{display:block}.wy-side-nav-search .wy-dropdown>a.icon img.logo,.wy-side-nav-search>a.icon img.logo{margin-top:.85em}.wy-side-nav-search>div.switch-menus{position:relative;display:block;margin-top:-.4045em;margin-bottom:.809em;font-weight:400;color:hsla(0,0%,100%,.3)}.wy-side-nav-search>div.switch-menus>div.language-switch,.wy-side-nav-search>div.switch-menus>div.version-switch{display:inline-block;padding:.2em}.wy-side-nav-search>div.switch-menus>div.language-switch select,.wy-side-nav-search>div.switch-menus>div.version-switch select{display:inline-block;margin-right:-2rem;padding-right:2rem;max-width:240px;text-align-last:center;background:none;border:none;border-radius:0;box-shadow:none;font-family:Lato,proxima-nova,Helvetica Neue,Arial,sans-serif;font-size:1em;font-weight:400;color:hsla(0,0%,100%,.3);cursor:pointer;appearance:none;-webkit-appearance:none;-moz-appearance:none}.wy-side-nav-search>div.switch-menus>div.language-switch select:active,.wy-side-nav-search>div.switch-menus>div.language-switch select:focus,.wy-side-nav-search>div.switch-menus>div.language-switch select:hover,.wy-side-nav-search>div.switch-menus>div.version-switch select:active,.wy-side-nav-search>div.switch-menus>div.version-switch select:focus,.wy-side-nav-search>div.switch-menus>div.version-switch select:hover{background:hsla(0,0%,100%,.1);color:hsla(0,0%,100%,.5)}.wy-side-nav-search>div.switch-menus>div.language-switch select option,.wy-side-nav-search>div.switch-menus>div.version-switch select option{color:#000}.wy-side-nav-search>div.switch-menus>div.language-switch:has(>select):after,.wy-side-nav-search>div.switch-menus>div.version-switch:has(>select):after{display:inline-block;width:1.5em;height:100%;padding:.1em;content:"\f0d7";font-size:1em;line-height:1.2em;font-family:FontAwesome;text-align:center;pointer-events:none;box-sizing:border-box}.wy-nav .wy-menu-vertical header{color:#2980b9}.wy-nav .wy-menu-vertical a{color:#b3b3b3}.wy-nav .wy-menu-vertical a:hover{background-color:#2980b9;color:#fff}[data-menu-wrap]{-webkit-transition:all .2s ease-in;-moz-transition:all .2s ease-in;transition:all .2s ease-in;position:absolute;opacity:1;width:100%;opacity:0}[data-menu-wrap].move-center{left:0;right:auto;opacity:1}[data-menu-wrap].move-left{right:auto;left:-100%;opacity:0}[data-menu-wrap].move-right{right:-100%;left:auto;opacity:0}.wy-body-for-nav{background:#fcfcfc}.wy-grid-for-nav{position:absolute;width:100%;height:100%}.wy-nav-side{position:fixed;top:0;bottom:0;left:0;padding-bottom:2em;width:300px;overflow-x:hidden;overflow-y:hidden;min-height:100%;color:#9b9b9b;background:#343131;z-index:200}.wy-side-scroll{width:320px;position:relative;overflow-x:hidden;overflow-y:scroll;height:100%}.wy-nav-top{display:none;background:#2980b9;color:#fff;padding:.4045em .809em;position:relative;line-height:50px;text-align:center;font-size:100%;*zoom:1}.wy-nav-top:after,.wy-nav-top:before{display:table;content:""}.wy-nav-top:after{clear:both}.wy-nav-top a{color:#fff;font-weight:700}.wy-nav-top img{margin-right:12px;height:45px;width:45px;background-color:#2980b9;padding:5px;border-radius:100%}.wy-nav-top i{font-size:30px;float:left;cursor:pointer;padding-top:inherit}.wy-nav-content-wrap{margin-left:300px;background:#fcfcfc;min-height:100%}.wy-nav-content{padding:1.618em 3.236em;height:100%;max-width:800px;margin:auto}.wy-body-mask{position:fixed;width:100%;height:100%;background:rgba(0,0,0,.2);display:none;z-index:499}.wy-body-mask.on{display:block}footer{color:grey}footer p{margin-bottom:12px}.rst-content footer span.commit tt,footer span.commit .rst-content tt,footer span.commit code{padding:0;font-family:SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,Courier,monospace;font-size:1em;background:none;border:none;color:grey}.rst-footer-buttons{*zoom:1}.rst-footer-buttons:after,.rst-footer-buttons:before{width:100%;display:table;content:""}.rst-footer-buttons:after{clear:both}.rst-breadcrumbs-buttons{margin-top:12px;*zoom:1}.rst-breadcrumbs-buttons:after,.rst-breadcrumbs-buttons:before{display:table;content:""}.rst-breadcrumbs-buttons:after{clear:both}#search-results .search li{margin-bottom:24px;border-bottom:1px solid #e1e4e5;padding-bottom:24px}#search-results .search li:first-child{border-top:1px solid #e1e4e5;padding-top:24px}#search-results .search li a{font-size:120%;margin-bottom:12px;display:inline-block}#search-results .context{color:grey;font-size:90%}.genindextable li>ul{margin-left:24px}@media screen and (max-width:768px){.wy-body-for-nav{background:#fcfcfc}.wy-nav-top{display:block}.wy-nav-side{left:-300px}.wy-nav-side.shift{width:85%;left:0}.wy-menu.wy-menu-vertical,.wy-side-nav-search,.wy-side-scroll{width:auto}.wy-nav-content-wrap{margin-left:0}.wy-nav-content-wrap .wy-nav-content{padding:1.618em}.wy-nav-content-wrap.shift{position:fixed;min-width:100%;left:85%;top:0;height:100%;overflow:hidden}}@media screen and (min-width:1100px){.wy-nav-content-wrap{background:rgba(0,0,0,.05)}.wy-nav-content{margin:0;background:#fcfcfc}}@media print{.rst-versions,.wy-nav-side,footer{display:none}.wy-nav-content-wrap{margin-left:0}}.rst-versions{position:fixed;bottom:0;left:0;width:300px;color:#fcfcfc;background:#1f1d1d;font-family:Lato,proxima-nova,Helvetica Neue,Arial,sans-serif;z-index:400}.rst-versions a{color:#2980b9;text-decoration:none}.rst-versions .rst-badge-small{display:none}.rst-versions .rst-current-version{padding:12px;background-color:#272525;display:block;text-align:right;font-size:90%;cursor:pointer;color:#27ae60;*zoom:1}.rst-versions .rst-current-version:after,.rst-versions .rst-current-version:before{display:table;content:""}.rst-versions .rst-current-version:after{clear:both}.rst-content .code-block-caption .rst-versions .rst-current-version .headerlink,.rst-content .eqno .rst-versions .rst-current-version .headerlink,.rst-content .rst-versions .rst-current-version .admonition-title,.rst-content code.download .rst-versions .rst-current-version span:first-child,.rst-content dl dt .rst-versions .rst-current-version .headerlink,.rst-content h1 .rst-versions .rst-current-version .headerlink,.rst-content h2 .rst-versions .rst-current-version .headerlink,.rst-content h3 .rst-versions .rst-current-version .headerlink,.rst-content h4 .rst-versions .rst-current-version .headerlink,.rst-content h5 .rst-versions .rst-current-version .headerlink,.rst-content h6 .rst-versions .rst-current-version .headerlink,.rst-content p .rst-versions .rst-current-version .headerlink,.rst-content table>caption .rst-versions .rst-current-version .headerlink,.rst-content tt.download .rst-versions .rst-current-version span:first-child,.rst-versions .rst-current-version .fa,.rst-versions .rst-current-version .icon,.rst-versions .rst-current-version .rst-content .admonition-title,.rst-versions .rst-current-version .rst-content .code-block-caption .headerlink,.rst-versions .rst-current-version .rst-content .eqno .headerlink,.rst-versions .rst-current-version .rst-content code.download span:first-child,.rst-versions .rst-current-version .rst-content dl dt .headerlink,.rst-versions .rst-current-version .rst-content h1 .headerlink,.rst-versions .rst-current-version .rst-content h2 .headerlink,.rst-versions .rst-current-version .rst-content h3 .headerlink,.rst-versions .rst-current-version .rst-content h4 .headerlink,.rst-versions .rst-current-version .rst-content h5 .headerlink,.rst-versions .rst-current-version .rst-content h6 .headerlink,.rst-versions .rst-current-version .rst-content p .headerlink,.rst-versions .rst-current-version .rst-content table>caption .headerlink,.rst-versions .rst-current-version .rst-content tt.download span:first-child,.rst-versions .rst-current-version .wy-menu-vertical li button.toctree-expand,.wy-menu-vertical li .rst-versions .rst-current-version button.toctree-expand{color:#fcfcfc}.rst-versions .rst-current-version .fa-book,.rst-versions .rst-current-version .icon-book{float:left}.rst-versions .rst-current-version.rst-out-of-date{background-color:#e74c3c;color:#fff}.rst-versions .rst-current-version.rst-active-old-version{background-color:#f1c40f;color:#000}.rst-versions.shift-up{height:auto;max-height:100%;overflow-y:scroll}.rst-versions.shift-up .rst-other-versions{display:block}.rst-versions .rst-other-versions{font-size:90%;padding:12px;color:grey;display:none}.rst-versions .rst-other-versions hr{display:block;height:1px;border:0;margin:20px 0;padding:0;border-top:1px solid #413d3d}.rst-versions .rst-other-versions dd{display:inline-block;margin:0}.rst-versions .rst-other-versions dd a{display:inline-block;padding:6px;color:#fcfcfc}.rst-versions .rst-other-versions .rtd-current-item{font-weight:700}.rst-versions.rst-badge{width:auto;bottom:20px;right:20px;left:auto;border:none;max-width:300px;max-height:90%}.rst-versions.rst-badge .fa-book,.rst-versions.rst-badge .icon-book{float:none;line-height:30px}.rst-versions.rst-badge.shift-up .rst-current-version{text-align:right}.rst-versions.rst-badge.shift-up .rst-current-version .fa-book,.rst-versions.rst-badge.shift-up .rst-current-version .icon-book{float:left}.rst-versions.rst-badge>.rst-current-version{width:auto;height:30px;line-height:30px;padding:0 6px;display:block;text-align:center}@media screen and (max-width:768px){.rst-versions{width:85%;display:none}.rst-versions.shift{display:block}}#flyout-search-form{padding:6px}.rst-content .toctree-wrapper>p.caption,.rst-content h1,.rst-content h2,.rst-content h3,.rst-content h4,.rst-content h5,.rst-content h6{margin-bottom:24px}.rst-content img{max-width:100%;height:auto}.rst-content div.figure,.rst-content figure{margin-bottom:24px}.rst-content div.figure .caption-text,.rst-content figure .caption-text{font-style:italic}.rst-content div.figure p:last-child.caption,.rst-content figure p:last-child.caption{margin-bottom:0}.rst-content div.figure.align-center,.rst-content figure.align-center{text-align:center}.rst-content .section>a>img,.rst-content .section>img,.rst-content section>a>img,.rst-content section>img{margin-bottom:24px}.rst-content abbr[title]{text-decoration:none}.rst-content.style-external-links a.reference.external:after{font-family:FontAwesome;content:"\f08e";color:#b3b3b3;vertical-align:super;font-size:60%;margin:0 .2em}.rst-content blockquote{margin-left:24px;line-height:24px;margin-bottom:24px}.rst-content pre.literal-block{white-space:pre;margin:0;padding:12px;font-family:SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,Courier,monospace;display:block;overflow:auto}.rst-content div[class^=highlight],.rst-content pre.literal-block{border:1px solid #e1e4e5;overflow-x:auto;margin:1px 0 24px}.rst-content div[class^=highlight] div[class^=highlight],.rst-content pre.literal-block div[class^=highlight]{padding:0;border:none;margin:0}.rst-content div[class^=highlight] td.code{width:100%}.rst-content .linenodiv pre{border-right:1px solid #e6e9ea;margin:0;padding:12px;font-family:SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,Courier,monospace;user-select:none;pointer-events:none}.rst-content div[class^=highlight] pre{white-space:pre;margin:0;padding:12px;display:block;overflow:auto}.rst-content div[class^=highlight] pre .hll{display:block;margin:0 -12px;padding:0 12px}.rst-content .linenodiv pre,.rst-content div[class^=highlight] pre,.rst-content pre.literal-block{font-family:SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,Courier,monospace;font-size:12px;line-height:1.4}.rst-content div.highlight .gp,.rst-content div.highlight span.linenos{user-select:none;pointer-events:none}.rst-content div.highlight span.linenos{display:inline-block;padding-left:0;padding-right:12px;margin-right:12px;border-right:1px solid #e6e9ea}.rst-content .code-block-caption{font-style:italic;font-size:85%;line-height:1;padding:1em 0;text-align:center}@media print{.rst-content .codeblock,.rst-content div[class^=highlight],.rst-content div[class^=highlight] pre{white-space:pre-wrap}}.rst-content .admonition,.rst-content .admonition-todo,.rst-content .attention,.rst-content .caution,.rst-content .danger,.rst-content .error,.rst-content .hint,.rst-content .important,.rst-content .note,.rst-content .seealso,.rst-content .tip,.rst-content .warning{clear:both}.rst-content .admonition-todo .last,.rst-content .admonition-todo>:last-child,.rst-content .admonition .last,.rst-content .admonition>:last-child,.rst-content .attention .last,.rst-content .attention>:last-child,.rst-content .caution .last,.rst-content .caution>:last-child,.rst-content .danger .last,.rst-content .danger>:last-child,.rst-content .error .last,.rst-content .error>:last-child,.rst-content .hint .last,.rst-content .hint>:last-child,.rst-content .important .last,.rst-content .important>:last-child,.rst-content .note .last,.rst-content .note>:last-child,.rst-content .seealso .last,.rst-content .seealso>:last-child,.rst-content .tip .last,.rst-content .tip>:last-child,.rst-content .warning .last,.rst-content .warning>:last-child{margin-bottom:0}.rst-content .admonition-title:before{margin-right:4px}.rst-content .admonition table{border-color:rgba(0,0,0,.1)}.rst-content .admonition table td,.rst-content .admonition table th{background:transparent!important;border-color:rgba(0,0,0,.1)!important}.rst-content .section ol.loweralpha,.rst-content .section ol.loweralpha>li,.rst-content .toctree-wrapper ol.loweralpha,.rst-content .toctree-wrapper ol.loweralpha>li,.rst-content section ol.loweralpha,.rst-content section ol.loweralpha>li{list-style:lower-alpha}.rst-content .section ol.upperalpha,.rst-content .section ol.upperalpha>li,.rst-content .toctree-wrapper ol.upperalpha,.rst-content .toctree-wrapper ol.upperalpha>li,.rst-content section ol.upperalpha,.rst-content section ol.upperalpha>li{list-style:upper-alpha}.rst-content .section ol li>*,.rst-content .section ul li>*,.rst-content .toctree-wrapper ol li>*,.rst-content .toctree-wrapper ul li>*,.rst-content section ol li>*,.rst-content section ul li>*{margin-top:12px;margin-bottom:12px}.rst-content .section ol li>:first-child,.rst-content .section ul li>:first-child,.rst-content .toctree-wrapper ol li>:first-child,.rst-content .toctree-wrapper ul li>:first-child,.rst-content section ol li>:first-child,.rst-content section ul li>:first-child{margin-top:0}.rst-content .section ol li>p,.rst-content .section ol li>p:last-child,.rst-content .section ul li>p,.rst-content .section ul li>p:last-child,.rst-content .toctree-wrapper ol li>p,.rst-content .toctree-wrapper ol li>p:last-child,.rst-content .toctree-wrapper ul li>p,.rst-content .toctree-wrapper ul li>p:last-child,.rst-content section ol li>p,.rst-content section ol li>p:last-child,.rst-content section ul li>p,.rst-content section ul li>p:last-child{margin-bottom:12px}.rst-content .section ol li>p:only-child,.rst-content .section ol li>p:only-child:last-child,.rst-content .section ul li>p:only-child,.rst-content .section ul li>p:only-child:last-child,.rst-content .toctree-wrapper ol li>p:only-child,.rst-content .toctree-wrapper ol li>p:only-child:last-child,.rst-content .toctree-wrapper ul li>p:only-child,.rst-content .toctree-wrapper ul li>p:only-child:last-child,.rst-content section ol li>p:only-child,.rst-content section ol li>p:only-child:last-child,.rst-content section ul li>p:only-child,.rst-content section ul li>p:only-child:last-child{margin-bottom:0}.rst-content .section ol li>ol,.rst-content .section ol li>ul,.rst-content .section ul li>ol,.rst-content .section ul li>ul,.rst-content .toctree-wrapper ol li>ol,.rst-content .toctree-wrapper ol li>ul,.rst-content .toctree-wrapper ul li>ol,.rst-content .toctree-wrapper ul li>ul,.rst-content section ol li>ol,.rst-content section ol li>ul,.rst-content section ul li>ol,.rst-content section ul li>ul{margin-bottom:12px}.rst-content .section ol.simple li>*,.rst-content .section ol.simple li ol,.rst-content .section ol.simple li ul,.rst-content .section ul.simple li>*,.rst-content .section ul.simple li ol,.rst-content .section ul.simple li ul,.rst-content .toctree-wrapper ol.simple li>*,.rst-content .toctree-wrapper ol.simple li ol,.rst-content .toctree-wrapper ol.simple li ul,.rst-content .toctree-wrapper ul.simple li>*,.rst-content .toctree-wrapper ul.simple li ol,.rst-content .toctree-wrapper ul.simple li ul,.rst-content section ol.simple li>*,.rst-content section ol.simple li ol,.rst-content section ol.simple li ul,.rst-content section ul.simple li>*,.rst-content section ul.simple li ol,.rst-content section ul.simple li ul{margin-top:0;margin-bottom:0}.rst-content .line-block{margin-left:0;margin-bottom:24px;line-height:24px}.rst-content .line-block .line-block{margin-left:24px;margin-bottom:0}.rst-content .topic-title{font-weight:700;margin-bottom:12px}.rst-content .toc-backref{color:#404040}.rst-content .align-right{float:right;margin:0 0 24px 24px}.rst-content .align-left{float:left;margin:0 24px 24px 0}.rst-content .align-center{margin:auto}.rst-content .align-center:not(table){display:block}.rst-content .code-block-caption .headerlink,.rst-content .eqno .headerlink,.rst-content .toctree-wrapper>p.caption .headerlink,.rst-content dl dt .headerlink,.rst-content h1 .headerlink,.rst-content h2 .headerlink,.rst-content h3 .headerlink,.rst-content h4 .headerlink,.rst-content h5 .headerlink,.rst-content h6 .headerlink,.rst-content p.caption .headerlink,.rst-content p .headerlink,.rst-content table>caption .headerlink{opacity:0;font-size:14px;font-family:FontAwesome;margin-left:.5em}.rst-content .code-block-caption .headerlink:focus,.rst-content .code-block-caption:hover .headerlink,.rst-content .eqno .headerlink:focus,.rst-content .eqno:hover .headerlink,.rst-content .toctree-wrapper>p.caption .headerlink:focus,.rst-content .toctree-wrapper>p.caption:hover .headerlink,.rst-content dl dt .headerlink:focus,.rst-content dl dt:hover .headerlink,.rst-content h1 .headerlink:focus,.rst-content h1:hover .headerlink,.rst-content h2 .headerlink:focus,.rst-content h2:hover .headerlink,.rst-content h3 .headerlink:focus,.rst-content h3:hover .headerlink,.rst-content h4 .headerlink:focus,.rst-content h4:hover .headerlink,.rst-content h5 .headerlink:focus,.rst-content h5:hover .headerlink,.rst-content h6 .headerlink:focus,.rst-content h6:hover .headerlink,.rst-content p.caption .headerlink:focus,.rst-content p.caption:hover .headerlink,.rst-content p .headerlink:focus,.rst-content p:hover .headerlink,.rst-content table>caption .headerlink:focus,.rst-content table>caption:hover .headerlink{opacity:1}.rst-content p a{overflow-wrap:anywhere}.rst-content .wy-table td p,.rst-content .wy-table td ul,.rst-content .wy-table th p,.rst-content .wy-table th ul,.rst-content table.docutils td p,.rst-content table.docutils td ul,.rst-content table.docutils th p,.rst-content table.docutils th ul,.rst-content table.field-list td p,.rst-content table.field-list td ul,.rst-content table.field-list th p,.rst-content table.field-list th ul{font-size:inherit}.rst-content .btn:focus{outline:2px solid}.rst-content table>caption .headerlink:after{font-size:12px}.rst-content .centered{text-align:center}.rst-content .sidebar{float:right;width:40%;display:block;margin:0 0 24px 24px;padding:24px;background:#f3f6f6;border:1px solid #e1e4e5}.rst-content .sidebar dl,.rst-content .sidebar p,.rst-content .sidebar ul{font-size:90%}.rst-content .sidebar .last,.rst-content .sidebar>:last-child{margin-bottom:0}.rst-content .sidebar .sidebar-title{display:block;font-family:Roboto Slab,ff-tisa-web-pro,Georgia,Arial,sans-serif;font-weight:700;background:#e1e4e5;padding:6px 12px;margin:-24px -24px 24px;font-size:100%}.rst-content .highlighted{background:#f1c40f;box-shadow:0 0 0 2px #f1c40f;display:inline;font-weight:700}.rst-content .citation-reference,.rst-content .footnote-reference{vertical-align:baseline;position:relative;top:-.4em;line-height:0;font-size:90%}.rst-content .citation-reference>span.fn-bracket,.rst-content .footnote-reference>span.fn-bracket{display:none}.rst-content .hlist{width:100%}.rst-content dl dt span.classifier:before{content:" : "}.rst-content dl dt span.classifier-delimiter{display:none!important}html.writer-html4 .rst-content table.docutils.citation,html.writer-html4 .rst-content table.docutils.footnote{background:none;border:none}html.writer-html4 .rst-content table.docutils.citation td,html.writer-html4 .rst-content table.docutils.citation tr,html.writer-html4 .rst-content table.docutils.footnote td,html.writer-html4 .rst-content table.docutils.footnote tr{border:none;background-color:transparent!important;white-space:normal}html.writer-html4 .rst-content table.docutils.citation td.label,html.writer-html4 .rst-content table.docutils.footnote td.label{padding-left:0;padding-right:0;vertical-align:top}html.writer-html5 .rst-content dl.citation,html.writer-html5 .rst-content dl.field-list,html.writer-html5 .rst-content dl.footnote{display:grid;grid-template-columns:auto minmax(80%,95%)}html.writer-html5 .rst-content dl.citation>dt,html.writer-html5 .rst-content dl.field-list>dt,html.writer-html5 .rst-content dl.footnote>dt{display:inline-grid;grid-template-columns:max-content auto}html.writer-html5 .rst-content aside.citation,html.writer-html5 .rst-content aside.footnote,html.writer-html5 .rst-content div.citation{display:grid;grid-template-columns:auto auto minmax(.65rem,auto) minmax(40%,95%)}html.writer-html5 .rst-content aside.citation>span.label,html.writer-html5 .rst-content aside.footnote>span.label,html.writer-html5 .rst-content div.citation>span.label{grid-column-start:1;grid-column-end:2}html.writer-html5 .rst-content aside.citation>span.backrefs,html.writer-html5 .rst-content aside.footnote>span.backrefs,html.writer-html5 .rst-content div.citation>span.backrefs{grid-column-start:2;grid-column-end:3;grid-row-start:1;grid-row-end:3}html.writer-html5 .rst-content aside.citation>p,html.writer-html5 .rst-content aside.footnote>p,html.writer-html5 .rst-content div.citation>p{grid-column-start:4;grid-column-end:5}html.writer-html5 .rst-content dl.citation,html.writer-html5 .rst-content dl.field-list,html.writer-html5 .rst-content dl.footnote{margin-bottom:24px}html.writer-html5 .rst-content dl.citation>dt,html.writer-html5 .rst-content dl.field-list>dt,html.writer-html5 .rst-content dl.footnote>dt{padding-left:1rem}html.writer-html5 .rst-content dl.citation>dd,html.writer-html5 .rst-content dl.citation>dt,html.writer-html5 .rst-content dl.field-list>dd,html.writer-html5 .rst-content dl.field-list>dt,html.writer-html5 .rst-content dl.footnote>dd,html.writer-html5 .rst-content dl.footnote>dt{margin-bottom:0}html.writer-html5 .rst-content dl.citation,html.writer-html5 .rst-content dl.footnote{font-size:.9rem}html.writer-html5 .rst-content dl.citation>dt,html.writer-html5 .rst-content dl.footnote>dt{margin:0 .5rem .5rem 0;line-height:1.2rem;word-break:break-all;font-weight:400}html.writer-html5 .rst-content dl.citation>dt>span.brackets:before,html.writer-html5 .rst-content dl.footnote>dt>span.brackets:before{content:"["}html.writer-html5 .rst-content dl.citation>dt>span.brackets:after,html.writer-html5 .rst-content dl.footnote>dt>span.brackets:after{content:"]"}html.writer-html5 .rst-content dl.citation>dt>span.fn-backref,html.writer-html5 .rst-content dl.footnote>dt>span.fn-backref{text-align:left;font-style:italic;margin-left:.65rem;word-break:break-word;word-spacing:-.1rem;max-width:5rem}html.writer-html5 .rst-content dl.citation>dt>span.fn-backref>a,html.writer-html5 .rst-content dl.footnote>dt>span.fn-backref>a{word-break:keep-all}html.writer-html5 .rst-content dl.citation>dt>span.fn-backref>a:not(:first-child):before,html.writer-html5 .rst-content dl.footnote>dt>span.fn-backref>a:not(:first-child):before{content:" "}html.writer-html5 .rst-content dl.citation>dd,html.writer-html5 .rst-content dl.footnote>dd{margin:0 0 .5rem;line-height:1.2rem}html.writer-html5 .rst-content dl.citation>dd p,html.writer-html5 .rst-content dl.footnote>dd p{font-size:.9rem}html.writer-html5 .rst-content aside.citation,html.writer-html5 .rst-content aside.footnote,html.writer-html5 .rst-content div.citation{padding-left:1rem;padding-right:1rem;font-size:.9rem;line-height:1.2rem}html.writer-html5 .rst-content aside.citation p,html.writer-html5 .rst-content aside.footnote p,html.writer-html5 .rst-content div.citation p{font-size:.9rem;line-height:1.2rem;margin-bottom:12px}html.writer-html5 .rst-content aside.citation span.backrefs,html.writer-html5 .rst-content aside.footnote span.backrefs,html.writer-html5 .rst-content div.citation span.backrefs{text-align:left;font-style:italic;margin-left:.65rem;word-break:break-word;word-spacing:-.1rem;max-width:5rem}html.writer-html5 .rst-content aside.citation span.backrefs>a,html.writer-html5 .rst-content aside.footnote span.backrefs>a,html.writer-html5 .rst-content div.citation span.backrefs>a{word-break:keep-all}html.writer-html5 .rst-content aside.citation span.backrefs>a:not(:first-child):before,html.writer-html5 .rst-content aside.footnote span.backrefs>a:not(:first-child):before,html.writer-html5 .rst-content div.citation span.backrefs>a:not(:first-child):before{content:" "}html.writer-html5 .rst-content aside.citation span.label,html.writer-html5 .rst-content aside.footnote span.label,html.writer-html5 .rst-content div.citation span.label{line-height:1.2rem}html.writer-html5 .rst-content aside.citation-list,html.writer-html5 .rst-content aside.footnote-list,html.writer-html5 .rst-content div.citation-list{margin-bottom:24px}html.writer-html5 .rst-content dl.option-list kbd{font-size:.9rem}.rst-content table.docutils.footnote,html.writer-html4 .rst-content table.docutils.citation,html.writer-html5 .rst-content aside.footnote,html.writer-html5 .rst-content aside.footnote-list aside.footnote,html.writer-html5 .rst-content div.citation-list>div.citation,html.writer-html5 .rst-content dl.citation,html.writer-html5 .rst-content dl.footnote{color:grey}.rst-content table.docutils.footnote code,.rst-content table.docutils.footnote tt,html.writer-html4 .rst-content table.docutils.citation code,html.writer-html4 .rst-content table.docutils.citation tt,html.writer-html5 .rst-content aside.footnote-list aside.footnote code,html.writer-html5 .rst-content aside.footnote-list aside.footnote tt,html.writer-html5 .rst-content aside.footnote code,html.writer-html5 .rst-content aside.footnote tt,html.writer-html5 .rst-content div.citation-list>div.citation code,html.writer-html5 .rst-content div.citation-list>div.citation tt,html.writer-html5 .rst-content dl.citation code,html.writer-html5 .rst-content dl.citation tt,html.writer-html5 .rst-content dl.footnote code,html.writer-html5 .rst-content dl.footnote tt{color:#555}.rst-content .wy-table-responsive.citation,.rst-content .wy-table-responsive.footnote{margin-bottom:0}.rst-content .wy-table-responsive.citation+:not(.citation),.rst-content .wy-table-responsive.footnote+:not(.footnote){margin-top:24px}.rst-content .wy-table-responsive.citation:last-child,.rst-content .wy-table-responsive.footnote:last-child{margin-bottom:24px}.rst-content table.docutils th{border-color:#e1e4e5}html.writer-html5 .rst-content table.docutils th{border:1px solid #e1e4e5}html.writer-html5 .rst-content table.docutils td>p,html.writer-html5 .rst-content table.docutils th>p{line-height:1rem;margin-bottom:0;font-size:.9rem}.rst-content table.docutils td .last,.rst-content table.docutils td .last>:last-child{margin-bottom:0}.rst-content table.field-list,.rst-content table.field-list td{border:none}.rst-content table.field-list td p{line-height:inherit}.rst-content table.field-list td>strong{display:inline-block}.rst-content table.field-list .field-name{padding-right:10px;text-align:left;white-space:nowrap}.rst-content table.field-list .field-body{text-align:left}.rst-content code,.rst-content tt{color:#000;font-family:SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,Courier,monospace;padding:2px 5px}.rst-content code big,.rst-content code em,.rst-content tt big,.rst-content tt em{font-size:100%!important;line-height:normal}.rst-content code.literal,.rst-content tt.literal{color:#e74c3c;white-space:normal}.rst-content code.xref,.rst-content tt.xref,a .rst-content code,a .rst-content tt{font-weight:700;color:#404040;overflow-wrap:normal}.rst-content kbd,.rst-content pre,.rst-content samp{font-family:SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,Courier,monospace}.rst-content a code,.rst-content a tt{color:#2980b9}.rst-content dl{margin-bottom:24px}.rst-content dl dt{font-weight:700;margin-bottom:12px}.rst-content dl ol,.rst-content dl p,.rst-content dl table,.rst-content dl ul{margin-bottom:12px}.rst-content dl dd{margin:0 0 12px 24px;line-height:24px}.rst-content dl dd>ol:last-child,.rst-content dl dd>p:last-child,.rst-content dl dd>table:last-child,.rst-content dl dd>ul:last-child{margin-bottom:0}html.writer-html4 .rst-content dl:not(.docutils),html.writer-html5 .rst-content dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.citation):not(.glossary):not(.simple){margin-bottom:24px}html.writer-html4 .rst-content dl:not(.docutils)>dt,html.writer-html5 .rst-content dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.citation):not(.glossary):not(.simple)>dt{display:table;margin:6px 0;font-size:90%;line-height:normal;background:#e7f2fa;color:#2980b9;border-top:3px solid #6ab0de;padding:6px;position:relative}html.writer-html4 .rst-content dl:not(.docutils)>dt:before,html.writer-html5 .rst-content dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.citation):not(.glossary):not(.simple)>dt:before{color:#6ab0de}html.writer-html4 .rst-content dl:not(.docutils)>dt .headerlink,html.writer-html5 .rst-content dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.citation):not(.glossary):not(.simple)>dt .headerlink{color:#404040;font-size:100%!important}html.writer-html4 .rst-content dl:not(.docutils) dl:not(.option-list):not(.field-list):not(.footnote):not(.citation):not(.glossary):not(.simple)>dt,html.writer-html5 .rst-content dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.citation):not(.glossary):not(.simple) dl:not(.option-list):not(.field-list):not(.footnote):not(.citation):not(.glossary):not(.simple)>dt{margin-bottom:6px;border:none;border-left:3px solid #ccc;background:#f0f0f0;color:#555}html.writer-html4 .rst-content dl:not(.docutils) dl:not(.option-list):not(.field-list):not(.footnote):not(.citation):not(.glossary):not(.simple)>dt .headerlink,html.writer-html5 .rst-content dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.citation):not(.glossary):not(.simple) dl:not(.option-list):not(.field-list):not(.footnote):not(.citation):not(.glossary):not(.simple)>dt .headerlink{color:#404040;font-size:100%!important}html.writer-html4 .rst-content dl:not(.docutils)>dt:first-child,html.writer-html5 .rst-content dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.citation):not(.glossary):not(.simple)>dt:first-child{margin-top:0}html.writer-html4 .rst-content dl:not(.docutils) code.descclassname,html.writer-html4 .rst-content dl:not(.docutils) code.descname,html.writer-html4 .rst-content dl:not(.docutils) tt.descclassname,html.writer-html4 .rst-content dl:not(.docutils) tt.descname,html.writer-html5 .rst-content dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.citation):not(.glossary):not(.simple) code.descclassname,html.writer-html5 .rst-content dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.citation):not(.glossary):not(.simple) code.descname,html.writer-html5 .rst-content dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.citation):not(.glossary):not(.simple) tt.descclassname,html.writer-html5 .rst-content dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.citation):not(.glossary):not(.simple) tt.descname{background-color:transparent;border:none;padding:0;font-size:100%!important}html.writer-html4 .rst-content dl:not(.docutils) code.descname,html.writer-html4 .rst-content dl:not(.docutils) tt.descname,html.writer-html5 .rst-content dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.citation):not(.glossary):not(.simple) code.descname,html.writer-html5 .rst-content dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.citation):not(.glossary):not(.simple) tt.descname{font-weight:700}html.writer-html4 .rst-content dl:not(.docutils) .optional,html.writer-html5 .rst-content dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.citation):not(.glossary):not(.simple) .optional{display:inline-block;padding:0 4px;color:#000;font-weight:700}html.writer-html4 .rst-content dl:not(.docutils) .property,html.writer-html5 .rst-content dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.citation):not(.glossary):not(.simple) .property{display:inline-block;padding-right:8px;max-width:100%}html.writer-html4 .rst-content dl:not(.docutils) .k,html.writer-html5 .rst-content dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.citation):not(.glossary):not(.simple) .k{font-style:italic}html.writer-html4 .rst-content dl:not(.docutils) .descclassname,html.writer-html4 .rst-content dl:not(.docutils) .descname,html.writer-html4 .rst-content dl:not(.docutils) .sig-name,html.writer-html5 .rst-content dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.citation):not(.glossary):not(.simple) .descclassname,html.writer-html5 .rst-content dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.citation):not(.glossary):not(.simple) .descname,html.writer-html5 .rst-content dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.citation):not(.glossary):not(.simple) .sig-name{font-family:SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,Courier,monospace;color:#000}.rst-content .viewcode-back,.rst-content .viewcode-link{display:inline-block;color:#27ae60;font-size:80%;padding-left:24px}.rst-content .viewcode-back{display:block;float:right}.rst-content p.rubric{margin-bottom:12px;font-weight:700}.rst-content code.download,.rst-content tt.download{background:inherit;padding:inherit;font-weight:400;font-family:inherit;font-size:inherit;color:inherit;border:inherit;white-space:inherit}.rst-content code.download span:first-child,.rst-content tt.download span:first-child{-webkit-font-smoothing:subpixel-antialiased}.rst-content code.download span:first-child:before,.rst-content tt.download span:first-child:before{margin-right:4px}.rst-content .guilabel,.rst-content .menuselection{font-size:80%;font-weight:700;border-radius:4px;padding:2.4px 6px;margin:auto 2px}.rst-content .guilabel,.rst-content .menuselection{border:1px solid #7fbbe3;background:#e7f2fa}.rst-content :not(dl.option-list)>:not(dt):not(kbd):not(.kbd)>.kbd,.rst-content :not(dl.option-list)>:not(dt):not(kbd):not(.kbd)>kbd{color:inherit;font-size:80%;background-color:#fff;border:1px solid #a6a6a6;border-radius:4px;box-shadow:0 2px grey;padding:2.4px 6px;margin:auto 0}.rst-content .versionmodified{font-style:italic}@media screen and (max-width:480px){.rst-content .sidebar{width:100%}}span[id*=MathJax-Span]{color:#404040}.math{text-align:center}@font-face{font-family:Lato;src:url(fonts/lato-normal.woff2?bd03a2cc277bbbc338d464e679fe9942) format("woff2"),url(fonts/lato-normal.woff?27bd77b9162d388cb8d4c4217c7c5e2a) format("woff");font-weight:400;font-style:normal;font-display:block}@font-face{font-family:Lato;src:url(fonts/lato-bold.woff2?cccb897485813c7c256901dbca54ecf2) format("woff2"),url(fonts/lato-bold.woff?d878b6c29b10beca227e9eef4246111b) format("woff");font-weight:700;font-style:normal;font-display:block}@font-face{font-family:Lato;src:url(fonts/lato-bold-italic.woff2?0b6bb6725576b072c5d0b02ecdd1900d) format("woff2"),url(fonts/lato-bold-italic.woff?9c7e4e9eb485b4a121c760e61bc3707c) format("woff");font-weight:700;font-style:italic;font-display:block}@font-face{font-family:Lato;src:url(fonts/lato-normal-italic.woff2?4eb103b4d12be57cb1d040ed5e162e9d) format("woff2"),url(fonts/lato-normal-italic.woff?f28f2d6482446544ef1ea1ccc6dd5892) format("woff");font-weight:400;font-style:italic;font-display:block}@font-face{font-family:Roboto Slab;font-style:normal;font-weight:400;src:url(fonts/Roboto-Slab-Regular.woff2?7abf5b8d04d26a2cafea937019bca958) format("woff2"),url(fonts/Roboto-Slab-Regular.woff?c1be9284088d487c5e3ff0a10a92e58c) format("woff");font-display:block}@font-face{font-family:Roboto Slab;font-style:normal;font-weight:700;src:url(fonts/Roboto-Slab-Bold.woff2?9984f4a9bda09be08e83f2506954adbe) format("woff2"),url(fonts/Roboto-Slab-Bold.woff?bed5564a116b05148e3b3bea6fb1162a) format("woff");font-display:block} \ No newline at end of file diff --git a/_static/doctools.js b/_static/doctools.js new file mode 100644 index 00000000..0398ebb9 --- /dev/null +++ b/_static/doctools.js @@ -0,0 +1,149 @@ +/* + * Base JavaScript utilities for all Sphinx HTML documentation. + */ +"use strict"; + +const BLACKLISTED_KEY_CONTROL_ELEMENTS = new Set([ + "TEXTAREA", + "INPUT", + "SELECT", + "BUTTON", +]); + +const _ready = (callback) => { + if (document.readyState !== "loading") { + callback(); + } else { + document.addEventListener("DOMContentLoaded", callback); + } +}; + +/** + * Small JavaScript module for the documentation. + */ +const Documentation = { + init: () => { + Documentation.initDomainIndexTable(); + Documentation.initOnKeyListeners(); + }, + + /** + * i18n support + */ + TRANSLATIONS: {}, + PLURAL_EXPR: (n) => (n === 1 ? 0 : 1), + LOCALE: "unknown", + + // gettext and ngettext don't access this so that the functions + // can safely bound to a different name (_ = Documentation.gettext) + gettext: (string) => { + const translated = Documentation.TRANSLATIONS[string]; + switch (typeof translated) { + case "undefined": + return string; // no translation + case "string": + return translated; // translation exists + default: + return translated[0]; // (singular, plural) translation tuple exists + } + }, + + ngettext: (singular, plural, n) => { + const translated = Documentation.TRANSLATIONS[singular]; + if (typeof translated !== "undefined") + return translated[Documentation.PLURAL_EXPR(n)]; + return n === 1 ? singular : plural; + }, + + addTranslations: (catalog) => { + Object.assign(Documentation.TRANSLATIONS, catalog.messages); + Documentation.PLURAL_EXPR = new Function( + "n", + `return (${catalog.plural_expr})` + ); + Documentation.LOCALE = catalog.locale; + }, + + /** + * helper function to focus on search bar + */ + focusSearchBar: () => { + document.querySelectorAll("input[name=q]")[0]?.focus(); + }, + + /** + * Initialise the domain index toggle buttons + */ + initDomainIndexTable: () => { + const toggler = (el) => { + const idNumber = el.id.substr(7); + const toggledRows = document.querySelectorAll(`tr.cg-${idNumber}`); + if (el.src.substr(-9) === "minus.png") { + el.src = `${el.src.substr(0, el.src.length - 9)}plus.png`; + toggledRows.forEach((el) => (el.style.display = "none")); + } else { + el.src = `${el.src.substr(0, el.src.length - 8)}minus.png`; + toggledRows.forEach((el) => (el.style.display = "")); + } + }; + + const togglerElements = document.querySelectorAll("img.toggler"); + togglerElements.forEach((el) => + el.addEventListener("click", (event) => toggler(event.currentTarget)) + ); + togglerElements.forEach((el) => (el.style.display = "")); + if (DOCUMENTATION_OPTIONS.COLLAPSE_INDEX) togglerElements.forEach(toggler); + }, + + initOnKeyListeners: () => { + // only install a listener if it is really needed + if ( + !DOCUMENTATION_OPTIONS.NAVIGATION_WITH_KEYS && + !DOCUMENTATION_OPTIONS.ENABLE_SEARCH_SHORTCUTS + ) + return; + + document.addEventListener("keydown", (event) => { + // bail for input elements + if (BLACKLISTED_KEY_CONTROL_ELEMENTS.has(document.activeElement.tagName)) return; + // bail with special keys + if (event.altKey || event.ctrlKey || event.metaKey) return; + + if (!event.shiftKey) { + switch (event.key) { + case "ArrowLeft": + if (!DOCUMENTATION_OPTIONS.NAVIGATION_WITH_KEYS) break; + + const prevLink = document.querySelector('link[rel="prev"]'); + if (prevLink && prevLink.href) { + window.location.href = prevLink.href; + event.preventDefault(); + } + break; + case "ArrowRight": + if (!DOCUMENTATION_OPTIONS.NAVIGATION_WITH_KEYS) break; + + const nextLink = document.querySelector('link[rel="next"]'); + if (nextLink && nextLink.href) { + window.location.href = nextLink.href; + event.preventDefault(); + } + break; + } + } + + // some keyboard layouts may need Shift to get / + switch (event.key) { + case "/": + if (!DOCUMENTATION_OPTIONS.ENABLE_SEARCH_SHORTCUTS) break; + Documentation.focusSearchBar(); + event.preventDefault(); + } + }); + }, +}; + +// quick alias for translations +const _ = Documentation.gettext; + +_ready(Documentation.init); diff --git a/_static/documentation_options.js b/_static/documentation_options.js new file mode 100644 index 00000000..bdafe087 --- /dev/null +++ b/_static/documentation_options.js @@ -0,0 +1,13 @@ +const DOCUMENTATION_OPTIONS = { + VERSION: '1.9.8', + LANGUAGE: 'en', + COLLAPSE_INDEX: false, + BUILDER: 'html', + FILE_SUFFIX: '.html', + LINK_SUFFIX: '.html', + HAS_SOURCE: true, + SOURCELINK_SUFFIX: '.txt', + NAVIGATION_WITH_KEYS: false, + SHOW_SEARCH_SUMMARY: true, + ENABLE_SEARCH_SHORTCUTS: true, +}; \ No newline at end of file diff --git a/_static/file.png b/_static/file.png new file mode 100644 index 00000000..a858a410 Binary files /dev/null and b/_static/file.png differ diff --git a/_static/fonts/Lato/lato-bold.eot b/_static/fonts/Lato/lato-bold.eot new file mode 100644 index 00000000..3361183a Binary files /dev/null and b/_static/fonts/Lato/lato-bold.eot differ diff --git a/_static/fonts/Lato/lato-bold.ttf b/_static/fonts/Lato/lato-bold.ttf new file mode 100644 index 00000000..29f691d5 Binary files /dev/null and b/_static/fonts/Lato/lato-bold.ttf differ diff --git a/_static/fonts/Lato/lato-bold.woff b/_static/fonts/Lato/lato-bold.woff new file mode 100644 index 00000000..c6dff51f Binary files /dev/null and b/_static/fonts/Lato/lato-bold.woff differ diff --git a/_static/fonts/Lato/lato-bold.woff2 b/_static/fonts/Lato/lato-bold.woff2 new file mode 100644 index 00000000..bb195043 Binary files /dev/null and b/_static/fonts/Lato/lato-bold.woff2 differ diff --git a/_static/fonts/Lato/lato-bolditalic.eot b/_static/fonts/Lato/lato-bolditalic.eot new file mode 100644 index 00000000..3d415493 Binary files /dev/null and b/_static/fonts/Lato/lato-bolditalic.eot differ diff --git a/_static/fonts/Lato/lato-bolditalic.ttf b/_static/fonts/Lato/lato-bolditalic.ttf new file mode 100644 index 00000000..f402040b Binary files /dev/null and b/_static/fonts/Lato/lato-bolditalic.ttf differ diff --git a/_static/fonts/Lato/lato-bolditalic.woff b/_static/fonts/Lato/lato-bolditalic.woff new file mode 100644 index 00000000..88ad05b9 Binary files /dev/null and b/_static/fonts/Lato/lato-bolditalic.woff differ diff --git a/_static/fonts/Lato/lato-bolditalic.woff2 b/_static/fonts/Lato/lato-bolditalic.woff2 new file mode 100644 index 00000000..c4e3d804 Binary files /dev/null and b/_static/fonts/Lato/lato-bolditalic.woff2 differ diff --git a/_static/fonts/Lato/lato-italic.eot b/_static/fonts/Lato/lato-italic.eot new file mode 100644 index 00000000..3f826421 Binary files /dev/null and b/_static/fonts/Lato/lato-italic.eot differ diff --git a/_static/fonts/Lato/lato-italic.ttf b/_static/fonts/Lato/lato-italic.ttf new file mode 100644 index 00000000..b4bfc9b2 Binary files /dev/null and b/_static/fonts/Lato/lato-italic.ttf differ diff --git a/_static/fonts/Lato/lato-italic.woff b/_static/fonts/Lato/lato-italic.woff new file mode 100644 index 00000000..76114bc0 Binary files /dev/null and b/_static/fonts/Lato/lato-italic.woff differ diff --git a/_static/fonts/Lato/lato-italic.woff2 b/_static/fonts/Lato/lato-italic.woff2 new file mode 100644 index 00000000..3404f37e Binary files /dev/null and b/_static/fonts/Lato/lato-italic.woff2 differ diff --git a/_static/fonts/Lato/lato-regular.eot b/_static/fonts/Lato/lato-regular.eot new file mode 100644 index 00000000..11e3f2a5 Binary files /dev/null and b/_static/fonts/Lato/lato-regular.eot differ diff --git a/_static/fonts/Lato/lato-regular.ttf b/_static/fonts/Lato/lato-regular.ttf new file mode 100644 index 00000000..74decd9e Binary files /dev/null and b/_static/fonts/Lato/lato-regular.ttf differ diff --git a/_static/fonts/Lato/lato-regular.woff b/_static/fonts/Lato/lato-regular.woff new file mode 100644 index 00000000..ae1307ff Binary files /dev/null and b/_static/fonts/Lato/lato-regular.woff differ diff --git a/_static/fonts/Lato/lato-regular.woff2 b/_static/fonts/Lato/lato-regular.woff2 new file mode 100644 index 00000000..3bf98433 Binary files /dev/null and b/_static/fonts/Lato/lato-regular.woff2 differ diff --git a/_static/fonts/RobotoSlab/roboto-slab-v7-bold.eot b/_static/fonts/RobotoSlab/roboto-slab-v7-bold.eot new file mode 100644 index 00000000..79dc8efe Binary files /dev/null and b/_static/fonts/RobotoSlab/roboto-slab-v7-bold.eot differ diff --git a/_static/fonts/RobotoSlab/roboto-slab-v7-bold.ttf b/_static/fonts/RobotoSlab/roboto-slab-v7-bold.ttf new file mode 100644 index 00000000..df5d1df2 Binary files /dev/null and b/_static/fonts/RobotoSlab/roboto-slab-v7-bold.ttf differ diff --git a/_static/fonts/RobotoSlab/roboto-slab-v7-bold.woff b/_static/fonts/RobotoSlab/roboto-slab-v7-bold.woff new file mode 100644 index 00000000..6cb60000 Binary files /dev/null and b/_static/fonts/RobotoSlab/roboto-slab-v7-bold.woff differ diff --git a/_static/fonts/RobotoSlab/roboto-slab-v7-bold.woff2 b/_static/fonts/RobotoSlab/roboto-slab-v7-bold.woff2 new file mode 100644 index 00000000..7059e231 Binary files /dev/null and b/_static/fonts/RobotoSlab/roboto-slab-v7-bold.woff2 differ diff --git a/_static/fonts/RobotoSlab/roboto-slab-v7-regular.eot b/_static/fonts/RobotoSlab/roboto-slab-v7-regular.eot new file mode 100644 index 00000000..2f7ca78a Binary files /dev/null and b/_static/fonts/RobotoSlab/roboto-slab-v7-regular.eot differ diff --git a/_static/fonts/RobotoSlab/roboto-slab-v7-regular.ttf b/_static/fonts/RobotoSlab/roboto-slab-v7-regular.ttf new file mode 100644 index 00000000..eb52a790 Binary files /dev/null and b/_static/fonts/RobotoSlab/roboto-slab-v7-regular.ttf differ diff --git a/_static/fonts/RobotoSlab/roboto-slab-v7-regular.woff b/_static/fonts/RobotoSlab/roboto-slab-v7-regular.woff new file mode 100644 index 00000000..f815f63f Binary files /dev/null and b/_static/fonts/RobotoSlab/roboto-slab-v7-regular.woff differ diff --git a/_static/fonts/RobotoSlab/roboto-slab-v7-regular.woff2 b/_static/fonts/RobotoSlab/roboto-slab-v7-regular.woff2 new file mode 100644 index 00000000..f2c76e5b Binary files /dev/null and b/_static/fonts/RobotoSlab/roboto-slab-v7-regular.woff2 differ diff --git a/_static/jquery.js b/_static/jquery.js new file mode 100644 index 00000000..c4c6022f --- /dev/null +++ b/_static/jquery.js @@ -0,0 +1,2 @@ +/*! jQuery v3.6.0 | (c) OpenJS Foundation and other contributors | jquery.org/license */ +!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(C,e){"use strict";var t=[],r=Object.getPrototypeOf,s=t.slice,g=t.flat?function(e){return t.flat.call(e)}:function(e){return t.concat.apply([],e)},u=t.push,i=t.indexOf,n={},o=n.toString,v=n.hasOwnProperty,a=v.toString,l=a.call(Object),y={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},x=function(e){return null!=e&&e===e.window},E=C.document,c={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var r,i,o=(n=n||E).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var f="3.6.0",S=function(e,t){return new S.fn.init(e,t)};function p(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!m(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp(F),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+F),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){T()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=O.call(p.childNodes),p.childNodes),t[p.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,e.getElementsByClassName(i)),n}if(d.qsa&&!N[t+" "]&&(!v||!v.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&(U.test(t)||z.test(t))){(f=ee.test(t)&&ye(e.parentNode)||e)===e&&d.scope||((s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=S)),o=(l=h(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+xe(l[o]);c=l.join(",")}try{return H.apply(n,f.querySelectorAll(c)),n}catch(e){N(t,!0)}finally{s===S&&e.removeAttribute("id")}}}return g(t.replace($,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[S]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:p;return r!=C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),p!=C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),d.scope=ce(function(e){return a.appendChild(e).appendChild(C.createElement("div")),"undefined"!=typeof e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=S,!C.getElementsByName||!C.getElementsByName(S).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=d.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],v=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){var t;a.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+S+"-]").length||v.push("~="),(t=C.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||v.push("\\["+M+"*name"+M+"*="+M+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+S+"+*").length||v.push(".#.+[+~]"),e.querySelectorAll("\\\f"),v.push("[\\r\\n\\f]")}),ce(function(e){e.innerHTML="";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",F)}),v=v.length&&new RegExp(v.join("|")),s=s.length&&new RegExp(s.join("|")),t=K.test(a.compareDocumentPosition),y=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},j=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e==C||e.ownerDocument==p&&y(p,e)?-1:t==C||t.ownerDocument==p&&y(p,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e==C?-1:t==C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]==p?-1:s[r]==p?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(T(e),d.matchesSelector&&E&&!N[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){N(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=m[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&m(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,n,r){return m(n)?S.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?S.grep(e,function(e){return e===n!==r}):"string"!=typeof n?S.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(S.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||D,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:q.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof S?t[0]:t,S.merge(this,S.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),N.test(r[1])&&S.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(S):S.makeArray(e,this)}).prototype=S.fn,D=S(E);var L=/^(?:parents|prev(?:Until|All))/,H={children:!0,contents:!0,next:!0,prev:!0};function O(e,t){while((e=e[t])&&1!==e.nodeType);return e}S.fn.extend({has:function(e){var t=S(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i;ce=E.createDocumentFragment().appendChild(E.createElement("div")),(fe=E.createElement("input")).setAttribute("type","radio"),fe.setAttribute("checked","checked"),fe.setAttribute("name","t"),ce.appendChild(fe),y.checkClone=ce.cloneNode(!0).cloneNode(!0).lastChild.checked,ce.innerHTML="",y.noCloneChecked=!!ce.cloneNode(!0).lastChild.defaultValue,ce.innerHTML="",y.option=!!ce.lastChild;var ge={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function ve(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?S.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;n",""]);var me=/<|&#?\w+;/;function xe(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d\s*$/g;function je(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&S(e).children("tbody")[0]||e}function De(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function qe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Le(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(Y.hasData(e)&&(s=Y.get(e).events))for(i in Y.remove(t,"handle events"),s)for(n=0,r=s[i].length;n").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var _t,zt=[],Ut=/(=)\?(?=&|$)|\?\?/;S.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=zt.pop()||S.expando+"_"+wt.guid++;return this[e]=!0,e}}),S.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Ut.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ut.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Ut,"$1"+r):!1!==e.jsonp&&(e.url+=(Tt.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||S.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r],C[r]=function(){o=arguments},n.always(function(){void 0===i?S(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,zt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),"script"}),y.createHTMLDocument=((_t=E.implementation.createHTMLDocument("").body).innerHTML="
",2===_t.childNodes.length),S.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(r)):t=E),o=!n&&[],(i=N.exec(e))?[t.createElement(i[1])]:(i=xe([e],t,o),o&&o.length&&S(o).remove(),S.merge([],i.childNodes)));var r,i,o},S.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(S.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},S.expr.pseudos.animated=function(t){return S.grep(S.timers,function(e){return t===e.elem}).length},S.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=S.css(e,"position"),c=S(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=S.css(e,"top"),u=S.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),m(t)&&(t=t.call(e,n,S.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},S.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){S.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===S.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===S.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=S(e).offset()).top+=S.css(e,"borderTopWidth",!0),i.left+=S.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-S.css(r,"marginTop",!0),left:t.left-i.left-S.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===S.css(e,"position"))e=e.offsetParent;return e||re})}}),S.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;S.fn[t]=function(e){return $(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),S.each(["top","left"],function(e,n){S.cssHooks[n]=Fe(y.pixelPosition,function(e,t){if(t)return t=We(e,n),Pe.test(t)?S(e).position()[n]+"px":t})}),S.each({Height:"height",Width:"width"},function(a,s){S.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){S.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return $(this,function(e,t,n){var r;return x(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?S.css(e,t,i):S.style(e,t,n,i)},s,n?e:void 0,n)}})}),S.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){S.fn[t]=function(e){return this.on(t,e)}}),S.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),S.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){S.fn[n]=function(e,t){return 0"),n("table.docutils.footnote").wrap("
"),n("table.docutils.citation").wrap("
"),n(".wy-menu-vertical ul").not(".simple").siblings("a").each((function(){var t=n(this);expand=n(''),expand.on("click",(function(n){return e.toggleCurrent(t),n.stopPropagation(),!1})),t.prepend(expand)}))},reset:function(){var n=encodeURI(window.location.hash)||"#";try{var e=$(".wy-menu-vertical"),t=e.find('[href="'+n+'"]');if(0===t.length){var i=$('.document [id="'+n.substring(1)+'"]').closest("div.section");0===(t=e.find('[href="#'+i.attr("id")+'"]')).length&&(t=e.find('[href="#"]'))}if(t.length>0){$(".wy-menu-vertical .current").removeClass("current").attr("aria-expanded","false"),t.addClass("current").attr("aria-expanded","true"),t.closest("li.toctree-l1").parent().addClass("current").attr("aria-expanded","true");for(let n=1;n<=10;n++)t.closest("li.toctree-l"+n).addClass("current").attr("aria-expanded","true");t[0].scrollIntoView()}}catch(n){console.log("Error expanding nav for anchor",n)}},onScroll:function(){this.winScroll=!1;var n=this.win.scrollTop(),e=n+this.winHeight,t=this.navBar.scrollTop()+(n-this.winPosition);n<0||e>this.docHeight||(this.navBar.scrollTop(t),this.winPosition=n)},onResize:function(){this.winResize=!1,this.winHeight=this.win.height(),this.docHeight=$(document).height()},hashChange:function(){this.linkScroll=!0,this.win.one("hashchange",(function(){this.linkScroll=!1}))},toggleCurrent:function(n){var e=n.closest("li");e.siblings("li.current").removeClass("current").attr("aria-expanded","false"),e.siblings().find("li.current").removeClass("current").attr("aria-expanded","false");var t=e.find("> ul li");t.length&&(t.removeClass("current").attr("aria-expanded","false"),e.toggleClass("current").attr("aria-expanded",(function(n,e){return"true"==e?"false":"true"})))}},"undefined"!=typeof window&&(window.SphinxRtdTheme={Navigation:n.exports.ThemeNav,StickyNav:n.exports.ThemeNav}),function(){for(var n=0,e=["ms","moz","webkit","o"],t=0;t +
Languages
+ ${config.projects.translations + .map( + (translation) => ` +
+ ${translation.language.code} +
+ `, + ) + .join("\n")} + + `; + return languagesHTML; + } + + function renderVersions(config) { + if (!config.versions.active.length) { + return ""; + } + const versionsHTML = ` +
+
Versions
+ ${config.versions.active + .map( + (version) => ` +
+ ${version.slug} +
+ `, + ) + .join("\n")} +
+ `; + return versionsHTML; + } + + function renderDownloads(config) { + if (!Object.keys(config.versions.current.downloads).length) { + return ""; + } + const downloadsNameDisplay = { + pdf: "PDF", + epub: "Epub", + htmlzip: "HTML", + }; + + const downloadsHTML = ` +
+
Downloads
+ ${Object.entries(config.versions.current.downloads) + .map( + ([name, url]) => ` +
+ ${downloadsNameDisplay[name]} +
+ `, + ) + .join("\n")} +
+ `; + return downloadsHTML; + } + + document.addEventListener("readthedocs-addons-data-ready", function (event) { + const config = event.detail.data(); + + const flyout = ` +
+ + Read the Docs + v: ${config.versions.current.slug} + + +
+
+ ${renderLanguages(config)} + ${renderVersions(config)} + ${renderDownloads(config)} +
+
On Read the Docs
+
+ Project Home +
+
+ Builds +
+
+ Downloads +
+
+
+
Search
+
+
+ +
+
+
+
+ + Hosted by Read the Docs + +
+
+ `; + + // Inject the generated flyout into the body HTML element. + document.body.insertAdjacentHTML("beforeend", flyout); + + // Trigger the Read the Docs Addons Search modal when clicking on the "Search docs" input from inside the flyout. + document + .querySelector("#flyout-search-form") + .addEventListener("focusin", () => { + const event = new CustomEvent("readthedocs-search-show"); + document.dispatchEvent(event); + }); + }) +} + +if (themeLanguageSelector || themeVersionSelector) { + function onSelectorSwitch(event) { + const option = event.target.selectedIndex; + const item = event.target.options[option]; + window.location.href = item.dataset.url; + } + + document.addEventListener("readthedocs-addons-data-ready", function (event) { + const config = event.detail.data(); + + const versionSwitch = document.querySelector( + "div.switch-menus > div.version-switch", + ); + if (themeVersionSelector) { + let versions = config.versions.active; + if (config.versions.current.hidden || config.versions.current.type === "external") { + versions.unshift(config.versions.current); + } + const versionSelect = ` + + `; + + versionSwitch.innerHTML = versionSelect; + versionSwitch.firstElementChild.addEventListener("change", onSelectorSwitch); + } + + const languageSwitch = document.querySelector( + "div.switch-menus > div.language-switch", + ); + + if (themeLanguageSelector) { + if (config.projects.translations.length) { + // Add the current language to the options on the selector + let languages = config.projects.translations.concat( + config.projects.current, + ); + languages = languages.sort((a, b) => + a.language.name.localeCompare(b.language.name), + ); + + const languageSelect = ` + + `; + + languageSwitch.innerHTML = languageSelect; + languageSwitch.firstElementChild.addEventListener("change", onSelectorSwitch); + } + else { + languageSwitch.remove(); + } + } + }); +} + +document.addEventListener("readthedocs-addons-data-ready", function (event) { + // Trigger the Read the Docs Addons Search modal when clicking on "Search docs" input from the topnav. + document + .querySelector("[role='search'] input") + .addEventListener("focusin", () => { + const event = new CustomEvent("readthedocs-search-show"); + document.dispatchEvent(event); + }); +}); \ No newline at end of file diff --git a/_static/language_data.js b/_static/language_data.js new file mode 100644 index 00000000..c7fe6c6f --- /dev/null +++ b/_static/language_data.js @@ -0,0 +1,192 @@ +/* + * This script contains the language-specific data used by searchtools.js, + * namely the list of stopwords, stemmer, scorer and splitter. + */ + +var stopwords = ["a", "and", "are", "as", "at", "be", "but", "by", "for", "if", "in", "into", "is", "it", "near", "no", "not", "of", "on", "or", "such", "that", "the", "their", "then", "there", "these", "they", "this", "to", "was", "will", "with"]; + + +/* Non-minified version is copied as a separate JS file, if available */ + +/** + * Porter Stemmer + */ +var Stemmer = function() { + + var step2list = { + ational: 'ate', + tional: 'tion', + enci: 'ence', + anci: 'ance', + izer: 'ize', + bli: 'ble', + alli: 'al', + entli: 'ent', + eli: 'e', + ousli: 'ous', + ization: 'ize', + ation: 'ate', + ator: 'ate', + alism: 'al', + iveness: 'ive', + fulness: 'ful', + ousness: 'ous', + aliti: 'al', + iviti: 'ive', + biliti: 'ble', + logi: 'log' + }; + + var step3list = { + icate: 'ic', + ative: '', + alize: 'al', + iciti: 'ic', + ical: 'ic', + ful: '', + ness: '' + }; + + var c = "[^aeiou]"; // consonant + var v = "[aeiouy]"; // vowel + var C = c + "[^aeiouy]*"; // consonant sequence + var V = v + "[aeiou]*"; // vowel sequence + + var mgr0 = "^(" + C + ")?" + V + C; // [C]VC... is m>0 + var meq1 = "^(" + C + ")?" + V + C + "(" + V + ")?$"; // [C]VC[V] is m=1 + var mgr1 = "^(" + C + ")?" + V + C + V + C; // [C]VCVC... is m>1 + var s_v = "^(" + C + ")?" + v; // vowel in stem + + this.stemWord = function (w) { + var stem; + var suffix; + var firstch; + var origword = w; + + if (w.length < 3) + return w; + + var re; + var re2; + var re3; + var re4; + + firstch = w.substr(0,1); + if (firstch == "y") + w = firstch.toUpperCase() + w.substr(1); + + // Step 1a + re = /^(.+?)(ss|i)es$/; + re2 = /^(.+?)([^s])s$/; + + if (re.test(w)) + w = w.replace(re,"$1$2"); + else if (re2.test(w)) + w = w.replace(re2,"$1$2"); + + // Step 1b + re = /^(.+?)eed$/; + re2 = /^(.+?)(ed|ing)$/; + if (re.test(w)) { + var fp = re.exec(w); + re = new RegExp(mgr0); + if (re.test(fp[1])) { + re = /.$/; + w = w.replace(re,""); + } + } + else if (re2.test(w)) { + var fp = re2.exec(w); + stem = fp[1]; + re2 = new RegExp(s_v); + if (re2.test(stem)) { + w = stem; + re2 = /(at|bl|iz)$/; + re3 = new RegExp("([^aeiouylsz])\\1$"); + re4 = new RegExp("^" + C + v + "[^aeiouwxy]$"); + if (re2.test(w)) + w = w + "e"; + else if (re3.test(w)) { + re = /.$/; + w = w.replace(re,""); + } + else if (re4.test(w)) + w = w + "e"; + } + } + + // Step 1c + re = /^(.+?)y$/; + if (re.test(w)) { + var fp = re.exec(w); + stem = fp[1]; + re = new RegExp(s_v); + if (re.test(stem)) + w = stem + "i"; + } + + // Step 2 + re = /^(.+?)(ational|tional|enci|anci|izer|bli|alli|entli|eli|ousli|ization|ation|ator|alism|iveness|fulness|ousness|aliti|iviti|biliti|logi)$/; + if (re.test(w)) { + var fp = re.exec(w); + stem = fp[1]; + suffix = fp[2]; + re = new RegExp(mgr0); + if (re.test(stem)) + w = stem + step2list[suffix]; + } + + // Step 3 + re = /^(.+?)(icate|ative|alize|iciti|ical|ful|ness)$/; + if (re.test(w)) { + var fp = re.exec(w); + stem = fp[1]; + suffix = fp[2]; + re = new RegExp(mgr0); + if (re.test(stem)) + w = stem + step3list[suffix]; + } + + // Step 4 + re = /^(.+?)(al|ance|ence|er|ic|able|ible|ant|ement|ment|ent|ou|ism|ate|iti|ous|ive|ize)$/; + re2 = /^(.+?)(s|t)(ion)$/; + if (re.test(w)) { + var fp = re.exec(w); + stem = fp[1]; + re = new RegExp(mgr1); + if (re.test(stem)) + w = stem; + } + else if (re2.test(w)) { + var fp = re2.exec(w); + stem = fp[1] + fp[2]; + re2 = new RegExp(mgr1); + if (re2.test(stem)) + w = stem; + } + + // Step 5 + re = /^(.+?)e$/; + if (re.test(w)) { + var fp = re.exec(w); + stem = fp[1]; + re = new RegExp(mgr1); + re2 = new RegExp(meq1); + re3 = new RegExp("^" + C + v + "[^aeiouwxy]$"); + if (re.test(stem) || (re2.test(stem) && !(re3.test(stem)))) + w = stem; + } + re = /ll$/; + re2 = new RegExp(mgr1); + if (re.test(w) && re2.test(w)) { + re = /.$/; + w = w.replace(re,""); + } + + // and turn initial Y back to y + if (firstch == "y") + w = firstch.toLowerCase() + w.substr(1); + return w; + } +} + diff --git a/_static/minus.png b/_static/minus.png new file mode 100644 index 00000000..d96755fd Binary files /dev/null and b/_static/minus.png differ diff --git a/_static/plus.png b/_static/plus.png new file mode 100644 index 00000000..7107cec9 Binary files /dev/null and b/_static/plus.png differ diff --git a/_static/pygments.css b/_static/pygments.css new file mode 100644 index 00000000..84ab3030 --- /dev/null +++ b/_static/pygments.css @@ -0,0 +1,75 @@ +pre { line-height: 125%; } +td.linenos .normal { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; } +span.linenos { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; } +td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; } +span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; } +.highlight .hll { background-color: #ffffcc } +.highlight { background: #f8f8f8; } +.highlight .c { color: #3D7B7B; font-style: italic } /* Comment */ +.highlight .err { border: 1px solid #FF0000 } /* Error */ +.highlight .k { color: #008000; font-weight: bold } /* Keyword */ +.highlight .o { color: #666666 } /* Operator */ +.highlight .ch { color: #3D7B7B; font-style: italic } /* Comment.Hashbang */ +.highlight .cm { color: #3D7B7B; font-style: italic } /* Comment.Multiline */ +.highlight .cp { color: #9C6500 } /* Comment.Preproc */ +.highlight .cpf { color: #3D7B7B; font-style: italic } /* Comment.PreprocFile */ +.highlight .c1 { color: #3D7B7B; font-style: italic } /* Comment.Single */ +.highlight .cs { color: #3D7B7B; font-style: italic } /* Comment.Special */ +.highlight .gd { color: #A00000 } /* Generic.Deleted */ +.highlight .ge { font-style: italic } /* Generic.Emph */ +.highlight .ges { font-weight: bold; font-style: italic } /* Generic.EmphStrong */ +.highlight .gr { color: #E40000 } /* Generic.Error */ +.highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */ +.highlight .gi { color: #008400 } /* Generic.Inserted */ +.highlight .go { color: #717171 } /* Generic.Output */ +.highlight .gp { color: #000080; font-weight: bold } /* Generic.Prompt */ +.highlight .gs { font-weight: bold } /* Generic.Strong */ +.highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */ +.highlight .gt { color: #0044DD } /* Generic.Traceback */ +.highlight .kc { color: #008000; font-weight: bold } /* Keyword.Constant */ +.highlight .kd { color: #008000; font-weight: bold } /* Keyword.Declaration */ +.highlight .kn { color: #008000; font-weight: bold } /* Keyword.Namespace */ +.highlight .kp { color: #008000 } /* Keyword.Pseudo */ +.highlight .kr { color: #008000; font-weight: bold } /* Keyword.Reserved */ +.highlight .kt { color: #B00040 } /* Keyword.Type */ +.highlight .m { color: #666666 } /* Literal.Number */ +.highlight .s { color: #BA2121 } /* Literal.String */ +.highlight .na { color: #687822 } /* Name.Attribute */ +.highlight .nb { color: #008000 } /* Name.Builtin */ +.highlight .nc { color: #0000FF; font-weight: bold } /* Name.Class */ +.highlight .no { color: #880000 } /* Name.Constant */ +.highlight .nd { color: #AA22FF } /* Name.Decorator */ +.highlight .ni { color: #717171; font-weight: bold } /* Name.Entity */ +.highlight .ne { color: #CB3F38; font-weight: bold } /* Name.Exception */ +.highlight .nf { color: #0000FF } /* Name.Function */ +.highlight .nl { color: #767600 } /* Name.Label */ +.highlight .nn { color: #0000FF; font-weight: bold } /* Name.Namespace */ +.highlight .nt { color: #008000; font-weight: bold } /* Name.Tag */ +.highlight .nv { color: #19177C } /* Name.Variable */ +.highlight .ow { color: #AA22FF; font-weight: bold } /* Operator.Word */ +.highlight .w { color: #bbbbbb } /* Text.Whitespace */ +.highlight .mb { color: #666666 } /* Literal.Number.Bin */ +.highlight .mf { color: #666666 } /* Literal.Number.Float */ +.highlight .mh { color: #666666 } /* Literal.Number.Hex */ +.highlight .mi { color: #666666 } /* Literal.Number.Integer */ +.highlight .mo { color: #666666 } /* Literal.Number.Oct */ +.highlight .sa { color: #BA2121 } /* Literal.String.Affix */ +.highlight .sb { color: #BA2121 } /* Literal.String.Backtick */ +.highlight .sc { color: #BA2121 } /* Literal.String.Char */ +.highlight .dl { color: #BA2121 } /* Literal.String.Delimiter */ +.highlight .sd { color: #BA2121; font-style: italic } /* Literal.String.Doc */ +.highlight .s2 { color: #BA2121 } /* Literal.String.Double */ +.highlight .se { color: #AA5D1F; font-weight: bold } /* Literal.String.Escape */ +.highlight .sh { color: #BA2121 } /* Literal.String.Heredoc */ +.highlight .si { color: #A45A77; font-weight: bold } /* Literal.String.Interpol */ +.highlight .sx { color: #008000 } /* Literal.String.Other */ +.highlight .sr { color: #A45A77 } /* Literal.String.Regex */ +.highlight .s1 { color: #BA2121 } /* Literal.String.Single */ +.highlight .ss { color: #19177C } /* Literal.String.Symbol */ +.highlight .bp { color: #008000 } /* Name.Builtin.Pseudo */ +.highlight .fm { color: #0000FF } /* Name.Function.Magic */ +.highlight .vc { color: #19177C } /* Name.Variable.Class */ +.highlight .vg { color: #19177C } /* Name.Variable.Global */ +.highlight .vi { color: #19177C } /* Name.Variable.Instance */ +.highlight .vm { color: #19177C } /* Name.Variable.Magic */ +.highlight .il { color: #666666 } /* Literal.Number.Integer.Long */ \ No newline at end of file diff --git a/_static/searchtools.js b/_static/searchtools.js new file mode 100644 index 00000000..2c774d17 --- /dev/null +++ b/_static/searchtools.js @@ -0,0 +1,632 @@ +/* + * Sphinx JavaScript utilities for the full-text search. + */ +"use strict"; + +/** + * Simple result scoring code. + */ +if (typeof Scorer === "undefined") { + var Scorer = { + // Implement the following function to further tweak the score for each result + // The function takes a result array [docname, title, anchor, descr, score, filename] + // and returns the new score. + /* + score: result => { + const [docname, title, anchor, descr, score, filename, kind] = result + return score + }, + */ + + // query matches the full name of an object + objNameMatch: 11, + // or matches in the last dotted part of the object name + objPartialMatch: 6, + // Additive scores depending on the priority of the object + objPrio: { + 0: 15, // used to be importantResults + 1: 5, // used to be objectResults + 2: -5, // used to be unimportantResults + }, + // Used when the priority is not in the mapping. + objPrioDefault: 0, + + // query found in title + title: 15, + partialTitle: 7, + // query found in terms + term: 5, + partialTerm: 2, + }; +} + +// Global search result kind enum, used by themes to style search results. +class SearchResultKind { + static get index() { return "index"; } + static get object() { return "object"; } + static get text() { return "text"; } + static get title() { return "title"; } +} + +const _removeChildren = (element) => { + while (element && element.lastChild) element.removeChild(element.lastChild); +}; + +/** + * See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions#escaping + */ +const _escapeRegExp = (string) => + string.replace(/[.*+\-?^${}()|[\]\\]/g, "\\$&"); // $& means the whole matched string + +const _displayItem = (item, searchTerms, highlightTerms) => { + const docBuilder = DOCUMENTATION_OPTIONS.BUILDER; + const docFileSuffix = DOCUMENTATION_OPTIONS.FILE_SUFFIX; + const docLinkSuffix = DOCUMENTATION_OPTIONS.LINK_SUFFIX; + const showSearchSummary = DOCUMENTATION_OPTIONS.SHOW_SEARCH_SUMMARY; + const contentRoot = document.documentElement.dataset.content_root; + + const [docName, title, anchor, descr, score, _filename, kind] = item; + + let listItem = document.createElement("li"); + // Add a class representing the item's type: + // can be used by a theme's CSS selector for styling + // See SearchResultKind for the class names. + listItem.classList.add(`kind-${kind}`); + let requestUrl; + let linkUrl; + if (docBuilder === "dirhtml") { + // dirhtml builder + let dirname = docName + "/"; + if (dirname.match(/\/index\/$/)) + dirname = dirname.substring(0, dirname.length - 6); + else if (dirname === "index/") dirname = ""; + requestUrl = contentRoot + dirname; + linkUrl = requestUrl; + } else { + // normal html builders + requestUrl = contentRoot + docName + docFileSuffix; + linkUrl = docName + docLinkSuffix; + } + let linkEl = listItem.appendChild(document.createElement("a")); + linkEl.href = linkUrl + anchor; + linkEl.dataset.score = score; + linkEl.innerHTML = title; + if (descr) { + listItem.appendChild(document.createElement("span")).innerHTML = + " (" + descr + ")"; + // highlight search terms in the description + if (SPHINX_HIGHLIGHT_ENABLED) // set in sphinx_highlight.js + highlightTerms.forEach((term) => _highlightText(listItem, term, "highlighted")); + } + else if (showSearchSummary) + fetch(requestUrl) + .then((responseData) => responseData.text()) + .then((data) => { + if (data) + listItem.appendChild( + Search.makeSearchSummary(data, searchTerms, anchor) + ); + // highlight search terms in the summary + if (SPHINX_HIGHLIGHT_ENABLED) // set in sphinx_highlight.js + highlightTerms.forEach((term) => _highlightText(listItem, term, "highlighted")); + }); + Search.output.appendChild(listItem); +}; +const _finishSearch = (resultCount) => { + Search.stopPulse(); + Search.title.innerText = _("Search Results"); + if (!resultCount) + Search.status.innerText = Documentation.gettext( + "Your search did not match any documents. Please make sure that all words are spelled correctly and that you've selected enough categories." + ); + else + Search.status.innerText = Documentation.ngettext( + "Search finished, found one page matching the search query.", + "Search finished, found ${resultCount} pages matching the search query.", + resultCount, + ).replace('${resultCount}', resultCount); +}; +const _displayNextItem = ( + results, + resultCount, + searchTerms, + highlightTerms, +) => { + // results left, load the summary and display it + // this is intended to be dynamic (don't sub resultsCount) + if (results.length) { + _displayItem(results.pop(), searchTerms, highlightTerms); + setTimeout( + () => _displayNextItem(results, resultCount, searchTerms, highlightTerms), + 5 + ); + } + // search finished, update title and status message + else _finishSearch(resultCount); +}; +// Helper function used by query() to order search results. +// Each input is an array of [docname, title, anchor, descr, score, filename, kind]. +// Order the results by score (in opposite order of appearance, since the +// `_displayNextItem` function uses pop() to retrieve items) and then alphabetically. +const _orderResultsByScoreThenName = (a, b) => { + const leftScore = a[4]; + const rightScore = b[4]; + if (leftScore === rightScore) { + // same score: sort alphabetically + const leftTitle = a[1].toLowerCase(); + const rightTitle = b[1].toLowerCase(); + if (leftTitle === rightTitle) return 0; + return leftTitle > rightTitle ? -1 : 1; // inverted is intentional + } + return leftScore > rightScore ? 1 : -1; +}; + +/** + * Default splitQuery function. Can be overridden in ``sphinx.search`` with a + * custom function per language. + * + * The regular expression works by splitting the string on consecutive characters + * that are not Unicode letters, numbers, underscores, or emoji characters. + * This is the same as ``\W+`` in Python, preserving the surrogate pair area. + */ +if (typeof splitQuery === "undefined") { + var splitQuery = (query) => query + .split(/[^\p{Letter}\p{Number}_\p{Emoji_Presentation}]+/gu) + .filter(term => term) // remove remaining empty strings +} + +/** + * Search Module + */ +const Search = { + _index: null, + _queued_query: null, + _pulse_status: -1, + + htmlToText: (htmlString, anchor) => { + const htmlElement = new DOMParser().parseFromString(htmlString, 'text/html'); + for (const removalQuery of [".headerlink", "script", "style"]) { + htmlElement.querySelectorAll(removalQuery).forEach((el) => { el.remove() }); + } + if (anchor) { + const anchorContent = htmlElement.querySelector(`[role="main"] ${anchor}`); + if (anchorContent) return anchorContent.textContent; + + console.warn( + `Anchored content block not found. Sphinx search tries to obtain it via DOM query '[role=main] ${anchor}'. Check your theme or template.` + ); + } + + // if anchor not specified or not found, fall back to main content + const docContent = htmlElement.querySelector('[role="main"]'); + if (docContent) return docContent.textContent; + + console.warn( + "Content block not found. Sphinx search tries to obtain it via DOM query '[role=main]'. Check your theme or template." + ); + return ""; + }, + + init: () => { + const query = new URLSearchParams(window.location.search).get("q"); + document + .querySelectorAll('input[name="q"]') + .forEach((el) => (el.value = query)); + if (query) Search.performSearch(query); + }, + + loadIndex: (url) => + (document.body.appendChild(document.createElement("script")).src = url), + + setIndex: (index) => { + Search._index = index; + if (Search._queued_query !== null) { + const query = Search._queued_query; + Search._queued_query = null; + Search.query(query); + } + }, + + hasIndex: () => Search._index !== null, + + deferQuery: (query) => (Search._queued_query = query), + + stopPulse: () => (Search._pulse_status = -1), + + startPulse: () => { + if (Search._pulse_status >= 0) return; + + const pulse = () => { + Search._pulse_status = (Search._pulse_status + 1) % 4; + Search.dots.innerText = ".".repeat(Search._pulse_status); + if (Search._pulse_status >= 0) window.setTimeout(pulse, 500); + }; + pulse(); + }, + + /** + * perform a search for something (or wait until index is loaded) + */ + performSearch: (query) => { + // create the required interface elements + const searchText = document.createElement("h2"); + searchText.textContent = _("Searching"); + const searchSummary = document.createElement("p"); + searchSummary.classList.add("search-summary"); + searchSummary.innerText = ""; + const searchList = document.createElement("ul"); + searchList.setAttribute("role", "list"); + searchList.classList.add("search"); + + const out = document.getElementById("search-results"); + Search.title = out.appendChild(searchText); + Search.dots = Search.title.appendChild(document.createElement("span")); + Search.status = out.appendChild(searchSummary); + Search.output = out.appendChild(searchList); + + const searchProgress = document.getElementById("search-progress"); + // Some themes don't use the search progress node + if (searchProgress) { + searchProgress.innerText = _("Preparing search..."); + } + Search.startPulse(); + + // index already loaded, the browser was quick! + if (Search.hasIndex()) Search.query(query); + else Search.deferQuery(query); + }, + + _parseQuery: (query) => { + // stem the search terms and add them to the correct list + const stemmer = new Stemmer(); + const searchTerms = new Set(); + const excludedTerms = new Set(); + const highlightTerms = new Set(); + const objectTerms = new Set(splitQuery(query.toLowerCase().trim())); + splitQuery(query.trim()).forEach((queryTerm) => { + const queryTermLower = queryTerm.toLowerCase(); + + // maybe skip this "word" + // stopwords array is from language_data.js + if ( + stopwords.indexOf(queryTermLower) !== -1 || + queryTerm.match(/^\d+$/) + ) + return; + + // stem the word + let word = stemmer.stemWord(queryTermLower); + // select the correct list + if (word[0] === "-") excludedTerms.add(word.substr(1)); + else { + searchTerms.add(word); + highlightTerms.add(queryTermLower); + } + }); + + if (SPHINX_HIGHLIGHT_ENABLED) { // set in sphinx_highlight.js + localStorage.setItem("sphinx_highlight_terms", [...highlightTerms].join(" ")) + } + + // console.debug("SEARCH: searching for:"); + // console.info("required: ", [...searchTerms]); + // console.info("excluded: ", [...excludedTerms]); + + return [query, searchTerms, excludedTerms, highlightTerms, objectTerms]; + }, + + /** + * execute search (requires search index to be loaded) + */ + _performSearch: (query, searchTerms, excludedTerms, highlightTerms, objectTerms) => { + const filenames = Search._index.filenames; + const docNames = Search._index.docnames; + const titles = Search._index.titles; + const allTitles = Search._index.alltitles; + const indexEntries = Search._index.indexentries; + + // Collect multiple result groups to be sorted separately and then ordered. + // Each is an array of [docname, title, anchor, descr, score, filename, kind]. + const normalResults = []; + const nonMainIndexResults = []; + + _removeChildren(document.getElementById("search-progress")); + + const queryLower = query.toLowerCase().trim(); + for (const [title, foundTitles] of Object.entries(allTitles)) { + if (title.toLowerCase().trim().includes(queryLower) && (queryLower.length >= title.length/2)) { + for (const [file, id] of foundTitles) { + const score = Math.round(Scorer.title * queryLower.length / title.length); + const boost = titles[file] === title ? 1 : 0; // add a boost for document titles + normalResults.push([ + docNames[file], + titles[file] !== title ? `${titles[file]} > ${title}` : title, + id !== null ? "#" + id : "", + null, + score + boost, + filenames[file], + SearchResultKind.title, + ]); + } + } + } + + // search for explicit entries in index directives + for (const [entry, foundEntries] of Object.entries(indexEntries)) { + if (entry.includes(queryLower) && (queryLower.length >= entry.length/2)) { + for (const [file, id, isMain] of foundEntries) { + const score = Math.round(100 * queryLower.length / entry.length); + const result = [ + docNames[file], + titles[file], + id ? "#" + id : "", + null, + score, + filenames[file], + SearchResultKind.index, + ]; + if (isMain) { + normalResults.push(result); + } else { + nonMainIndexResults.push(result); + } + } + } + } + + // lookup as object + objectTerms.forEach((term) => + normalResults.push(...Search.performObjectSearch(term, objectTerms)) + ); + + // lookup as search terms in fulltext + normalResults.push(...Search.performTermsSearch(searchTerms, excludedTerms)); + + // let the scorer override scores with a custom scoring function + if (Scorer.score) { + normalResults.forEach((item) => (item[4] = Scorer.score(item))); + nonMainIndexResults.forEach((item) => (item[4] = Scorer.score(item))); + } + + // Sort each group of results by score and then alphabetically by name. + normalResults.sort(_orderResultsByScoreThenName); + nonMainIndexResults.sort(_orderResultsByScoreThenName); + + // Combine the result groups in (reverse) order. + // Non-main index entries are typically arbitrary cross-references, + // so display them after other results. + let results = [...nonMainIndexResults, ...normalResults]; + + // remove duplicate search results + // note the reversing of results, so that in the case of duplicates, the highest-scoring entry is kept + let seen = new Set(); + results = results.reverse().reduce((acc, result) => { + let resultStr = result.slice(0, 4).concat([result[5]]).map(v => String(v)).join(','); + if (!seen.has(resultStr)) { + acc.push(result); + seen.add(resultStr); + } + return acc; + }, []); + + return results.reverse(); + }, + + query: (query) => { + const [searchQuery, searchTerms, excludedTerms, highlightTerms, objectTerms] = Search._parseQuery(query); + const results = Search._performSearch(searchQuery, searchTerms, excludedTerms, highlightTerms, objectTerms); + + // for debugging + //Search.lastresults = results.slice(); // a copy + // console.info("search results:", Search.lastresults); + + // print the results + _displayNextItem(results, results.length, searchTerms, highlightTerms); + }, + + /** + * search for object names + */ + performObjectSearch: (object, objectTerms) => { + const filenames = Search._index.filenames; + const docNames = Search._index.docnames; + const objects = Search._index.objects; + const objNames = Search._index.objnames; + const titles = Search._index.titles; + + const results = []; + + const objectSearchCallback = (prefix, match) => { + const name = match[4] + const fullname = (prefix ? prefix + "." : "") + name; + const fullnameLower = fullname.toLowerCase(); + if (fullnameLower.indexOf(object) < 0) return; + + let score = 0; + const parts = fullnameLower.split("."); + + // check for different match types: exact matches of full name or + // "last name" (i.e. last dotted part) + if (fullnameLower === object || parts.slice(-1)[0] === object) + score += Scorer.objNameMatch; + else if (parts.slice(-1)[0].indexOf(object) > -1) + score += Scorer.objPartialMatch; // matches in last name + + const objName = objNames[match[1]][2]; + const title = titles[match[0]]; + + // If more than one term searched for, we require other words to be + // found in the name/title/description + const otherTerms = new Set(objectTerms); + otherTerms.delete(object); + if (otherTerms.size > 0) { + const haystack = `${prefix} ${name} ${objName} ${title}`.toLowerCase(); + if ( + [...otherTerms].some((otherTerm) => haystack.indexOf(otherTerm) < 0) + ) + return; + } + + let anchor = match[3]; + if (anchor === "") anchor = fullname; + else if (anchor === "-") anchor = objNames[match[1]][1] + "-" + fullname; + + const descr = objName + _(", in ") + title; + + // add custom score for some objects according to scorer + if (Scorer.objPrio.hasOwnProperty(match[2])) + score += Scorer.objPrio[match[2]]; + else score += Scorer.objPrioDefault; + + results.push([ + docNames[match[0]], + fullname, + "#" + anchor, + descr, + score, + filenames[match[0]], + SearchResultKind.object, + ]); + }; + Object.keys(objects).forEach((prefix) => + objects[prefix].forEach((array) => + objectSearchCallback(prefix, array) + ) + ); + return results; + }, + + /** + * search for full-text terms in the index + */ + performTermsSearch: (searchTerms, excludedTerms) => { + // prepare search + const terms = Search._index.terms; + const titleTerms = Search._index.titleterms; + const filenames = Search._index.filenames; + const docNames = Search._index.docnames; + const titles = Search._index.titles; + + const scoreMap = new Map(); + const fileMap = new Map(); + + // perform the search on the required terms + searchTerms.forEach((word) => { + const files = []; + const arr = [ + { files: terms[word], score: Scorer.term }, + { files: titleTerms[word], score: Scorer.title }, + ]; + // add support for partial matches + if (word.length > 2) { + const escapedWord = _escapeRegExp(word); + if (!terms.hasOwnProperty(word)) { + Object.keys(terms).forEach((term) => { + if (term.match(escapedWord)) + arr.push({ files: terms[term], score: Scorer.partialTerm }); + }); + } + if (!titleTerms.hasOwnProperty(word)) { + Object.keys(titleTerms).forEach((term) => { + if (term.match(escapedWord)) + arr.push({ files: titleTerms[term], score: Scorer.partialTitle }); + }); + } + } + + // no match but word was a required one + if (arr.every((record) => record.files === undefined)) return; + + // found search word in contents + arr.forEach((record) => { + if (record.files === undefined) return; + + let recordFiles = record.files; + if (recordFiles.length === undefined) recordFiles = [recordFiles]; + files.push(...recordFiles); + + // set score for the word in each file + recordFiles.forEach((file) => { + if (!scoreMap.has(file)) scoreMap.set(file, {}); + scoreMap.get(file)[word] = record.score; + }); + }); + + // create the mapping + files.forEach((file) => { + if (!fileMap.has(file)) fileMap.set(file, [word]); + else if (fileMap.get(file).indexOf(word) === -1) fileMap.get(file).push(word); + }); + }); + + // now check if the files don't contain excluded terms + const results = []; + for (const [file, wordList] of fileMap) { + // check if all requirements are matched + + // as search terms with length < 3 are discarded + const filteredTermCount = [...searchTerms].filter( + (term) => term.length > 2 + ).length; + if ( + wordList.length !== searchTerms.size && + wordList.length !== filteredTermCount + ) + continue; + + // ensure that none of the excluded terms is in the search result + if ( + [...excludedTerms].some( + (term) => + terms[term] === file || + titleTerms[term] === file || + (terms[term] || []).includes(file) || + (titleTerms[term] || []).includes(file) + ) + ) + break; + + // select one (max) score for the file. + const score = Math.max(...wordList.map((w) => scoreMap.get(file)[w])); + // add result to the result list + results.push([ + docNames[file], + titles[file], + "", + null, + score, + filenames[file], + SearchResultKind.text, + ]); + } + return results; + }, + + /** + * helper function to return a node containing the + * search summary for a given text. keywords is a list + * of stemmed words. + */ + makeSearchSummary: (htmlText, keywords, anchor) => { + const text = Search.htmlToText(htmlText, anchor); + if (text === "") return null; + + const textLower = text.toLowerCase(); + const actualStartPosition = [...keywords] + .map((k) => textLower.indexOf(k.toLowerCase())) + .filter((i) => i > -1) + .slice(-1)[0]; + const startWithContext = Math.max(actualStartPosition - 120, 0); + + const top = startWithContext === 0 ? "" : "..."; + const tail = startWithContext + 240 < text.length ? "..." : ""; + + let summary = document.createElement("p"); + summary.classList.add("context"); + summary.textContent = top + text.substr(startWithContext, 240).trim() + tail; + + return summary; + }, +}; + +_ready(Search.init); diff --git a/_static/sphinx_highlight.js b/_static/sphinx_highlight.js new file mode 100644 index 00000000..8a96c69a --- /dev/null +++ b/_static/sphinx_highlight.js @@ -0,0 +1,154 @@ +/* Highlighting utilities for Sphinx HTML documentation. */ +"use strict"; + +const SPHINX_HIGHLIGHT_ENABLED = true + +/** + * highlight a given string on a node by wrapping it in + * span elements with the given class name. + */ +const _highlight = (node, addItems, text, className) => { + if (node.nodeType === Node.TEXT_NODE) { + const val = node.nodeValue; + const parent = node.parentNode; + const pos = val.toLowerCase().indexOf(text); + if ( + pos >= 0 && + !parent.classList.contains(className) && + !parent.classList.contains("nohighlight") + ) { + let span; + + const closestNode = parent.closest("body, svg, foreignObject"); + const isInSVG = closestNode && closestNode.matches("svg"); + if (isInSVG) { + span = document.createElementNS("http://www.w3.org/2000/svg", "tspan"); + } else { + span = document.createElement("span"); + span.classList.add(className); + } + + span.appendChild(document.createTextNode(val.substr(pos, text.length))); + const rest = document.createTextNode(val.substr(pos + text.length)); + parent.insertBefore( + span, + parent.insertBefore( + rest, + node.nextSibling + ) + ); + node.nodeValue = val.substr(0, pos); + /* There may be more occurrences of search term in this node. So call this + * function recursively on the remaining fragment. + */ + _highlight(rest, addItems, text, className); + + if (isInSVG) { + const rect = document.createElementNS( + "http://www.w3.org/2000/svg", + "rect" + ); + const bbox = parent.getBBox(); + rect.x.baseVal.value = bbox.x; + rect.y.baseVal.value = bbox.y; + rect.width.baseVal.value = bbox.width; + rect.height.baseVal.value = bbox.height; + rect.setAttribute("class", className); + addItems.push({ parent: parent, target: rect }); + } + } + } else if (node.matches && !node.matches("button, select, textarea")) { + node.childNodes.forEach((el) => _highlight(el, addItems, text, className)); + } +}; +const _highlightText = (thisNode, text, className) => { + let addItems = []; + _highlight(thisNode, addItems, text, className); + addItems.forEach((obj) => + obj.parent.insertAdjacentElement("beforebegin", obj.target) + ); +}; + +/** + * Small JavaScript module for the documentation. + */ +const SphinxHighlight = { + + /** + * highlight the search words provided in localstorage in the text + */ + highlightSearchWords: () => { + if (!SPHINX_HIGHLIGHT_ENABLED) return; // bail if no highlight + + // get and clear terms from localstorage + const url = new URL(window.location); + const highlight = + localStorage.getItem("sphinx_highlight_terms") + || url.searchParams.get("highlight") + || ""; + localStorage.removeItem("sphinx_highlight_terms") + url.searchParams.delete("highlight"); + window.history.replaceState({}, "", url); + + // get individual terms from highlight string + const terms = highlight.toLowerCase().split(/\s+/).filter(x => x); + if (terms.length === 0) return; // nothing to do + + // There should never be more than one element matching "div.body" + const divBody = document.querySelectorAll("div.body"); + const body = divBody.length ? divBody[0] : document.querySelector("body"); + window.setTimeout(() => { + terms.forEach((term) => _highlightText(body, term, "highlighted")); + }, 10); + + const searchBox = document.getElementById("searchbox"); + if (searchBox === null) return; + searchBox.appendChild( + document + .createRange() + .createContextualFragment( + '" + ) + ); + }, + + /** + * helper function to hide the search marks again + */ + hideSearchWords: () => { + document + .querySelectorAll("#searchbox .highlight-link") + .forEach((el) => el.remove()); + document + .querySelectorAll("span.highlighted") + .forEach((el) => el.classList.remove("highlighted")); + localStorage.removeItem("sphinx_highlight_terms") + }, + + initEscapeListener: () => { + // only install a listener if it is really needed + if (!DOCUMENTATION_OPTIONS.ENABLE_SEARCH_SHORTCUTS) return; + + document.addEventListener("keydown", (event) => { + // bail for input elements + if (BLACKLISTED_KEY_CONTROL_ELEMENTS.has(document.activeElement.tagName)) return; + // bail with special keys + if (event.shiftKey || event.altKey || event.ctrlKey || event.metaKey) return; + if (DOCUMENTATION_OPTIONS.ENABLE_SEARCH_SHORTCUTS && (event.key === "Escape")) { + SphinxHighlight.hideSearchWords(); + event.preventDefault(); + } + }); + }, +}; + +_ready(() => { + /* Do not call highlightSearchWords() when we are on the search page. + * It will highlight words from the *previous* search query. + */ + if (typeof Search === "undefined") SphinxHighlight.highlightSearchWords(); + SphinxHighlight.initEscapeListener(); +}); diff --git a/api/api.html b/api/api.html new file mode 100644 index 00000000..75c43fd8 --- /dev/null +++ b/api/api.html @@ -0,0 +1,1096 @@ + + + + + + + + + pyflyby API — pyflyby 1.9.8 documentation + + + + + + + + + + + + + + + + + +
+ + +
+ +
+
+
+ +
+
+
+
+ +
+

pyflyby API

+
+

Contents:

+ +
+
+ + +
+
+ +
+
+
+
+ + + + \ No newline at end of file diff --git a/api/autoimp.html b/api/autoimp.html new file mode 100644 index 00000000..ac0cf6cd --- /dev/null +++ b/api/autoimp.html @@ -0,0 +1,1492 @@ + + + + + + + + + _autoimp module — pyflyby 1.9.8 documentation + + + + + + + + + + + + + + + + + +
+ + +
+ +
+
+
+ +
+
+
+
+ +
+

_autoimp module

+
+
+exception pyflyby._autoimp.LoadSymbolError
+
+ +
+
+class pyflyby._autoimp.ScopeStack(arg, _class_delayed=None)
+

A stack of namespace scopes, as a tuple of dict s.

+

Each entry is a dict.

+

Ordered from most-global to most-local. +Builtins are always included. +Duplicates are removed.

+
+
+_abc_impl = <_abc._abc_data object>
+
+ +
+
+_cached_has_star_import = False
+
+ +
+
+clone_top()
+

Return a new ScopeStack referencing the same namespaces as self, +but cloning the topmost namespace (and aliasing the others).

+
+ +
+
+has_star_import()
+

Return whether there are any star-imports in this ScopeStack. +Only relevant in AST-based static analysis mode.

+
+ +
+
+merged_to_two()
+

Return a 2-tuple of dicts.

+

These can be used for functions that take a globals and locals +argument, such as eval.

+

If there is only one entry, then return it twice.

+

If there are more than two entries, then create a new dict that merges +the more-global ones. The most-local stack will alias the dict from +the existing ScopeStack.

+
+
Return type:
+

tuple of (dict, dict)

+
+
+
+ +
+
+with_new_scope(include_class_scopes=False, new_class_scope=False, unhide_classdef=False)
+

Return a new ScopeStack with an additional empty scope.

+
+
Parameters:
+
    +
  • include_class_scopes – Whether to include previous scopes that are meant for ClassDefs.

  • +
  • new_class_scope – Whether the new scope is for a ClassDef.

  • +
  • unhide_classdef – Unhide class definitiion scope (when we enter a method)

  • +
+
+
Return type:
+

ScopeStack

+
+
+
+ +
+ +
+
+class pyflyby._autoimp._ClassScope
+
+ +
+
+pyflyby._autoimp._IMPORT_FAILED: Set[Any] = {}
+

Set of imports we’ve already attempted and failed.

+
+ +
+
+class pyflyby._autoimp._MissingImportFinder(scopestack, *, find_unused_imports, parse_docstrings)
+

A helper class to be used only by _find_missing_imports_in_ast.

+

This class visits every AST node and collects symbols that require +importing. A symbol requires importing if it is not already imported or +otherwise defined/assigned in this scope.

+

For attributes like “foo.bar.baz”, we need to be more sophisticated:

+

Suppose the user imports “foo.bar” and then accesses “foo.bar.baz.quux”. +Baz may be already available just by importing foo.bar, or it may require +further import. We decide as follows. If foo.bar is not a module, then +we assume whatever’s under it can’t be imported. If foo.bar is a module +but does not have a ‘baz’ attribute, then it does require import.

+
+
+_NewScopeCtx(**kwargs)
+

Context manager that temporarily pushes a new empty namespace onto the +stack of namespaces.

+
+ +
+
+_UpScopeCtx()
+

Context manager that temporarily moves up one in the scope stack

+
+ +
+
+_check_load(fullname, scopestack, lineno)
+

Check if the symbol needs import. (As a side effect, if the object +is a _UseChecker, this will mark it as used.

+

TODO: It would be +better to refactor symbol_needs_import so that it just returns the +object it found, and we mark it as used here.)

+
+ +
+
+_deferred_load_checks: list[tuple[str, ScopeStack, Optional[int]]]
+
+ +
+
+_finish_deferred_load_checks()
+
+ +
+
+_get_scope_info()
+
+ +
+
+_lineno: Optional[int]
+
+ +
+
+_remove_from_missing_imports(fullname)
+
+ +
+
+_scan_node(node)
+
+ +
+
+_scan_unused_imports()
+
+ +
+
+_visit_Load(fullname)
+
+ +
+
+_visit_Load_defered(fullname)
+
+ +
+
+_visit_Load_defered_global(fullname)
+

Some things will be resolved in global scope later.

+
+ +
+
+_visit_Load_immediate(fullname)
+
+ +
+
+_visit_Store(fullname, value=None)
+
+ +
+
+_visit_StoreImport(node, modulename)
+
+ +
+
+_visit__all__(node)
+
+ +
+
+_visit_fullname(fullname, ctx)
+
+ +
+
+_visit_typecomment(typecomment)
+

Warning, when a type comment the node is a string, not an ast node. +We also get two types of type comments:

+

The signature one just after a function definition

+
+
+
def foo(a):

# type: int -> None +pass

+
+
+
+

And the variable annotation ones:

+
+
+
def foo(a #type: int

): +pass

+
+
+
+

ast parse “func_type” mode only support the first one.

+
+ +
+
+find_missing_imports(node)
+
+ +
+
+generic_visit(node)
+

Generic visitor that visits all of the node’s field values, in the +order declared by node._fields.

+

Called if no explicit visitor function exists for a node.

+
+ +
+
+missing_imports: List[Tuple[Optional[int], DottedIdentifier]]
+
+ +
+
+parse_docstrings: bool
+
+ +
+
+scan_for_import_issues(codeblock)
+
+ +
+
+scopestack: ScopeStack
+
+ +
+
+unused_imports: Optional[List[Tuple[int, str]]]
+
+ +
+
+visit(node)
+

Visit a node.

+
+
+
+ +
+
+visit_Assign(node)
+
+ +
+
+visit_AsyncFunctionDef(node)
+
+ +
+
+visit_Attribute(node)
+
+ +
+
+visit_Call(node)
+
+ +
+
+visit_ClassDef(node)
+
+ +
+
+visit_Constant(node)
+
+ +
+
+visit_Delete(node)
+
+ +
+
+visit_Dict(node)
+
+ +
+
+visit_DictComp(node)
+
+ +
+
+visit_ExceptHandler(node)
+
+ +
+
+visit_Expr(node)
+
+ +
+
+visit_FunctionDef(node)
+
+ +
+
+visit_GeneratorExp(node)
+
+ +
+
+visit_ImportFrom(node)
+
+ +
+
+visit_Lambda(node)
+
+ +
+
+visit_ListComp(node)
+
+ +
+
+visit_Match(node)
+
+ +
+
+visit_MatchAs(node)
+
+ +
+
+visit_MatchMapping(node)
+
+ +
+
+visit_Module(node)
+
+ +
+
+visit_Name(node)
+
+ +
+
+visit_Pass(node)
+
+ +
+
+visit_SetComp(node)
+
+ +
+
+visit_alias(node, modulename=None)
+
+ +
+
+visit_arg(node)
+
+ +
+
+visit_arguments(node)
+
+ +
+
+visit_comprehension(node)
+
+ +
+
+visit_match_case(node)
+
+ +
+ +
+
+class pyflyby._autoimp._UseChecker(name, source, lineno)
+

An object that can check whether it was used.

+
+
+lineno: int
+
+ +
+
+name: str
+
+ +
+
+source: str
+
+ +
+
+used: bool = False
+
+ +
+ +
+
+pyflyby._autoimp._find_earliest_backjump_label(bytecode)
+

Find the earliest target of a backward jump.

+

These normally represent loops.

+

For example, given the source code:

+
>>> def f():
+...     if foo1():
+...         foo2()
+...     else:
+...         foo3()
+...     foo4()
+...     while foo5():  # L7
+...         foo6()
+
+
+

The earliest target of a backward jump would be the ‘while’ loop at L7, at +bytecode offset 38:

+
>>> _find_earliest_backjump_label(f.__code__.co_code) 
+38
+
+
+

Note that in this example there are earlier targets of jumps at bytecode +offsets 20 and 28, but those are targets of _forward_ jumps, and the +clients of this function care about the earliest _backward_ jump.

+

If there are no backward jumps, return an offset that points after the end +of the bytecode.

+
+
Parameters:
+

bytecode (bytes) – Compiled bytecode, e.g. function.__code__.co_code.

+
+
Return type:
+

int

+
+
Returns:
+

The earliest target of a backward jump, as an offset into the bytecode.

+
+
+
+ +
+
+pyflyby._autoimp._find_loads_without_stores_in_code(co, loads_without_stores)
+

Find global LOADs without corresponding STOREs, by disassembling code. +Recursive helper for _find_missing_imports_in_code.

+
+
Parameters:
+
    +
  • co (types.CodeType) – Code object, e.g. function.__code__

  • +
  • loads_without_stores (set) – Mutable set to which we add loads without stores.

  • +
+
+
Returns:
+

None

+
+
+
+ +
+
+pyflyby._autoimp._find_missing_imports_in_ast(node, namespaces)
+

Find missing imports in an AST node. +Helper function to find_missing_imports.

+
>>> node = ast.parse("import numpy; numpy.arange(x) + arange(x)")
+>>> _find_missing_imports_in_ast(node, [{}])
+[DottedIdentifier('arange'), DottedIdentifier('x')]
+
+
+
+
Return type:
+

list of DottedIdentifier

+
+
+
+ +
+
+pyflyby._autoimp._find_missing_imports_in_code(co, namespaces)
+

Find missing imports in a code object. +Helper function to find_missing_imports.

+
>>> f = lambda: foo.bar(x) + baz(y)
+>>> [str(m) for m in _find_missing_imports_in_code(f.__code__, [{}])]
+['baz', 'foo.bar', 'x', 'y']
+
+
+
>>> f = lambda x: (lambda: x+y)
+>>> _find_missing_imports_in_code(f.__code__, [{}])
+[DottedIdentifier('y')]
+
+
+
+
Return type:
+

list of str

+
+
+
+ +
+
+pyflyby._autoimp._try_import(imp, namespace)
+

Try to execute an import. Import the result into the namespace +namespace.

+

Print to stdout what we’re about to do.

+

Only import into namespace if we won’t clobber an existing definition.

+
+
Parameters:
+
    +
  • imp (Import or str) – The import to execute, e.g. “from numpy import arange”

  • +
  • namespace (dict) – Namespace to import into.

  • +
+
+
Returns:
+

True on success, False on failure

+
+
+
+ +
+
+pyflyby._autoimp.auto_import_symbol(fullname, namespaces, db=None, autoimported=None, post_import_hook=None)
+

Try to auto-import a single name.

+
+
Parameters:
+
    +
  • fullname (str) – Fully-qualified module name, e.g. “sqlalchemy.orm”.

  • +
  • namespaces (list of dict, e.g. [globals()].) – Namespaces to check. Namespace[-1] is the namespace to import into.

  • +
  • db (ImportDB) – Import database to use.

  • +
  • autoimported – If not None, then a dictionary of identifiers already attempted. +auto_import will not attempt to auto-import symbols already in this +dictionary, and will add attempted symbols to this dictionary, with +value True if the autoimport succeeded, or False if the autoimport +did not succeed.

  • +
  • post_import_hook (callable) – A callable that is invoked if an import was successfully made. +It is invoked with the Import object representing the successful import

  • +
+
+
Return type:
+

bool

+
+
Returns:
+

True if the symbol was already in the namespace, or the auto-import +succeeded; False if the auto-import failed.

+
+
+
+ +
+
+pyflyby._autoimp.clear_failed_imports_cache()
+

Clear the cache of previously failed imports.

+
+ +
+
+pyflyby._autoimp.get_known_import(fullname, db=None)
+

Get the deepest known import.

+

For example, suppose:

+
+
    +
  • The user accessed “foo.bar.baz”,

  • +
  • We know imports for “foo”, “foo.bar”, and “foo.bar.quux”.

  • +
+
+

Then we return “import foo.bar”.

+
+
Parameters:
+

fullname (DottedIdentifier) – Fully-qualified name, such as “scipy.interpolate”

+
+
+
+ +
+
+pyflyby._autoimp.load_symbol(fullname, namespaces, autoimport=False, db=None, autoimported=None)
+

Load the symbol fullname.

+
>>> import os
+>>> load_symbol("os.path.join.__name__", {"os": os})
+'join'
+
+
+
>>> load_symbol("os.path.join.asdf", {"os": os})
+Traceback (most recent call last):
+...
+pyflyby._autoimp.LoadSymbolError: os.path.join.asdf: AttributeError: 'function' object has no attribute 'asdf'
+
+
+
>>> load_symbol("os.path.join", {})
+Traceback (most recent call last):
+...
+pyflyby._autoimp.LoadSymbolError: os.path.join: NameError: os
+
+
+
+
Parameters:
+
    +
  • fullname (str) – Fully-qualified symbol name, e.g. “os.path.join”.

  • +
  • namespaces (dict or list of dict) – Namespaces to check.

  • +
  • autoimport – If False (default), the symbol must already be imported. +If True, then auto-import the symbol first.

  • +
  • db (ImportDB) – Import database to use when autoimport=True.

  • +
  • autoimported – If not None, then a dictionary of identifiers already attempted. +auto_import will not attempt to auto-import symbols already in this +dictionary, and will add attempted symbols to this dictionary, with +value True if the autoimport succeeded, or False if the autoimport +did not succeed.

  • +
+
+
Returns:
+

Object.

+
+
Raises:
+

LoadSymbolError – Object was not found or there was another exception.

+
+
+
+ +
+
+pyflyby._autoimp.scan_for_import_issues(codeblock, find_unused_imports=True, parse_docstrings=False)
+

Find missing and unused imports, by lineno.

+
>>> arg = "import numpy, aa.bb as cc\nnumpy.arange(x)\narange(x)"
+>>> missing, unused = scan_for_import_issues(arg)
+>>> missing
+[(2, DottedIdentifier('x')), (3, DottedIdentifier('arange')), (3, DottedIdentifier('x'))]
+>>> unused
+[(1, Import('from aa import bb as cc'))]
+
+
+
+
Parameters:
+

parse_docstrings (bool) –

Whether to parse docstrings. +Compare the following examples. When parse_docstrings=True, ‘bar’ is +not considered unused because there is a string that references it in +braces:

+
>>> scan_for_import_issues("import foo as bar, baz\n'{bar}'\n")
+([], [(1, Import('import baz')), (1, Import('import foo as bar'))])
+>>> scan_for_import_issues("import foo as bar, baz\n'{bar}'\n", parse_docstrings=True)
+([], [(1, Import('import baz'))])
+
+
+

+
+
+
+ +
+
+pyflyby._autoimp.symbol_needs_import(fullname, namespaces)
+

Return whether fullname is a symbol that needs to be imported, given +the current namespace scopes.

+

A symbol needs importing if it is not previously imported or otherwise +assigned. namespaces normally includes builtins and globals as well as +symbols imported/assigned locally within the scope.

+

If the user requested “foo.bar.baz”, and we see that “foo.bar” exists +and is not a module, we assume nothing under foo.bar needs import. +This is intentional because (1) the import would not match what is +already in the namespace, and (2) we don’t want to do call +getattr(foo.bar, “baz”), since that could invoke code that is slow or +has side effects.

+
+
Parameters:
+
    +
  • fullname (DottedIdentifier) – Fully-qualified symbol name, e.g. “os.path.join”.

  • +
  • namespaces (list of dict) – Stack of namespaces to search for existing items.

  • +
+
+
Return type:
+

bool

+
+
Returns:
+

True if fullname needs import, else False

+
+
+
+ +
+
+pyflyby._autoimp.take_arg(op)
+
+ +
+ + +
+
+ +
+
+
+
+ + + + \ No newline at end of file diff --git a/api/cmdline.html b/api/cmdline.html new file mode 100644 index 00000000..086c768a --- /dev/null +++ b/api/cmdline.html @@ -0,0 +1,924 @@ + + + + + + + + + _cmdline module — pyflyby 1.9.8 documentation + + + + + + + + + + + + + + + + + +
+ + +
+ +
+
+
+ +
+
+
+
+ +
+

_cmdline module

+
+
+exception pyflyby._cmdline.AbortActions
+
+ +
+
+exception pyflyby._cmdline.Exit1
+
+ +
+
+class pyflyby._cmdline.Modifier(modifier, filename)
+
+
+_tempfile()
+
+ +
+
+property input_content
+
+ +
+
+property input_content_filename
+
+ +
+
+property output_content
+
+ +
+
+property output_content_filename
+
+ +
+ +
+
+pyflyby._cmdline._default_on_error(filename)
+
+ +
+
+pyflyby._cmdline._sigpipe_handler(*args)
+
+ +
+
+pyflyby._cmdline.action_exit1(m)
+
+ +
+
+pyflyby._cmdline.action_external_command(command)
+
+ +
+
+pyflyby._cmdline.action_ifchanged(m)
+
+ +
+
+pyflyby._cmdline.action_print(m)
+
+ +
+
+pyflyby._cmdline.action_query(prompt='Proceed?')
+
+ +
+
+pyflyby._cmdline.action_replace(m)
+
+ +
+
+pyflyby._cmdline.filename_args(args, on_error=<function _default_on_error>)
+

Return list of filenames given command-line arguments.

+
+
Return type:
+

list of Filename

+
+
+
+ +
+
+pyflyby._cmdline.hfmt(s)
+
+ +
+
+pyflyby._cmdline.maindoc()
+
+ +
+
+pyflyby._cmdline.parse_args(addopts=None, import_format_params=False, modify_action_params=False, defaults=None)
+

Do setup for a top-level script and parse arguments.

+
+ +
+
+pyflyby._cmdline.print_version_and_exit(extra=None)
+
+ +
+
+pyflyby._cmdline.process_actions(filenames, actions, modify_function, reraise_exceptions=())
+
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+
+pyflyby._cmdline.syntax(message=None, usage=None)
+
+ +
+ + +
+
+ +
+
+
+
+ + + + \ No newline at end of file diff --git a/api/comms.html b/api/comms.html new file mode 100644 index 00000000..fbba3fda --- /dev/null +++ b/api/comms.html @@ -0,0 +1,850 @@ + + + + + + + + + _comms module — pyflyby 1.9.8 documentation + + + + + + + + + + + + + + + + + +
+ + +
+ +
+
+
+ +
+
+
+
+ +
+

_comms module

+
+
+pyflyby._comms._reformat_helper(input_code, imports)
+
+ +
+
+pyflyby._comms._register_target(target_name)
+
+ +
+
+pyflyby._comms.collect_code_with_imports_on_top(imports, cell_array)
+
+ +
+
+pyflyby._comms.comm_close_handler(comm, message)
+
+ +
+
+pyflyby._comms.comm_open_handler(comm, message)
+

Handles comm_open message for pyflyby custom comm messages. +https://jupyter-client.readthedocs.io/en/stable/messaging.html#opening-a-comm.

+

Handler for all PYFLYBY custom comm messages that are opened by the frontend +(at this point, just the jupyterlab frontend does this).

+
+ +
+
+pyflyby._comms.extract_import_statements(text)
+

This is a util for notebook interactions and extracts import statements +from some python code. This function also re-orders imports. +:param code: The code from which import statements have to be extracted +:type code: str

+
+
Returns:
+

The first returned value contains all the import statements. +The second returned value is the remaining code after +extracting the import statements.

+
+
Return type:
+

(str, str)

+
+
+
+ +
+
+pyflyby._comms.in_jupyter()
+
+ +
+
+pyflyby._comms.initialize_comms()
+
+ +
+
+pyflyby._comms.remove_comms()
+
+ +
+
+pyflyby._comms.run_tidy_imports(code)
+
+ +
+
+pyflyby._comms.send_comm_message(target_name, msg)
+
+ +
+ + +
+
+ +
+
+
+
+ + + + \ No newline at end of file diff --git a/api/dbg.html b/api/dbg.html new file mode 100644 index 00000000..ac95337a --- /dev/null +++ b/api/dbg.html @@ -0,0 +1,1070 @@ + + + + + + + + + _dbg module — pyflyby 1.9.8 documentation + + + + + + + + + + + + + + + + + +
+ + +
+ +
+
+
+ +
+
+
+
+ +
+

_dbg module

+
+
+exception pyflyby._dbg.DebuggerAttachTimeoutError
+
+ +
+
+class pyflyby._dbg.Pty
+
+
+communicate()
+
+ +
+ +
+
+pyflyby._dbg._DebuggerCtx(tty='/dev/tty')
+

A context manager that sets up the environment (stdio, sys hooks) for a +debugger, initializes IPython if necessary, and creates a debugger instance.

+
+
Returns:
+

Context manager that yields a Pdb instance.

+
+
+
+ +
+
+pyflyby._dbg._DisplayHookCtx()
+

Context manager that resets sys.displayhook to the default value upon +entry, and restores the pre-context value upon exit.

+
+ +
+
+pyflyby._dbg._ExceptHookCtx()
+

Context manager that restores sys.excepthook upon exit.

+
+ +
+
+pyflyby._dbg._FdCtx(target_fd, src_fd)
+
+ +
+
+exception pyflyby._dbg._NoTtyError
+
+ +
+
+pyflyby._dbg._StdioCtx(tty='/dev/tty')
+

Within the context, force fd {0, 1, 2}, sys.__{stdin,stdout,stderr}__, +sys.{stdin,stdout,stderr} to fd. This allows us to use the debugger even +if stdio is otherwise redirected.

+
+
Parameters:
+

tty (int or str) – Tty to use. Either a file descriptor or a name of a tty.

+
+
+
+ +
+
+pyflyby._dbg._abbrev_filename(filename)
+
+ +
+
+pyflyby._dbg._debug_code(arg, globals=None, locals=None, auto_import=True, tty='/dev/tty')
+

Run code under the debugger.

+
+
+
+ +
+
+pyflyby._dbg._debug_exception(*exc_info, **kwargs)
+

Debug an exception – print a stack trace and enter the debugger.

+

Suitable to be assigned to sys.excepthook.

+
+ +
+
+pyflyby._dbg._dev_null()
+

Return a file object opened for reading/writing to /dev/null. +Memoized.

+
+
Return type:
+

file

+
+
+
+ +
+
+pyflyby._dbg._dev_tty_fd()
+

Return a file descriptor opened to /dev/tty. +Memoized.

+
+ +
+
+pyflyby._dbg._escape_for_gdb(string)
+

Escape a string to make it safe for passing to gdb.

+
+ +
+
+pyflyby._dbg._find_py_commandline()
+
+ +
+
+pyflyby._dbg._get_caller_frame()
+

Get the closest frame from outside this module.

+
+
Return type:
+

FrameType

+
+
+
+ +
+
+pyflyby._dbg._override_excepthook(hook)
+

Override sys.excepthook with hook but also support resetting.

+

Users should call this function instead of directly overiding +sys.excepthook. This is helpful in resetting sys.excepthook in certain cases.

+
+ +
+
+pyflyby._dbg._prompt_continue_waiting_for_debugger()
+

Prompt while exiting the debugger to get user opinion on keeping the +process waiting for debugger to attach.

+
+ +
+
+pyflyby._dbg._remote_print_stack_to_file(pid, filename)
+
+ +
+
+pyflyby._dbg._reset_excepthook()
+
+ +
+
+pyflyby._dbg._send_email_with_attach_instructions(arg, mailto, originalpid)
+
+ +
+
+pyflyby._dbg._signal_handler_debugger(signal_number, interrupted_frame)
+
+ +
+
+pyflyby._dbg._sigterm_handler(signum, frame)
+
+ +
+
+pyflyby._dbg._sleep_until_debugger_attaches(arg, timeout=86400)
+
+ +
+
+pyflyby._dbg.enable_sigterm_handler(on_existing_handler='raise')
+

Install a handler for SIGTERM that causes Python to print a stack trace +before exiting.

+
+
Parameters:
+

on_existing_handler

+
What to do when a SIGTERM handler was already registered.
    +
  • If "raise", then keep the existing handler and raise an exception.

  • +
  • If "keep_existing", then silently keep the existing handler.

  • +
  • If "warn_and_override", then override the existing handler and log a warning.

  • +
  • If "silently_override", then silently override the existing handler.

  • +
+
+
+

+
+
+
+ +
+
+pyflyby._dbg.get_executable(pid)
+

Get the full path for the target process.

+
+
Return type:
+

Filename

+
+
+
+ +
+
+pyflyby._dbg.inject(pid, statements, wait=True, show_gdb_output=False)
+

Execute statements in a running Python process.

+
+
Parameters:
+
    +
  • pid (int) – Id of target process

  • +
  • statements (Iterable of strings) – Python statements to execute.

  • +
+
+
Returns:
+

Then process ID of the gdb process if wait is False; None if +wait is True.

+
+
+
+ +
+
+pyflyby._dbg.kill_process(pid, kill_signals)
+

Kill process pid using various signals.

+
+
Parameters:
+

kill_signals – Sequence of (signal, delay) tuples. Each signal is tried in sequence, +waiting up to delay seconds before trying the next signal.

+
+
+
+ +
+
+pyflyby._dbg.process_exists(pid)
+

Return whether pid exists.

+
+
Return type:
+

bool

+
+
+
+ +
+
+pyflyby._dbg.setraw_but_sigint(fd, when=2)
+

Put terminal into a raw mode.

+
+ +
+
+pyflyby._dbg.syscall_marker(msg)
+

Execute a dummy syscall that is visible in truss/strace.

+
+ +
+
+pyflyby._dbg.tty_is_usable()
+

Return whether /dev/tty is usable.

+

In interactive sessions, /dev/tty is usable; in non-interactive sessions, +/dev/tty is not usable:

+
$ ssh -t localhost py -q pyflyby._dbg.tty_is_usable
+True
+
+$ ssh -T localhost py -q pyflyby._dbg.tty_is_usable
+False
+
+
+

tty_is_usable() is useful for deciding whether we are in an interactive +terminal. In an interactive terminal we can enter the debugger directly; +in a non-interactive terminal, we need to wait_for_debugger_to_attach.

+

Note that this is different from doing e.g. isatty(0). isatty would +return False if a program was piped, even though /dev/tty is usable.

+
+ +
+
+pyflyby._dbg.wait_for_debugger_to_attach(arg, mailto=None, background=False, timeout=86400)
+

Send email to user and wait for debugger to attach.

+
+
Parameters:
+
    +
  • arg – What to debug. Should be a sys.exc_info() result or a sys._getframe() +result.

  • +
  • mailto – Recipient to email. Defaults to $USER or current user.

  • +
  • background – If True, fork a child process. The parent process continues immediately +without waiting. The child process waits for a debugger to attach, and +exits when the debugging session completes.

  • +
  • timeout – Maximum number of seconds to wait for user to attach debugger.

  • +
+
+
+
+ +
+ + +
+
+ +
+
+
+
+ + + + \ No newline at end of file diff --git a/api/file.html b/api/file.html new file mode 100644 index 00000000..6765d5fd --- /dev/null +++ b/api/file.html @@ -0,0 +1,964 @@ + + + + + + + + + _file module — pyflyby 1.9.8 documentation + + + + + + + + + + + + + + + + + +
+ + +
+ +
+
+
+ +
+
+
+
+ +
+

_file module

+
+
+class pyflyby._file.FilePos(*args)
+

A (lineno, colno) position within a FileText. +Both lineno and colno are 1-indexed.

+
+
+_ONE_ONE: ClassVar[FilePos] = FilePos(1,1)
+
+ +
+
+property _data
+
+ +
+
+classmethod _from_lc(lineno, colno)
+
+ +
+
+static _intint(args)
+
+ +
+
+colno: int
+
+ +
+
+lineno: int
+
+ +
+ +
+
+class pyflyby._file.FileText(arg, filename=None, startpos=None)
+

Represents a contiguous sequence of lines from a file.

+
+
+_colno_to_index(lineindex, colno)
+
+ +
+
+classmethod _from_lines(lines, filename, startpos)
+
+ +
+
+_lineno_to_index(lineno)
+
+ +
+
+_lines: Optional[Tuple[str, ...]] = None
+
+ +
+
+alter(filename=None, startpos=None)
+
+ +
+
+classmethod concatenate(args)
+

Concatenate a bunch of FileText arguments. Uses the filename +and startpos from the first argument.

+
+
Return type:
+

FileText

+
+
+
+ +
+
+property endpos
+

The position after the last character in the text.

+
+
Return type:
+

FilePos

+
+
+
+ +
+
+filename: Optional[Filename]
+
+ +
+
+classmethod from_filename(filename)
+
+ +
+
+property joined: str
+
+ +
+
+property lines: Tuple[str, ...]
+

Lines that have been split by newline.

+

These strings do NOT contain ‘n’.

+

If the input file ended in ‘n’, then the last item will be the empty +string. This is to avoid having to check lines[-1].endswith(’n’) +everywhere.

+
+
Return type:
+

tuple of str

+
+
+
+ +
+
+startpos: FilePos
+
+ +
+ +
+
+exception pyflyby._file.UnsafeFilenameError
+
+ +
+
+pyflyby._file._get_PATH()
+
+ +
+
+pyflyby._file.atomic_write_file(filename, data)
+
+ +
+
+pyflyby._file.expand_py_files_from_args(pathnames, on_error=<function <lambda>>)
+

Enumerate *.py files, recursively.

+

Arguments that are files are always included. +Arguments that are directories are recursively searched for *.py files.

+
+
Parameters:
+

on_error (callable) – Function that is called for arguments directly specified in pathnames +that don’t exist or are otherwise inaccessible.

+
+
Return type:
+

list of Filename s

+
+
+
+ +
+
+pyflyby._file.read_file(filename)
+
+
Return type:
+

FileText

+
+
+
+ +
+
+pyflyby._file.which(program)
+

Find program on $PATH.

+
+
Return type:
+

Filename

+
+
Returns:
+

Program on $PATH, or None if not found.

+
+
+
+ +
+
+pyflyby._file.write_file(filename, data)
+
+ +
+ + +
+
+ +
+
+
+
+ + + + \ No newline at end of file diff --git a/api/flags.html b/api/flags.html new file mode 100644 index 00000000..426f8e2d --- /dev/null +++ b/api/flags.html @@ -0,0 +1,799 @@ + + + + + + + + + _flags module — pyflyby 1.9.8 documentation + + + + + + + + + + + + + + + + + +
+ + +
+ +
+
+
+ +
+
+
+
+ +
+

_flags module

+
+
+pyflyby._flags.CompilerFlags(*args)
+

Representation of Python “compiler flags”, i.e. features from __future__.

+
>>> print(CompilerFlags(0x18000).__interactive_display__()) 
+CompilerFlags(0x18000) # from __future__ import with_statement, print_function
+
+
+
>>> print(CompilerFlags(0x10000, 0x8000).__interactive_display__()) 
+CompilerFlags(0x18000) # from __future__ import with_statement, print_function
+
+
+
>>> print(CompilerFlags('with_statement', 'print_function').__interactive_display__()) 
+CompilerFlags(0x18000) # from __future__ import with_statement, print_function
+
+
+
>>> compile("print('x', file=None)", "?", "exec", flags=CompilerFlags("print_function"), dont_inherit=1) 
+<code object ...>
+
+
+
+ +
+ + +
+
+ +
+
+
+
+ + + + \ No newline at end of file diff --git a/api/format.html b/api/format.html new file mode 100644 index 00000000..d435dabc --- /dev/null +++ b/api/format.html @@ -0,0 +1,878 @@ + + + + + + + + + _format module — pyflyby 1.9.8 documentation + + + + + + + + + + + + + + + + + +
+ + +
+ +
+
+
+ +
+
+
+
+ +
+

_format module

+
+
+class pyflyby._format.FormatParams(*args, **kwargs)
+
+
+_max_line_lenght_default = 79
+
+ +
+
+hanging_indent = 'never'
+
+ +
+
+indent = 4
+
+ +
+
+max_line_length = None
+
+ +
+
+use_black = False
+
+ +
+
+wrap_paren = True
+
+ +
+ +
+
+pyflyby._format.fill(tokens, sep=(', ', ''), prefix='', suffix='', newline='\n', max_line_length=80)
+

Given a sequences of strings, fill them into a single string with up to +max_line_length characters each.

+
>>> fill(["'hello world'", "'hello two'"],
+...            prefix=("print ", "      "), suffix=(" \\", ""),
+...            max_line_length=25)
+"print 'hello world', \\\n      'hello two'\n"
+
+
+
+
Parameters:
+
    +
  • tokens – Sequence of strings to fill. There must be at least one token.

  • +
  • sep – Separator string to append to each token. If a 2-element tuple, then +indicates the separator between tokens and the separator after the last +token. Trailing whitespace is removed from each line before appending +the suffix, but not from between tokens on the same line.

  • +
  • prefix – String to prepend at the beginning of each line. If a 2-element tuple, +then indicates the prefix for the first line and prefix for subsequent +lines.

  • +
  • suffix – String to append to the end of each line. If a 2-element tuple, then +indicates the suffix for all lines except the last, and the suffix for +the last line.

  • +
+
+
Returns:
+

Filled string.

+
+
+
+ +
+
+pyflyby._format.pyfill(prefix, tokens, params=<FormatParams {}>)
+

Fill a Python statement.

+
>>> print(pyfill('print ', ["foo.bar", "baz", "quux", "quuuuux"]), end='')
+print foo.bar, baz, quux, quuuuux
+>>> print(pyfill('print ', ["foo.bar", "baz", "quux", "quuuuux"],
+...        FormatParams(max_line_length=15, hanging_indent='auto')), end='')
+print (foo.bar,
+       baz,
+       quux,
+       quuuuux)
+>>> print(pyfill('print ', ["foo.bar", "baz", "quux", "quuuuux"],
+...        FormatParams(max_line_length=14, hanging_indent='auto')), end='')
+print (
+    foo.bar,
+    baz, quux,
+    quuuuux)
+
+
+
+
Parameters:
+
    +
  • prefix – Prefix for first line.

  • +
  • tokens – Sequence of string tokens

  • +
+
+
Return type:
+

str

+
+
+
+ +
+ + +
+
+ +
+
+
+
+ + + + \ No newline at end of file diff --git a/api/idents.html b/api/idents.html new file mode 100644 index 00000000..f261a1b9 --- /dev/null +++ b/api/idents.html @@ -0,0 +1,925 @@ + + + + + + + + + _idents module — pyflyby 1.9.8 documentation + + + + + + + + + + + + + + + + + +
+ + +
+ +
+
+
+ +
+
+
+
+ +
+

_idents module

+
+
+exception pyflyby._idents.BadDottedIdentifierError
+
+ +
+
+class pyflyby._idents.DottedIdentifier(arg, scope_info=None)
+
+
+classmethod _from_name(name, scope_info=None)
+
+ +
+
+name: str
+
+ +
+
+property parent
+
+ +
+
+parts: Tuple[str, ...]
+
+ +
+
+property prefixes
+
+ +
+
+scope_info: Optional[Dict]
+
+ +
+
+startswith(o)
+
+ +
+ +
+
+pyflyby._idents.brace_identifiers(text)
+

Parse a string and yield all tokens of the form “{some_token}”.

+
>>> list(brace_identifiers("{salutation}, {your_name}."))
+['salutation', 'your_name']
+
+
+
+ +
+
+pyflyby._idents.dotted_prefixes(dotted_name, reverse=False)
+

Return the prefixes of a dotted name.

+
>>> dotted_prefixes("aa.bb.cc")
+['aa', 'aa.bb', 'aa.bb.cc']
+
+
+
>>> dotted_prefixes("aa.bb.cc", reverse=True)
+['aa.bb.cc', 'aa.bb', 'aa']
+
+
+
+
Parameters:
+

reverse – If False (default), return shortest to longest. If True, return longest +to shortest.

+
+
Return type:
+

list of str

+
+
+
+ +
+
+pyflyby._idents.is_identifier(s, dotted=False, prefix=False)
+

Return whether s is a valid Python identifier name.

+
>>> is_identifier("foo")
+True
+
+
+
>>> is_identifier("foo+bar")
+False
+
+
+
>>> is_identifier("from")
+False
+
+
+

By default, we check whether s is a single valid identifier, meaning +dots are not allowed. If dotted=True, then we check each dotted +component:

+
>>> is_identifier("foo.bar")
+False
+
+>>> is_identifier("foo.bar", dotted=True)
+True
+
+>>> is_identifier("foo..bar", dotted=True)
+False
+
+>>> is_identifier("foo.from", dotted=True)
+False
+
+
+

By default, the string must comprise a valid identifier. If +prefix=True, then allow strings that are prefixes of valid identifiers. +Prefix=False excludes the empty string, strings with a trailing dot, and +strings with a trailing keyword component, but prefix=True does not +exclude these.

+
>>> is_identifier("foo.bar.", dotted=True)
+False
+
+
+
>>> is_identifier("foo.bar.", dotted=True, prefix=True)
+True
+
+
+
>>> is_identifier("foo.or", dotted=True)
+False
+
+
+
>>> is_identifier("foo.or", dotted=True, prefix=True)
+True
+
+
+
+
Parameters:
+
    +
  • dotted (bool) – If False (default), then the input must be a single name such as +“foo”. If True, then the input can be a single name or a dotted name +such as “foo.bar.baz”.

  • +
  • prefix (bool) – If False (Default), then the input must be a valid identifier. If +True, then the input can be a valid identifier or the prefix of a +valid identifier.

  • +
+
+
Return type:
+

bool

+
+
+
+ +
+ + +
+
+ +
+
+
+
+ + + + \ No newline at end of file diff --git a/api/importclns.html b/api/importclns.html new file mode 100644 index 00000000..7ed38276 --- /dev/null +++ b/api/importclns.html @@ -0,0 +1,1083 @@ + + + + + + + + + _importclns module — pyflyby 1.9.8 documentation + + + + + + + + + + + + + + + + + +
+ + +
+ +
+
+
+ +
+
+
+
+ +
+

_importclns module

+
+
+exception pyflyby._importclns.ConflictingImportsError
+
+ +
+
+class pyflyby._importclns.ImportMap(arg)
+

A map from import fullname identifier to fullname identifier.

+
>>> ImportMap({'a.b': 'aa.bb', 'a.b.c': 'aa.bb.cc'})
+ImportMap({'a.b': 'aa.bb', 'a.b.c': 'aa.bb.cc'})
+
+
+

An ImportMap is an immutable data structure.

+
+
+_EMPTY: ClassVar[ImportSet] = ImportMap({})
+
+ +
+
+_data: Dict
+
+ +
+
+classmethod _from_map(arg)
+
+ +
+
+classmethod _merge(maps)
+
+ +
+
+items()
+
+ +
+
+iteritems()
+
+ +
+
+iterkeys()
+
+ +
+
+keys()
+
+ +
+
+values()
+
+ +
+
+without_imports(removals)
+

Return a copy of self without the given imports. +Matches both keys and values.

+
+ +
+ +
+
+class pyflyby._importclns.ImportSet(arg, ignore_nonimports=False, ignore_shadowed=False)
+

Representation of a set of imports organized into import statements.

+
>>> ImportSet('''
+...     from m1 import f1
+...     from m2 import f1
+...     from m1 import f2
+...     import m3.m4 as m34
+... ''')
+ImportSet('''
+  from m1 import f1, f2
+  from m2 import f1
+  from m3 import m4 as m34
+''')
+
+
+

An ImportSet is an immutable data structure.

+
+
+_EMPTY: ClassVar[ImportSet] = ImportSet(''' ''')
+
+ +
+
+property _by_module_name
+

return: +(mapping from name to __future__ imports, +mapping from name to non-‘from’ imports, +mapping from name to ‘from’ imports)

+
+ +
+
+classmethod _from_args(args, ignore_nonimports=False, ignore_shadowed=False)
+
+
Parameters:
+
    +
  • ignore_nonimports (bool) – If False, complain about non-imports. If True, ignore +non-imports.

  • +
  • ignore_shadowed – See ImportSet.__new__.

  • +
+
+
Return type:
+

ImportSet

+
+
+
+ +
+
+classmethod _from_imports(imports, ignore_shadowed=False)
+
+
Parameters:
+

ignore_shadowed (bool) – See ImportSet.__new__.

+
+
Return type:
+

ImportSet

+
+
+
+ +
+
+_importset: FrozenSet[Import]
+
+ +
+
+property by_import_as
+

Map from import_as to Import.

+
>>> ImportSet('from aa.bb import cc as dd').by_import_as
+{'dd': (Import('from aa.bb import cc as dd'),)}
+
+
+
+
Return type:
+

dict mapping from str to tuple of Import s

+
+
+
+ +
+
+property conflicting_imports
+

Returns imports that conflict with each other.

+
>>> ImportSet('import b\nfrom f import a as b\n').conflicting_imports
+('b',)
+
+
+
>>> ImportSet('import b\nfrom f import a\n').conflicting_imports
+()
+
+
+
+
Return type:
+

bool

+
+
+
+ +
+
+property flags
+

If this contains __future__ imports, then the bitwise-ORed of the +compiler_flag values associated with the features. Otherwise, 0.

+
+ +
+
+get_statements(separate_from_imports=True)
+

Canonicalized ImportStatement s. +These have been merged by module and sorted.

+
>>> importset = ImportSet('''
+...     import a, b as B, c, d.dd as DD
+...     from __future__ import division
+...     from _hello import there
+...     from _hello import *
+...     from _hello import world
+... ''')
+
+
+
>>> for s in importset.get_statements(): print(s)
+from __future__ import division
+import a
+import b as B
+import c
+from _hello import *
+from _hello import there, world
+from d import dd as DD
+
+
+
+
Return type:
+

tuple of ImportStatement s

+
+
+
+ +
+
+property imports
+

Canonicalized imports, in the same order as self.statements.

+
+
Return type:
+

tuple of Import s

+
+
+
+ +
+
+property member_names
+

Map from parent module/package fullname to known member names.

+
>>> impset = ImportSet("import numpy.linalg.info\nfrom sys import exit as EXIT")
+>>> import pprint
+>>> pprint.pprint(impset.member_names)
+{'': ('EXIT', 'numpy', 'sys'),
+ 'numpy': ('linalg',),
+ 'numpy.linalg': ('info',),
+ 'sys': ('exit',)}
+
+
+

This is used by the autoimporter module for implementing tab completion.

+
+
Return type:
+

dict mapping from str to tuple of str

+
+
+
+ +
+
+pretty_print(params=None, allow_conflicts=False)
+

Pretty-print a block of import statements into a single string.

+
+
Return type:
+

str

+
+
+
+ +
+
+property statements
+

Canonicalized ImportStatement s. +These have been merged by module and sorted.

+
+
Return type:
+

tuple of ImportStatement s

+
+
+
+ +
+
+with_imports(other)
+

Return a new ImportSet that is the union of self and +new_imports.

+
>>> impset = ImportSet('from m import t1, t2, t3')
+>>> impset.with_imports('import m.t2a as t2b')
+ImportSet('''
+  from m import t1, t2, t2a as t2b, t3
+''')
+
+
+
+
Return type:
+

ImportSet

+
+
+
+ +
+
+without_imports(removals)
+

Return a copy of self without the given imports.

+
>>> imports = ImportSet('from m import t1, t2, t3, t4')
+>>> imports.without_imports(['from m import t3'])
+ImportSet('''
+  from m import t1, t2, t4
+''')
+
+
+
+
Return type:
+

ImportSet

+
+
+
+ +
+ +
+
+exception pyflyby._importclns.NoSuchImportError
+
+ +
+ + +
+
+ +
+
+
+
+ + + + \ No newline at end of file diff --git a/api/importdb.html b/api/importdb.html new file mode 100644 index 00000000..61eef80b --- /dev/null +++ b/api/importdb.html @@ -0,0 +1,852 @@ + + + + + + + + + _importdb module — pyflyby 1.9.8 documentation + + + + + + + + + + + + + + + + + +
+ + +
+ +
+
+
+ +
+
+
+
+ +
+

_importdb module

+
+
+pyflyby._importdb._ancestors_on_same_partition(filename)
+

Generate ancestors of filename that exist and are on the same partition +as the first existing ancestor of filename.

+

For example, suppose a partition is mounted on /u/homer; /u is a different +partition. Suppose /u/homer/aa exists but /u/homer/aa/bb does not exist. +Then:

+
>>> _ancestors_on_same_partition(Filename("/u/homer/aa/bb/cc")) 
+[Filename("/u/homer", Filename("/u/homer/aa")]
+
+
+
+
Return type:
+

list of Filename

+
+
+
+ +
+
+pyflyby._importdb._expand_tripledots(pathnames, target_dirname)
+

Expand pathnames of the form ".../foo/bar" as “../../foo/bar”, +“../foo/bar”, “./foo/bar” etc., up to the oldest ancestor with the same +st_dev.

+

For example, suppose a partition is mounted on /u/homer; /u is a different +partition. Then:

+
>>> _expand_tripledots(["/foo", ".../tt"], "/u/homer/aa") 
+[Filename("/foo"), Filename("/u/homer/tt"), Filename("/u/homer/aa/tt")]
+
+
+
+
Return type:
+

list of Filename

+
+
+
+ +
+
+pyflyby._importdb._find_etc_dirs()
+
+ +
+
+pyflyby._importdb._get_env_var(env_var_name, default)
+

Get an environment variable and split on “:”, replacing - with the +default.

+
+ +
+
+pyflyby._importdb._get_python_path(env_var_name, default_path, target_dirname)
+

Expand an environment variable specifying pyflyby input config files.

+
+
    +
  • Default to default_path if the environment variable is undefined.

  • +
  • Process colon delimiters.

  • +
  • Replace “-” with default_path.

  • +
  • Expand triple dots.

  • +
  • Recursively traverse directories.

  • +
+
+
+
Return type:
+

tuple of Filename s

+
+
+
+ +
+
+pyflyby._importdb._get_st_dev(filename)
+
+ +
+ + +
+
+ +
+
+
+
+ + + + \ No newline at end of file diff --git a/api/imports2s.html b/api/imports2s.html new file mode 100644 index 00000000..d794fbbb --- /dev/null +++ b/api/imports2s.html @@ -0,0 +1,982 @@ + + + + + + + + + _imports2s module — pyflyby 1.9.8 documentation + + + + + + + + + + + + + + + + + +
+ + +
+ +
+
+
+ +
+
+
+
+ +
+

_imports2s module

+
+
+exception pyflyby._imports2s.ImportAlreadyExistsError
+
+ +
+
+pyflyby._imports2s.ImportPathForRelativeImportsCtx(codeblock)
+

Context manager that temporarily modifies sys.path so that relative +imports for the given codeblock work as expected.

+
+
+
+ +
+
+exception pyflyby._imports2s.LineNumberAmbiguousError
+
+ +
+
+exception pyflyby._imports2s.LineNumberNotFoundError
+
+ +
+
+exception pyflyby._imports2s.NoImportBlockError
+
+ +
+
+class pyflyby._imports2s.SourceToSourceFileImportsTransformation(arg)
+
+
+add_import(imp, lineno=inf)
+

Add the specified import. Picks an existing global import block to +add to, or if none found, creates a new one near the beginning of the +module.

+
+
Parameters:
+

lineno – Line before which to add the import. Inf means no constraint.

+
+
+
+ +
+
+find_import_block_by_lineno(lineno)
+

Find the import block containing the given line number.

+
+
Return type:
+

SourceToSourceImportBlockTransformation

+
+
+
+ +
+
+insert_new_blocks_after_comments(blocks)
+
+ +
+
+insert_new_import_block()
+

Adds a new empty imports block. It is added before the first +non-comment statement. Intended to be used when the input contains no +import blocks (before uses).

+
+ +
+
+preprocess()
+
+ +
+
+pretty_print(params=None)
+
+ +
+
+remove_import(imp, lineno)
+

Remove the given import.

+
+
+
+ +
+
+select_import_block_by_closest_prefix_match(imp, max_lineno)
+

Heuristically pick an import block that imp “fits” best into. The +selection is based on the block that contains the import with the +longest common prefix.

+
+
Parameters:
+

max_lineno – Only return import blocks earlier than max_lineno.

+
+
Return type:
+

SourceToSourceImportBlockTransformation

+
+
+
+ +
+ +
+
+class pyflyby._imports2s.SourceToSourceImportBlockTransformation(arg)
+
+
+preprocess()
+
+ +
+
+pretty_print(params=None)
+
+ +
+ +
+
+class pyflyby._imports2s.SourceToSourceTransformation(arg)
+
+
+_output: PythonBlock
+
+ +
+
+preprocess()
+
+ +
+
+pretty_print(params=None)
+
+ +
+ +
+
+class pyflyby._imports2s.SourceToSourceTransformationBase(arg)
+
+
+classmethod _from_source_code(codeblock)
+
+ +
+
+input: PythonBlock
+
+ +
+
+output(params=None)
+

Pretty-print and return as a PythonBlock.

+
+
Return type:
+

PythonBlock

+
+
+
+ +
+
+preprocess()
+
+ +
+
+pretty_print(params=None)
+
+ +
+ +
+
+pyflyby._imports2s.fix_unused_and_missing_imports(codeblock, add_missing=True, remove_unused='AUTOMATIC', add_mandatory=True, db=None, params=None)
+

Check for unused and missing imports, and fix them automatically.

+

Also formats imports.

+

In the example below, m1 and m3 are unused, so are automatically +removed. np was undefined, so an import numpy as np was +automatically added.

+
>>> codeblock = PythonBlock(
+...     'from foo import m1, m2, m3, m4\n'
+...     'm2, m4, np.foo', filename="/tmp/foo.py")
+
+
+
>>> print(fix_unused_and_missing_imports(codeblock, add_mandatory=False))
+[PYFLYBY] /tmp/foo.py: removed unused 'from foo import m1'
+[PYFLYBY] /tmp/foo.py: removed unused 'from foo import m3'
+[PYFLYBY] /tmp/foo.py: added 'import numpy as np'
+import numpy as np
+from foo import m2, m4
+m2, m4, np.foo
+
+
+
+
Return type:
+

PythonBlock

+
+
+
+ +
+ + +
+
+ +
+
+
+
+ + + + \ No newline at end of file diff --git a/api/importstmt.html b/api/importstmt.html new file mode 100644 index 00000000..821d1bf7 --- /dev/null +++ b/api/importstmt.html @@ -0,0 +1,894 @@ + + + + + + + + + _importstmt module — pyflyby 1.9.8 documentation + + + + + + + + + + + + + + + + + +
+ + +
+ +
+
+
+ +
+
+
+
+ +
+

_importstmt module

+
+
+class pyflyby._importstmt.ImportFormatParams(*args, **kwargs)
+
+
+align_future: bool = False
+

Whether ‘from __future__ import …’ statements should be aligned with +others. If False, uses a single space after the ‘from’ and ‘import’ +keywords.

+
+ +
+
+align_imports: Union[bool, set, list, tuple, str] = True
+

Whether and how to align ‘from modulename import aliases…’. If True, +then the ‘import’ keywords will be aligned within a block. If an integer, +then the ‘import’ keyword will always be at that column. They will be +wrapped if necessary.

+
+ +
+
+from_spaces: int = 1
+

The number of spaces after the ‘from’ keyword. (Must be at least 1.)

+
+ +
+
+separate_from_imports: bool = True
+

Whether all ‘from … import …’ in an import block should come after +‘import …’ statements. separate_from_imports = False works well with +from_spaces = 3. (‘from __future__ import …’ always comes first.)

+
+ +
+ +
+
+class pyflyby._importstmt.ImportSplit(module_name, member_name, import_as)
+

Representation of a single import at the token level:

+
from [...]<module_name> import <member_name> as <import_as>
+
+
+
+
If <module_name> is None, then there is no “from” clause; instead just::

import <member_name> as <import_as>

+
+
+
+
+_asdict()
+

Return a new dict which maps field names to their values.

+
+ +
+
+_field_defaults = {}
+
+ +
+
+_fields = ('module_name', 'member_name', 'import_as')
+
+ +
+
+classmethod _make(iterable)
+

Make a new ImportSplit object from a sequence or iterable

+
+ +
+
+_replace(**kwds)
+

Return a new ImportSplit object replacing specified fields with new values

+
+ +
+
+import_as
+

Alias for field number 2

+
+ +
+
+member_name
+

Alias for field number 1

+
+ +
+
+module_name
+

Alias for field number 0

+
+ +
+ +
+
+pyflyby._importstmt._validate_alias(arg)
+

Ensure each alias is a tuple (str, None|str), and return it.

+
+
Return type:
+

Tuple[str, Optional[str]]

+
+
+
+ +
+
+pyflyby._importstmt.read_black_config()
+

Read the black configuration from pyproject.toml

+
+
Return type:
+

Dict

+
+
+
+ +
+ + +
+
+ +
+
+
+
+ + + + \ No newline at end of file diff --git a/api/interactive.html b/api/interactive.html new file mode 100644 index 00000000..b6c88171 --- /dev/null +++ b/api/interactive.html @@ -0,0 +1,1405 @@ + + + + + + + + + _interactive module — pyflyby 1.9.8 documentation + + + + + + + + + + + + + + + + + +
+ + +
+ +
+
+
+ +
+
+
+
+ +
+

_interactive module

+
+
+class pyflyby._interactive.AutoImporter(arg=Ellipsis)
+

Auto importer enable state.

+

The state is attached to an IPython “application”.

+
+
+_advise(joinpoint)
+
+ +
+
+_ast_transformer: Any
+
+ +
+
+_autoimported_this_cell: Dict[Any, Any]
+
+ +
+
+classmethod _construct(app)
+

Create a new AutoImporter for app.

+
+
+
+ +
+
+_continue_enable()
+
+ +
+
+_disablers: List[Any]
+
+ +
+
+_enable_ast_hook(ip)
+

Enable a hook somewhere in the source => parsed AST => compiled code +pipeline.

+
+ +
+
+_enable_completer_hooks(completer)
+
+ +
+
+_enable_completion_hook(ip)
+

Enable a tab-completion hook.

+
+ +
+
+_enable_debugger_hook(ip)
+
+ +
+
+_enable_initializer_hooks(app)
+
+ +
+
+_enable_internal()
+
+ +
+
+_enable_ipython_shell_bugfixes(ip)
+

Enable some advice that’s actually just fixing bugs in IPython.

+
+ +
+
+_enable_kernel_manager_hook(app)
+
+ +
+
+_enable_ofind_hook(ip)
+

Enable a hook of _ofind(), which is used for pinfo, autocall, etc.

+
+ +
+
+_enable_prun_hook(ip)
+

Enable a hook so that %prun will autoimport.

+
+ +
+
+_enable_reset_hook(ip)
+
+ +
+
+_enable_run_hook(ip)
+

Enable a hook so that %run will autoimport.

+
+ +
+
+_enable_shell_hooks(app)
+

Enable hooks to run auto_import before code execution.

+
+ +
+
+_enable_start_kernel_hook(kernel_manager)
+
+ +
+
+_enable_time_hook(ip)
+

Enable a hook so that %time will autoimport.

+
+ +
+
+_enable_timeit_hook(ip)
+

Enable a hook so that %timeit will autoimport.

+
+ +
+
+_errored: bool
+
+ +
+
+classmethod _from_app(app)
+
+
Return type:
+

AutoImporter

+
+
+
+ +
+
+_ip: Any
+
+ +
+
+_safe_call(function, *args, **kwargs)
+
+ +
+
+_state: _EnableState
+
+ +
+
+app: Any
+
+ +
+
+auto_import(arg, namespaces=None, raise_on_error='if_debug', on_error=None)
+
+ +
+
+compile_with_autoimport(src, filename, mode, flags=0)
+
+ +
+
+complete_symbol(fullname, namespaces, raise_on_error='if_debug', on_error=None)
+
+ +
+
+db: ImportDB
+
+ +
+
+disable()
+

Turn off auto-importer in the current IPython session.

+
+ +
+
+enable(even_if_previously_errored=False)
+

Turn on the auto-importer in the current IPython session.

+
+ +
+
+reset_state_new_cell()
+
+ +
+ +
+
+pyflyby._interactive.InterceptPrintsDuringPromptCtx(ip)
+

Decorator that hooks our logger so that:

+
1. Before the first print, if any, print an extra newline.
+2. Upon context exit, if any lines were printed, redisplay the prompt.
+
+
+
+
+
+ +
+
+exception pyflyby._interactive.NoActiveIPythonAppError
+

Exception raised when there is no current IPython application instance.

+
+ +
+
+exception pyflyby._interactive.NoIPythonPackageError
+

Exception raised when the IPython package is not installed in the system.

+
+ +
+
+pyflyby._interactive.UpdateIPythonStdioCtx()
+

Context manager that updates IPython’s cached stdin/stdout/stderr handles +to match the current values of sys.stdin/sys.stdout/sys.stderr.

+
+ +
+
+class pyflyby._interactive._DummyIPythonEmbeddedApp(shell)
+

Small wrapper around an InteractiveShellEmbed.

+
+ +
+
+class pyflyby._interactive._EnableState
+
+
+DISABLED = 'DISABLED'
+
+ +
+
+DISABLING = 'DISABLING'
+
+ +
+
+ENABLED = 'ENABLED'
+
+ +
+
+ENABLING = 'ENABLING'
+
+ +
+ +
+
+class pyflyby._interactive._IPython010TerminalApplication
+

Shim class that mimics IPython 0.11+ application classes, for use in +IPython 0.10.

+
+
+_instance = None
+
+ +
+
+init_shell()
+
+ +
+
+initialize(argv=None)
+
+ +
+
+classmethod instance()
+
+ +
+
+start()
+
+ +
+ +
+
+pyflyby._interactive._app_is_initialized(app)
+

Return whether app.initialize() has been called.

+
+
Return type:
+

bool

+
+
+
+ +
+
+pyflyby._interactive._auto_import_in_pdb_frame(pdb_instance, arg)
+
+ +
+
+pyflyby._interactive._enable_pdb_hooks(pdb_instance)
+
+ +
+
+pyflyby._interactive._enable_terminal_pdb_hooks(pdb_instance, auto_importer=None)
+
+ +
+
+pyflyby._interactive._generate_enabler_code()
+

Generate code for enabling the auto importer.

+
+
Return type:
+

str

+
+
+
+ +
+
+pyflyby._interactive._get_IPdb_class()
+

Get the IPython (core) Pdb class.

+
+ +
+
+pyflyby._interactive._get_TerminalPdb_class()
+

Get the IPython TerminalPdb class.

+
+ +
+
+pyflyby._interactive._get_ipython_app()
+

Get an IPython application instance, if we are inside an IPython session.

+

If there isn’t already an IPython application, raise an exception; don’t +create one.

+

If there is a subapp, return it.

+
+
Return type:
+

BaseIPythonApplication or an object that mimics some of its behavior

+
+
+
+ +
+
+pyflyby._interactive._get_ipython_color_scheme(app)
+

Get the configured IPython color scheme.

+
+
Parameters:
+

app (TerminalIPythonApp) – An initialized IPython terminal application.

+
+
Return type:
+

str

+
+
+
+ +
+
+pyflyby._interactive._get_or_create_ipython_kernel_app()
+

Create/get the singleton IPython kernel application.

+
+
Return type:
+

callable

+
+
Returns:
+

The function that can be called to start the kernel application.

+
+
+
+ +
+
+pyflyby._interactive._get_or_create_ipython_terminal_app()
+

Create/get the singleton IPython terminal application.

+
+
Return type:
+

TerminalIPythonApp

+
+
Raises:
+

NoIPythonPackageError – IPython is not installed in the system.

+
+
+
+ +
+
+pyflyby._interactive._get_pdb_if_is_in_pdb()
+

Return the current Pdb instance, if we’re currently called from Pdb.

+
+
Return type:
+

pdb.Pdb or NoneType

+
+
+
+ +
+
+pyflyby._interactive._initialize_and_start_app_with_autoimporter(app, argv)
+

Initialize and start an IPython app, with autoimporting enabled.

+
+
+
+ +
+
+pyflyby._interactive._install_in_ipython_config_file_010()
+

Implementation of install_in_ipython_config_file for IPython 0.10.

+
+ +
+
+pyflyby._interactive._install_in_ipython_config_file_011()
+

Implementation of install_in_ipython_config_file for IPython 0.11.

+
+ +
+
+pyflyby._interactive._install_in_ipython_config_file_012()
+

Implementation of install_in_ipython_config_file for IPython 0.12+. +Tested with IPython 0.12, 0.13, 1.0, 1.2, 2.0, 2.1, 2.2, 2.3, 2.4, 3.0, +3.1, 3.2, 4.0.

+
+ +
+
+pyflyby._interactive._install_in_ipython_config_file_40()
+

Implementation of install_in_ipython_config_file for IPython 4.0+.

+
+ +
+
+pyflyby._interactive._ipython_in_multiline(ip)
+

Return False if the user has entered only one line of input so far, +including the current line, or True if it is the second or later line.

+
+
Return type:
+

bool

+
+
+
+ +
+
+pyflyby._interactive._ipython_namespaces(ip)
+

Return the (global) namespaces used for IPython.

+

The ordering follows IPython convention of most-local to most-global.

+
+
Return type:
+

list

+
+
Returns:
+

List of (name, namespace_dict) tuples.

+
+
+
+ +
+
+pyflyby._interactive._list_members_for_completion(obj, ip)
+

Enumerate the existing member attributes of an object. +This emulates the regular Python/IPython completion items.

+

It does not include not-yet-imported submodules.

+
+
Parameters:
+

obj – Object whose member attributes to enumerate.

+
+
Return type:
+

list of str

+
+
+
+ +
+
+pyflyby._interactive._python_can_import_pyflyby(expected_path, sys_path_entry=None)
+

Try to figure out whether python (when started from scratch) can get the +same pyflyby package as the current process.

+
+ +
+
+pyflyby._interactive._skip_frames(frame, ignore_pkgs)
+
+ +
+
+pyflyby._interactive.complete_symbol(fullname, namespaces, db=None, autoimported=None, ip=None, allow_eval=False)
+

Enumerate possible completions for fullname.

+

Includes globals and auto-importable symbols.

+
>>> complete_symbol("threadi", [{}])                
+[...'threading'...]
+
+
+

Completion works on attributes, even on modules not yet imported - modules +are auto-imported first if not yet imported:

+
>>> ns = {}
+>>> complete_symbol("threading.Threa", namespaces=[ns])
+[PYFLYBY] import threading
+['threading.Thread', 'threading.ThreadError']
+
+>>> 'threading' in ns
+True
+
+>>> complete_symbol("threading.Threa", namespaces=[ns])
+['threading.Thread', 'threading.ThreadError']
+
+
+

We only need to import parent modules (packages) of the symbol being +completed. If the user asks to complete “foo.bar.quu<TAB>”, we need to +import foo.bar, but we don’t need to import foo.bar.quux.

+
+
Parameters:
+
    +
  • fullname (str) – String to complete. (“Full” refers to the fact that it should contain +dots starting from global level.)

  • +
  • namespaces (dict or list of dict) – Namespaces of (already-imported) globals.

  • +
  • db (importDB) – Import database to use.

  • +
  • ip (InteractiveShell) – IPython shell instance if in IPython; None to assume not in IPython.

  • +
  • allow_eval – Whether to allow evaluating code, which is necessary to allow completing +e.g. ‘foo[0].bar<TAB>’ or ‘foo().bar<TAB>’. Note that IPython will only +pass such strings if IPCompleter.greedy is configured to True by the +user.

  • +
+
+
Return type:
+

list of str

+
+
Returns:
+

Completion candidates.

+
+
+
+ +
+
+pyflyby._interactive.get_global_namespaces(ip)
+

Get the global interactive namespaces.

+
+
Parameters:
+

ip (InteractiveShell) – IPython shell or None to assume not in IPython.

+
+
Return type:
+

list of dict

+
+
+
+ +
+
+pyflyby._interactive.get_ipython_terminal_app_with_autoimporter()
+

Return an initialized TerminalIPythonApp.

+

If a TerminalIPythonApp has already been created, then use it (whether +we are inside that app or not). If there isn’t already one, then create +one. Enable the auto importer, if it hasn’t already been enabled. If the +app hasn’t been initialized yet, then initialize() it (but don’t start() +it).

+
+
Return type:
+

TerminalIPythonApp

+
+
Raises:
+

NoIPythonPackageError – IPython is not installed in the system.

+
+
+
+ +
+
+pyflyby._interactive.new_IPdb_instance()
+

Create a new Pdb instance.

+

If IPython is available, then use IPython’s Pdb. Initialize a new IPython +terminal application if necessary.

+

If the IPython package is not installed in the system, then use regular Pdb.

+

Enable the auto importer.

+
+
Return type:
+

Pdb

+
+
+
+ +
+
+pyflyby._interactive.print_verbose_tb(*exc_info)
+

Print a traceback, using IPython’s ultraTB if possible.

+
+
Parameters:
+

exc_info – 3 arguments as returned by sys.exc_info().

+
+
+
+ +
+
+pyflyby._interactive.run_ipython_line_magic(arg)
+

Run IPython magic command. +If necessary, start an IPython terminal app to do so.

+
+ +
+
+pyflyby._interactive.start_ipython_kernel_with_autoimporter(argv=None)
+

Start IPython kernel with autoimporter enabled.

+
+ +
+
+pyflyby._interactive.start_ipython_with_autoimporter(argv=None, app=None, _user_ns=None)
+

Start IPython (terminal) with autoimporter enabled.

+
+ +
+ + +
+
+ +
+
+
+
+ + + + \ No newline at end of file diff --git a/api/livepatch.html b/api/livepatch.html new file mode 100644 index 00000000..b134ad1e --- /dev/null +++ b/api/livepatch.html @@ -0,0 +1,1003 @@ + + + + + + + + + _livepatch module — pyflyby 1.9.8 documentation + + + + + + + + + + + + + + + + + +
+ + +
+ +
+
+
+ +
+
+
+
+ +
+

_livepatch module

+

livepatch/xreload: Alternative to reload().

+

xreload performs a “live patch” of the modules/classes/functions/etc that have +already been loaded in memory. It does so by executing the module in a +scratch namespace, and then patching classes, methods and functions in-place. +New objects are copied into the target namespace.

+

This addresses cases where one module imported functions from another +module.

+

For example, suppose m1.py contains:

+
from m2 import foo
+def print_foo():
+    return foo()
+
+
+

and m2.py contains:

+
def foo():
+    return 42
+
+
+

If you edit m2.py and modify foo, then reload(m2) on its own would not do +what you want. You would also need to reload(m1) after reload(m2). This is +because the built-in reload affects the module being reloaded, but references +to the old module remain. On the other hand, xreload() patches the existing +m2.foo, so that live references to it are updated.

+

In table form:

+
Undesired effect:  reload(m2)
+Undesired effect:  reload(m1);  reload(m2)
+Desired effect:    reload(m2);  reload(m1)
+
+Desired effect:   xreload(m2)
+Desired effect:   xreload(m1); xreload(m2)
+Desired effect:   xreload(m2); xreload(m1)
+
+
+

Even with just two modules, we can see that xreload() is an improvement. When +working with a large set of interdependent modules, it becomes infeasible to +know the precise sequence of reload() calls that would be necessary. +xreload() really shines in that case.

+

This implementation of xreload() was originally based the following +mailing-list post by Guido van Rossum:

+
+
+
+

Customizing behavior

+

If a class/function/module/etc has an attribute __livepatch__, then this +function is called instead of performing the regular livepatch mechanism.

+

The __livepatch__() function is called with the following arguments:

+
+
    +
  • old : The object to be updated with contents of new

  • +
  • new : The object whose contents to put into old

  • +
  • +
    do_livepatch: A function that can be called to do the standard

    livepatch, replacing the contents of old with new. +If it’s not possible to livepatch old, it returns +new. The do_livepatch function takes no arguments. +Calling the do_livepatch function is roughly +equivalent to calling pyflyby.livepatch(old, new, +modname=modname, heed_hook=False).

    +
    +
    +
  • +
  • +
    modnameThe module currently being updated. Recursively called

    updates should keep track of the module being updated to +avoid touching other modules.

    +
    +
    +
  • +
+
+

These arguments are matched by name and are passed only if the +__livepatch__ function is declared to take such named arguments or it takes +**kwargs. If the __livepatch__ function takes **kwargs, it should ignore +unknown arguments, in case new parameters are added in the future.

+

If the object being updated is an object instance, and __livepatch__ is a +method, then the function is bound to the new object, i.e. the self +parameter is the same as new.

+

If the __livepatch__ function successfully patched the old object, then +it should return old. If it is unable to patch, it should return new.

+

Examples

+

By default, any attributes on an existing function are updated with ones from +the new function. If you want a memoized function to keep its cache across +xreload, you could implement that like this:

+
def memoize(function):
+    cache = {}
+    def wrapped_fn(*args):
+        try:
+            return cache[args]
+        except KeyError:
+            result = function(*args)
+            cache[args] = result
+            return result
+    wrapped_fn.cache = cache
+    def my_livepatch(old, new, do_livepatch):
+        keep_cache = dict(old.cache)
+        result = do_livepatch()
+        result.cache.update(keep_cache)
+        return result
+    wrapped_fn.__livepatch__ = my_livepatch
+    return wrapped_fn
+
+
+

XXX change example b/c cache is already cleared by default +XXX maybe global cache

+
+
+
class MyObj(…):
+
def __livepatch__(self, old):

self.__dict__.update(old.__dict__) +return self

+
+
+
+
class MyObj(…):
+
def __init__(self):

self._my_cache = {}

+
+
def __livepatch__(self, old, do_livepatch):

keep_cache = dict(old._my_cache) +result = do_livepatch() +result._my_cache.update(keep_cache) +return result

+
+
+
+
+
+

XXX test

+
+
+
+exception pyflyby._livepatch.UnknownModuleError
+
+ +
+
+pyflyby._livepatch._format_age(t)
+
+ +
+
+pyflyby._livepatch._get_definition_module(obj)
+

Get the name of the module that an object is defined in, or None if +unknown.

+

For classes and functions, this returns the __module__ attribute.

+

For object instances, this returns None, ignoring the __module__ +attribute. The reason is that the __module__ attribute on an instance +just gives the module that the class was defined in, which is not +necessarily the module where the instance was constructed.

+
+
Return type:
+

str

+
+
+
+ +
+
+pyflyby._livepatch._get_module_py_file(module)
+
+ +
+
+pyflyby._livepatch._interpret_module(arg)
+
+ +
+
+pyflyby._livepatch._livepatch__class(oldclass, newclass, modname, cache, visit_stack)
+

Livepatch a class.

+

This is similar to _livepatch__dict(oldclass.__dict__, newclass.__dict__). +However, we can’t just operate on the dict, because class dictionaries are +special objects that don’t allow setitem, even though we can setattr on +the class.

+
+ +
+
+pyflyby._livepatch._livepatch__dict(old_dict, new_dict, modname, cache, visit_stack)
+

Livepatch a dict.

+
+ +
+
+pyflyby._livepatch._livepatch__function(old_func, new_func, modname, cache, visit_stack)
+

Livepatch a function.

+
+ +
+
+pyflyby._livepatch._livepatch__method(old_method, new_method, modname, cache, visit_stack)
+

Livepatch a method.

+
+ +
+
+pyflyby._livepatch._livepatch__module(old_mod, new_mod, modname, cache, visit_stack)
+

Livepatch a module.

+
+ +
+
+pyflyby._livepatch._livepatch__object(oldobj, newobj, modname, cache, visit_stack)
+

Livepatch a general object.

+
+ +
+
+pyflyby._livepatch._livepatch__setattr(oldobj, newobj, name, modname, cache, visit_stack)
+

Livepatch something via setattr, i.e.:

+
oldobj.{name} = livepatch(oldobj.{name}, newobj.{name}, ...)
+
+
+
+ +
+
+pyflyby._livepatch._xreload_module(module, filename, force=False)
+

Reload a module in place, using livepatch.

+
+
Parameters:
+
    +
  • module (ModuleType) – Module to reload.

  • +
  • force – Whether to reload even if the module has not been modified since the +previous load. If False, then do nothing. If True, then reload.

  • +
+
+
+
+ +
+ + +
+
+ +
+
+
+
+ + + + \ No newline at end of file diff --git a/api/log.html b/api/log.html new file mode 100644 index 00000000..7773403d --- /dev/null +++ b/api/log.html @@ -0,0 +1,884 @@ + + + + + + + + + _log module — pyflyby 1.9.8 documentation + + + + + + + + + + + + + + + + + +
+ + +
+ +
+
+
+ +
+
+
+
+ +
+

_log module

+
+
+class pyflyby._log.PyflybyLogger(name, level)
+
+
+HookCtx(pre, post)
+
+ +
+
+_LEVELS = {'DEBUG': 10, 'ERROR': 40, 'INFO': 20, 'WARNING': 30}
+
+ +
+
+property debug_enabled
+
+ +
+
+property info_enabled
+
+ +
+
+set_level(level)
+

Set the pyflyby logger’s level to level.

+
+
+
+ +
+ +
+
+pyflyby._log._PromptToolkitStdoutProxyRawCtx(proxy)
+

Hack to defeat the “feature” where +prompt_toolkit.interface._StdoutProxy(sys.stderr) causes ANSI escape codes +to not be written.

+
+ +
+
+class pyflyby._log._PyflybyHandler(level=0)
+
+
+HookCtx(pre, post)
+
+
Enter a context where:
    +
  • pre is called before the first time a log record is emitted +during the context, and

  • +
  • post is called at the end of the context, if any log records +were emitted during the context.

  • +
+
+
+
+
Parameters:
+
    +
  • pre (callable) – Function to call before the first time something is logged during +this context.

  • +
  • post (callable) – Function to call before returning from the context, if anything was +logged during the context.

  • +
+
+
+
+ +
+
+_interactive_prefix = '\x1b[0m\x1b[33m[PYFLYBY]\x1b[0m '
+
+ +
+
+_logged_anything_during_context = False
+
+ +
+
+_noninteractive_prefix = '[PYFLYBY] '
+
+ +
+
+_pre_log_function = None
+
+ +
+
+emit(record)
+

Emit a log record.

+
+ +
+ +
+
+pyflyby._log._is_interactive(file)
+
+ +
+
+pyflyby._log._is_ipython()
+

Returns true if we’re currently running inside IPython.

+
+ +
+ + +
+
+ +
+
+
+
+ + + + \ No newline at end of file diff --git a/api/modules.html b/api/modules.html new file mode 100644 index 00000000..21a5ab88 --- /dev/null +++ b/api/modules.html @@ -0,0 +1,955 @@ + + + + + + + + + _modules module — pyflyby 1.9.8 documentation + + + + + + + + + + + + + + + + + +
+ + +
+ +
+
+
+ +
+
+
+
+ +
+

_modules module

+
+
+exception pyflyby._modules.ErrorDuringImportError
+

Exception raised by import_module if the module exists but an exception +occurred while attempting to import it. That nested exception could be +ImportError, e.g. if a module tries to import another module that doesn’t +exist.

+
+ +
+
+class pyflyby._modules.ModuleHandle(arg)
+

A handle to a module.

+
+
+_cls_cache: Dict[Any, Any] = {}
+
+ +
+
+classmethod _from_filename(filename)
+
+ +
+
+classmethod _from_module(module)
+
+ +
+
+classmethod _from_modulename(modulename)
+
+ +
+
+static _member_from_node(node)
+
+ +
+
+property ancestors
+
+ +
+
+property block
+
+ +
+
+classmethod containing(identifier)
+

Try to find the module that defines a name such as a.b.c by trying +to import a, a.b, and a.b.c.

+
+
Returns:
+

The name of the ‘deepest’ module (most commonly it would be a.b +in this example).

+
+
Return type:
+

Module

+
+
+
+ +
+
+property exists
+

Return whether the module exists, according to pkgutil. +Note that this doesn’t work for things that are only known by using +sys.meta_path.

+
+ +
+
+property exports
+

Get symbols exported by this module.

+

Note that this will not recognize symbols that are dynamically +introduced to the module’s namespace or __all__ list.

+
+
Return type:
+

ImportSet or None

+
+
Returns:
+

Exports, or None if nothing exported.

+
+
+
+ +
+
+property filename
+

Return the filename, if appropriate.

+

The module itself will not be imported, but if the module is not a +top-level module/package, accessing this attribute may cause the +parent package to be imported.

+
+
Return type:
+

Filename

+
+
+
+ +
+
+static list()
+

Enumerate all top-level packages/modules.

+
+
Return type:
+

tuple of ModuleHandle s

+
+
+
+ +
+
+property module
+

Return the module instance.

+
+
Return type:
+

types.ModuleType

+
+
Raises:
+
    +
  • ErrorDuringImportError – The module should exist but an error occurred while attempting to +import it.

  • +
  • ImportError – The module doesn’t exist.

  • +
+
+
+
+ +
+
+name: DottedIdentifier
+
+ +
+
+property parent
+
+ +
+
+property submodules
+

Enumerate the importable submodules of this module.

+
>>> ModuleHandle("email").submodules      
+(..., ModuleHandle('email.encoders'), ..., ModuleHandle('email.mime'), ...)
+
+
+
+
Return type:
+

tuple of ModuleHandle s

+
+
+
+ +
+
+property text
+
+ +
+ +
+
+pyflyby._modules._my_iter_modules(path, prefix='')
+
+ +
+
+pyflyby._modules.import_module(module_name)
+
+ +
+
+pyflyby._modules.pyc_to_py(filename)
+
+ +
+ + +
+
+ +
+
+
+
+ + + + \ No newline at end of file diff --git a/api/parse.html b/api/parse.html new file mode 100644 index 00000000..6399344c --- /dev/null +++ b/api/parse.html @@ -0,0 +1,1162 @@ + + + + + + + + + _parse module — pyflyby 1.9.8 documentation + + + + + + + + + + + + + + + + + +
+ + +
+ +
+
+
+ +
+
+
+
+ +
+

_parse module

+
+
+class pyflyby._parse.AnnotatedAst
+
+
+col_offset: int
+
+ +
+
+endpos: FilePos
+
+ +
+
+flags: str
+
+ +
+
+lieneno: int
+
+ +
+
+s: str
+
+ +
+
+source_flags: CompilerFlags
+
+ +
+
+startpos: FilePos
+
+ +
+
+text: FileText
+
+ +
+
+value: AnnotatedAst
+
+ +
+ +
+
+class pyflyby._parse.AnnotatedModule
+
+
+source_flags: CompilerFlags
+
+ +
+ +
+
+class pyflyby._parse.AstNodeContext(parent, field, index)
+
+
+_asdict()
+

Return a new dict which maps field names to their values.

+
+ +
+
+_field_defaults = {}
+
+ +
+
+_fields = ('parent', 'field', 'index')
+
+ +
+
+classmethod _make(iterable)
+

Make a new AstNodeContext object from a sequence or iterable

+
+ +
+
+_replace(**kwds)
+

Return a new AstNodeContext object replacing specified fields with new values

+
+ +
+
+field
+

Alias for field number 1

+
+ +
+
+index
+

Alias for field number 2

+
+ +
+
+parent
+

Alias for field number 0

+
+ +
+ +
+
+class pyflyby._parse.IgnoreOptionsDocTestParser
+
+
+_find_options(source, name, lineno)
+

Return a dictionary containing option overrides extracted from +option directives in the given source string.

+

name is the string’s name, and lineno is the line number +where the example starts; both are used for error messages.

+
+ +
+ +
+
+class pyflyby._parse._DummyAst_Node
+
+ +
+
+pyflyby._parse._annotate_ast_context(ast_node)
+

Recursively annotate context on ast nodes, setting context to +a AstNodeContext named tuple with values +(parent, field, index). +Each aast_node satisfies parent.<field>[<index>] is ast_node.

+

For non-list fields, the index part is None.

+
+ +
+
+pyflyby._parse._annotate_ast_nodes(ast_node)
+
+
Annotate AST with:
    +
  • startpos and endpos

  • +
  • [disabled for now: context as AstNodeContext ]

  • +
+
+
+
+
Parameters:
+

ast_node (AST) – AST node returned by _parse_ast_nodes

+
+
Return type:
+

AnnotatedAst

+
+
Returns:
+

None

+
+
+
+ +
+
+pyflyby._parse._annotate_ast_startpos(ast_node, parent_ast_node, minpos, text, flags)
+

Annotate ast_node. Set ast_node.startpos to the starting position +of the node within text.

+

For “typical” nodes, i.e. those other than multiline strings, this is +simply FilePos(ast_node.lineno, ast_node.col_offset+1), but taking +text.startpos into account.

+

For multiline string nodes, this function works by trying to parse all +possible subranges of lines until finding the range that is syntactically +valid and matches value. The candidate range is +text[min_start_lineno:lineno+text.startpos.lineno+1].

+

This function is unfortunately necessary because of a flaw in the output +produced by the Python built-in parser. For some crazy reason, the +ast_node.lineno attribute represents something different for multiline +string literals versus all other statements. For multiline string literal +nodes and statements that are just a string expression (or more generally, +nodes where the first descendant leaf node is a multiline string literal), +the compiler attaches the ending line number as the value of the lineno +attribute. For all other than AST nodes, the compiler attaches the +starting line number as the value of the lineno attribute. This means +e.g. the statement “’’’foonbar’’’” has a lineno value of 2, but the +statement “x=’’’foonbar’’’” has a lineno value of 1.

+
+
Parameters:
+
    +
  • minpos (FilePos) – Earliest position to check, in the number space of text.

  • +
  • text (FileText) – Source text that was used to parse the AST, whose startpos should be +used in interpreting ast_node.lineno (which always starts at 1 for +the subset that was parsed).

  • +
  • flags (CompilerFlags) – Compiler flags to use when re-compiling code.

  • +
+
+
Return type:
+

bool

+
+
Returns:
+

True if this node is a multiline string literal or the first child is +such a node (recursively); False otherwise.

+
+
Raises:
+

ValueError – Could not find the starting line number.

+
+
+
+ +
+
+pyflyby._parse._ast_node_is_in_docstring_position(ast_node)
+

Given a Str AST node, return whether its position within the AST makes +it eligible as a docstring.

+

The main way a Str can be a docstring is if it is a standalone string +at the beginning of a Module, FunctionDef, AsyncFucntionDef +or ClassDef.

+

We also support variable docstrings per Epydoc:

+
+
    +
  • If a variable assignment statement is immediately followed by a bare +string literal, then that assignment is treated as a docstring for +that variable.

  • +
+
+
+
Parameters:
+

ast_node (ast.Str) – AST node that has been annotated by _annotate_ast_nodes.

+
+
Return type:
+

bool

+
+
Returns:
+

Whether this string ast node is in docstring position.

+
+
+
+ +
+
+pyflyby._parse._ast_str_literal_value(node)
+
+ +
+
+pyflyby._parse._flags_to_try(source, flags, auto_flags, mode)
+

Flags to try for auto_flags.

+

If auto_flags is False, then only yield flags. +If auto_flags is True, then yield flags and flags ^ print_function.

+
+ +
+
+pyflyby._parse._flatten_ast_nodes(arg)
+
+ +
+
+pyflyby._parse._is_ast_bytes(node)
+

utility function that test if node is an ast.Str in Python < 3.12, +and if it is a ast.Constant, with node.value being a str in newer version.

+
+
Return type:
+

bool

+
+
+
+ +
+
+pyflyby._parse._is_ast_str(node)
+

utility function that test if node is an ast.Str in Python < 3.12, +and if it is a ast.Constant, with node.value being a str in newer version.

+
+
Return type:
+

bool

+
+
+
+ +
+
+pyflyby._parse._is_ast_str_or_byte(node)
+

utility function that test if node is an ast.Str|ast.Bytes in Python < 3.12, +and if it is a ast.Constant, with node.value being a str in newer version.

+
+
Return type:
+

bool

+
+
+
+ +
+
+pyflyby._parse._is_comment_or_blank(line, /)
+

Returns whether a line of python code contains only a comment is blank.

+
>>> _is_comment_or_blank("foo\n")
+False
+
+
+
>>> _is_comment_or_blank("  # blah\n")
+True
+
+
+
+ +
+
+pyflyby._parse._iter_child_nodes_in_order(node)
+

Yield all direct child nodes of node, that is, all fields that are nodes +and all items of fields that are lists of nodes.

+

_iter_child_nodes_in_order yields nodes in the same order that they +appear in the source.

+

ast.iter_child_nodes does the same thing, but not in source order. +e.g. for Dict s, it yields all key nodes before all value nodes.

+
+ +
+
+pyflyby._parse._iter_child_nodes_in_order_internal_1(node)
+
+ +
+
+pyflyby._parse._parse_ast_nodes(text, flags, auto_flags, mode)
+

Parse a block of lines into an AST.

+

Also annotate input_flags, source_flags, and flags on the +resulting ast node.

+
+
Parameters:
+
    +
  • auto_flags (bool) – Whether to guess different flags if text can’t be parsed with +flags.

  • +
  • mode (str) – Compilation mode: “exec”, “single”, or “eval”.

  • +
+
+
Return type:
+

ast.Module

+
+
+
+ +
+
+pyflyby._parse._split_code_lines(ast_nodes, text)
+

Split the given ast_nodes and corresponding text by code/noncode +statement.

+

Yield tuples of (nodes, subtext). nodes is a list of ast.AST nodes, +length 0 or 1; subtext is a FileText sliced from text.

+

FileText(…))} for code lines and (None, FileText(...)) for non-code +lines (comments and blanks).

+
+
+
+ +
+
+pyflyby._parse._test_parse_string_literal(text, flags)
+

Attempt to parse text. If it parses cleanly to a single string +literal, return its value. Otherwise return None.

+
>>> _test_parse_string_literal(r'"foo\n" r"\nbar"', None)
+'foo\n\\nbar'
+
+
+
+ +
+
+pyflyby._parse._walk_ast_nodes_in_order(node)
+

Recursively yield all child nodes of node, in the same order that the +node appears in the source.

+

ast.walk does the same thing, but yields nodes in an arbitrary order.

+
+ +
+
+pyflyby._parse.infer_compile_mode(arg)
+

Infer the mode needed to compile arg.

+
+
Return type:
+

str

+
+
+
+ +
+ + +
+
+ +
+
+
+
+ + + + \ No newline at end of file diff --git a/api/py.html b/api/py.html new file mode 100644 index 00000000..2422d129 --- /dev/null +++ b/api/py.html @@ -0,0 +1,1498 @@ + + + + + + + + + _py module — pyflyby 1.9.8 documentation + + + + + + + + + + + + + + + + + +
+ + +
+ +
+
+
+ +
+
+
+
+ +
+

_py module

+

The py program (part of the pyflyby project) is a command-line multitool for +running python code, with heuristic intention guessing, automatic importing, +and debugging support.

+
+

Invocation summary

+
py [--file]   filename.py arg1 arg2   Execute a file
+py [--eval]  'function(arg1, arg2)'   Evaluate an expression/statement
+py [--apply]  function arg1 arg2      Call function(arg1, arg2)
+py [--module] modname arg1 arg2       Run a module
+
+py  --map     function arg1 arg2      Call function(arg1); function(arg2)
+
+py  -i       'function(arg1, arg2)'   Run file/code/etc, then run IPython
+py  --debug  'function(arg1, arg2)'   Debug file/code/etc
+py  --debug   PID                     Attach debugger to PID
+
+py            function?               Get help for a function or module
+py            function??              Get source of a function or module
+
+py                                    Start IPython with autoimporter
+py nb                                 Start IPython Notebook with autoimporter
+
+
+py [--add-deprecated-builtins]        Inject "breakpoint", "debug_exception",
+                                      "debug_statement", "waitpoint" into
+                                      builtins. This is deprecated, and
+                                      present for backward compatibilty
+                                      but will be removed in the future.
+
+
+
+
+

Features

+
+
    +
  • Heuristic action mode guessing: If none of –file, –eval, –apply, +–module, or –map is specified, then guess what to do, choosing one of +these actions:

    +
    +
      +
    • Execute (run) a file

    • +
    • Evaluate concatenated arguments

    • +
    • Run a module

    • +
    • Call (apply) a function

    • +
    • Evaluate first argument

    • +
    +
    +
  • +
  • Automatic importing: All action modes (except run_module) automatically +import as needed.

  • +
  • Heuristic argument evaluation: By default, py –eval, py –apply, and +py –map guess whether the arguments should be interpreted as +expressions or literal strings. A “–” by itself will designate subsequent +args as strings. A “-” by itself will be replaced by the contents of +stdin as a string.

  • +
  • Merged eval/exec: Code is eval()ed or exec()ed as appropriate.

  • +
  • Result printing: By default, results are pretty-printed if not None.

  • +
  • Heuristic flags: “print” can be used as a function or a statement.

  • +
  • Matplotlib/pylab integration: show() is called if appropriate to block on +plots.

  • +
  • Enter debugger upon unhandled exception. (This functionality is enabled +by default when stdout is a tty. Use –postmortem=no to never use the +postmortem debugger. Use –postmortem=yes enable even if stdout is not a +tty. If the postmortem debugger is enabled but /dev/tty is not available, +then if an exception occurs, py will email instructions for attaching a +debugger.)

  • +
  • Control-\ (SIGQUIT) enters debugger while running (and allows continuing).

  • +
  • New builtin functions such as “debugger()”.

  • +
+
+
+

Warning

+

py is intended as an interactive tool. When writing shell aliases for +interactive use, the –safe option can be useful. When writing scripts, +it’s better to avoid all heuristic guessing; use regular python -c …, or +better yet, a full-fledged python program (and run tidy-imports).

+
+
+
+

Options

+
Global options valid before code argument:
+
+  --args=string    Interpret all arguments as literal strings.
+                   (The "--" argument also specifies remaining arguments to be
+                   literal strings.)
+  --args=eval      Evaluate all arguments as expressions.
+  --args=auto      (Default) Heuristically guess whether to evaluate arguments
+                   as literal strings or expressions.
+  --output=silent  Don't print the result of evaluation.
+  --output=str     Print str(result).
+  --output=repr    Print repr(result).
+  --output=pprint  Print pprint.pformat(result).
+  --output=repr-if-not-none
+                   Print repr(result), but only if result is not None.
+  --output=pprint-if-not-none
+                   Print pprint.pformat(result), but only if result is not None.
+  --output=interactive
+                   (Default) Print result.__interactive_display__() if defined,
+                   else pprint if result is not None.
+  --output=exit    Raise SystemExit(result).
+  --safe           Equivalent to --args=strings and PYFLYBY_PATH=EMPTY.
+  --quiet, --q     Log only error messages to stderr; omit info and warnings.
+  --interactive, --i
+                   Run an IPython shell after completion
+  --debug, --d     Run the target code file etc under the debugger.  If a PID is
+                   given, then instead attach a debugger to the target PID.
+  --verbose        Turn on verbose messages from pyflyby.
+
+Pseudo-actions valid before, after, or without code argument:
+
+  --version        Print pyflyby version or version of a module.
+  --help, --h, --? Print this help or help for a function or module.
+  --source, --??   Print source code for a function or module.
+
+
+

Examples

+

Start IPython with pyflyby autoimporter enabled:

+
$ py
+
+
+

Start IPython/Jupyter Notebook with pyflyby autoimporter enabled:

+
$ py nb
+
+
+

Find the ASCII value of the letter “j” (apply builtin function):

+
$ py ord j
+[PYFLYBY] ord('j')
+106
+
+
+

Decode a base64-encoded string (apply autoimported function):

+
$ py b64decode aGVsbG8=
+[PYFLYBY] from base64 import b64decode
+[PYFLYBY] b64decode('aGVsbG8=', altchars=None)
+b'hello'
+
+
+

Find the day of the week of some date (apply function in module):

+
$ py calendar.weekday 2014 7 18
+[PYFLYBY] import calendar
+[PYFLYBY] calendar.weekday(2014, 7, 18)
+4
+
+
+

Using named arguments:

+
$ py calendar.weekday --day=16 --month=7 --year=2014
+[PYFLYBY] import calendar
+[PYFLYBY] calendar.weekday(2014, 7, 16)
+2
+
+
+

Using short named arguments:

+
$ py calendar.weekday -m 7 -d 15 -y 2014
+[PYFLYBY] import calendar
+[PYFLYBY] calendar.weekday(2014, 7, 15)
+1
+
+
+

Invert a matrix (evaluate expression, with autoimporting):

+
$ py 'matrix("1 3 3; 1 4 3; 1 3 4").I'
+[PYFLYBY] from numpy import matrix
+[PYFLYBY] matrix("1 3 3; 1 4 3; 1 3 4").I
+matrix([[ 7., -3., -3.],
+        [-1.,  1.,  0.],
+        [-1.,  0.,  1.]])
+
+
+

Plot cosine (evaluate expression, with autoimporting):

+
$ py 'plot(cos(arange(30)))'
+[PYFLYBY] from numpy import arange
+[PYFLYBY] from numpy import cos
+[PYFLYBY] from matplotlib.pyplot import plot
+[PYFLYBY] plot(cos(arange(30)))
+<plot>
+
+
+

Command-line calculator (multiple arguments):

+
$ py 3 / 4
+0.75
+
+
+

Command-line calculator (single arguments):

+
$ py '(5+7j) \** 12'
+(65602966976-150532462080j)
+
+
+

Rationalize a decimal (apply bound method):

+
$ py 2.5.as_integer_ratio
+[PYFLYBY] 2.5.as_integer_ratio()
+(5, 2)
+
+
+

Rationalize a decimal (apply unbound method):

+
$ py float.as_integer_ratio 2.5
+[PYFLYBY] float.as_integer_ratio(2.5)
+(5, 2)
+
+
+

Rationalize decimals (map/apply):

+
$ py --map float.as_integer_ratio 2.5 3.5
+[PYFLYBY] float.as_integer_ratio(2.5)
+(5, 2)
+[PYFLYBY] float.as_integer_ratio(3.5)
+(7, 2)
+
+
+

Square numbers (map lambda):

+
$ py --map 'lambda x: x \**2' 3 4 5
+[PYFLYBY] (lambda x: x \**2)(3)
+9
+[PYFLYBY] (lambda x: x \**2)(4)
+16
+[PYFLYBY] (lambda x: x \**2)(5)
+25
+
+
+

Find length of string (using “-” for stdin):

+
$ echo hello | py len -
+[PYFLYBY] len('hello\\n')
+6
+
+
+

Run stdin as code:

+
$ echo 'print(sys.argv[1:])' | py - hello world
+[PYFLYBY] import sys
+['hello', 'world']
+
+
+

Run libc functions:

+
$ py --quiet --output=none 'CDLL("libc.so.6").printf' %03d 7
+007
+
+
+

Download web page:

+
$ py --print 'requests.get(sys.argv[1]).text' http://example.com
+
+
+

Get function help:

+
$ py b64decode?
+[PYFLYBY] from base64 import b64decode
+Python signature::
+
+  >> b64decode(s, altchars=None, validate=False)
+
+Command-line signature::
+
+  $ py b64decode s [altchars [validate]]
+  $ py b64decode --s=... [--altchars=...] [--validate=...]
+...
+
+
+

Get module help:

+
$ py pandas?
+[PYFLYBY] import pandas
+Version:
+  0.13.1
+Filename:
+  /usr/local/lib/python2.7/site-packages/pandas/__init__.pyc
+Docstring:
+  pandas - a powerful data analysis and manipulation library for Python
+  ...
+
+
+
+
+
+class pyflyby._py.LoggedList(items)
+

List that logs which members have not yet been accessed (nor removed).

+
+
+_ACCESSED = <object object>
+
+ +
+
+append(x)
+
+ +
+
+count()
+
+ +
+
+extend(new_items)
+
+ +
+
+index(x, *start_stop)
+
+ +
+
+insert(index, x)
+
+ +
+
+pop(index)
+
+ +
+
+remove(x)
+
+ +
+
+reverse()
+
+ +
+
+sort()
+
+ +
+
+property unaccessed
+
+ +
+ +
+
+exception pyflyby._py.NotAFunctionError
+
+ +
+
+exception pyflyby._py.ParseError
+
+ +
+
+pyflyby._py.SysArgvCtx(*args)
+
+
Context manager that:
    +
  • Temporarily sets sys.argv = args.

  • +
  • At end of context, complains if any args were never accessed.

  • +
+
+
+
+ +
+
+exception pyflyby._py.UnimportableNameError
+
+ +
+
+class pyflyby._py.UserExpr(arg, namespace, arg_mode, source=None)
+

An expression from user input, and its evaluated value.

+

The expression can come from a string literal or other raw value, or a +string that is evaluated as an expression, or heuristically chosen.

+
>>> ns = _Namespace()
+
+
+

Heuristic auto-evaluation:

+
>>> UserExpr('5+2', ns, "auto").value
+7
+
+>>> UserExpr('5j+2', ns, "auto").value
+(2+5j)
+
+>>> UserExpr('base64.b64decode("SGFsbG93ZWVu")', ns, "auto").value
+[PYFLYBY] import base64
+b'Halloween'
+
+
+

Returning an unparsable argument as a string:

+
>>> UserExpr('Victory Loop', ns, "auto").value
+'Victory Loop'
+
+
+

Returning an undefined (and not auto-importable) argument as a string:

+
>>> UserExpr('Willowbrook29817621+5', ns, "auto").value
+'Willowbrook29817621+5'
+
+
+

Explicit literal string:

+
>>> UserExpr("2+3", ns, "raw_value").value
+'2+3'
+
+>>> UserExpr("'2+3'", ns, "raw_value").value
+"'2+3'"
+
+
+

Other raw values:

+
>>> UserExpr(sys.exit, ns, "raw_value").value
+<built-in function exit>
+
+
+
+
+_infer_and_evaluate()
+
+
Return type:
+

None

+
+
+
+ +
+ +
+
+class pyflyby._py._Namespace
+
+
+auto_eval(block, mode=None, info=False, auto_import=True, debug=False)
+

Evaluate block with auto-importing.

+
+ +
+
+auto_import(arg)
+
+ +
+ +
+
+exception pyflyby._py._ParseInterruptedWantHelp
+
+ +
+
+exception pyflyby._py._ParseInterruptedWantSource
+
+ +
+
+class pyflyby._py._PyMain(args)
+
+
+_enable_debug_tools(*, add_deprecated)
+
+ +
+
+_parse_global_opts()
+
+ +
+
+_pre_exit()
+
+ +
+
+_pre_exit_interactive_shell()
+
+ +
+
+_pre_exit_matplotlib_show()
+

If matplotlib.pyplot (pylab) is loaded, then call the show() function. +This will cause the program to block until all figures are closed. +Without this, a command like ‘py plot(…)’ would exit immediately.

+
+ +
+
+_run_action()
+
+ +
+
+_seems_like_runnable_module(arg)
+
+ +
+
+apply(function, cmd_args)
+
+ +
+
+create_ipython_app()
+

Create an IPython application and initialize it, but don’t start it.

+
+ +
+
+eval(cmd, cmd_args)
+
+ +
+
+exec_stdin(cmd_args)
+
+ +
+
+execfile(filename_arg, cmd_args)
+
+ +
+
+heuristic_cmd(cmd, cmd_args, function_name=None)
+
+ +
+
+heuristic_run_module(module, args)
+
+ +
+
+print_help(objname, verbosity=1)
+
+ +
+
+print_version(arg)
+
+ +
+
+run()
+
+ +
+
+run_module(module, args)
+
+ +
+
+start_ipython(args=[])
+
+ +
+ +
+
+pyflyby._py._as_filename_if_seems_like_filename(arg)
+

If arg seems like a filename, then return it as one.

+
>>> bool(_as_filename_if_seems_like_filename("foo.py"))
+True
+
+
+
>>> bool(_as_filename_if_seems_like_filename("%foo.py"))
+False
+
+
+
>>> bool(_as_filename_if_seems_like_filename("foo(bar)"))
+False
+
+
+
>>> bool(_as_filename_if_seems_like_filename("/foo/bar/baz.quux-660470"))
+True
+
+
+
>>> bool(_as_filename_if_seems_like_filename("../foo/bar-24084866"))
+True
+
+
+
+
Return type:
+

Filename

+
+
+
+ +
+
+pyflyby._py._build_function_usage_string(function_name, obj, prefix)
+
+ +
+
+pyflyby._py._format_call(function_name, argspec, args, kwargs)
+
+ +
+
+pyflyby._py._format_call_spec(function_name, obj)
+
+
Return type:
+

str

+
+
+
+ +
+
+pyflyby._py._get_argspec(arg)
+
+
Return type:
+

FullArgSpec

+
+
+
+ +
+
+pyflyby._py._get_help(expr, verbosity=1)
+

Construct a help string.

+
+
Parameters:
+

expr (UserExpr) – Object to generate help for.

+
+
Return type:
+

str

+
+
+
+ +
+
+pyflyby._py._handle_user_exception(exc_info=None)
+

Handle an exception in user code.

+
+ +
+
+pyflyby._py._has_python_shebang(filename)
+

Return whether the first line contains #!…python…

+

Used for confirming that an executable script found via which() is +actually supposed to be a python script.

+

Note that this test is only needed for scripts found via which(), since +otherwise the shebang is not necessary.

+
+ +
+
+pyflyby._py._interpret_arg_mode(arg, default='auto')
+
>>> _interpret_arg_mode("Str")
+'string'
+
+
+
+ +
+
+pyflyby._py._interpret_output_mode(arg, default='interactive')
+
>>> _interpret_output_mode('Repr_If_Not_None')
+'repr-if-not-none'
+
+
+
+ +
+
+pyflyby._py._parse_auto_apply_args(argspec, commandline_args, namespace, arg_mode='auto')
+

Parse command-line arguments heuristically. Arguments that can be +evaluated are evaluated; otherwise they are treated as strings.

+
+
Returns:
+

args, kwargs

+
+
+
+ +
+
+pyflyby._py._requires_parens_as_function(function_name)
+

Returns whether the given string of a callable would require parentheses +around it to call it.

+
>>> _requires_parens_as_function("foo.bar[4]")
+False
+
+
+
>>> _requires_parens_as_function("foo+bar")
+True
+
+
+
>>> _requires_parens_as_function("(foo+bar)()")
+False
+
+
+
>>> _requires_parens_as_function("(foo+bar)")
+False
+
+
+
>>> _requires_parens_as_function("(foo)+(bar)")
+True
+
+
+
+
Return type:
+

bool

+
+
+
+ +
+
+pyflyby._py.auto_apply(function, commandline_args, namespace, arg_mode=None, debug=False)
+

Call function on command-line arguments. Arguments can be positional +or keyword arguments like “–foo=bar”. Arguments are by default +heuristically evaluated.

+
+
Parameters:
+
    +
  • function (UserExpr) – Function to apply.

  • +
  • commandline_args (list of str) – Arguments to function as strings.

  • +
  • arg_mode – How to interpret commandline_args. If "string", then treat them +as literal strings. If "eval", then evaluate all arguments as +expressions. If "auto" (the default), then heuristically decide +whether to treat as expressions or strings.

  • +
+
+
+
+ +
+
+pyflyby._py.print_result(result, output_mode)
+
+ +
+
+pyflyby._py.py_main(args=None)
+
+ +
+ + +
+
+ +
+
+
+
+ + + + \ No newline at end of file diff --git a/api/util.html b/api/util.html new file mode 100644 index 00000000..6a0207a2 --- /dev/null +++ b/api/util.html @@ -0,0 +1,961 @@ + + + + + + + + + _util module — pyflyby 1.9.8 documentation + + + + + + + + + + + + + + + + +
+ + +
+ +
+
+
+ +
+
+
+
+ +
+

_util module

+
+
+pyflyby._util.AdviceCtx(joinpoint, hook)
+
+ +
+
+class pyflyby._util.Aspect(joinpoint)
+

Monkey-patch a target method (joinpoint) with “around” advice.

+

The advice can call “__original__(…)”. At run time, a global named +“__original__” will magically be available to the wrapped function. +This refers to the original function.

+

Suppose someone else wrote Foo.bar():

+
>>> class Foo(object):
+...     def __init__(self, x):
+...         self.x = x
+...     def bar(self, y):
+...         return "bar(self.x=%s,y=%s)" % (self.x,y)
+
+>>> foo = Foo(42)
+
+
+

To monkey patch foo.bar, decorate the wrapper with "@advise(foo.bar)":

+
>>> @advise(foo.bar)
+... def addthousand(y):
+...     return "advised foo.bar(y=%s): %s" % (y, __original__(y+1000))
+
+>>> foo.bar(100)
+'advised foo.bar(y=100): bar(self.x=42,y=1100)'
+
+
+

You can uninstall the advice and get the original behavior back:

+
>>> addthousand.unadvise()
+
+>>> foo.bar(100)
+'bar(self.x=42,y=100)'
+
+
+
+
See:
+

http://en.wikipedia.org/wiki/Aspect-oriented_programming

+
+
+
+
+_wrapper = None
+
+ +
+
+advise(hook, once=False)
+
+ +
+
+unadvise()
+
+ +
+ +
+
+pyflyby._util.CwdCtx(path)
+

Context manager that temporarily enters a new working directory.

+
+ +
+
+pyflyby._util.EnvVarCtx(**kwargs)
+

Context manager that temporarily modifies os.environ.

+
+ +
+
+pyflyby._util.ExcludeImplicitCwdFromPathCtx()
+

Context manager that temporarily removes “.” from sys.path.

+
+ +
+
+class pyflyby._util.FunctionWithGlobals(function, **variables)
+

A callable that at runtime adds extra variables to the target function’s +global namespace.

+

This is written as a class with a __call__ method. We do so rather than +using a metafunction, so that we can also implement __getattr__ to look +through to the target.

+
+ +
+
+pyflyby._util.ImportPathCtx(path_additions)
+

Context manager that temporarily prepends sys.path with path_additions.

+
+ +
+
+pyflyby._util.NullCtx()
+

Context manager that does nothing.

+
+ +
+
+exception pyflyby._util.WrappedAttributeError
+
+ +
+
+class pyflyby._util._WritableDictProxy(cls)
+

Writable equivalent of cls.__dict__.

+
+
+get(k, default=None)
+
+ +
+ +
+
+pyflyby._util.advise(joinpoint)
+

Advise joinpoint.

+

See Aspect.

+
+ +
+
+pyflyby._util.cmp(a, b)
+
+ +
+
+pyflyby._util.indent(lines, prefix)
+
>>> indent('hello\nworld\n', '@@')
+'@@hello\n@@world\n'
+
+
+
+ +
+
+pyflyby._util.longest_common_prefix(items1, items2)
+

Return the longest common prefix.

+
>>> longest_common_prefix("abcde", "abcxy")
+'abc'
+
+
+
+
Return type:
+

type(items1)

+
+
+
+ +
+
+pyflyby._util.nested(*mgrs)
+
+ +
+
+pyflyby._util.partition(iterable, predicate)
+
>>> partition('12321233221', lambda c: int(c) % 2 == 0)
+(['2', '2', '2', '2', '2'], ['1', '3', '1', '3', '3', '1'])
+
+
+
+ +
+
+pyflyby._util.prefixes(parts)
+
>>> list(prefixes("abcd"))
+['a', 'ab', 'abc', 'abcd']
+
+
+
+ +
+
+pyflyby._util.stable_unique(items)
+

Return a copy of items without duplicates. The order of other items is +unchanged.

+
>>> stable_unique([1,4,6,4,6,5,7])
+[1, 4, 6, 5, 7]
+
+
+
+ +
+ + +
+
+ +
+
+
+
+ + + + \ No newline at end of file diff --git a/genindex.html b/genindex.html new file mode 100644 index 00000000..e957677a --- /dev/null +++ b/genindex.html @@ -0,0 +1,2279 @@ + + + + + + + + Index — pyflyby 1.9.8 documentation + + + + + + + + + + + + + + + +
+ + +
+ +
+
+
+
    +
  • + +
  • +
  • +
+
+
+
+
+ + +

Index

+ +
+ _ + | A + | B + | C + | D + | E + | F + | G + | H + | I + | J + | K + | L + | M + | N + | O + | P + | R + | S + | T + | U + | V + | W + +
+

_

+ + + +
+ +

A

+ + + +
+ +

B

+ + + +
+ +

C

+ + + +
+ +

D

+ + + +
+ +

E

+ + + +
+ +

F

+ + + +
+ +

G

+ + + +
+ +

H

+ + + +
+ +

I

+ + + +
+ +

J

+ + +
+ +

K

+ + + +
+ +

L

+ + + +
+ +

M

+ + + +
+ +

N

+ + + +
+ +

O

+ + + +
+ +

P

+ + + +
+ +

R

+ + + +
+ +

S

+ + + +
+ +

T

+ + + +
+ +

U

+ + + +
+ +

V

+ + + +
+ +

W

+ + + +
+ + + +
+
+ +
+
+
+
+ + + + \ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 00000000..d15022e6 --- /dev/null +++ b/index.html @@ -0,0 +1,1944 @@ + + + + + + + + + Pyflyby — pyflyby 1.9.8 documentation + + + + + + + + + + + + + + + + +
+ + +
+ +
+
+
+ +
+
+
+
+ +
+

Pyflyby

+https://badge.fury.io/py/pyflyby.svg + +https://travis-ci.org/deshaw/pyflyby.png?branch=master + +

Pyflyby is a set of Python programming productivity tools for Python 3.8+.

+
+
For command-line interaction:
    +
  • py: command-line multitool

  • +
+
+
For IPython interaction:
    +
  • autoimporter: automatically imports symbols when needed.

  • +
+
+
For editing python source code:
    +
  • tidy-imports: adds missing ‘import’s, removes unused ‘import’s, +and also reformats import blocks.

  • +
  • find-import: prints to stdout how to import a particular symbol.

  • +
  • reformat-imports: reformats import blocks

  • +
  • collect-imports: prints out all the imports in a given set of files.

  • +
  • collect-exports: prints out definitions in a given set of modules, +in the form of import statements.

  • +
  • transform-imports: renames imported modules/functions.

  • +
+
+
+
+

Installation

+
$ pip install pyflyby
+
+
+
+
This creates an alias for your ipython named py which runs the pyflyby plug internally.

pyflyby has a dependency on ipython, if it isn’t already installed do install it with:

+
+
+
$ pip install ipython
+
+
+
+
+

Quick start: Autoimporter + IPython

+
$ py
+In [1]: re.search("[a-z]+", "....hello...").group(0)
+[PYFLYBY] import re
+Out[1]: 'hello'
+
+In [2]: chisqprob(arange(5), 2)
+[PYFLYBY] from numpy import arange
+[PYFLYBY] from scipy.stats import chisqprob
+Out[2]: [ 1.      0.6065  0.3679  0.2231  0.1353]
+
+
+

To load pyflyby into an existing IPython session as a 1-off:

+
$ ipython
+In [1]: %load_ext pyflyby
+
+
+

To configure IPython/Jupyter Notebook to load pyflyby automatically:

+
$ py pyflyby.install_in_ipython_config_file
+
+
+

or

+
$ echo 'c.InteractiveShellApp.extensions.append("pyflyby")' \
+  >> ~/.ipython/profile_default/ipython_config.py
+
+$ ipython
+In [1]: b64decode('aGVsbG8=')
+[PYFLYBY] from base64 import b64decode
+Out[1]: 'hello'
+
+
+
+

Auto importer lazy variables

+

It is possible to use the autoimporter to lazily define variables.

+

To use, put the following in your IPython startup files +(~/.ipython/profile_default/startup/autoimp.py), or in your IPython +configuration file:

+
from pyflyby import add_import
+
+add_import("foo", "foo = 1")
+
+add_import(
+    "df, data as dd",
+    '''
+    import pandas as pd
+    data = [1,2,3]
+    df =  pd.DataFrame(data)
+''')
+
+
+

You can add the keyword strict=False to not fail if not in IPython or of the +pyflyby extensions is not loaded.

+
+
+
+

Quick start: py command-line multi-tool

+
$ py b64decode aGVsbG8=
+[PYFLYBY] from base64 import b64decode
+[PYFLYBY] b64decode('aGVsbG8=', altchars=None)
+'hello'
+
+$ py log2 sys.maxint
+[PYFLYBY] from numpy import log2
+[PYFLYBY] import sys
+[PYFLYBY] log2(9223372036854775807)
+63.0
+
+$ py 'plot(cos(arange(30)))'
+[PYFLYBY] from numpy import arange
+[PYFLYBY] from numpy import cos
+[PYFLYBY] from matplotlib.pyplot import plot
+[PYFLYBY] plot(cos(arange(30)))
+<plot>
+
+$ py 38497631 / 13951446
+2.7594007818257693
+
+$ py foo.py
+
+
+
+
+

Quick start: tidy-imports

+

To use tidy-imports, just specify the filename(s) to tidy.

+

For example:

+
$ echo 're.search("[a-z]+", "....hello..."), chisqprob(arange(5), 2)' > foo.py
+
+$ tidy-imports foo.py
+--- /tmp/foo.py
++++ /tmp/foo.py
+@@ -1 +1,9 @@
++from __future__ import absolute_import, division, with_statement
++
++from   numpy                    import arange
++from   scipy.stats              import chisqprob
++import re
++
+ re.search("[a-z]+", "....hello..."), chisqprob(arange(5), 2)
+
+Replace /tmp/foo.py? [y/N]
+
+
+
+
+

Quick start: import libraries

+

Create a file named .pyflyby with lines such as

+
from mypackage.mymodule import MyClass, my_function
+import anotherpackage.anothermodule
+
+
+

You can put this file in your home directory or in the same directory as your +*.py files.

+
+
+

Details: automatic imports

+

AUTOMATIC IMPORTS - never type “import” again!

+

This module allows your “known imports” to work automatically in your IPython +interactive session without having to type the ‘import’ statements (and also +without having to slow down your Python startup with imports you only use +occasionally).

+

Example:

+
In [1]: re.search("[a-z]+", "....hello...").group(0)
+[PYFLYBY] import re
+Out[1]: 'hello'
+
+In [2]: chisqprob(arange(5), 2)
+[PYFLYBY] from numpy import arange
+[PYFLYBY] from scipy.stats import chisqprob
+Out[2]: [ 1.      0.6065  0.3679  0.2231  0.1353]
+
+In [3]: np.sin(arandom(5))
+[PYFLYBY] from numpy.random import random as arandom
+[PYFLYBY] import numpy as np
+Out[3]: [ 0.0282  0.0603  0.4653  0.8371  0.3347]
+
+In [4]: isinstance(42, Number)
+[PYFLYBY] from numbers import Number
+Out[4]: True
+
+
+
+

It just works

+

Tab completion works, even on modules that are not yet imported. In the +following example, notice that numpy is imported when we need to know its +members, and only then:

+
$ ipython
+In [1]: nump<TAB>
+In [1]: numpy
+In [1]: numpy.arang<TAB>
+[PYFLYBY] import numpy
+In [1]: numpy.arange
+
+
+

The IPython “?” magic help (pinfo/pinfo2) automatically imports symbols first +if necessary:

+
$ ipython
+In [1]: arange?
+[PYFLYBY] from numpy import arange
+... Docstring: arange([start,] stop[, step,], dtype=None) ...
+
+
+

Other IPython magic commands work as well:

+
$ ipython
+In [1]: %timeit np.cos(pi)
+[PYFLYBY] import numpy as np
+[PYFLYBY] from numpy import pi
+100000 loops, best of 3: 2.51 us per loop
+
+$ echo 'print arange(4)' > foo.py
+$ ipython
+In [1]: %run foo.py
+[PYFLYBY] from numpy import arange
+[0 1 2 3]
+
+
+
+
+

Implementation details

+

The automatic importing happens at parse time, before code is executed. The +namespace never contains entries for names that are not yet imported.

+

This method of importing at parse time contrasts with previous implementations +of automatic importing that use proxy objects. Those implementations using +proxy objects don’t work as well, because it is impossible to make proxy +objects behave perfectly. For example, instance(x, T) will return the wrong +answer if either x or T is a proxy object.

+
+
+

Compatibility

+
+
Tested with:
    +
  • Python 3.8, 3.9, 3.10

  • +
  • IPython 0.10, 0.11, 0.12, 0.13, 1.0, 1.2, 2.0, 2.1, 2.2, 2.3, 2.4, 3.0, +3.1, 3.2, 4.0., 7.11 (latest)

  • +
  • IPython (text console), IPython Notebook, Spyder

  • +
+
+
+
+
+
+

Details: import libraries

+

Pyflyby uses “import libraries” that tell how to import a given symbol.

+

An import library file is simply a python source file containing ‘import’ (or +‘from … import …’) lines. These can be generated automatically with +collect-imports and collect-exports.

+
+

Known imports

+

Find-imports, tidy-imports, and autoimport consult the database of known +imports to figure out where to get an import. For example, if the +imports database contains:

+
from numpy import arange, NaN
+
+
+

then when you type the following in IPython:

+
print(arange(10))
+
+
+

the autoimporter would automatically execute from numpy import arange.

+

The database can be one file or multiple files. This makes it easy to have +project-specific known_imports along with global and per-user defaults.

+

The PYFLYBY_PATH environment variable specifies which files to read. +This is a colon-separated list of filenames or directory names. The default +is:

+
PYFLYBY_PATH=/etc/pyflyby:~/.pyflyby:.../.pyflyby
+
+
+

If you set:

+
PYFLYBY_PATH=/foo1/bar1:/foo2/bar2
+
+
+

then this replaces the default.

+

You can use a hyphen to include the default in the path. If you set:

+
PYFLYBY_PATH=/foo1/bar1:-:/foo2/bar2
+
+
+

then this reads /foo1/bar1, then the default locations, then /foo2/bar2.

+

In $PYFLYBY_PATH, .../.pyflyby (with _three_ dots) means that all ancestor +directories are searched for a member named “.pyflyby”.

+

For example, suppose the following files exist:

+
/etc/pyflyby/stuff.py
+/u/quarl/.pyflyby/blah1.py
+/u/quarl/.pyflyby/more/blah2.py
+/proj/share/mypythonstuff/.pyflyby
+/proj/share/mypythonstuff/foo/bar/.pyflyby/baz.py
+/.pyflyby
+
+
+

Further, suppose:

+
+
    +
  • /proj is on a separate file system from /.

  • +
  • $HOME=/u/quarl

  • +
+
+

Then tidy-imports /proj/share/mypythonstuff/foo/bar/quux/zot.py will by +default use the following:

+
/etc/pyflyby/stuff.py
+/u/quarl/.pyflyby/blah1.py
+/u/quarl/.pyflyby/more/blah2.py
+/proj/share/mypythonstuff/foo/bar/.pyflyby/baz.py
+/proj/share/mypythonstuff/.pyflyby (a file)
+
+
+
+

Note

+
    +
  • /.pyflyby is not included, because traversal stops at file system +boundaries, and in this example, /proj is on a different file system than +/.

  • +
  • .pyflyby (in $HOME or near the target file) can be a file or a directory. +If it is a directory, then it is recursively searched for *.py files.

  • +
  • The order usually doesn’t matter, but if there are “forget” instructions +(see below), then the order matters. In the default $PYFLYBY_PATH, +…/.pyflyby is placed last so that per-directory configuration can +override per-user configuration, which can override systemwide +configuration.

  • +
+
+
+
+

Forgetting imports

+

Occasionally you may have reason to tell pyflyby to “forget” entries from the +database of known imports.

+

You can put the following in any file reachable from $PYFLYBY_PATH:

+
__forget_imports__ = ["from numpy import NaN"]
+
+
+

This is useful if you want to use a set of imports maintained by someone else +except for a few particular imports.

+

Entries in $PYFLYBY_PATH are processed left-to-right in the order specified, +so put the files containing these at the end of your $PYFLYBY_PATH. By +default, tidy-imports and friends process /etc/pyflyby, then ~/.pyflyby, +then the per-directory .pyflyby.

+
+
+

Mandatory imports

+

Within a certain project you may have a policy to always include certain +imports. For example, maybe you always want to do from __future__ import +division in all files.

+

You can put the following in any file reachable from $PYFLYBY_PATH:

+
__mandatory_imports__ = ["from __future__ import division"]
+
+
+

To undo mandatory imports inherited from other .pyflyby files, use +__forget_imports__ (see above).

+
+
+

Canonicalize imports

+

Sometimes you want every run of tidy-imports to automatically rename an import +to a new name.

+

You can put the following in any file reachable from $PYFLYBY_PATH:

+
__canonical_imports__ = {"oldmodule.oldfunction": "newmodule.newfunction"}
+
+
+

This is equivalent to running:

+
tidy-imports --transform=oldmodule.oldfunction=newmodule.newfunction
+
+
+
+
+
+

Soapbox: avoid “star” imports

+

When programming in Python, a good software engineering practice is to avoid +using from foopackage import * in production code.

+

This style is a maintenance nightmare:

+
+
    +
  • It becomes difficult to figure out where various symbols +(functions/classes/etc) come from.

  • +
  • It’s hard to tell what gets shadowed by what.

  • +
  • When the package changes in trivial ways, your code will be affected. +Consider the following example: Suppose foopackage.py contains import +sys, and myprogram.py contains from foopackage import *; if +some_condition: sys.exit(0). If foopackage.py changes so that import +sys is removed, myprogram.py is now broken because it’s missing import +sys.

  • +
+
+

To fix such code, you can run tidy-imports --replace-star-imports to +automatically replace star imports with the specific needed imports.

+
+
+

Per-Project configuration of tidy-imports

+

You can configure Pyflyby on a per-repository basis by using the +[tool.pyflyby] section of pyproject.toml files. Pyflyby will look in current +working directory and all it’s parent until it find a pyproject.toml file from +which it will load the defaults.

+

Most of the long command line flags default values can be configured in this +section. Simply use the long form option name by replacing dashes - by +underscore _. For long option that have the form –xxx and –no-xxx, you +can assign a boolean to xxx. For example:

+
[tool.pyflyby]
+add_missing=true
+from_spaces=7
+remove_unused=false
+
+
+
+
+

Emacs support

+
    +
  • To get a M-x tidy-imports command in GNU Emacs, add to your ~/.emacs:

    +
    (load "/path/to/pyflyby/lib/emacs/pyflyby.el")
    +
    +
    +
  • +
+
    +
  • Pyflyby.el doesn’t yet work with XEmacs; patches welcome.

  • +
+
+
+

saveframe: A utility for debugging / reproducing an issue

+

PyFlyBy provides a utility named saveframe which can be used to save +information for debugging / reproducing an issue.

+

Usage: If you have a piece of code or a script that is failing due an issue +originating from upstream code, and you cannot share your private code as a reproducer, +use this utility to save relevant information to a file. Share the generated file with +the upstream team, enabling them to reproduce and diagnose the issue independently.

+

Information saved in the file: This utility captures and saves error stack frames +to a file. It includes the values of local variables from each stack frame, as well +as metadata about each frame and the exception raised by your code.

+

This utility comes with 2 interfaces:

+
    +
  1. A function: For interactive usages such as IPython, Jupyter Notebook, or a +debugger (pdb/ipdb), use pyflyby.saveframe function. To know how to use this +function, checkout it’s documentation:

  2. +
+
In [1]: saveframe?
+
+
+
    +
  1. A script: For cli usages (like a failing script), use pyflyby/bin/saveframe +script. To know how to use this script, checkout its documentation:

  2. +
+
$ saveframe --help
+
+
+
+
+

Authorship

+

This plugin was contributed back to the community by the D. E. Shaw group.

+https://www.deshaw.com/assets/logos/blue_logo_417x125.png + +

Pyflyby is written by Karl Chen <quarl@8166.clguba.z.quarl.org>

+

We love contributions! Before you can contribute, please sign and submit this +Contributor License Agreement (CLA). +This CLA is in place to protect all users of this project.

+
+
+

License

+

Pyflyby is released under a very permissive license, the MIT/X11 license; see +LICENSE.txt.

+
+
+

Release

+
    +
  1. Check version number in lib/python/pyflyby/_version.py, maybe increase it.

  2. +
  3. Commit and tag if necessary, and push tags/commits.

  4. +
  5. Optional: Set SOURCE_DATE_EPOCH for reproducible build:

    +
    export SOURCE_DATE_EPOCH=$(git show -s --format=%ct HEAD)
    +
    +
    +
  6. +
  7. Build the SDIST:

    +
    python setup.py sdist
    +
    +
    +
  8. +
  9. Optional Repack the Sdist to make sure the ZIP only contain SOURCE_DATE_EPOCH +date using IPython tools:

    +
    python ~/dev/ipython/tools/retar.py dist/pyflyby-1.7.8.tar.gz
    +shasum -a 256 dist/*
    +
    +
    +
  10. +
  11. Optional, redo 4 & 5 to verify checksum is unchanged.

  12. +
  13. Upload using twine:

    +
    twine upload dist/*
    +
    +
    +
  14. +
  15. Check/update https://github.com/conda-forge/pyflyby-feedstock for new pyflyby +release on conda-forge

  16. +
+
+
+

Table of Contents

+
+ +
+
+
+

Indices and tables

+ +
+
+ + +
+
+ +
+
+
+
+ + + + \ No newline at end of file diff --git a/objects.inv b/objects.inv new file mode 100644 index 00000000..2cf8de71 Binary files /dev/null and b/objects.inv differ diff --git a/py-modindex.html b/py-modindex.html new file mode 100644 index 00000000..f7a910fb --- /dev/null +++ b/py-modindex.html @@ -0,0 +1,882 @@ + + + + + + + + Python Module Index — pyflyby 1.9.8 documentation + + + + + + + + + + + + + + + + + + +
+ + +
+ +
+
+
+
    +
  • + +
  • +
  • +
+
+
+
+
+ + +

Python Module Index

+ +
+ p +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 
+ p
+ pyflyby +
    + pyflyby._autoimp +
    + pyflyby._cmdline +
    + pyflyby._comms +
    + pyflyby._dbg +
    + pyflyby._file +
    + pyflyby._flags +
    + pyflyby._format +
    + pyflyby._idents +
    + pyflyby._importclns +
    + pyflyby._importdb +
    + pyflyby._imports2s +
    + pyflyby._importstmt +
    + pyflyby._interactive +
    + pyflyby._livepatch +
    + pyflyby._log +
    + pyflyby._modules +
    + pyflyby._parse +
    + pyflyby._py +
    + pyflyby._util +
+ + +
+
+ +
+
+
+
+ + + + \ No newline at end of file diff --git a/search.html b/search.html new file mode 100644 index 00000000..f496d184 --- /dev/null +++ b/search.html @@ -0,0 +1,787 @@ + + + + + + + + Search — pyflyby 1.9.8 documentation + + + + + + + + + + + + + + + + + + +
+ + +
+ +
+
+
+
    +
  • + +
  • +
  • +
+
+
+
+
+ + + + +
+ +
+ +
+
+ +
+
+
+
+ + + + + + + + + \ No newline at end of file diff --git a/searchindex.js b/searchindex.js new file mode 100644 index 00000000..9a44fd8c --- /dev/null +++ b/searchindex.js @@ -0,0 +1 @@ +Search.setIndex({"alltitles": {"Authorship": [[20, "authorship"]], "Auto importer lazy variables": [[20, "auto-importer-lazy-variables"]], "Canonicalize imports": [[20, "canonicalize-imports"]], "Compatibility": [[20, "compatibility"]], "Contents:": [[0, null]], "Customizing behavior": [[14, "customizing-behavior"]], "Details: automatic imports": [[20, "details-automatic-imports"]], "Details: import libraries": [[20, "details-import-libraries"]], "Emacs support": [[20, "emacs-support"]], "Features": [[18, "features"]], "Forgetting imports": [[20, "forgetting-imports"]], "Implementation details": [[20, "implementation-details"]], "Indices and tables": [[20, "indices-and-tables"]], "Installation": [[20, "installation"]], "Invocation summary": [[18, "invocation-summary"]], "It just works": [[20, "it-just-works"]], "Known imports": [[20, "known-imports"]], "License": [[20, "license"]], "Mandatory imports": [[20, "mandatory-imports"]], "Options": [[18, "options"]], "Per-Project configuration of tidy-imports": [[20, "per-project-configuration-of-tidy-imports"]], "Pyflyby": [[20, null]], "Quick start: Autoimporter + IPython": [[20, "quick-start-autoimporter-ipython"]], "Quick start: import libraries": [[20, "quick-start-import-libraries"]], "Quick start: py command-line multi-tool": [[20, "quick-start-py-command-line-multi-tool"]], "Quick start: tidy-imports": [[20, "quick-start-tidy-imports"]], "Release": [[20, "release"]], "Soapbox: avoid \u201cstar\u201d imports": [[20, "soapbox-avoid-star-imports"]], "Table of Contents": [[20, "table-of-contents"]], "_autoimp module": [[1, null]], "_cmdline module": [[2, null]], "_comms module": [[3, null]], "_dbg module": [[4, null]], "_file module": [[5, null]], "_flags module": [[6, null]], "_format module": [[7, null]], "_idents module": [[8, null]], "_importclns module": [[9, null]], "_importdb module": [[10, null]], "_imports2s module": [[11, null]], "_importstmt module": [[12, null]], "_interactive module": [[13, null]], "_livepatch module": [[14, null]], "_log module": [[15, null]], "_modules module": [[16, null]], "_parse module": [[17, null]], "_py module": [[18, null]], "_util module": [[19, null]], "pyflyby API": [[0, null]], "saveframe: A utility for debugging / reproducing an issue": [[20, "saveframe-a-utility-for-debugging-reproducing-an-issue"]]}, "docnames": ["api/api", "api/autoimp", "api/cmdline", "api/comms", "api/dbg", "api/file", "api/flags", "api/format", "api/idents", "api/importclns", "api/importdb", "api/imports2s", "api/importstmt", "api/interactive", "api/livepatch", "api/log", "api/modules", "api/parse", "api/py", "api/util", "index"], "envversion": {"sphinx": 64, "sphinx.domains.c": 3, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 9, "sphinx.domains.index": 1, "sphinx.domains.javascript": 3, "sphinx.domains.math": 2, "sphinx.domains.python": 4, "sphinx.domains.rst": 2, "sphinx.domains.std": 2}, "filenames": ["api/api.rst", "api/autoimp.rst", "api/cmdline.rst", "api/comms.rst", "api/dbg.rst", "api/file.rst", "api/flags.rst", "api/format.rst", "api/idents.rst", "api/importclns.rst", "api/importdb.rst", "api/imports2s.rst", "api/importstmt.rst", "api/interactive.rst", "api/livepatch.rst", "api/log.rst", "api/modules.rst", "api/parse.rst", "api/py.rst", "api/util.rst", "index.rst"], "indexentries": {"_abbrev_filename() (in module pyflyby._dbg)": [[4, "pyflyby._dbg._abbrev_filename", false]], "_abc_impl (pyflyby._autoimp.scopestack attribute)": [[1, "pyflyby._autoimp.ScopeStack._abc_impl", false]], "_accessed (pyflyby._py.loggedlist attribute)": [[18, "pyflyby._py.LoggedList._ACCESSED", false]], "_advise() (pyflyby._interactive.autoimporter method)": [[13, "pyflyby._interactive.AutoImporter._advise", false]], "_ancestors_on_same_partition() (in module pyflyby._importdb)": [[10, "pyflyby._importdb._ancestors_on_same_partition", false]], "_annotate_ast_context() (in module pyflyby._parse)": [[17, "pyflyby._parse._annotate_ast_context", false]], "_annotate_ast_nodes() (in module pyflyby._parse)": [[17, "pyflyby._parse._annotate_ast_nodes", false]], "_annotate_ast_startpos() (in module pyflyby._parse)": [[17, "pyflyby._parse._annotate_ast_startpos", false]], "_app_is_initialized() (in module pyflyby._interactive)": [[13, "pyflyby._interactive._app_is_initialized", false]], "_as_filename_if_seems_like_filename() (in module pyflyby._py)": [[18, "pyflyby._py._as_filename_if_seems_like_filename", false]], "_asdict() (pyflyby._importstmt.importsplit method)": [[12, "pyflyby._importstmt.ImportSplit._asdict", false]], "_asdict() (pyflyby._parse.astnodecontext method)": [[17, "pyflyby._parse.AstNodeContext._asdict", false]], "_ast_node_is_in_docstring_position() (in module pyflyby._parse)": [[17, "pyflyby._parse._ast_node_is_in_docstring_position", false]], "_ast_str_literal_value() (in module pyflyby._parse)": [[17, "pyflyby._parse._ast_str_literal_value", false]], "_ast_transformer (pyflyby._interactive.autoimporter attribute)": [[13, "pyflyby._interactive.AutoImporter._ast_transformer", false]], "_auto_import_in_pdb_frame() (in module pyflyby._interactive)": [[13, "pyflyby._interactive._auto_import_in_pdb_frame", false]], "_autoimported_this_cell (pyflyby._interactive.autoimporter attribute)": [[13, "pyflyby._interactive.AutoImporter._autoimported_this_cell", false]], "_build_function_usage_string() (in module pyflyby._py)": [[18, "pyflyby._py._build_function_usage_string", false]], "_by_module_name (pyflyby._importclns.importset property)": [[9, "pyflyby._importclns.ImportSet._by_module_name", false]], "_cached_has_star_import (pyflyby._autoimp.scopestack attribute)": [[1, "pyflyby._autoimp.ScopeStack._cached_has_star_import", false]], "_check_load() (pyflyby._autoimp._missingimportfinder method)": [[1, "pyflyby._autoimp._MissingImportFinder._check_load", false]], "_classscope (class in pyflyby._autoimp)": [[1, "pyflyby._autoimp._ClassScope", false]], "_cls_cache (pyflyby._modules.modulehandle attribute)": [[16, "pyflyby._modules.ModuleHandle._cls_cache", false]], "_colno_to_index() (pyflyby._file.filetext method)": [[5, "pyflyby._file.FileText._colno_to_index", false]], "_construct() (pyflyby._interactive.autoimporter class method)": [[13, "pyflyby._interactive.AutoImporter._construct", false]], "_continue_enable() (pyflyby._interactive.autoimporter method)": [[13, "pyflyby._interactive.AutoImporter._continue_enable", false]], "_data (pyflyby._file.filepos property)": [[5, "pyflyby._file.FilePos._data", false]], "_data (pyflyby._importclns.importmap attribute)": [[9, "pyflyby._importclns.ImportMap._data", false]], "_debug_code() (in module pyflyby._dbg)": [[4, "pyflyby._dbg._debug_code", false]], "_debug_exception() (in module pyflyby._dbg)": [[4, "pyflyby._dbg._debug_exception", false]], "_debuggerctx() (in module pyflyby._dbg)": [[4, "pyflyby._dbg._DebuggerCtx", false]], "_default_on_error() (in module pyflyby._cmdline)": [[2, "pyflyby._cmdline._default_on_error", false]], "_deferred_load_checks (pyflyby._autoimp._missingimportfinder attribute)": [[1, "pyflyby._autoimp._MissingImportFinder._deferred_load_checks", false]], "_dev_null() (in module pyflyby._dbg)": [[4, "pyflyby._dbg._dev_null", false]], "_dev_tty_fd() (in module pyflyby._dbg)": [[4, "pyflyby._dbg._dev_tty_fd", false]], "_disablers (pyflyby._interactive.autoimporter attribute)": [[13, "pyflyby._interactive.AutoImporter._disablers", false]], "_displayhookctx() (in module pyflyby._dbg)": [[4, "pyflyby._dbg._DisplayHookCtx", false]], "_dummyast_node (class in pyflyby._parse)": [[17, "pyflyby._parse._DummyAst_Node", false]], "_dummyipythonembeddedapp (class in pyflyby._interactive)": [[13, "pyflyby._interactive._DummyIPythonEmbeddedApp", false]], "_empty (pyflyby._importclns.importmap attribute)": [[9, "pyflyby._importclns.ImportMap._EMPTY", false]], "_empty (pyflyby._importclns.importset attribute)": [[9, "pyflyby._importclns.ImportSet._EMPTY", false]], "_enable_ast_hook() (pyflyby._interactive.autoimporter method)": [[13, "pyflyby._interactive.AutoImporter._enable_ast_hook", false]], "_enable_completer_hooks() (pyflyby._interactive.autoimporter method)": [[13, "pyflyby._interactive.AutoImporter._enable_completer_hooks", false]], "_enable_completion_hook() (pyflyby._interactive.autoimporter method)": [[13, "pyflyby._interactive.AutoImporter._enable_completion_hook", false]], "_enable_debug_tools() (pyflyby._py._pymain method)": [[18, "pyflyby._py._PyMain._enable_debug_tools", false]], "_enable_debugger_hook() (pyflyby._interactive.autoimporter method)": [[13, "pyflyby._interactive.AutoImporter._enable_debugger_hook", false]], "_enable_initializer_hooks() (pyflyby._interactive.autoimporter method)": [[13, "pyflyby._interactive.AutoImporter._enable_initializer_hooks", false]], "_enable_internal() (pyflyby._interactive.autoimporter method)": [[13, "pyflyby._interactive.AutoImporter._enable_internal", false]], "_enable_ipython_shell_bugfixes() (pyflyby._interactive.autoimporter method)": [[13, "pyflyby._interactive.AutoImporter._enable_ipython_shell_bugfixes", false]], "_enable_kernel_manager_hook() (pyflyby._interactive.autoimporter method)": [[13, "pyflyby._interactive.AutoImporter._enable_kernel_manager_hook", false]], "_enable_ofind_hook() (pyflyby._interactive.autoimporter method)": [[13, "pyflyby._interactive.AutoImporter._enable_ofind_hook", false]], "_enable_pdb_hooks() (in module pyflyby._interactive)": [[13, "pyflyby._interactive._enable_pdb_hooks", false]], "_enable_prun_hook() (pyflyby._interactive.autoimporter method)": [[13, "pyflyby._interactive.AutoImporter._enable_prun_hook", false]], "_enable_reset_hook() (pyflyby._interactive.autoimporter method)": [[13, "pyflyby._interactive.AutoImporter._enable_reset_hook", false]], "_enable_run_hook() (pyflyby._interactive.autoimporter method)": [[13, "pyflyby._interactive.AutoImporter._enable_run_hook", false]], "_enable_shell_hooks() (pyflyby._interactive.autoimporter method)": [[13, "pyflyby._interactive.AutoImporter._enable_shell_hooks", false]], "_enable_start_kernel_hook() (pyflyby._interactive.autoimporter method)": [[13, "pyflyby._interactive.AutoImporter._enable_start_kernel_hook", false]], "_enable_terminal_pdb_hooks() (in module pyflyby._interactive)": [[13, "pyflyby._interactive._enable_terminal_pdb_hooks", false]], "_enable_time_hook() (pyflyby._interactive.autoimporter method)": [[13, "pyflyby._interactive.AutoImporter._enable_time_hook", false]], "_enable_timeit_hook() (pyflyby._interactive.autoimporter method)": [[13, "pyflyby._interactive.AutoImporter._enable_timeit_hook", false]], "_enablestate (class in pyflyby._interactive)": [[13, "pyflyby._interactive._EnableState", false]], "_errored (pyflyby._interactive.autoimporter attribute)": [[13, "pyflyby._interactive.AutoImporter._errored", false]], "_escape_for_gdb() (in module pyflyby._dbg)": [[4, "pyflyby._dbg._escape_for_gdb", false]], "_excepthookctx() (in module pyflyby._dbg)": [[4, "pyflyby._dbg._ExceptHookCtx", false]], "_expand_tripledots() (in module pyflyby._importdb)": [[10, "pyflyby._importdb._expand_tripledots", false]], "_fdctx() (in module pyflyby._dbg)": [[4, "pyflyby._dbg._FdCtx", false]], "_field_defaults (pyflyby._importstmt.importsplit attribute)": [[12, "pyflyby._importstmt.ImportSplit._field_defaults", false]], "_field_defaults (pyflyby._parse.astnodecontext attribute)": [[17, "pyflyby._parse.AstNodeContext._field_defaults", false]], "_fields (pyflyby._importstmt.importsplit attribute)": [[12, "pyflyby._importstmt.ImportSplit._fields", false]], "_fields (pyflyby._parse.astnodecontext attribute)": [[17, "pyflyby._parse.AstNodeContext._fields", false]], "_find_earliest_backjump_label() (in module pyflyby._autoimp)": [[1, "pyflyby._autoimp._find_earliest_backjump_label", false]], "_find_etc_dirs() (in module pyflyby._importdb)": [[10, "pyflyby._importdb._find_etc_dirs", false]], "_find_loads_without_stores_in_code() (in module pyflyby._autoimp)": [[1, "pyflyby._autoimp._find_loads_without_stores_in_code", false]], "_find_missing_imports_in_ast() (in module pyflyby._autoimp)": [[1, "pyflyby._autoimp._find_missing_imports_in_ast", false]], "_find_missing_imports_in_code() (in module pyflyby._autoimp)": [[1, "pyflyby._autoimp._find_missing_imports_in_code", false]], "_find_options() (pyflyby._parse.ignoreoptionsdoctestparser method)": [[17, "pyflyby._parse.IgnoreOptionsDocTestParser._find_options", false]], "_find_py_commandline() (in module pyflyby._dbg)": [[4, "pyflyby._dbg._find_py_commandline", false]], "_finish_deferred_load_checks() (pyflyby._autoimp._missingimportfinder method)": [[1, "pyflyby._autoimp._MissingImportFinder._finish_deferred_load_checks", false]], "_flags_to_try() (in module pyflyby._parse)": [[17, "pyflyby._parse._flags_to_try", false]], "_flatten_ast_nodes() (in module pyflyby._parse)": [[17, "pyflyby._parse._flatten_ast_nodes", false]], "_format_age() (in module pyflyby._livepatch)": [[14, "pyflyby._livepatch._format_age", false]], "_format_call() (in module pyflyby._py)": [[18, "pyflyby._py._format_call", false]], "_format_call_spec() (in module pyflyby._py)": [[18, "pyflyby._py._format_call_spec", false]], "_from_app() (pyflyby._interactive.autoimporter class method)": [[13, "pyflyby._interactive.AutoImporter._from_app", false]], "_from_args() (pyflyby._importclns.importset class method)": [[9, "pyflyby._importclns.ImportSet._from_args", false]], "_from_filename() (pyflyby._modules.modulehandle class method)": [[16, "pyflyby._modules.ModuleHandle._from_filename", false]], "_from_imports() (pyflyby._importclns.importset class method)": [[9, "pyflyby._importclns.ImportSet._from_imports", false]], "_from_lc() (pyflyby._file.filepos class method)": [[5, "pyflyby._file.FilePos._from_lc", false]], "_from_lines() (pyflyby._file.filetext class method)": [[5, "pyflyby._file.FileText._from_lines", false]], "_from_map() (pyflyby._importclns.importmap class method)": [[9, "pyflyby._importclns.ImportMap._from_map", false]], "_from_module() (pyflyby._modules.modulehandle class method)": [[16, "pyflyby._modules.ModuleHandle._from_module", false]], "_from_modulename() (pyflyby._modules.modulehandle class method)": [[16, "pyflyby._modules.ModuleHandle._from_modulename", false]], "_from_name() (pyflyby._idents.dottedidentifier class method)": [[8, "pyflyby._idents.DottedIdentifier._from_name", false]], "_from_source_code() (pyflyby._imports2s.sourcetosourcetransformationbase class method)": [[11, "pyflyby._imports2s.SourceToSourceTransformationBase._from_source_code", false]], "_generate_enabler_code() (in module pyflyby._interactive)": [[13, "pyflyby._interactive._generate_enabler_code", false]], "_get_argspec() (in module pyflyby._py)": [[18, "pyflyby._py._get_argspec", false]], "_get_caller_frame() (in module pyflyby._dbg)": [[4, "pyflyby._dbg._get_caller_frame", false]], "_get_definition_module() (in module pyflyby._livepatch)": [[14, "pyflyby._livepatch._get_definition_module", false]], "_get_env_var() (in module pyflyby._importdb)": [[10, "pyflyby._importdb._get_env_var", false]], "_get_help() (in module pyflyby._py)": [[18, "pyflyby._py._get_help", false]], "_get_ipdb_class() (in module pyflyby._interactive)": [[13, "pyflyby._interactive._get_IPdb_class", false]], "_get_ipython_app() (in module pyflyby._interactive)": [[13, "pyflyby._interactive._get_ipython_app", false]], "_get_ipython_color_scheme() (in module pyflyby._interactive)": [[13, "pyflyby._interactive._get_ipython_color_scheme", false]], "_get_module_py_file() (in module pyflyby._livepatch)": [[14, "pyflyby._livepatch._get_module_py_file", false]], "_get_or_create_ipython_kernel_app() (in module pyflyby._interactive)": [[13, "pyflyby._interactive._get_or_create_ipython_kernel_app", false]], "_get_or_create_ipython_terminal_app() (in module pyflyby._interactive)": [[13, "pyflyby._interactive._get_or_create_ipython_terminal_app", false]], "_get_path() (in module pyflyby._file)": [[5, "pyflyby._file._get_PATH", false]], "_get_pdb_if_is_in_pdb() (in module pyflyby._interactive)": [[13, "pyflyby._interactive._get_pdb_if_is_in_pdb", false]], "_get_python_path() (in module pyflyby._importdb)": [[10, "pyflyby._importdb._get_python_path", false]], "_get_scope_info() (pyflyby._autoimp._missingimportfinder method)": [[1, "pyflyby._autoimp._MissingImportFinder._get_scope_info", false]], "_get_st_dev() (in module pyflyby._importdb)": [[10, "pyflyby._importdb._get_st_dev", false]], "_get_terminalpdb_class() (in module pyflyby._interactive)": [[13, "pyflyby._interactive._get_TerminalPdb_class", false]], "_handle_user_exception() (in module pyflyby._py)": [[18, "pyflyby._py._handle_user_exception", false]], "_has_python_shebang() (in module pyflyby._py)": [[18, "pyflyby._py._has_python_shebang", false]], "_import_failed (in module pyflyby._autoimp)": [[1, "pyflyby._autoimp._IMPORT_FAILED", false]], "_importset (pyflyby._importclns.importset attribute)": [[9, "pyflyby._importclns.ImportSet._importset", false]], "_infer_and_evaluate() (pyflyby._py.userexpr method)": [[18, "pyflyby._py.UserExpr._infer_and_evaluate", false]], "_initialize_and_start_app_with_autoimporter() (in module pyflyby._interactive)": [[13, "pyflyby._interactive._initialize_and_start_app_with_autoimporter", false]], "_install_in_ipython_config_file_010() (in module pyflyby._interactive)": [[13, "pyflyby._interactive._install_in_ipython_config_file_010", false]], "_install_in_ipython_config_file_011() (in module pyflyby._interactive)": [[13, "pyflyby._interactive._install_in_ipython_config_file_011", false]], "_install_in_ipython_config_file_012() (in module pyflyby._interactive)": [[13, "pyflyby._interactive._install_in_ipython_config_file_012", false]], "_install_in_ipython_config_file_40() (in module pyflyby._interactive)": [[13, "pyflyby._interactive._install_in_ipython_config_file_40", false]], "_instance (pyflyby._interactive._ipython010terminalapplication attribute)": [[13, "pyflyby._interactive._IPython010TerminalApplication._instance", false]], "_interactive_prefix (pyflyby._log._pyflybyhandler attribute)": [[15, "pyflyby._log._PyflybyHandler._interactive_prefix", false]], "_interpret_arg_mode() (in module pyflyby._py)": [[18, "pyflyby._py._interpret_arg_mode", false]], "_interpret_module() (in module pyflyby._livepatch)": [[14, "pyflyby._livepatch._interpret_module", false]], "_interpret_output_mode() (in module pyflyby._py)": [[18, "pyflyby._py._interpret_output_mode", false]], "_intint() (pyflyby._file.filepos static method)": [[5, "pyflyby._file.FilePos._intint", false]], "_ip (pyflyby._interactive.autoimporter attribute)": [[13, "pyflyby._interactive.AutoImporter._ip", false]], "_ipython010terminalapplication (class in pyflyby._interactive)": [[13, "pyflyby._interactive._IPython010TerminalApplication", false]], "_ipython_in_multiline() (in module pyflyby._interactive)": [[13, "pyflyby._interactive._ipython_in_multiline", false]], "_ipython_namespaces() (in module pyflyby._interactive)": [[13, "pyflyby._interactive._ipython_namespaces", false]], "_is_ast_bytes() (in module pyflyby._parse)": [[17, "pyflyby._parse._is_ast_bytes", false]], "_is_ast_str() (in module pyflyby._parse)": [[17, "pyflyby._parse._is_ast_str", false]], "_is_ast_str_or_byte() (in module pyflyby._parse)": [[17, "pyflyby._parse._is_ast_str_or_byte", false]], "_is_comment_or_blank() (in module pyflyby._parse)": [[17, "pyflyby._parse._is_comment_or_blank", false]], "_is_interactive() (in module pyflyby._log)": [[15, "pyflyby._log._is_interactive", false]], "_is_ipython() (in module pyflyby._log)": [[15, "pyflyby._log._is_ipython", false]], "_iter_child_nodes_in_order() (in module pyflyby._parse)": [[17, "pyflyby._parse._iter_child_nodes_in_order", false]], "_iter_child_nodes_in_order_internal_1() (in module pyflyby._parse)": [[17, "pyflyby._parse._iter_child_nodes_in_order_internal_1", false]], "_levels (pyflyby._log.pyflybylogger attribute)": [[15, "pyflyby._log.PyflybyLogger._LEVELS", false]], "_lineno (pyflyby._autoimp._missingimportfinder attribute)": [[1, "pyflyby._autoimp._MissingImportFinder._lineno", false]], "_lineno_to_index() (pyflyby._file.filetext method)": [[5, "pyflyby._file.FileText._lineno_to_index", false]], "_lines (pyflyby._file.filetext attribute)": [[5, "pyflyby._file.FileText._lines", false]], "_list_members_for_completion() (in module pyflyby._interactive)": [[13, "pyflyby._interactive._list_members_for_completion", false]], "_livepatch__class() (in module pyflyby._livepatch)": [[14, "pyflyby._livepatch._livepatch__class", false]], "_livepatch__dict() (in module pyflyby._livepatch)": [[14, "pyflyby._livepatch._livepatch__dict", false]], "_livepatch__function() (in module pyflyby._livepatch)": [[14, "pyflyby._livepatch._livepatch__function", false]], "_livepatch__method() (in module pyflyby._livepatch)": [[14, "pyflyby._livepatch._livepatch__method", false]], "_livepatch__module() (in module pyflyby._livepatch)": [[14, "pyflyby._livepatch._livepatch__module", false]], "_livepatch__object() (in module pyflyby._livepatch)": [[14, "pyflyby._livepatch._livepatch__object", false]], "_livepatch__setattr() (in module pyflyby._livepatch)": [[14, "pyflyby._livepatch._livepatch__setattr", false]], "_logged_anything_during_context (pyflyby._log._pyflybyhandler attribute)": [[15, "pyflyby._log._PyflybyHandler._logged_anything_during_context", false]], "_make() (pyflyby._importstmt.importsplit class method)": [[12, "pyflyby._importstmt.ImportSplit._make", false]], "_make() (pyflyby._parse.astnodecontext class method)": [[17, "pyflyby._parse.AstNodeContext._make", false]], "_max_line_lenght_default (pyflyby._format.formatparams attribute)": [[7, "pyflyby._format.FormatParams._max_line_lenght_default", false]], "_member_from_node() (pyflyby._modules.modulehandle static method)": [[16, "pyflyby._modules.ModuleHandle._member_from_node", false]], "_merge() (pyflyby._importclns.importmap class method)": [[9, "pyflyby._importclns.ImportMap._merge", false]], "_missingimportfinder (class in pyflyby._autoimp)": [[1, "pyflyby._autoimp._MissingImportFinder", false]], "_my_iter_modules() (in module pyflyby._modules)": [[16, "pyflyby._modules._my_iter_modules", false]], "_namespace (class in pyflyby._py)": [[18, "pyflyby._py._Namespace", false]], "_newscopectx() (pyflyby._autoimp._missingimportfinder method)": [[1, "pyflyby._autoimp._MissingImportFinder._NewScopeCtx", false]], "_noninteractive_prefix (pyflyby._log._pyflybyhandler attribute)": [[15, "pyflyby._log._PyflybyHandler._noninteractive_prefix", false]], "_nottyerror": [[4, "pyflyby._dbg._NoTtyError", false]], "_one_one (pyflyby._file.filepos attribute)": [[5, "pyflyby._file.FilePos._ONE_ONE", false]], "_output (pyflyby._imports2s.sourcetosourcetransformation attribute)": [[11, "pyflyby._imports2s.SourceToSourceTransformation._output", false]], "_override_excepthook() (in module pyflyby._dbg)": [[4, "pyflyby._dbg._override_excepthook", false]], "_parse_ast_nodes() (in module pyflyby._parse)": [[17, "pyflyby._parse._parse_ast_nodes", false]], "_parse_auto_apply_args() (in module pyflyby._py)": [[18, "pyflyby._py._parse_auto_apply_args", false]], "_parse_global_opts() (pyflyby._py._pymain method)": [[18, "pyflyby._py._PyMain._parse_global_opts", false]], "_parseinterruptedwanthelp": [[18, "pyflyby._py._ParseInterruptedWantHelp", false]], "_parseinterruptedwantsource": [[18, "pyflyby._py._ParseInterruptedWantSource", false]], "_pre_exit() (pyflyby._py._pymain method)": [[18, "pyflyby._py._PyMain._pre_exit", false]], "_pre_exit_interactive_shell() (pyflyby._py._pymain method)": [[18, "pyflyby._py._PyMain._pre_exit_interactive_shell", false]], "_pre_exit_matplotlib_show() (pyflyby._py._pymain method)": [[18, "pyflyby._py._PyMain._pre_exit_matplotlib_show", false]], "_pre_log_function (pyflyby._log._pyflybyhandler attribute)": [[15, "pyflyby._log._PyflybyHandler._pre_log_function", false]], "_prompt_continue_waiting_for_debugger() (in module pyflyby._dbg)": [[4, "pyflyby._dbg._prompt_continue_waiting_for_debugger", false]], "_prompttoolkitstdoutproxyrawctx() (in module pyflyby._log)": [[15, "pyflyby._log._PromptToolkitStdoutProxyRawCtx", false]], "_pyflybyhandler (class in pyflyby._log)": [[15, "pyflyby._log._PyflybyHandler", false]], "_pymain (class in pyflyby._py)": [[18, "pyflyby._py._PyMain", false]], "_python_can_import_pyflyby() (in module pyflyby._interactive)": [[13, "pyflyby._interactive._python_can_import_pyflyby", false]], "_reformat_helper() (in module pyflyby._comms)": [[3, "pyflyby._comms._reformat_helper", false]], "_register_target() (in module pyflyby._comms)": [[3, "pyflyby._comms._register_target", false]], "_remote_print_stack_to_file() (in module pyflyby._dbg)": [[4, "pyflyby._dbg._remote_print_stack_to_file", false]], "_remove_from_missing_imports() (pyflyby._autoimp._missingimportfinder method)": [[1, "pyflyby._autoimp._MissingImportFinder._remove_from_missing_imports", false]], "_replace() (pyflyby._importstmt.importsplit method)": [[12, "pyflyby._importstmt.ImportSplit._replace", false]], "_replace() (pyflyby._parse.astnodecontext method)": [[17, "pyflyby._parse.AstNodeContext._replace", false]], "_requires_parens_as_function() (in module pyflyby._py)": [[18, "pyflyby._py._requires_parens_as_function", false]], "_reset_excepthook() (in module pyflyby._dbg)": [[4, "pyflyby._dbg._reset_excepthook", false]], "_run_action() (pyflyby._py._pymain method)": [[18, "pyflyby._py._PyMain._run_action", false]], "_safe_call() (pyflyby._interactive.autoimporter method)": [[13, "pyflyby._interactive.AutoImporter._safe_call", false]], "_scan_node() (pyflyby._autoimp._missingimportfinder method)": [[1, "pyflyby._autoimp._MissingImportFinder._scan_node", false]], "_scan_unused_imports() (pyflyby._autoimp._missingimportfinder method)": [[1, "pyflyby._autoimp._MissingImportFinder._scan_unused_imports", false]], "_seems_like_runnable_module() (pyflyby._py._pymain method)": [[18, "pyflyby._py._PyMain._seems_like_runnable_module", false]], "_send_email_with_attach_instructions() (in module pyflyby._dbg)": [[4, "pyflyby._dbg._send_email_with_attach_instructions", false]], "_signal_handler_debugger() (in module pyflyby._dbg)": [[4, "pyflyby._dbg._signal_handler_debugger", false]], "_sigpipe_handler() (in module pyflyby._cmdline)": [[2, "pyflyby._cmdline._sigpipe_handler", false]], "_sigterm_handler() (in module pyflyby._dbg)": [[4, "pyflyby._dbg._sigterm_handler", false]], "_skip_frames() (in module pyflyby._interactive)": [[13, "pyflyby._interactive._skip_frames", false]], "_sleep_until_debugger_attaches() (in module pyflyby._dbg)": [[4, "pyflyby._dbg._sleep_until_debugger_attaches", false]], "_split_code_lines() (in module pyflyby._parse)": [[17, "pyflyby._parse._split_code_lines", false]], "_state (pyflyby._interactive.autoimporter attribute)": [[13, "pyflyby._interactive.AutoImporter._state", false]], "_stdioctx() (in module pyflyby._dbg)": [[4, "pyflyby._dbg._StdioCtx", false]], "_tempfile() (pyflyby._cmdline.modifier method)": [[2, "pyflyby._cmdline.Modifier._tempfile", false]], "_test_parse_string_literal() (in module pyflyby._parse)": [[17, "pyflyby._parse._test_parse_string_literal", false]], "_try_import() (in module pyflyby._autoimp)": [[1, "pyflyby._autoimp._try_import", false]], "_upscopectx() (pyflyby._autoimp._missingimportfinder method)": [[1, "pyflyby._autoimp._MissingImportFinder._UpScopeCtx", false]], "_usechecker (class in pyflyby._autoimp)": [[1, "pyflyby._autoimp._UseChecker", false]], "_validate_alias() (in module pyflyby._importstmt)": [[12, "pyflyby._importstmt._validate_alias", false]], "_visit__all__() (pyflyby._autoimp._missingimportfinder method)": [[1, "pyflyby._autoimp._MissingImportFinder._visit__all__", false]], "_visit_fullname() (pyflyby._autoimp._missingimportfinder method)": [[1, "pyflyby._autoimp._MissingImportFinder._visit_fullname", false]], "_visit_load() (pyflyby._autoimp._missingimportfinder method)": [[1, "pyflyby._autoimp._MissingImportFinder._visit_Load", false]], "_visit_load_defered() (pyflyby._autoimp._missingimportfinder method)": [[1, "pyflyby._autoimp._MissingImportFinder._visit_Load_defered", false]], "_visit_load_defered_global() (pyflyby._autoimp._missingimportfinder method)": [[1, "pyflyby._autoimp._MissingImportFinder._visit_Load_defered_global", false]], "_visit_load_immediate() (pyflyby._autoimp._missingimportfinder method)": [[1, "pyflyby._autoimp._MissingImportFinder._visit_Load_immediate", false]], "_visit_store() (pyflyby._autoimp._missingimportfinder method)": [[1, "pyflyby._autoimp._MissingImportFinder._visit_Store", false]], "_visit_storeimport() (pyflyby._autoimp._missingimportfinder method)": [[1, "pyflyby._autoimp._MissingImportFinder._visit_StoreImport", false]], "_visit_typecomment() (pyflyby._autoimp._missingimportfinder method)": [[1, "pyflyby._autoimp._MissingImportFinder._visit_typecomment", false]], "_walk_ast_nodes_in_order() (in module pyflyby._parse)": [[17, "pyflyby._parse._walk_ast_nodes_in_order", false]], "_wrapper (pyflyby._util.aspect attribute)": [[19, "pyflyby._util.Aspect._wrapper", false]], "_writabledictproxy (class in pyflyby._util)": [[19, "pyflyby._util._WritableDictProxy", false]], "_xreload_module() (in module pyflyby._livepatch)": [[14, "pyflyby._livepatch._xreload_module", false]], "abortactions": [[2, "pyflyby._cmdline.AbortActions", false]], "action_exit1() (in module pyflyby._cmdline)": [[2, "pyflyby._cmdline.action_exit1", false]], "action_external_command() (in module pyflyby._cmdline)": [[2, "pyflyby._cmdline.action_external_command", false]], "action_ifchanged() (in module pyflyby._cmdline)": [[2, "pyflyby._cmdline.action_ifchanged", false]], "action_print() (in module pyflyby._cmdline)": [[2, "pyflyby._cmdline.action_print", false]], "action_query() (in module pyflyby._cmdline)": [[2, "pyflyby._cmdline.action_query", false]], "action_replace() (in module pyflyby._cmdline)": [[2, "pyflyby._cmdline.action_replace", false]], "add_import() (pyflyby._imports2s.sourcetosourcefileimportstransformation method)": [[11, "pyflyby._imports2s.SourceToSourceFileImportsTransformation.add_import", false]], "advicectx() (in module pyflyby._util)": [[19, "pyflyby._util.AdviceCtx", false]], "advise() (in module pyflyby._util)": [[19, "pyflyby._util.advise", false]], "advise() (pyflyby._util.aspect method)": [[19, "pyflyby._util.Aspect.advise", false]], "align_future (pyflyby._importstmt.importformatparams attribute)": [[12, "pyflyby._importstmt.ImportFormatParams.align_future", false]], "align_imports (pyflyby._importstmt.importformatparams attribute)": [[12, "pyflyby._importstmt.ImportFormatParams.align_imports", false]], "alter() (pyflyby._file.filetext method)": [[5, "pyflyby._file.FileText.alter", false]], "ancestors (pyflyby._modules.modulehandle property)": [[16, "pyflyby._modules.ModuleHandle.ancestors", false]], "annotatedast (class in pyflyby._parse)": [[17, "pyflyby._parse.AnnotatedAst", false]], "annotatedmodule (class in pyflyby._parse)": [[17, "pyflyby._parse.AnnotatedModule", false]], "app (pyflyby._interactive.autoimporter attribute)": [[13, "pyflyby._interactive.AutoImporter.app", false]], "append() (pyflyby._py.loggedlist method)": [[18, "pyflyby._py.LoggedList.append", false]], "apply() (pyflyby._py._pymain method)": [[18, "pyflyby._py._PyMain.apply", false]], "aspect (class in pyflyby._util)": [[19, "pyflyby._util.Aspect", false]], "astnodecontext (class in pyflyby._parse)": [[17, "pyflyby._parse.AstNodeContext", false]], "atomic_write_file() (in module pyflyby._file)": [[5, "pyflyby._file.atomic_write_file", false]], "auto_apply() (in module pyflyby._py)": [[18, "pyflyby._py.auto_apply", false]], "auto_eval() (pyflyby._py._namespace method)": [[18, "pyflyby._py._Namespace.auto_eval", false]], "auto_import() (pyflyby._interactive.autoimporter method)": [[13, "pyflyby._interactive.AutoImporter.auto_import", false]], "auto_import() (pyflyby._py._namespace method)": [[18, "pyflyby._py._Namespace.auto_import", false]], "auto_import_symbol() (in module pyflyby._autoimp)": [[1, "pyflyby._autoimp.auto_import_symbol", false]], "autoimporter (class in pyflyby._interactive)": [[13, "pyflyby._interactive.AutoImporter", false]], "baddottedidentifiererror": [[8, "pyflyby._idents.BadDottedIdentifierError", false]], "block (pyflyby._modules.modulehandle property)": [[16, "pyflyby._modules.ModuleHandle.block", false]], "brace_identifiers() (in module pyflyby._idents)": [[8, "pyflyby._idents.brace_identifiers", false]], "by_import_as (pyflyby._importclns.importset property)": [[9, "pyflyby._importclns.ImportSet.by_import_as", false]], "clear_failed_imports_cache() (in module pyflyby._autoimp)": [[1, "pyflyby._autoimp.clear_failed_imports_cache", false]], "clone_top() (pyflyby._autoimp.scopestack method)": [[1, "pyflyby._autoimp.ScopeStack.clone_top", false]], "cmp() (in module pyflyby._util)": [[19, "pyflyby._util.cmp", false]], "col_offset (pyflyby._parse.annotatedast attribute)": [[17, "pyflyby._parse.AnnotatedAst.col_offset", false]], "collect_code_with_imports_on_top() (in module pyflyby._comms)": [[3, "pyflyby._comms.collect_code_with_imports_on_top", false]], "colno (pyflyby._file.filepos attribute)": [[5, "pyflyby._file.FilePos.colno", false]], "comm_close_handler() (in module pyflyby._comms)": [[3, "pyflyby._comms.comm_close_handler", false]], "comm_open_handler() (in module pyflyby._comms)": [[3, "pyflyby._comms.comm_open_handler", false]], "communicate() (pyflyby._dbg.pty method)": [[4, "pyflyby._dbg.Pty.communicate", false]], "compile_with_autoimport() (pyflyby._interactive.autoimporter method)": [[13, "pyflyby._interactive.AutoImporter.compile_with_autoimport", false]], "compilerflags() (in module pyflyby._flags)": [[6, "pyflyby._flags.CompilerFlags", false]], "complete_symbol() (in module pyflyby._interactive)": [[13, "pyflyby._interactive.complete_symbol", false]], "complete_symbol() (pyflyby._interactive.autoimporter method)": [[13, "pyflyby._interactive.AutoImporter.complete_symbol", false]], "concatenate() (pyflyby._file.filetext class method)": [[5, "pyflyby._file.FileText.concatenate", false]], "conflicting_imports (pyflyby._importclns.importset property)": [[9, "pyflyby._importclns.ImportSet.conflicting_imports", false]], "conflictingimportserror": [[9, "pyflyby._importclns.ConflictingImportsError", false]], "containing() (pyflyby._modules.modulehandle class method)": [[16, "pyflyby._modules.ModuleHandle.containing", false]], "count() (pyflyby._py.loggedlist method)": [[18, "pyflyby._py.LoggedList.count", false]], "create_ipython_app() (pyflyby._py._pymain method)": [[18, "pyflyby._py._PyMain.create_ipython_app", false]], "cwdctx() (in module pyflyby._util)": [[19, "pyflyby._util.CwdCtx", false]], "db (pyflyby._interactive.autoimporter attribute)": [[13, "pyflyby._interactive.AutoImporter.db", false]], "debug_enabled (pyflyby._log.pyflybylogger property)": [[15, "pyflyby._log.PyflybyLogger.debug_enabled", false]], "debuggerattachtimeouterror": [[4, "pyflyby._dbg.DebuggerAttachTimeoutError", false]], "disable() (pyflyby._interactive.autoimporter method)": [[13, "pyflyby._interactive.AutoImporter.disable", false]], "disabled (pyflyby._interactive._enablestate attribute)": [[13, "pyflyby._interactive._EnableState.DISABLED", false]], "disabling (pyflyby._interactive._enablestate attribute)": [[13, "pyflyby._interactive._EnableState.DISABLING", false]], "dotted_prefixes() (in module pyflyby._idents)": [[8, "pyflyby._idents.dotted_prefixes", false]], "dottedidentifier (class in pyflyby._idents)": [[8, "pyflyby._idents.DottedIdentifier", false]], "emit() (pyflyby._log._pyflybyhandler method)": [[15, "pyflyby._log._PyflybyHandler.emit", false]], "enable() (pyflyby._interactive.autoimporter method)": [[13, "pyflyby._interactive.AutoImporter.enable", false]], "enable_sigterm_handler() (in module pyflyby._dbg)": [[4, "pyflyby._dbg.enable_sigterm_handler", false]], "enabled (pyflyby._interactive._enablestate attribute)": [[13, "pyflyby._interactive._EnableState.ENABLED", false]], "enabling (pyflyby._interactive._enablestate attribute)": [[13, "pyflyby._interactive._EnableState.ENABLING", false]], "endpos (pyflyby._file.filetext property)": [[5, "pyflyby._file.FileText.endpos", false]], "endpos (pyflyby._parse.annotatedast attribute)": [[17, "pyflyby._parse.AnnotatedAst.endpos", false]], "envvarctx() (in module pyflyby._util)": [[19, "pyflyby._util.EnvVarCtx", false]], "errorduringimporterror": [[16, "pyflyby._modules.ErrorDuringImportError", false]], "eval() (pyflyby._py._pymain method)": [[18, "pyflyby._py._PyMain.eval", false]], "excludeimplicitcwdfrompathctx() (in module pyflyby._util)": [[19, "pyflyby._util.ExcludeImplicitCwdFromPathCtx", false]], "exec_stdin() (pyflyby._py._pymain method)": [[18, "pyflyby._py._PyMain.exec_stdin", false]], "execfile() (pyflyby._py._pymain method)": [[18, "pyflyby._py._PyMain.execfile", false]], "exists (pyflyby._modules.modulehandle property)": [[16, "pyflyby._modules.ModuleHandle.exists", false]], "exit1": [[2, "pyflyby._cmdline.Exit1", false]], "expand_py_files_from_args() (in module pyflyby._file)": [[5, "pyflyby._file.expand_py_files_from_args", false]], "exports (pyflyby._modules.modulehandle property)": [[16, "pyflyby._modules.ModuleHandle.exports", false]], "extend() (pyflyby._py.loggedlist method)": [[18, "pyflyby._py.LoggedList.extend", false]], "extract_import_statements() (in module pyflyby._comms)": [[3, "pyflyby._comms.extract_import_statements", false]], "field (pyflyby._parse.astnodecontext attribute)": [[17, "pyflyby._parse.AstNodeContext.field", false]], "filename (pyflyby._file.filetext attribute)": [[5, "pyflyby._file.FileText.filename", false]], "filename (pyflyby._modules.modulehandle property)": [[16, "pyflyby._modules.ModuleHandle.filename", false]], "filename_args() (in module pyflyby._cmdline)": [[2, "pyflyby._cmdline.filename_args", false]], "filepos (class in pyflyby._file)": [[5, "pyflyby._file.FilePos", false]], "filetext (class in pyflyby._file)": [[5, "pyflyby._file.FileText", false]], "fill() (in module pyflyby._format)": [[7, "pyflyby._format.fill", false]], "find_import_block_by_lineno() (pyflyby._imports2s.sourcetosourcefileimportstransformation method)": [[11, "pyflyby._imports2s.SourceToSourceFileImportsTransformation.find_import_block_by_lineno", false]], "find_missing_imports() (pyflyby._autoimp._missingimportfinder method)": [[1, "pyflyby._autoimp._MissingImportFinder.find_missing_imports", false]], "fix_unused_and_missing_imports() (in module pyflyby._imports2s)": [[11, "pyflyby._imports2s.fix_unused_and_missing_imports", false]], "flags (pyflyby._importclns.importset property)": [[9, "pyflyby._importclns.ImportSet.flags", false]], "flags (pyflyby._parse.annotatedast attribute)": [[17, "pyflyby._parse.AnnotatedAst.flags", false]], "formatparams (class in pyflyby._format)": [[7, "pyflyby._format.FormatParams", false]], "from_filename() (pyflyby._file.filetext class method)": [[5, "pyflyby._file.FileText.from_filename", false]], "from_spaces (pyflyby._importstmt.importformatparams attribute)": [[12, "pyflyby._importstmt.ImportFormatParams.from_spaces", false]], "functionwithglobals (class in pyflyby._util)": [[19, "pyflyby._util.FunctionWithGlobals", false]], "generic_visit() (pyflyby._autoimp._missingimportfinder method)": [[1, "pyflyby._autoimp._MissingImportFinder.generic_visit", false]], "get() (pyflyby._util._writabledictproxy method)": [[19, "pyflyby._util._WritableDictProxy.get", false]], "get_executable() (in module pyflyby._dbg)": [[4, "pyflyby._dbg.get_executable", false]], "get_global_namespaces() (in module pyflyby._interactive)": [[13, "pyflyby._interactive.get_global_namespaces", false]], "get_ipython_terminal_app_with_autoimporter() (in module pyflyby._interactive)": [[13, "pyflyby._interactive.get_ipython_terminal_app_with_autoimporter", false]], "get_known_import() (in module pyflyby._autoimp)": [[1, "pyflyby._autoimp.get_known_import", false]], "get_statements() (pyflyby._importclns.importset method)": [[9, "pyflyby._importclns.ImportSet.get_statements", false]], "hanging_indent (pyflyby._format.formatparams attribute)": [[7, "pyflyby._format.FormatParams.hanging_indent", false]], "has_star_import() (pyflyby._autoimp.scopestack method)": [[1, "pyflyby._autoimp.ScopeStack.has_star_import", false]], "heuristic_cmd() (pyflyby._py._pymain method)": [[18, "pyflyby._py._PyMain.heuristic_cmd", false]], "heuristic_run_module() (pyflyby._py._pymain method)": [[18, "pyflyby._py._PyMain.heuristic_run_module", false]], "hfmt() (in module pyflyby._cmdline)": [[2, "pyflyby._cmdline.hfmt", false]], "hookctx() (pyflyby._log._pyflybyhandler method)": [[15, "pyflyby._log._PyflybyHandler.HookCtx", false]], "hookctx() (pyflyby._log.pyflybylogger method)": [[15, "pyflyby._log.PyflybyLogger.HookCtx", false]], "ignoreoptionsdoctestparser (class in pyflyby._parse)": [[17, "pyflyby._parse.IgnoreOptionsDocTestParser", false]], "import_as (pyflyby._importstmt.importsplit attribute)": [[12, "pyflyby._importstmt.ImportSplit.import_as", false]], "import_module() (in module pyflyby._modules)": [[16, "pyflyby._modules.import_module", false]], "importalreadyexistserror": [[11, "pyflyby._imports2s.ImportAlreadyExistsError", false]], "importformatparams (class in pyflyby._importstmt)": [[12, "pyflyby._importstmt.ImportFormatParams", false]], "importmap (class in pyflyby._importclns)": [[9, "pyflyby._importclns.ImportMap", false]], "importpathctx() (in module pyflyby._util)": [[19, "pyflyby._util.ImportPathCtx", false]], "importpathforrelativeimportsctx() (in module pyflyby._imports2s)": [[11, "pyflyby._imports2s.ImportPathForRelativeImportsCtx", false]], "imports (pyflyby._importclns.importset property)": [[9, "pyflyby._importclns.ImportSet.imports", false]], "importset (class in pyflyby._importclns)": [[9, "pyflyby._importclns.ImportSet", false]], "importsplit (class in pyflyby._importstmt)": [[12, "pyflyby._importstmt.ImportSplit", false]], "in_jupyter() (in module pyflyby._comms)": [[3, "pyflyby._comms.in_jupyter", false]], "indent (pyflyby._format.formatparams attribute)": [[7, "pyflyby._format.FormatParams.indent", false]], "indent() (in module pyflyby._util)": [[19, "pyflyby._util.indent", false]], "index (pyflyby._parse.astnodecontext attribute)": [[17, "pyflyby._parse.AstNodeContext.index", false]], "index() (pyflyby._py.loggedlist method)": [[18, "pyflyby._py.LoggedList.index", false]], "infer_compile_mode() (in module pyflyby._parse)": [[17, "pyflyby._parse.infer_compile_mode", false]], "info_enabled (pyflyby._log.pyflybylogger property)": [[15, "pyflyby._log.PyflybyLogger.info_enabled", false]], "init_shell() (pyflyby._interactive._ipython010terminalapplication method)": [[13, "pyflyby._interactive._IPython010TerminalApplication.init_shell", false]], "initialize() (pyflyby._interactive._ipython010terminalapplication method)": [[13, "pyflyby._interactive._IPython010TerminalApplication.initialize", false]], "initialize_comms() (in module pyflyby._comms)": [[3, "pyflyby._comms.initialize_comms", false]], "inject() (in module pyflyby._dbg)": [[4, "pyflyby._dbg.inject", false]], "input (pyflyby._imports2s.sourcetosourcetransformationbase attribute)": [[11, "pyflyby._imports2s.SourceToSourceTransformationBase.input", false]], "input_content (pyflyby._cmdline.modifier property)": [[2, "pyflyby._cmdline.Modifier.input_content", false]], "input_content_filename (pyflyby._cmdline.modifier property)": [[2, "pyflyby._cmdline.Modifier.input_content_filename", false]], "insert() (pyflyby._py.loggedlist method)": [[18, "pyflyby._py.LoggedList.insert", false]], "insert_new_blocks_after_comments() (pyflyby._imports2s.sourcetosourcefileimportstransformation method)": [[11, "pyflyby._imports2s.SourceToSourceFileImportsTransformation.insert_new_blocks_after_comments", false]], "insert_new_import_block() (pyflyby._imports2s.sourcetosourcefileimportstransformation method)": [[11, "pyflyby._imports2s.SourceToSourceFileImportsTransformation.insert_new_import_block", false]], "instance() (pyflyby._interactive._ipython010terminalapplication class method)": [[13, "pyflyby._interactive._IPython010TerminalApplication.instance", false]], "interceptprintsduringpromptctx() (in module pyflyby._interactive)": [[13, "pyflyby._interactive.InterceptPrintsDuringPromptCtx", false]], "is_identifier() (in module pyflyby._idents)": [[8, "pyflyby._idents.is_identifier", false]], "items() (pyflyby._importclns.importmap method)": [[9, "pyflyby._importclns.ImportMap.items", false]], "iteritems() (pyflyby._importclns.importmap method)": [[9, "pyflyby._importclns.ImportMap.iteritems", false]], "iterkeys() (pyflyby._importclns.importmap method)": [[9, "pyflyby._importclns.ImportMap.iterkeys", false]], "joined (pyflyby._file.filetext property)": [[5, "pyflyby._file.FileText.joined", false]], "keys() (pyflyby._importclns.importmap method)": [[9, "pyflyby._importclns.ImportMap.keys", false]], "kill_process() (in module pyflyby._dbg)": [[4, "pyflyby._dbg.kill_process", false]], "lieneno (pyflyby._parse.annotatedast attribute)": [[17, "pyflyby._parse.AnnotatedAst.lieneno", false]], "lineno (pyflyby._autoimp._usechecker attribute)": [[1, "pyflyby._autoimp._UseChecker.lineno", false]], "lineno (pyflyby._file.filepos attribute)": [[5, "pyflyby._file.FilePos.lineno", false]], "linenumberambiguouserror": [[11, "pyflyby._imports2s.LineNumberAmbiguousError", false]], "linenumbernotfounderror": [[11, "pyflyby._imports2s.LineNumberNotFoundError", false]], "lines (pyflyby._file.filetext property)": [[5, "pyflyby._file.FileText.lines", false]], "list() (pyflyby._modules.modulehandle static method)": [[16, "pyflyby._modules.ModuleHandle.list", false]], "load_symbol() (in module pyflyby._autoimp)": [[1, "pyflyby._autoimp.load_symbol", false]], "loadsymbolerror": [[1, "pyflyby._autoimp.LoadSymbolError", false]], "loggedlist (class in pyflyby._py)": [[18, "pyflyby._py.LoggedList", false]], "longest_common_prefix() (in module pyflyby._util)": [[19, "pyflyby._util.longest_common_prefix", false]], "maindoc() (in module pyflyby._cmdline)": [[2, "pyflyby._cmdline.maindoc", false]], "max_line_length (pyflyby._format.formatparams attribute)": [[7, "pyflyby._format.FormatParams.max_line_length", false]], "member_name (pyflyby._importstmt.importsplit attribute)": [[12, "pyflyby._importstmt.ImportSplit.member_name", false]], "member_names (pyflyby._importclns.importset property)": [[9, "pyflyby._importclns.ImportSet.member_names", false]], "merged_to_two() (pyflyby._autoimp.scopestack method)": [[1, "pyflyby._autoimp.ScopeStack.merged_to_two", false]], "missing_imports (pyflyby._autoimp._missingimportfinder attribute)": [[1, "pyflyby._autoimp._MissingImportFinder.missing_imports", false]], "modifier (class in pyflyby._cmdline)": [[2, "pyflyby._cmdline.Modifier", false]], "module": [[1, "module-pyflyby._autoimp", false], [2, "module-pyflyby._cmdline", false], [3, "module-pyflyby._comms", false], [4, "module-pyflyby._dbg", false], [5, "module-pyflyby._file", false], [6, "module-pyflyby._flags", false], [7, "module-pyflyby._format", false], [8, "module-pyflyby._idents", false], [9, "module-pyflyby._importclns", false], [10, "module-pyflyby._importdb", false], [11, "module-pyflyby._imports2s", false], [12, "module-pyflyby._importstmt", false], [13, "module-pyflyby._interactive", false], [14, "module-pyflyby._livepatch", false], [15, "module-pyflyby._log", false], [16, "module-pyflyby._modules", false], [17, "module-pyflyby._parse", false], [18, "module-pyflyby._py", false], [19, "module-pyflyby._util", false]], "module (pyflyby._modules.modulehandle property)": [[16, "pyflyby._modules.ModuleHandle.module", false]], "module_name (pyflyby._importstmt.importsplit attribute)": [[12, "pyflyby._importstmt.ImportSplit.module_name", false]], "modulehandle (class in pyflyby._modules)": [[16, "pyflyby._modules.ModuleHandle", false]], "name (pyflyby._autoimp._usechecker attribute)": [[1, "pyflyby._autoimp._UseChecker.name", false]], "name (pyflyby._idents.dottedidentifier attribute)": [[8, "pyflyby._idents.DottedIdentifier.name", false]], "name (pyflyby._modules.modulehandle attribute)": [[16, "pyflyby._modules.ModuleHandle.name", false]], "nested() (in module pyflyby._util)": [[19, "pyflyby._util.nested", false]], "new_ipdb_instance() (in module pyflyby._interactive)": [[13, "pyflyby._interactive.new_IPdb_instance", false]], "noactiveipythonapperror": [[13, "pyflyby._interactive.NoActiveIPythonAppError", false]], "noimportblockerror": [[11, "pyflyby._imports2s.NoImportBlockError", false]], "noipythonpackageerror": [[13, "pyflyby._interactive.NoIPythonPackageError", false]], "nosuchimporterror": [[9, "pyflyby._importclns.NoSuchImportError", false]], "notafunctionerror": [[18, "pyflyby._py.NotAFunctionError", false]], "nullctx() (in module pyflyby._util)": [[19, "pyflyby._util.NullCtx", false]], "output() (pyflyby._imports2s.sourcetosourcetransformationbase method)": [[11, "pyflyby._imports2s.SourceToSourceTransformationBase.output", false]], "output_content (pyflyby._cmdline.modifier property)": [[2, "pyflyby._cmdline.Modifier.output_content", false]], "output_content_filename (pyflyby._cmdline.modifier property)": [[2, "pyflyby._cmdline.Modifier.output_content_filename", false]], "parent (pyflyby._idents.dottedidentifier property)": [[8, "pyflyby._idents.DottedIdentifier.parent", false]], "parent (pyflyby._modules.modulehandle property)": [[16, "pyflyby._modules.ModuleHandle.parent", false]], "parent (pyflyby._parse.astnodecontext attribute)": [[17, "pyflyby._parse.AstNodeContext.parent", false]], "parse_args() (in module pyflyby._cmdline)": [[2, "pyflyby._cmdline.parse_args", false]], "parse_docstrings (pyflyby._autoimp._missingimportfinder attribute)": [[1, "pyflyby._autoimp._MissingImportFinder.parse_docstrings", false]], "parseerror": [[18, "pyflyby._py.ParseError", false]], "partition() (in module pyflyby._util)": [[19, "pyflyby._util.partition", false]], "parts (pyflyby._idents.dottedidentifier attribute)": [[8, "pyflyby._idents.DottedIdentifier.parts", false]], "pop() (pyflyby._py.loggedlist method)": [[18, "pyflyby._py.LoggedList.pop", false]], "prefixes (pyflyby._idents.dottedidentifier property)": [[8, "pyflyby._idents.DottedIdentifier.prefixes", false]], "prefixes() (in module pyflyby._util)": [[19, "pyflyby._util.prefixes", false]], "preprocess() (pyflyby._imports2s.sourcetosourcefileimportstransformation method)": [[11, "pyflyby._imports2s.SourceToSourceFileImportsTransformation.preprocess", false]], "preprocess() (pyflyby._imports2s.sourcetosourceimportblocktransformation method)": [[11, "pyflyby._imports2s.SourceToSourceImportBlockTransformation.preprocess", false]], "preprocess() (pyflyby._imports2s.sourcetosourcetransformation method)": [[11, "pyflyby._imports2s.SourceToSourceTransformation.preprocess", false]], "preprocess() (pyflyby._imports2s.sourcetosourcetransformationbase method)": [[11, "pyflyby._imports2s.SourceToSourceTransformationBase.preprocess", false]], "pretty_print() (pyflyby._importclns.importset method)": [[9, "pyflyby._importclns.ImportSet.pretty_print", false]], "pretty_print() (pyflyby._imports2s.sourcetosourcefileimportstransformation method)": [[11, "pyflyby._imports2s.SourceToSourceFileImportsTransformation.pretty_print", false]], "pretty_print() (pyflyby._imports2s.sourcetosourceimportblocktransformation method)": [[11, "pyflyby._imports2s.SourceToSourceImportBlockTransformation.pretty_print", false]], "pretty_print() (pyflyby._imports2s.sourcetosourcetransformation method)": [[11, "pyflyby._imports2s.SourceToSourceTransformation.pretty_print", false]], "pretty_print() (pyflyby._imports2s.sourcetosourcetransformationbase method)": [[11, "pyflyby._imports2s.SourceToSourceTransformationBase.pretty_print", false]], "print_help() (pyflyby._py._pymain method)": [[18, "pyflyby._py._PyMain.print_help", false]], "print_result() (in module pyflyby._py)": [[18, "pyflyby._py.print_result", false]], "print_verbose_tb() (in module pyflyby._interactive)": [[13, "pyflyby._interactive.print_verbose_tb", false]], "print_version() (pyflyby._py._pymain method)": [[18, "pyflyby._py._PyMain.print_version", false]], "print_version_and_exit() (in module pyflyby._cmdline)": [[2, "pyflyby._cmdline.print_version_and_exit", false]], "process_actions() (in module pyflyby._cmdline)": [[2, "pyflyby._cmdline.process_actions", false]], "process_exists() (in module pyflyby._dbg)": [[4, "pyflyby._dbg.process_exists", false]], "pty (class in pyflyby._dbg)": [[4, "pyflyby._dbg.Pty", false]], "py_main() (in module pyflyby._py)": [[18, "pyflyby._py.py_main", false]], "pyc_to_py() (in module pyflyby._modules)": [[16, "pyflyby._modules.pyc_to_py", false]], "pyfill() (in module pyflyby._format)": [[7, "pyflyby._format.pyfill", false]], "pyflyby._autoimp": [[1, "module-pyflyby._autoimp", false]], "pyflyby._cmdline": [[2, "module-pyflyby._cmdline", false]], "pyflyby._comms": [[3, "module-pyflyby._comms", false]], "pyflyby._dbg": [[4, "module-pyflyby._dbg", false]], "pyflyby._file": [[5, "module-pyflyby._file", false]], "pyflyby._flags": [[6, "module-pyflyby._flags", false]], "pyflyby._format": [[7, "module-pyflyby._format", false]], "pyflyby._idents": [[8, "module-pyflyby._idents", false]], "pyflyby._importclns": [[9, "module-pyflyby._importclns", false]], "pyflyby._importdb": [[10, "module-pyflyby._importdb", false]], "pyflyby._imports2s": [[11, "module-pyflyby._imports2s", false]], "pyflyby._importstmt": [[12, "module-pyflyby._importstmt", false]], "pyflyby._interactive": [[13, "module-pyflyby._interactive", false]], "pyflyby._livepatch": [[14, "module-pyflyby._livepatch", false]], "pyflyby._log": [[15, "module-pyflyby._log", false]], "pyflyby._modules": [[16, "module-pyflyby._modules", false]], "pyflyby._parse": [[17, "module-pyflyby._parse", false]], "pyflyby._py": [[18, "module-pyflyby._py", false]], "pyflyby._util": [[19, "module-pyflyby._util", false]], "pyflybylogger (class in pyflyby._log)": [[15, "pyflyby._log.PyflybyLogger", false]], "read_black_config() (in module pyflyby._importstmt)": [[12, "pyflyby._importstmt.read_black_config", false]], "read_file() (in module pyflyby._file)": [[5, "pyflyby._file.read_file", false]], "remove() (pyflyby._py.loggedlist method)": [[18, "pyflyby._py.LoggedList.remove", false]], "remove_comms() (in module pyflyby._comms)": [[3, "pyflyby._comms.remove_comms", false]], "remove_import() (pyflyby._imports2s.sourcetosourcefileimportstransformation method)": [[11, "pyflyby._imports2s.SourceToSourceFileImportsTransformation.remove_import", false]], "reset_state_new_cell() (pyflyby._interactive.autoimporter method)": [[13, "pyflyby._interactive.AutoImporter.reset_state_new_cell", false]], "reverse() (pyflyby._py.loggedlist method)": [[18, "pyflyby._py.LoggedList.reverse", false]], "run() (pyflyby._py._pymain method)": [[18, "pyflyby._py._PyMain.run", false]], "run_ipython_line_magic() (in module pyflyby._interactive)": [[13, "pyflyby._interactive.run_ipython_line_magic", false]], "run_module() (pyflyby._py._pymain method)": [[18, "pyflyby._py._PyMain.run_module", false]], "run_tidy_imports() (in module pyflyby._comms)": [[3, "pyflyby._comms.run_tidy_imports", false]], "s (pyflyby._parse.annotatedast attribute)": [[17, "pyflyby._parse.AnnotatedAst.s", false]], "scan_for_import_issues() (in module pyflyby._autoimp)": [[1, "pyflyby._autoimp.scan_for_import_issues", false]], "scan_for_import_issues() (pyflyby._autoimp._missingimportfinder method)": [[1, "pyflyby._autoimp._MissingImportFinder.scan_for_import_issues", false]], "scope_info (pyflyby._idents.dottedidentifier attribute)": [[8, "pyflyby._idents.DottedIdentifier.scope_info", false]], "scopestack (class in pyflyby._autoimp)": [[1, "pyflyby._autoimp.ScopeStack", false]], "scopestack (pyflyby._autoimp._missingimportfinder attribute)": [[1, "pyflyby._autoimp._MissingImportFinder.scopestack", false]], "select_import_block_by_closest_prefix_match() (pyflyby._imports2s.sourcetosourcefileimportstransformation method)": [[11, "pyflyby._imports2s.SourceToSourceFileImportsTransformation.select_import_block_by_closest_prefix_match", false]], "send_comm_message() (in module pyflyby._comms)": [[3, "pyflyby._comms.send_comm_message", false]], "separate_from_imports (pyflyby._importstmt.importformatparams attribute)": [[12, "pyflyby._importstmt.ImportFormatParams.separate_from_imports", false]], "set_level() (pyflyby._log.pyflybylogger method)": [[15, "pyflyby._log.PyflybyLogger.set_level", false]], "setraw_but_sigint() (in module pyflyby._dbg)": [[4, "pyflyby._dbg.setraw_but_sigint", false]], "sort() (pyflyby._py.loggedlist method)": [[18, "pyflyby._py.LoggedList.sort", false]], "source (pyflyby._autoimp._usechecker attribute)": [[1, "pyflyby._autoimp._UseChecker.source", false]], "source_flags (pyflyby._parse.annotatedast attribute)": [[17, "pyflyby._parse.AnnotatedAst.source_flags", false]], "source_flags (pyflyby._parse.annotatedmodule attribute)": [[17, "pyflyby._parse.AnnotatedModule.source_flags", false]], "sourcetosourcefileimportstransformation (class in pyflyby._imports2s)": [[11, "pyflyby._imports2s.SourceToSourceFileImportsTransformation", false]], "sourcetosourceimportblocktransformation (class in pyflyby._imports2s)": [[11, "pyflyby._imports2s.SourceToSourceImportBlockTransformation", false]], "sourcetosourcetransformation (class in pyflyby._imports2s)": [[11, "pyflyby._imports2s.SourceToSourceTransformation", false]], "sourcetosourcetransformationbase (class in pyflyby._imports2s)": [[11, "pyflyby._imports2s.SourceToSourceTransformationBase", false]], "stable_unique() (in module pyflyby._util)": [[19, "pyflyby._util.stable_unique", false]], "start() (pyflyby._interactive._ipython010terminalapplication method)": [[13, "pyflyby._interactive._IPython010TerminalApplication.start", false]], "start_ipython() (pyflyby._py._pymain method)": [[18, "pyflyby._py._PyMain.start_ipython", false]], "start_ipython_kernel_with_autoimporter() (in module pyflyby._interactive)": [[13, "pyflyby._interactive.start_ipython_kernel_with_autoimporter", false]], "start_ipython_with_autoimporter() (in module pyflyby._interactive)": [[13, "pyflyby._interactive.start_ipython_with_autoimporter", false]], "startpos (pyflyby._file.filetext attribute)": [[5, "pyflyby._file.FileText.startpos", false]], "startpos (pyflyby._parse.annotatedast attribute)": [[17, "pyflyby._parse.AnnotatedAst.startpos", false]], "startswith() (pyflyby._idents.dottedidentifier method)": [[8, "pyflyby._idents.DottedIdentifier.startswith", false]], "statements (pyflyby._importclns.importset property)": [[9, "pyflyby._importclns.ImportSet.statements", false]], "submodules (pyflyby._modules.modulehandle property)": [[16, "pyflyby._modules.ModuleHandle.submodules", false]], "symbol_needs_import() (in module pyflyby._autoimp)": [[1, "pyflyby._autoimp.symbol_needs_import", false]], "symlink_callback() (in module pyflyby._cmdline)": [[2, "pyflyby._cmdline.symlink_callback", false]], "symlink_error() (in module pyflyby._cmdline)": [[2, "pyflyby._cmdline.symlink_error", false]], "symlink_follow() (in module pyflyby._cmdline)": [[2, "pyflyby._cmdline.symlink_follow", false]], "symlink_replace() (in module pyflyby._cmdline)": [[2, "pyflyby._cmdline.symlink_replace", false]], "symlink_skip() (in module pyflyby._cmdline)": [[2, "pyflyby._cmdline.symlink_skip", false]], "syntax() (in module pyflyby._cmdline)": [[2, "pyflyby._cmdline.syntax", false]], "sysargvctx() (in module pyflyby._py)": [[18, "pyflyby._py.SysArgvCtx", false]], "syscall_marker() (in module pyflyby._dbg)": [[4, "pyflyby._dbg.syscall_marker", false]], "take_arg() (in module pyflyby._autoimp)": [[1, "pyflyby._autoimp.take_arg", false]], "text (pyflyby._modules.modulehandle property)": [[16, "pyflyby._modules.ModuleHandle.text", false]], "text (pyflyby._parse.annotatedast attribute)": [[17, "pyflyby._parse.AnnotatedAst.text", false]], "tty_is_usable() (in module pyflyby._dbg)": [[4, "pyflyby._dbg.tty_is_usable", false]], "unaccessed (pyflyby._py.loggedlist property)": [[18, "pyflyby._py.LoggedList.unaccessed", false]], "unadvise() (pyflyby._util.aspect method)": [[19, "pyflyby._util.Aspect.unadvise", false]], "unimportablenameerror": [[18, "pyflyby._py.UnimportableNameError", false]], "unknownmoduleerror": [[14, "pyflyby._livepatch.UnknownModuleError", false]], "unsafefilenameerror": [[5, "pyflyby._file.UnsafeFilenameError", false]], "unused_imports (pyflyby._autoimp._missingimportfinder attribute)": [[1, "pyflyby._autoimp._MissingImportFinder.unused_imports", false]], "updateipythonstdioctx() (in module pyflyby._interactive)": [[13, "pyflyby._interactive.UpdateIPythonStdioCtx", false]], "use_black (pyflyby._format.formatparams attribute)": [[7, "pyflyby._format.FormatParams.use_black", false]], "used (pyflyby._autoimp._usechecker attribute)": [[1, "pyflyby._autoimp._UseChecker.used", false]], "userexpr (class in pyflyby._py)": [[18, "pyflyby._py.UserExpr", false]], "value (pyflyby._parse.annotatedast attribute)": [[17, "pyflyby._parse.AnnotatedAst.value", false]], "values() (pyflyby._importclns.importmap method)": [[9, "pyflyby._importclns.ImportMap.values", false]], "visit() (pyflyby._autoimp._missingimportfinder method)": [[1, "pyflyby._autoimp._MissingImportFinder.visit", false]], "visit_alias() (pyflyby._autoimp._missingimportfinder method)": [[1, "pyflyby._autoimp._MissingImportFinder.visit_alias", false]], "visit_arg() (pyflyby._autoimp._missingimportfinder method)": [[1, "pyflyby._autoimp._MissingImportFinder.visit_arg", false]], "visit_arguments() (pyflyby._autoimp._missingimportfinder method)": [[1, "pyflyby._autoimp._MissingImportFinder.visit_arguments", false]], "visit_assign() (pyflyby._autoimp._missingimportfinder method)": [[1, "pyflyby._autoimp._MissingImportFinder.visit_Assign", false]], "visit_asyncfunctiondef() (pyflyby._autoimp._missingimportfinder method)": [[1, "pyflyby._autoimp._MissingImportFinder.visit_AsyncFunctionDef", false]], "visit_attribute() (pyflyby._autoimp._missingimportfinder method)": [[1, "pyflyby._autoimp._MissingImportFinder.visit_Attribute", false]], "visit_call() (pyflyby._autoimp._missingimportfinder method)": [[1, "pyflyby._autoimp._MissingImportFinder.visit_Call", false]], "visit_classdef() (pyflyby._autoimp._missingimportfinder method)": [[1, "pyflyby._autoimp._MissingImportFinder.visit_ClassDef", false]], "visit_comprehension() (pyflyby._autoimp._missingimportfinder method)": [[1, "pyflyby._autoimp._MissingImportFinder.visit_comprehension", false]], "visit_constant() (pyflyby._autoimp._missingimportfinder method)": [[1, "pyflyby._autoimp._MissingImportFinder.visit_Constant", false]], "visit_delete() (pyflyby._autoimp._missingimportfinder method)": [[1, "pyflyby._autoimp._MissingImportFinder.visit_Delete", false]], "visit_dict() (pyflyby._autoimp._missingimportfinder method)": [[1, "pyflyby._autoimp._MissingImportFinder.visit_Dict", false]], "visit_dictcomp() (pyflyby._autoimp._missingimportfinder method)": [[1, "pyflyby._autoimp._MissingImportFinder.visit_DictComp", false]], "visit_excepthandler() (pyflyby._autoimp._missingimportfinder method)": [[1, "pyflyby._autoimp._MissingImportFinder.visit_ExceptHandler", false]], "visit_expr() (pyflyby._autoimp._missingimportfinder method)": [[1, "pyflyby._autoimp._MissingImportFinder.visit_Expr", false]], "visit_functiondef() (pyflyby._autoimp._missingimportfinder method)": [[1, "pyflyby._autoimp._MissingImportFinder.visit_FunctionDef", false]], "visit_generatorexp() (pyflyby._autoimp._missingimportfinder method)": [[1, "pyflyby._autoimp._MissingImportFinder.visit_GeneratorExp", false]], "visit_importfrom() (pyflyby._autoimp._missingimportfinder method)": [[1, "pyflyby._autoimp._MissingImportFinder.visit_ImportFrom", false]], "visit_lambda() (pyflyby._autoimp._missingimportfinder method)": [[1, "pyflyby._autoimp._MissingImportFinder.visit_Lambda", false]], "visit_listcomp() (pyflyby._autoimp._missingimportfinder method)": [[1, "pyflyby._autoimp._MissingImportFinder.visit_ListComp", false]], "visit_match() (pyflyby._autoimp._missingimportfinder method)": [[1, "pyflyby._autoimp._MissingImportFinder.visit_Match", false]], "visit_match_case() (pyflyby._autoimp._missingimportfinder method)": [[1, "pyflyby._autoimp._MissingImportFinder.visit_match_case", false]], "visit_matchas() (pyflyby._autoimp._missingimportfinder method)": [[1, "pyflyby._autoimp._MissingImportFinder.visit_MatchAs", false]], "visit_matchmapping() (pyflyby._autoimp._missingimportfinder method)": [[1, "pyflyby._autoimp._MissingImportFinder.visit_MatchMapping", false]], "visit_module() (pyflyby._autoimp._missingimportfinder method)": [[1, "pyflyby._autoimp._MissingImportFinder.visit_Module", false]], "visit_name() (pyflyby._autoimp._missingimportfinder method)": [[1, "pyflyby._autoimp._MissingImportFinder.visit_Name", false]], "visit_pass() (pyflyby._autoimp._missingimportfinder method)": [[1, "pyflyby._autoimp._MissingImportFinder.visit_Pass", false]], "visit_setcomp() (pyflyby._autoimp._missingimportfinder method)": [[1, "pyflyby._autoimp._MissingImportFinder.visit_SetComp", false]], "wait_for_debugger_to_attach() (in module pyflyby._dbg)": [[4, "pyflyby._dbg.wait_for_debugger_to_attach", false]], "which() (in module pyflyby._file)": [[5, "pyflyby._file.which", false]], "with_imports() (pyflyby._importclns.importset method)": [[9, "pyflyby._importclns.ImportSet.with_imports", false]], "with_new_scope() (pyflyby._autoimp.scopestack method)": [[1, "pyflyby._autoimp.ScopeStack.with_new_scope", false]], "without_imports() (pyflyby._importclns.importmap method)": [[9, "pyflyby._importclns.ImportMap.without_imports", false]], "without_imports() (pyflyby._importclns.importset method)": [[9, "pyflyby._importclns.ImportSet.without_imports", false]], "wrap_paren (pyflyby._format.formatparams attribute)": [[7, "pyflyby._format.FormatParams.wrap_paren", false]], "wrappedattributeerror": [[19, "pyflyby._util.WrappedAttributeError", false]], "write_file() (in module pyflyby._file)": [[5, "pyflyby._file.write_file", false]]}, "objects": {"pyflyby": [[1, 0, 0, "-", "_autoimp"], [2, 0, 0, "-", "_cmdline"], [3, 0, 0, "-", "_comms"], [4, 0, 0, "-", "_dbg"], [5, 0, 0, "-", "_file"], [6, 0, 0, "-", "_flags"], [7, 0, 0, "-", "_format"], [8, 0, 0, "-", "_idents"], [9, 0, 0, "-", "_importclns"], [10, 0, 0, "-", "_importdb"], [11, 0, 0, "-", "_imports2s"], [12, 0, 0, "-", "_importstmt"], [13, 0, 0, "-", "_interactive"], [14, 0, 0, "-", "_livepatch"], [15, 0, 0, "-", "_log"], [16, 0, 0, "-", "_modules"], [17, 0, 0, "-", "_parse"], [18, 0, 0, "-", "_py"], [19, 0, 0, "-", "_util"]], "pyflyby._autoimp": [[1, 1, 1, "", "LoadSymbolError"], [1, 2, 1, "", "ScopeStack"], [1, 2, 1, "", "_ClassScope"], [1, 5, 1, "", "_IMPORT_FAILED"], [1, 2, 1, "", "_MissingImportFinder"], [1, 2, 1, "", "_UseChecker"], [1, 6, 1, "", "_find_earliest_backjump_label"], [1, 6, 1, "", "_find_loads_without_stores_in_code"], [1, 6, 1, "", "_find_missing_imports_in_ast"], [1, 6, 1, "", "_find_missing_imports_in_code"], [1, 6, 1, "", "_try_import"], [1, 6, 1, "", "auto_import_symbol"], [1, 6, 1, "", "clear_failed_imports_cache"], [1, 6, 1, "", "get_known_import"], [1, 6, 1, "", "load_symbol"], [1, 6, 1, "", "scan_for_import_issues"], [1, 6, 1, "", "symbol_needs_import"], [1, 6, 1, "", "take_arg"]], "pyflyby._autoimp.ScopeStack": [[1, 3, 1, "", "_abc_impl"], [1, 3, 1, "", "_cached_has_star_import"], [1, 4, 1, "", "clone_top"], [1, 4, 1, "", "has_star_import"], [1, 4, 1, "", "merged_to_two"], [1, 4, 1, "", "with_new_scope"]], "pyflyby._autoimp._MissingImportFinder": [[1, 4, 1, "", "_NewScopeCtx"], [1, 4, 1, "", "_UpScopeCtx"], [1, 4, 1, "", "_check_load"], [1, 3, 1, "", "_deferred_load_checks"], [1, 4, 1, "", "_finish_deferred_load_checks"], [1, 4, 1, "", "_get_scope_info"], [1, 3, 1, "", "_lineno"], [1, 4, 1, "", "_remove_from_missing_imports"], [1, 4, 1, "", "_scan_node"], [1, 4, 1, "", "_scan_unused_imports"], [1, 4, 1, "", "_visit_Load"], [1, 4, 1, "", "_visit_Load_defered"], [1, 4, 1, "", "_visit_Load_defered_global"], [1, 4, 1, "", "_visit_Load_immediate"], [1, 4, 1, "", "_visit_Store"], [1, 4, 1, "", "_visit_StoreImport"], [1, 4, 1, "", "_visit__all__"], [1, 4, 1, "", "_visit_fullname"], [1, 4, 1, "", "_visit_typecomment"], [1, 4, 1, "", "find_missing_imports"], [1, 4, 1, "", "generic_visit"], [1, 3, 1, "", "missing_imports"], [1, 3, 1, "", "parse_docstrings"], [1, 4, 1, "", "scan_for_import_issues"], [1, 3, 1, "", "scopestack"], [1, 3, 1, "", "unused_imports"], [1, 4, 1, "", "visit"], [1, 4, 1, "", "visit_Assign"], [1, 4, 1, "", "visit_AsyncFunctionDef"], [1, 4, 1, "", "visit_Attribute"], [1, 4, 1, "", "visit_Call"], [1, 4, 1, "", "visit_ClassDef"], [1, 4, 1, "", "visit_Constant"], [1, 4, 1, "", "visit_Delete"], [1, 4, 1, "", "visit_Dict"], [1, 4, 1, "", "visit_DictComp"], [1, 4, 1, "", "visit_ExceptHandler"], [1, 4, 1, "", "visit_Expr"], [1, 4, 1, "", "visit_FunctionDef"], [1, 4, 1, "", "visit_GeneratorExp"], [1, 4, 1, "", "visit_ImportFrom"], [1, 4, 1, "", "visit_Lambda"], [1, 4, 1, "", "visit_ListComp"], [1, 4, 1, "", "visit_Match"], [1, 4, 1, "", "visit_MatchAs"], [1, 4, 1, "", "visit_MatchMapping"], [1, 4, 1, "", "visit_Module"], [1, 4, 1, "", "visit_Name"], [1, 4, 1, "", "visit_Pass"], [1, 4, 1, "", "visit_SetComp"], [1, 4, 1, "", "visit_alias"], [1, 4, 1, "", "visit_arg"], [1, 4, 1, "", "visit_arguments"], [1, 4, 1, "", "visit_comprehension"], [1, 4, 1, "", "visit_match_case"]], "pyflyby._autoimp._UseChecker": [[1, 3, 1, "", "lineno"], [1, 3, 1, "", "name"], [1, 3, 1, "", "source"], [1, 3, 1, "", "used"]], "pyflyby._cmdline": [[2, 1, 1, "", "AbortActions"], [2, 1, 1, "", "Exit1"], [2, 2, 1, "", "Modifier"], [2, 6, 1, "", "_default_on_error"], [2, 6, 1, "", "_sigpipe_handler"], [2, 6, 1, "", "action_exit1"], [2, 6, 1, "", "action_external_command"], [2, 6, 1, "", "action_ifchanged"], [2, 6, 1, "", "action_print"], [2, 6, 1, "", "action_query"], [2, 6, 1, "", "action_replace"], [2, 6, 1, "", "filename_args"], [2, 6, 1, "", "hfmt"], [2, 6, 1, "", "maindoc"], [2, 6, 1, "", "parse_args"], [2, 6, 1, "", "print_version_and_exit"], [2, 6, 1, "", "process_actions"], [2, 6, 1, "", "symlink_callback"], [2, 6, 1, "", "symlink_error"], [2, 6, 1, "", "symlink_follow"], [2, 6, 1, "", "symlink_replace"], [2, 6, 1, "", "symlink_skip"], [2, 6, 1, "", "syntax"]], "pyflyby._cmdline.Modifier": [[2, 4, 1, "", "_tempfile"], [2, 7, 1, "", "input_content"], [2, 7, 1, "", "input_content_filename"], [2, 7, 1, "", "output_content"], [2, 7, 1, "", "output_content_filename"]], "pyflyby._comms": [[3, 6, 1, "", "_reformat_helper"], [3, 6, 1, "", "_register_target"], [3, 6, 1, "", "collect_code_with_imports_on_top"], [3, 6, 1, "", "comm_close_handler"], [3, 6, 1, "", "comm_open_handler"], [3, 6, 1, "", "extract_import_statements"], [3, 6, 1, "", "in_jupyter"], [3, 6, 1, "", "initialize_comms"], [3, 6, 1, "", "remove_comms"], [3, 6, 1, "", "run_tidy_imports"], [3, 6, 1, "", "send_comm_message"]], "pyflyby._dbg": [[4, 1, 1, "", "DebuggerAttachTimeoutError"], [4, 2, 1, "", "Pty"], [4, 6, 1, "", "_DebuggerCtx"], [4, 6, 1, "", "_DisplayHookCtx"], [4, 6, 1, "", "_ExceptHookCtx"], [4, 6, 1, "", "_FdCtx"], [4, 1, 1, "", "_NoTtyError"], [4, 6, 1, "", "_StdioCtx"], [4, 6, 1, "", "_abbrev_filename"], [4, 6, 1, "", "_debug_code"], [4, 6, 1, "", "_debug_exception"], [4, 6, 1, "", "_dev_null"], [4, 6, 1, "", "_dev_tty_fd"], [4, 6, 1, "", "_escape_for_gdb"], [4, 6, 1, "", "_find_py_commandline"], [4, 6, 1, "", "_get_caller_frame"], [4, 6, 1, "", "_override_excepthook"], [4, 6, 1, "", "_prompt_continue_waiting_for_debugger"], [4, 6, 1, "", "_remote_print_stack_to_file"], [4, 6, 1, "", "_reset_excepthook"], [4, 6, 1, "", "_send_email_with_attach_instructions"], [4, 6, 1, "", "_signal_handler_debugger"], [4, 6, 1, "", "_sigterm_handler"], [4, 6, 1, "", "_sleep_until_debugger_attaches"], [4, 6, 1, "", "enable_sigterm_handler"], [4, 6, 1, "", "get_executable"], [4, 6, 1, "", "inject"], [4, 6, 1, "", "kill_process"], [4, 6, 1, "", "process_exists"], [4, 6, 1, "", "setraw_but_sigint"], [4, 6, 1, "", "syscall_marker"], [4, 6, 1, "", "tty_is_usable"], [4, 6, 1, "", "wait_for_debugger_to_attach"]], "pyflyby._dbg.Pty": [[4, 4, 1, "", "communicate"]], "pyflyby._file": [[5, 2, 1, "", "FilePos"], [5, 2, 1, "", "FileText"], [5, 1, 1, "", "UnsafeFilenameError"], [5, 6, 1, "", "_get_PATH"], [5, 6, 1, "", "atomic_write_file"], [5, 6, 1, "", "expand_py_files_from_args"], [5, 6, 1, "", "read_file"], [5, 6, 1, "", "which"], [5, 6, 1, "", "write_file"]], "pyflyby._file.FilePos": [[5, 3, 1, "", "_ONE_ONE"], [5, 7, 1, "", "_data"], [5, 4, 1, "", "_from_lc"], [5, 4, 1, "", "_intint"], [5, 3, 1, "", "colno"], [5, 3, 1, "", "lineno"]], "pyflyby._file.FileText": [[5, 4, 1, "", "_colno_to_index"], [5, 4, 1, "", "_from_lines"], [5, 4, 1, "", "_lineno_to_index"], [5, 3, 1, "", "_lines"], [5, 4, 1, "", "alter"], [5, 4, 1, "", "concatenate"], [5, 7, 1, "", "endpos"], [5, 3, 1, "", "filename"], [5, 4, 1, "", "from_filename"], [5, 7, 1, "", "joined"], [5, 7, 1, "", "lines"], [5, 3, 1, "", "startpos"]], "pyflyby._flags": [[6, 6, 1, "", "CompilerFlags"]], "pyflyby._format": [[7, 2, 1, "", "FormatParams"], [7, 6, 1, "", "fill"], [7, 6, 1, "", "pyfill"]], "pyflyby._format.FormatParams": [[7, 3, 1, "", "_max_line_lenght_default"], [7, 3, 1, "", "hanging_indent"], [7, 3, 1, "", "indent"], [7, 3, 1, "", "max_line_length"], [7, 3, 1, "", "use_black"], [7, 3, 1, "", "wrap_paren"]], "pyflyby._idents": [[8, 1, 1, "", "BadDottedIdentifierError"], [8, 2, 1, "", "DottedIdentifier"], [8, 6, 1, "", "brace_identifiers"], [8, 6, 1, "", "dotted_prefixes"], [8, 6, 1, "", "is_identifier"]], "pyflyby._idents.DottedIdentifier": [[8, 4, 1, "", "_from_name"], [8, 3, 1, "", "name"], [8, 7, 1, "", "parent"], [8, 3, 1, "", "parts"], [8, 7, 1, "", "prefixes"], [8, 3, 1, "", "scope_info"], [8, 4, 1, "", "startswith"]], "pyflyby._importclns": [[9, 1, 1, "", "ConflictingImportsError"], [9, 2, 1, "", "ImportMap"], [9, 2, 1, "", "ImportSet"], [9, 1, 1, "", "NoSuchImportError"]], "pyflyby._importclns.ImportMap": [[9, 3, 1, "", "_EMPTY"], [9, 3, 1, "", "_data"], [9, 4, 1, "", "_from_map"], [9, 4, 1, "", "_merge"], [9, 4, 1, "", "items"], [9, 4, 1, "", "iteritems"], [9, 4, 1, "", "iterkeys"], [9, 4, 1, "", "keys"], [9, 4, 1, "", "values"], [9, 4, 1, "", "without_imports"]], "pyflyby._importclns.ImportSet": [[9, 3, 1, "", "_EMPTY"], [9, 7, 1, "", "_by_module_name"], [9, 4, 1, "", "_from_args"], [9, 4, 1, "", "_from_imports"], [9, 3, 1, "", "_importset"], [9, 7, 1, "", "by_import_as"], [9, 7, 1, "", "conflicting_imports"], [9, 7, 1, "", "flags"], [9, 4, 1, "", "get_statements"], [9, 7, 1, "", "imports"], [9, 7, 1, "", "member_names"], [9, 4, 1, "", "pretty_print"], [9, 7, 1, "", "statements"], [9, 4, 1, "", "with_imports"], [9, 4, 1, "", "without_imports"]], "pyflyby._importdb": [[10, 6, 1, "", "_ancestors_on_same_partition"], [10, 6, 1, "", "_expand_tripledots"], [10, 6, 1, "", "_find_etc_dirs"], [10, 6, 1, "", "_get_env_var"], [10, 6, 1, "", "_get_python_path"], [10, 6, 1, "", "_get_st_dev"]], "pyflyby._imports2s": [[11, 1, 1, "", "ImportAlreadyExistsError"], [11, 6, 1, "", "ImportPathForRelativeImportsCtx"], [11, 1, 1, "", "LineNumberAmbiguousError"], [11, 1, 1, "", "LineNumberNotFoundError"], [11, 1, 1, "", "NoImportBlockError"], [11, 2, 1, "", "SourceToSourceFileImportsTransformation"], [11, 2, 1, "", "SourceToSourceImportBlockTransformation"], [11, 2, 1, "", "SourceToSourceTransformation"], [11, 2, 1, "", "SourceToSourceTransformationBase"], [11, 6, 1, "", "fix_unused_and_missing_imports"]], "pyflyby._imports2s.SourceToSourceFileImportsTransformation": [[11, 4, 1, "", "add_import"], [11, 4, 1, "", "find_import_block_by_lineno"], [11, 4, 1, "", "insert_new_blocks_after_comments"], [11, 4, 1, "", "insert_new_import_block"], [11, 4, 1, "", "preprocess"], [11, 4, 1, "", "pretty_print"], [11, 4, 1, "", "remove_import"], [11, 4, 1, "", "select_import_block_by_closest_prefix_match"]], "pyflyby._imports2s.SourceToSourceImportBlockTransformation": [[11, 4, 1, "", "preprocess"], [11, 4, 1, "", "pretty_print"]], "pyflyby._imports2s.SourceToSourceTransformation": [[11, 3, 1, "", "_output"], [11, 4, 1, "", "preprocess"], [11, 4, 1, "", "pretty_print"]], "pyflyby._imports2s.SourceToSourceTransformationBase": [[11, 4, 1, "", "_from_source_code"], [11, 3, 1, "", "input"], [11, 4, 1, "", "output"], [11, 4, 1, "", "preprocess"], [11, 4, 1, "", "pretty_print"]], "pyflyby._importstmt": [[12, 2, 1, "", "ImportFormatParams"], [12, 2, 1, "", "ImportSplit"], [12, 6, 1, "", "_validate_alias"], [12, 6, 1, "", "read_black_config"]], "pyflyby._importstmt.ImportFormatParams": [[12, 3, 1, "", "align_future"], [12, 3, 1, "", "align_imports"], [12, 3, 1, "", "from_spaces"], [12, 3, 1, "", "separate_from_imports"]], "pyflyby._importstmt.ImportSplit": [[12, 4, 1, "", "_asdict"], [12, 3, 1, "", "_field_defaults"], [12, 3, 1, "", "_fields"], [12, 4, 1, "", "_make"], [12, 4, 1, "", "_replace"], [12, 3, 1, "", "import_as"], [12, 3, 1, "", "member_name"], [12, 3, 1, "", "module_name"]], "pyflyby._interactive": [[13, 2, 1, "", "AutoImporter"], [13, 6, 1, "", "InterceptPrintsDuringPromptCtx"], [13, 1, 1, "", "NoActiveIPythonAppError"], [13, 1, 1, "", "NoIPythonPackageError"], [13, 6, 1, "", "UpdateIPythonStdioCtx"], [13, 2, 1, "", "_DummyIPythonEmbeddedApp"], [13, 2, 1, "", "_EnableState"], [13, 2, 1, "", "_IPython010TerminalApplication"], [13, 6, 1, "", "_app_is_initialized"], [13, 6, 1, "", "_auto_import_in_pdb_frame"], [13, 6, 1, "", "_enable_pdb_hooks"], [13, 6, 1, "", "_enable_terminal_pdb_hooks"], [13, 6, 1, "", "_generate_enabler_code"], [13, 6, 1, "", "_get_IPdb_class"], [13, 6, 1, "", "_get_TerminalPdb_class"], [13, 6, 1, "", "_get_ipython_app"], [13, 6, 1, "", "_get_ipython_color_scheme"], [13, 6, 1, "", "_get_or_create_ipython_kernel_app"], [13, 6, 1, "", "_get_or_create_ipython_terminal_app"], [13, 6, 1, "", "_get_pdb_if_is_in_pdb"], [13, 6, 1, "", "_initialize_and_start_app_with_autoimporter"], [13, 6, 1, "", "_install_in_ipython_config_file_010"], [13, 6, 1, "", "_install_in_ipython_config_file_011"], [13, 6, 1, "", "_install_in_ipython_config_file_012"], [13, 6, 1, "", "_install_in_ipython_config_file_40"], [13, 6, 1, "", "_ipython_in_multiline"], [13, 6, 1, "", "_ipython_namespaces"], [13, 6, 1, "", "_list_members_for_completion"], [13, 6, 1, "", "_python_can_import_pyflyby"], [13, 6, 1, "", "_skip_frames"], [13, 6, 1, "", "complete_symbol"], [13, 6, 1, "", "get_global_namespaces"], [13, 6, 1, "", "get_ipython_terminal_app_with_autoimporter"], [13, 6, 1, "", "new_IPdb_instance"], [13, 6, 1, "", "print_verbose_tb"], [13, 6, 1, "", "run_ipython_line_magic"], [13, 6, 1, "", "start_ipython_kernel_with_autoimporter"], [13, 6, 1, "", "start_ipython_with_autoimporter"]], "pyflyby._interactive.AutoImporter": [[13, 4, 1, "", "_advise"], [13, 3, 1, "", "_ast_transformer"], [13, 3, 1, "", "_autoimported_this_cell"], [13, 4, 1, "", "_construct"], [13, 4, 1, "", "_continue_enable"], [13, 3, 1, "", "_disablers"], [13, 4, 1, "", "_enable_ast_hook"], [13, 4, 1, "", "_enable_completer_hooks"], [13, 4, 1, "", "_enable_completion_hook"], [13, 4, 1, "", "_enable_debugger_hook"], [13, 4, 1, "", "_enable_initializer_hooks"], [13, 4, 1, "", "_enable_internal"], [13, 4, 1, "", "_enable_ipython_shell_bugfixes"], [13, 4, 1, "", "_enable_kernel_manager_hook"], [13, 4, 1, "", "_enable_ofind_hook"], [13, 4, 1, "", "_enable_prun_hook"], [13, 4, 1, "", "_enable_reset_hook"], [13, 4, 1, "", "_enable_run_hook"], [13, 4, 1, "", "_enable_shell_hooks"], [13, 4, 1, "", "_enable_start_kernel_hook"], [13, 4, 1, "", "_enable_time_hook"], [13, 4, 1, "", "_enable_timeit_hook"], [13, 3, 1, "", "_errored"], [13, 4, 1, "", "_from_app"], [13, 3, 1, "", "_ip"], [13, 4, 1, "", "_safe_call"], [13, 3, 1, "", "_state"], [13, 3, 1, "", "app"], [13, 4, 1, "", "auto_import"], [13, 4, 1, "", "compile_with_autoimport"], [13, 4, 1, "", "complete_symbol"], [13, 3, 1, "", "db"], [13, 4, 1, "", "disable"], [13, 4, 1, "", "enable"], [13, 4, 1, "", "reset_state_new_cell"]], "pyflyby._interactive._EnableState": [[13, 3, 1, "", "DISABLED"], [13, 3, 1, "", "DISABLING"], [13, 3, 1, "", "ENABLED"], [13, 3, 1, "", "ENABLING"]], "pyflyby._interactive._IPython010TerminalApplication": [[13, 3, 1, "", "_instance"], [13, 4, 1, "", "init_shell"], [13, 4, 1, "", "initialize"], [13, 4, 1, "", "instance"], [13, 4, 1, "", "start"]], "pyflyby._livepatch": [[14, 1, 1, "", "UnknownModuleError"], [14, 6, 1, "", "_format_age"], [14, 6, 1, "", "_get_definition_module"], [14, 6, 1, "", "_get_module_py_file"], [14, 6, 1, "", "_interpret_module"], [14, 6, 1, "", "_livepatch__class"], [14, 6, 1, "", "_livepatch__dict"], [14, 6, 1, "", "_livepatch__function"], [14, 6, 1, "", "_livepatch__method"], [14, 6, 1, "", "_livepatch__module"], [14, 6, 1, "", "_livepatch__object"], [14, 6, 1, "", "_livepatch__setattr"], [14, 6, 1, "", "_xreload_module"]], "pyflyby._log": [[15, 2, 1, "", "PyflybyLogger"], [15, 6, 1, "", "_PromptToolkitStdoutProxyRawCtx"], [15, 2, 1, "", "_PyflybyHandler"], [15, 6, 1, "", "_is_interactive"], [15, 6, 1, "", "_is_ipython"]], "pyflyby._log.PyflybyLogger": [[15, 4, 1, "", "HookCtx"], [15, 3, 1, "", "_LEVELS"], [15, 7, 1, "", "debug_enabled"], [15, 7, 1, "", "info_enabled"], [15, 4, 1, "", "set_level"]], "pyflyby._log._PyflybyHandler": [[15, 4, 1, "", "HookCtx"], [15, 3, 1, "", "_interactive_prefix"], [15, 3, 1, "", "_logged_anything_during_context"], [15, 3, 1, "", "_noninteractive_prefix"], [15, 3, 1, "", "_pre_log_function"], [15, 4, 1, "", "emit"]], "pyflyby._modules": [[16, 1, 1, "", "ErrorDuringImportError"], [16, 2, 1, "", "ModuleHandle"], [16, 6, 1, "", "_my_iter_modules"], [16, 6, 1, "", "import_module"], [16, 6, 1, "", "pyc_to_py"]], "pyflyby._modules.ModuleHandle": [[16, 3, 1, "", "_cls_cache"], [16, 4, 1, "", "_from_filename"], [16, 4, 1, "", "_from_module"], [16, 4, 1, "", "_from_modulename"], [16, 4, 1, "", "_member_from_node"], [16, 7, 1, "", "ancestors"], [16, 7, 1, "", "block"], [16, 4, 1, "", "containing"], [16, 7, 1, "", "exists"], [16, 7, 1, "", "exports"], [16, 7, 1, "", "filename"], [16, 4, 1, "", "list"], [16, 7, 1, "", "module"], [16, 3, 1, "", "name"], [16, 7, 1, "", "parent"], [16, 7, 1, "", "submodules"], [16, 7, 1, "", "text"]], "pyflyby._parse": [[17, 2, 1, "", "AnnotatedAst"], [17, 2, 1, "", "AnnotatedModule"], [17, 2, 1, "", "AstNodeContext"], [17, 2, 1, "", "IgnoreOptionsDocTestParser"], [17, 2, 1, "", "_DummyAst_Node"], [17, 6, 1, "", "_annotate_ast_context"], [17, 6, 1, "", "_annotate_ast_nodes"], [17, 6, 1, "", "_annotate_ast_startpos"], [17, 6, 1, "", "_ast_node_is_in_docstring_position"], [17, 6, 1, "", "_ast_str_literal_value"], [17, 6, 1, "", "_flags_to_try"], [17, 6, 1, "", "_flatten_ast_nodes"], [17, 6, 1, "", "_is_ast_bytes"], [17, 6, 1, "", "_is_ast_str"], [17, 6, 1, "", "_is_ast_str_or_byte"], [17, 6, 1, "", "_is_comment_or_blank"], [17, 6, 1, "", "_iter_child_nodes_in_order"], [17, 6, 1, "", "_iter_child_nodes_in_order_internal_1"], [17, 6, 1, "", "_parse_ast_nodes"], [17, 6, 1, "", "_split_code_lines"], [17, 6, 1, "", "_test_parse_string_literal"], [17, 6, 1, "", "_walk_ast_nodes_in_order"], [17, 6, 1, "", "infer_compile_mode"]], "pyflyby._parse.AnnotatedAst": [[17, 3, 1, "", "col_offset"], [17, 3, 1, "", "endpos"], [17, 3, 1, "", "flags"], [17, 3, 1, "", "lieneno"], [17, 3, 1, "", "s"], [17, 3, 1, "", "source_flags"], [17, 3, 1, "", "startpos"], [17, 3, 1, "", "text"], [17, 3, 1, "", "value"]], "pyflyby._parse.AnnotatedModule": [[17, 3, 1, "", "source_flags"]], "pyflyby._parse.AstNodeContext": [[17, 4, 1, "", "_asdict"], [17, 3, 1, "", "_field_defaults"], [17, 3, 1, "", "_fields"], [17, 4, 1, "", "_make"], [17, 4, 1, "", "_replace"], [17, 3, 1, "", "field"], [17, 3, 1, "", "index"], [17, 3, 1, "", "parent"]], "pyflyby._parse.IgnoreOptionsDocTestParser": [[17, 4, 1, "", "_find_options"]], "pyflyby._py": [[18, 2, 1, "", "LoggedList"], [18, 1, 1, "", "NotAFunctionError"], [18, 1, 1, "", "ParseError"], [18, 6, 1, "", "SysArgvCtx"], [18, 1, 1, "", "UnimportableNameError"], [18, 2, 1, "", "UserExpr"], [18, 2, 1, "", "_Namespace"], [18, 1, 1, "", "_ParseInterruptedWantHelp"], [18, 1, 1, "", "_ParseInterruptedWantSource"], [18, 2, 1, "", "_PyMain"], [18, 6, 1, "", "_as_filename_if_seems_like_filename"], [18, 6, 1, "", "_build_function_usage_string"], [18, 6, 1, "", "_format_call"], [18, 6, 1, "", "_format_call_spec"], [18, 6, 1, "", "_get_argspec"], [18, 6, 1, "", "_get_help"], [18, 6, 1, "", "_handle_user_exception"], [18, 6, 1, "", "_has_python_shebang"], [18, 6, 1, "", "_interpret_arg_mode"], [18, 6, 1, "", "_interpret_output_mode"], [18, 6, 1, "", "_parse_auto_apply_args"], [18, 6, 1, "", "_requires_parens_as_function"], [18, 6, 1, "", "auto_apply"], [18, 6, 1, "", "print_result"], [18, 6, 1, "", "py_main"]], "pyflyby._py.LoggedList": [[18, 3, 1, "", "_ACCESSED"], [18, 4, 1, "", "append"], [18, 4, 1, "", "count"], [18, 4, 1, "", "extend"], [18, 4, 1, "", "index"], [18, 4, 1, "", "insert"], [18, 4, 1, "", "pop"], [18, 4, 1, "", "remove"], [18, 4, 1, "", "reverse"], [18, 4, 1, "", "sort"], [18, 7, 1, "", "unaccessed"]], "pyflyby._py.UserExpr": [[18, 4, 1, "", "_infer_and_evaluate"]], "pyflyby._py._Namespace": [[18, 4, 1, "", "auto_eval"], [18, 4, 1, "", "auto_import"]], "pyflyby._py._PyMain": [[18, 4, 1, "", "_enable_debug_tools"], [18, 4, 1, "", "_parse_global_opts"], [18, 4, 1, "", "_pre_exit"], [18, 4, 1, "", "_pre_exit_interactive_shell"], [18, 4, 1, "", "_pre_exit_matplotlib_show"], [18, 4, 1, "", "_run_action"], [18, 4, 1, "", "_seems_like_runnable_module"], [18, 4, 1, "", "apply"], [18, 4, 1, "", "create_ipython_app"], [18, 4, 1, "", "eval"], [18, 4, 1, "", "exec_stdin"], [18, 4, 1, "", "execfile"], [18, 4, 1, "", "heuristic_cmd"], [18, 4, 1, "", "heuristic_run_module"], [18, 4, 1, "", "print_help"], [18, 4, 1, "", "print_version"], [18, 4, 1, "", "run"], [18, 4, 1, "", "run_module"], [18, 4, 1, "", "start_ipython"]], "pyflyby._util": [[19, 6, 1, "", "AdviceCtx"], [19, 2, 1, "", "Aspect"], [19, 6, 1, "", "CwdCtx"], [19, 6, 1, "", "EnvVarCtx"], [19, 6, 1, "", "ExcludeImplicitCwdFromPathCtx"], [19, 2, 1, "", "FunctionWithGlobals"], [19, 6, 1, "", "ImportPathCtx"], [19, 6, 1, "", "NullCtx"], [19, 1, 1, "", "WrappedAttributeError"], [19, 2, 1, "", "_WritableDictProxy"], [19, 6, 1, "", "advise"], [19, 6, 1, "", "cmp"], [19, 6, 1, "", "indent"], [19, 6, 1, "", "longest_common_prefix"], [19, 6, 1, "", "nested"], [19, 6, 1, "", "partition"], [19, 6, 1, "", "prefixes"], [19, 6, 1, "", "stable_unique"]], "pyflyby._util.Aspect": [[19, 3, 1, "", "_wrapper"], [19, 4, 1, "", "advise"], [19, 4, 1, "", "unadvise"]], "pyflyby._util._WritableDictProxy": [[19, 4, 1, "", "get"]]}, "objnames": {"0": ["py", "module", "Python module"], "1": ["py", "exception", "Python exception"], "2": ["py", "class", "Python class"], "3": ["py", "attribute", "Python attribute"], "4": ["py", "method", "Python method"], "5": ["py", "data", "Python data"], "6": ["py", "function", "Python function"], "7": ["py", "property", "Python property"]}, "objtypes": {"0": "py:module", "1": "py:exception", "2": "py:class", "3": "py:attribute", "4": "py:method", "5": "py:data", "6": "py:function", "7": "py:property"}, "terms": {"": [1, 2, 5, 8, 9, 10, 13, 14, 15, 16, 17, 18, 19, 20], "0": [4, 9, 12, 13, 15, 17, 18, 19, 20], "007": 18, "007787": 14, "0282": 20, "03d": 18, "0603": 20, "0m": 15, "0x10000": 6, "0x18000": 6, "0x8000": 6, "1": [1, 4, 5, 6, 12, 13, 17, 18, 19, 20], "10": [13, 15, 20], "100": 19, "1000": 19, "100000": 20, "106": 18, "11": [13, 20], "1100": 19, "12": [13, 17, 18, 20], "12321233221": 19, "13": [13, 18, 20], "1353": 20, "13951446": 20, "14": 7, "15": [7, 18], "150532462080j": 18, "16": 18, "18": 18, "2": [1, 4, 7, 12, 13, 17, 18, 19, 20], "20": [1, 15], "2007": 14, "2014": 18, "2231": 20, "24084866": 18, "25": [7, 18], "256": 20, "28": 1, "3": [1, 12, 13, 17, 18, 19, 20], "30": [15, 18, 20], "3347": 20, "33m": 15, "3679": 20, "38": 1, "38497631": 20, "4": [7, 13, 18, 19, 20], "40": 15, "42": [14, 19, 20], "4653": 20, "5": [18, 19, 20], "51": 20, "5j": 18, "6": [18, 19], "6065": 20, "63": 20, "65602966976": 18, "660470": 18, "7": [18, 19, 20], "75": 18, "7594007818257693": 20, "79": 7, "7j": 18, "8": 20, "80": 7, "8166": 20, "8371": 20, "86400": 4, "9": [18, 20], "9223372036854775807": 20, "A": [1, 4, 5, 9, 14, 16, 18, 19], "And": 1, "As": 1, "At": [18, 19], "By": [8, 14, 18, 20], "For": [1, 10, 14, 17, 20], "If": [1, 4, 5, 7, 8, 9, 12, 13, 14, 17, 18, 20], "In": [4, 11, 14, 20], "It": [1, 11, 13, 14], "NOT": 5, "ORed": 9, "On": 14, "That": 16, "The": [1, 3, 4, 5, 11, 12, 13, 14, 16, 17, 18, 19, 20], "Then": [1, 4, 10, 20], "There": 7, "These": [1, 5, 9, 14, 20], "To": [19, 20], "_": 20, "__": 4, "__all__": 16, "__call__": 19, "__canonical_imports__": 20, "__code__": 1, "__dict__": [14, 19], "__forget_imports__": 20, "__future__": [6, 9, 12, 20], "__getattr__": 19, "__init__": [14, 18, 19], "__interactive_display__": [6, 18], "__livepatch__": 14, "__mandatory_imports__": 20, "__module__": 14, "__name__": 1, "__new__": 9, "__original__": 19, "_abbrev_filenam": [0, 4, 20], "_abc": 1, "_abc_data": 1, "_abc_impl": [1, 20], "_access": [18, 20], "_advis": [13, 20], "_ancestors_on_same_partit": [0, 10, 20], "_annotate_ast_context": [0, 17, 20], "_annotate_ast_nod": [0, 17, 20], "_annotate_ast_startpo": [0, 17, 20], "_app_is_initi": [0, 13, 20], "_as_filename_if_seems_like_filenam": [0, 18, 20], "_asdict": [12, 17, 20], "_ast_node_is_in_docstring_posit": [0, 17, 20], "_ast_str_literal_valu": [0, 17, 20], "_ast_transform": [13, 20], "_auto_import_in_pdb_fram": [0, 13, 20], "_autoimp": [0, 20], "_autoimported_this_cel": [13, 20], "_backward_": 1, "_build_function_usage_str": [0, 18, 20], "_by_module_nam": [9, 20], "_cached_has_star_import": [1, 20], "_check_load": [1, 20], "_class_delai": 1, "_classscop": [0, 1, 20], "_cls_cach": [16, 20], "_cmdline": [0, 20], "_colno_to_index": [5, 20], "_comm": [0, 20], "_construct": [13, 20], "_continue_en": [13, 20], "_data": [5, 9, 20], "_dbg": [0, 20], "_debug_cod": [0, 4, 20], "_debug_except": [0, 4, 20], "_debuggerctx": [0, 4, 20], "_default_on_error": [0, 2, 20], "_deferred_load_check": [1, 20], "_dev_nul": [0, 4, 20], "_dev_tty_fd": [0, 4, 20], "_disabl": [13, 20], "_displayhookctx": [0, 4, 20], "_dummyast_nod": [0, 17, 20], "_dummyipythonembeddedapp": [0, 13, 20], "_empti": [9, 20], "_enable_ast_hook": [13, 20], "_enable_completer_hook": [13, 20], "_enable_completion_hook": [13, 20], "_enable_debug_tool": [18, 20], "_enable_debugger_hook": [13, 20], "_enable_initializer_hook": [13, 20], "_enable_intern": [13, 20], "_enable_ipython_shell_bugfix": [13, 20], "_enable_kernel_manager_hook": [13, 20], "_enable_ofind_hook": [13, 20], "_enable_pdb_hook": [0, 13, 20], "_enable_prun_hook": [13, 20], "_enable_reset_hook": [13, 20], "_enable_run_hook": [13, 20], "_enable_shell_hook": [13, 20], "_enable_start_kernel_hook": [13, 20], "_enable_terminal_pdb_hook": [0, 13, 20], "_enable_time_hook": [13, 20], "_enable_timeit_hook": [13, 20], "_enablest": [0, 13, 20], "_error": [13, 20], "_escape_for_gdb": [0, 4, 20], "_excepthookctx": [0, 4, 20], "_expand_tripledot": [0, 10, 20], "_fdctx": [0, 4, 20], "_field": [1, 12, 17, 20], "_field_default": [12, 17, 20], "_file": [0, 20], "_find_earliest_backjump_label": [0, 1, 20], "_find_etc_dir": [0, 10, 20], "_find_loads_without_stores_in_cod": [0, 1, 20], "_find_missing_imports_in_ast": [0, 1, 20], "_find_missing_imports_in_cod": [0, 1, 20], "_find_opt": [17, 20], "_find_py_commandlin": [0, 4, 20], "_finish_deferred_load_check": [1, 20], "_flag": [0, 20], "_flags_to_tri": [0, 17, 20], "_flatten_ast_nod": [0, 17, 20], "_format": [0, 20], "_format_ag": [0, 14, 20], "_format_cal": [0, 18, 20], "_format_call_spec": [0, 18, 20], "_forward_": 1, "_from_app": [13, 20], "_from_arg": [9, 20], "_from_filenam": [16, 20], "_from_import": [9, 20], "_from_lc": [5, 20], "_from_lin": [5, 20], "_from_map": [9, 20], "_from_modul": [16, 20], "_from_modulenam": [16, 20], "_from_nam": [8, 20], "_from_source_cod": [11, 20], "_generate_enabler_cod": [0, 13, 20], "_get_argspec": [0, 18, 20], "_get_caller_fram": [0, 4, 20], "_get_definition_modul": [0, 14, 20], "_get_env_var": [0, 10, 20], "_get_help": [0, 18, 20], "_get_ipdb_class": [0, 13, 20], "_get_ipython_app": [0, 13, 20], "_get_ipython_color_schem": [0, 13, 20], "_get_module_py_fil": [0, 14, 20], "_get_or_create_ipython_kernel_app": [0, 13, 20], "_get_or_create_ipython_terminal_app": [0, 13, 20], "_get_path": [0, 5, 20], "_get_pdb_if_is_in_pdb": [0, 13, 20], "_get_python_path": [0, 10, 20], "_get_scope_info": [1, 20], "_get_st_dev": [0, 10, 20], "_get_terminalpdb_class": [0, 13, 20], "_getfram": 4, "_handle_user_except": [0, 18, 20], "_has_python_shebang": [0, 18, 20], "_hello": 9, "_ident": [0, 20], "_import_fail": [0, 1, 20], "_importcln": [0, 20], "_importdb": [0, 20], "_imports2": [0, 20], "_importset": [9, 20], "_importstmt": [0, 20], "_infer_and_evalu": [18, 20], "_initialize_and_start_app_with_autoimport": [0, 13, 20], "_install_in_ipython_config_file_010": [0, 13, 20], "_install_in_ipython_config_file_011": [0, 13, 20], "_install_in_ipython_config_file_012": [0, 13, 20], "_install_in_ipython_config_file_40": [0, 13, 20], "_instanc": [13, 20], "_interact": [0, 20], "_interactive_prefix": [15, 20], "_interpret_arg_mod": [0, 18, 20], "_interpret_modul": [0, 14, 20], "_interpret_output_mod": [0, 18, 20], "_intint": [5, 20], "_ip": [13, 20], "_ipython010terminalappl": [0, 13, 20], "_ipython_in_multilin": [0, 13, 20], "_ipython_namespac": [0, 13, 20], "_is_ast_byt": [0, 17, 20], "_is_ast_str": [0, 17, 20], "_is_ast_str_or_byt": [0, 17, 20], "_is_comment_or_blank": [0, 17, 20], "_is_interact": [0, 15, 20], "_is_ipython": [0, 15, 20], "_iter_child_nodes_in_ord": [0, 17, 20], "_iter_child_nodes_in_order_internal_1": [0, 17, 20], "_level": [15, 20], "_line": [5, 20], "_lineno": [1, 20], "_lineno_to_index": [5, 20], "_list_members_for_complet": [0, 13, 20], "_livepatch": [0, 20], "_livepatch__class": [0, 14, 20], "_livepatch__dict": [0, 14, 20], "_livepatch__funct": [0, 14, 20], "_livepatch__method": [0, 14, 20], "_livepatch__modul": [0, 14, 20], "_livepatch__object": [0, 14, 20], "_livepatch__setattr": [0, 14, 20], "_log": [0, 20], "_logged_anything_during_context": [15, 20], "_make": [12, 17, 20], "_max_line_lenght_default": [7, 20], "_member_from_nod": [16, 20], "_merg": [9, 20], "_missingimportfind": [0, 1, 20], "_modul": [0, 20], "_my_cach": 14, "_my_iter_modul": [0, 16, 20], "_namespac": [0, 18, 20], "_newscopectx": [1, 20], "_noninteractive_prefix": [15, 20], "_nottyerror": [0, 4, 20], "_ofind": 13, "_one_on": [5, 20], "_output": [11, 20], "_override_excepthook": [0, 4, 20], "_pars": [0, 20], "_parse_ast_nod": [0, 17, 20], "_parse_auto_apply_arg": [0, 18, 20], "_parse_global_opt": [18, 20], "_parseinterruptedwanthelp": [0, 18, 20], "_parseinterruptedwantsourc": [0, 18, 20], "_pre_exit": [18, 20], "_pre_exit_interactive_shel": [18, 20], "_pre_exit_matplotlib_show": [18, 20], "_pre_log_funct": [15, 20], "_prompt_continue_waiting_for_debugg": [0, 4, 20], "_prompttoolkitstdoutproxyrawctx": [0, 15, 20], "_py": [0, 20], "_pyflybyhandl": [0, 15, 20], "_pymain": [0, 18, 20], "_python_can_import_pyflybi": [0, 13, 20], "_reformat_help": [0, 3, 20], "_register_target": [0, 3, 20], "_remote_print_stack_to_fil": [0, 4, 20], "_remove_from_missing_import": [1, 20], "_replac": [12, 17, 20], "_requires_parens_as_funct": [0, 18, 20], "_reset_excepthook": [0, 4, 20], "_run_act": [18, 20], "_safe_cal": [13, 20], "_scan_nod": [1, 20], "_scan_unused_import": [1, 20], "_seems_like_runnable_modul": [18, 20], "_send_email_with_attach_instruct": [0, 4, 20], "_signal_handler_debugg": [0, 4, 20], "_sigpipe_handl": [0, 2, 20], "_sigterm_handl": [0, 4, 20], "_skip_fram": [0, 13, 20], "_sleep_until_debugger_attach": [0, 4, 20], "_split_code_lin": [0, 17, 20], "_state": [13, 20], "_stdioctx": [0, 4, 20], "_stdoutproxi": 15, "_tempfil": [2, 20], "_test_parse_string_liter": [0, 17, 20], "_three_": 20, "_try_import": [0, 1, 20], "_upscopectx": [1, 20], "_usecheck": [0, 1, 20], "_user_n": 13, "_util": [0, 20], "_validate_alia": [0, 12, 20], "_version": 20, "_visit__all__": [1, 20], "_visit_fullnam": [1, 20], "_visit_load": [1, 20], "_visit_load_def": [1, 20], "_visit_load_defered_glob": [1, 20], "_visit_load_immedi": [1, 20], "_visit_stor": [1, 20], "_visit_storeimport": [1, 20], "_visit_typecom": [1, 20], "_walk_ast_nodes_in_ord": [0, 17, 20], "_wrapper": [19, 20], "_writabledictproxi": [0, 19, 20], "_xreload_modul": [0, 14, 20], "aa": [1, 8, 9, 10], "aast_nod": 17, "ab": 19, "abc": 19, "abcd": 19, "abcxi": 19, "abortact": [0, 2, 20], "about": [1, 9, 20], "abov": 20, "absolute_import": 20, "access": [1, 16, 18], "accord": 16, "account": 17, "across": 14, "action": [2, 18], "action_exit1": [0, 2, 20], "action_external_command": [0, 2, 20], "action_ifchang": [0, 2, 20], "action_print": [0, 2, 20], "action_queri": [0, 2, 20], "action_replac": [0, 2, 20], "actual": [13, 18], "ad": [11, 14], "add": [1, 11, 18, 19, 20], "add_deprec": 18, "add_import": [11, 20], "add_mandatori": 11, "add_miss": [11, 20], "addit": 1, "addopt": 2, "address": 14, "addthousand": 19, "advic": [13, 19], "advicectx": [0, 19, 20], "advis": [0, 19, 20], "affect": [14, 20], "after": [1, 3, 5, 7, 12, 14, 18], "again": 20, "agreement": 20, "agvsbg8": [18, 20], "alia": [1, 12, 17, 20], "alias": [1, 12, 18], "align": 12, "align_futur": [12, 20], "align_import": [12, 20], "all": [1, 3, 7, 8, 12, 16, 17, 18, 20], "allow": [4, 8, 13, 14, 18, 20], "allow_conflict": 9, "allow_ev": 13, "along": 20, "alreadi": [1, 4, 13, 14, 20], "also": [1, 3, 4, 11, 14, 17, 18, 19, 20], "altchar": [18, 20], "alter": [5, 20], "altern": 14, "alwai": [1, 5, 12, 17, 20], "an": [1, 4, 9, 10, 11, 12, 13, 14, 16, 17, 18], "analysi": [1, 18], "ancestor": [10, 16, 20], "ani": [1, 13, 14, 15, 16, 18, 20], "annot": [1, 17], "annotatedast": [0, 17, 20], "annotatedmodul": [0, 17, 20], "anoth": [1, 14, 16], "anothermodul": 20, "anotherpackag": 20, "ansi": 15, "answer": 20, "anyth": 15, "api": 20, "app": [13, 20], "appear": 17, "append": [7, 18, 20], "appli": [18, 20], "applic": [13, 18], "appropri": [16, 18], "ar": [1, 3, 4, 5, 8, 10, 11, 13, 14, 16, 17, 18, 20], "arandom": 20, "arang": [1, 18, 20], "arbitrari": 17, "arg": [1, 2, 4, 5, 6, 7, 8, 9, 11, 12, 13, 14, 16, 17, 18], "arg1": 18, "arg2": 18, "arg_mod": 18, "argspec": 18, "argument": [1, 2, 5, 13, 14, 18], "argv": [13, 18], "around": [13, 18, 19], "as_integer_ratio": 18, "ascii": 18, "asdf": 1, "ask": 13, "aspect": [0, 19, 20], "assign": [1, 4, 17, 20], "associ": 9, "assum": [1, 13], "ast": [1, 13, 17], "ast_nod": 17, "astnodecontext": [0, 17, 20], "asyncfucntiondef": 17, "atomic_write_fil": [0, 5, 20], "attach": [4, 13, 17, 18], "attempt": [1, 16, 17], "attribut": [1, 13, 14, 16, 17], "attributeerror": 1, "auto": [1, 7, 13, 18], "auto_appli": [0, 18, 20], "auto_ev": [18, 20], "auto_flag": 17, "auto_import": [1, 4, 13, 18, 20], "auto_import_symbol": [0, 1, 20], "autocal": 13, "autoimp": 20, "autoimport": [0, 1, 9, 13, 18], "automat": [11, 18], "avail": [1, 13, 18, 19], "avoid": [5, 14, 18], "b": [9, 14, 16, 18, 19], "b64decod": [18, 20], "back": [19, 20], "background": 4, "backward": [1, 18], "baddottedidentifiererror": [0, 8, 20], "bar": [1, 7, 8, 10, 13, 18, 19, 20], "bar1": 20, "bar2": 20, "bare": 17, "base": [1, 11, 14], "base64": [18, 20], "baseipythonappl": 13, "basi": 20, "baz": [1, 7, 8, 18, 20], "bb": [1, 8, 9, 10], "becaus": [1, 14, 17, 20], "becom": [14, 20], "been": [5, 9, 13, 14, 17, 18], "befor": [4, 7, 11, 13, 15, 17, 18, 20], "begin": [7, 11, 17], "behav": 20, "behavior": [0, 13, 19, 20], "being": [13, 14, 17], "below": [11, 20], "best": [11, 20], "better": [1, 18], "between": 7, "bin": 20, "bitwis": 9, "black": 12, "blah": 17, "blah1": 20, "blah2": 20, "blank": 17, "block": [9, 11, 12, 16, 17, 18, 20], "bool": [1, 4, 8, 9, 12, 13, 17, 18], "boolean": 20, "both": [5, 9, 17], "bound": [14, 18], "boundari": 20, "brace": 1, "brace_identifi": [0, 8, 20], "breakpoint": 18, "broken": 20, "bug": 13, "build": 20, "built": [14, 17, 18], "builtin": [1, 18], "bunch": 5, "by_import_a": [9, 20], "byte": [1, 17], "bytecod": 1, "c": [9, 14, 16, 18, 19, 20], "cach": [1, 13, 14], "calcul": 18, "calendar": 18, "call": [1, 4, 5, 13, 14, 15, 18, 19], "callabl": [1, 5, 13, 15, 18, 19], "can": [1, 4, 8, 13, 14, 17, 18, 19, 20], "candid": [13, 17], "cannot": 20, "canonic": 9, "captur": 20, "care": 1, "case": [4, 14], "caus": [4, 15, 16, 18], "cc": [1, 8, 9, 10], "cdll": 18, "cell_arrai": 3, "certain": [4, 20], "chang": [14, 20], "charact": [5, 7], "check": [1, 5, 8, 11, 17, 20], "checkout": 20, "checksum": 20, "chen": 20, "child": [4, 17], "chisqprob": 20, "choos": 18, "chosen": 18, "cl": 19, "cla": 20, "class": [1, 2, 4, 5, 7, 8, 9, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20], "classdef": [1, 17], "classmethod": [5, 8, 9, 11, 12, 13, 16, 17], "classvar": [5, 9], "claus": 12, "cleanli": 17, "clear": [1, 14], "clear_failed_imports_cach": [0, 1, 20], "clguba": 20, "cli": 20, "client": [1, 3], "clobber": 1, "clone": 1, "clone_top": [1, 20], "close": 18, "closest": 4, "cmd": 18, "cmd_arg": 18, "cmp": [0, 19, 20], "co": [1, 18, 20], "co_cod": 1, "code": [1, 3, 4, 6, 13, 15, 17, 18, 20], "codeblock": [1, 11], "codetyp": 1, "col_offset": [17, 20], "collect": [1, 20], "collect_code_with_imports_on_top": [0, 3, 20], "colno": [5, 20], "colon": [10, 20], "color": 13, "column": 12, "com": [18, 20], "come": [12, 18, 20], "comm": 3, "comm_close_handl": [0, 3, 20], "comm_open": 3, "comm_open_handl": [0, 3, 20], "command": [2, 13, 18], "commandline_arg": 18, "comment": [1, 11, 17], "commit": 20, "common": [11, 19], "commonli": 16, "commun": [4, 20], "compar": 1, "compatibilti": 18, "compil": [1, 6, 13, 17], "compile_with_autoimport": [13, 20], "compiler_flag": 9, "compilerflag": [0, 6, 17, 20], "complain": [9, 18], "complet": [4, 9, 13, 18, 20], "complete_symbol": [0, 13, 20], "compon": 8, "compris": 8, "concaten": [5, 18, 20], "conda": 20, "config": 10, "configur": [12, 13], "confirm": 18, "conflict": 9, "conflicting_import": [9, 20], "conflictingimportserror": [0, 9, 20], "consid": [1, 20], "consol": 20, "constant": 17, "constraint": 11, "construct": [14, 18], "consult": 20, "contain": [3, 5, 9, 11, 13, 14, 16, 17, 18, 20], "content": [14, 18], "context": [1, 4, 11, 13, 15, 17, 18, 19], "contigu": 5, "continu": [4, 18], "contrast": 20, "contribut": 20, "contributor": 20, "control": 18, "convent": 13, "copi": [9, 14, 19], "core": 13, "correspond": [1, 17], "cosin": 18, "could": [1, 14, 16, 17], "count": [18, 20], "crazi": 17, "creat": [1, 4, 11, 13, 18, 20], "create_ipython_app": [18, 20], "ct": 20, "ctx": 1, "current": [1, 4, 13, 14, 15, 20], "custom": [0, 3, 20], "cwdctx": [0, 19, 20], "d": [9, 18, 20], "dai": 18, "dash": 20, "data": [5, 9, 18, 20], "databas": [1, 13, 20], "datafram": 20, "date": [18, 20], "db": [1, 11, 13, 20], "dd": [9, 20], "debug": [4, 15, 18], "debug_en": [15, 20], "debug_except": 18, "debug_stat": 18, "debugg": [4, 18, 20], "debuggerattachtimeouterror": [0, 4, 20], "decid": [1, 4, 18], "decim": 18, "declar": [1, 14], "decod": 18, "decor": [13, 19], "deepest": [1, 16], "def": [1, 14, 19], "default": [1, 2, 4, 8, 10, 14, 18, 19, 20], "default_path": 10, "defeat": 15, "defin": [1, 14, 16, 18, 20], "definit": [1, 20], "definitiion": 1, "delai": 4, "delimit": 10, "depend": 20, "deprec": 18, "descend": 17, "descriptor": 4, "design": 18, "desir": 14, "dev": [4, 18, 20], "df": 20, "diagnos": 20, "dict": [1, 8, 9, 12, 13, 14, 16, 17], "dictionari": [1, 14, 17], "did": 1, "differ": [4, 10, 17, 20], "difficult": 20, "direct": 17, "directli": [4, 5], "directori": [5, 10, 19, 20], "disabl": [13, 17, 20], "disassembl": 1, "displayhook": 4, "dist": 20, "divis": [9, 20], "do": [1, 2, 4, 5, 13, 14, 18, 19, 20], "do_livepatch": 14, "docstr": [1, 17, 18, 20], "document": 20, "doe": [1, 3, 8, 10, 13, 14, 17, 19], "doesn": [16, 20], "don": [1, 5, 13, 14, 18, 20], "dont_inherit": 6, "dot": [8, 10, 13, 20], "dotted_nam": 8, "dotted_prefix": [0, 8, 20], "dottedidentifi": [0, 1, 8, 16, 20], "down": 20, "download": 18, "dtype": 20, "due": 20, "dummi": 4, "duplic": [1, 19], "dure": 15, "dynam": 16, "e": [1, 4, 6, 13, 14, 16, 17, 20], "each": [1, 4, 7, 8, 9, 12, 17, 20], "earlier": [1, 11], "earliest": [1, 17], "easi": 20, "echo": [18, 20], "ed": 18, "edit": [14, 20], "edu": 14, "effect": [1, 14], "either": [4, 20], "el": 20, "element": 7, "elig": 17, "ellipsi": 13, "els": [1, 18, 19, 20], "email": [4, 16, 18], "emit": [15, 20], "empti": [1, 5, 8, 11, 18], "emul": 13, "en": [3, 19], "enabl": [13, 18, 20], "enable_sigterm_handl": [0, 4, 20], "encod": [16, 18], "end": [1, 5, 7, 15, 17, 18, 20], "endpo": [5, 17, 20], "endswith": 5, "engin": 20, "ensur": 12, "enter": [1, 4, 13, 15, 18, 19], "entri": [1, 4, 20], "enumer": [5, 13, 16], "env_var_nam": 10, "environ": [4, 10, 19, 20], "envvarctx": [0, 19, 20], "epydoc": 17, "equival": [14, 18, 19, 20], "error": [15, 16, 17, 18, 20], "errorduringimporterror": [0, 16, 20], "escap": [4, 15], "etc": [10, 13, 14, 18, 20], "eval": [1, 17, 18, 20], "evalu": [13, 18], "even": [4, 13, 14, 18, 20], "even_if_previously_error": 13, "everi": [1, 20], "everywher": 5, "exampl": [1, 10, 11, 14, 16, 17, 18, 20], "exc_info": [4, 13, 18], "except": [1, 2, 4, 5, 7, 8, 9, 11, 13, 14, 16, 18, 19, 20], "excepthook": 4, "exclud": 8, "excludeimplicitcwdfrompathctx": [0, 19, 20], "exec": [6, 17, 18], "exec_stdin": [18, 20], "execfil": [18, 20], "execut": [1, 4, 13, 14, 18, 20], "exist": [1, 4, 5, 10, 11, 13, 14, 16, 20], "exit": [4, 9, 13, 18, 20], "exit1": [0, 2, 20], "expand": 10, "expand_py_files_from_arg": [0, 5, 20], "expect": 11, "expected_path": 13, "explicit": [1, 18], "export": [16, 20], "expr": 18, "express": [17, 18], "extend": [18, 20], "extens": 20, "extra": [2, 13, 19], "extract": [3, 17], "extract_import_stat": [0, 3, 20], "f": [1, 9], "f1": 9, "f2": 9, "fact": 13, "fail": [1, 20], "failur": 1, "fals": [1, 2, 4, 7, 8, 9, 11, 12, 13, 14, 15, 17, 18, 19, 20], "far": 13, "fd": 4, "featur": [0, 6, 9, 15, 20], "februari": 14, "feedstock": 20, "few": 20, "field": [1, 12, 17, 20], "figur": [13, 18, 20], "file": [4, 5, 6, 10, 15, 18, 20], "filenam": [2, 4, 5, 10, 11, 13, 14, 16, 18, 20], "filename_arg": [0, 2, 18, 20], "filepo": [0, 5, 17, 20], "filetext": [0, 5, 17, 20], "fill": [0, 7, 20], "find": [1, 5, 11, 16, 17, 18, 20], "find_import_block_by_lineno": [11, 20], "find_missing_import": [1, 20], "find_unused_import": 1, "first": [1, 3, 5, 7, 10, 11, 12, 13, 15, 17, 18, 20], "fit": 11, "fix": [11, 13, 20], "fix_unused_and_missing_import": [0, 11, 20], "flag": [6, 9, 13, 17, 18, 20], "flaw": 17, "fledg": 18, "float": 18, "follow": [1, 13, 14, 17, 20], "foo": [1, 7, 8, 10, 11, 13, 14, 17, 18, 19, 20], "foo1": [1, 20], "foo2": [1, 20], "foo3": 1, "foo4": 1, "foo5": 1, "foo6": 1, "foonbar": 17, "foopackag": 20, "forc": [4, 14], "forg": 20, "fork": 4, "form": [8, 10, 14, 20], "format": [11, 20], "formatparam": [0, 7, 20], "found": [1, 5, 11, 18], "frame": [4, 13, 20], "frametyp": 4, "friend": 20, "from": [1, 3, 4, 5, 6, 7, 8, 9, 11, 12, 13, 14, 15, 17, 18, 19, 20], "from_filenam": [5, 20], "from_spac": [12, 20], "frontend": 3, "frozenset": 9, "full": [4, 13, 18], "fullargspec": 18, "fulli": 1, "fullnam": [1, 9, 13], "func_typ": 1, "function": [1, 2, 3, 4, 5, 13, 14, 15, 17, 18, 19, 20], "function_nam": 18, "functiondef": 17, "functionwithglob": [0, 19, 20], "further": [1, 20], "futur": [14, 18], "g": [1, 4, 13, 16, 17], "gdb": 4, "gener": [1, 10, 13, 14, 17, 18, 20], "generic_visit": [1, 20], "get": [1, 4, 10, 13, 14, 16, 18, 19, 20], "get_execut": [0, 4, 20], "get_global_namespac": [0, 13, 20], "get_ipython_terminal_app_with_autoimport": [0, 13, 20], "get_known_import": [0, 1, 20], "get_stat": [9, 20], "getattr": 1, "git": 20, "github": 20, "give": 14, "given": [1, 2, 7, 9, 11, 17, 18, 20], "global": [1, 4, 11, 13, 14, 18, 19, 20], "gnu": 20, "good": 20, "greedi": 13, "group": 20, "guess": [17, 18], "guido": 14, "gz": 20, "h": 18, "ha": [1, 13, 14, 17, 20], "hack": 15, "halloween": 18, "hand": 14, "handl": [3, 13, 16, 18], "handler": [3, 4], "hanging_ind": [7, 20], "happen": 20, "hard": 20, "has_star_import": [1, 20], "hasn": 13, "have": [1, 3, 5, 9, 14, 18, 20], "head": 20, "heed_hook": 14, "hello": [7, 18, 19, 20], "help": [4, 18, 20], "helper": 1, "here": 1, "heurist": [11, 18], "heuristic_cmd": [18, 20], "heuristic_run_modul": [18, 20], "hfmt": [0, 2, 20], "home": 20, "homer": 10, "hook": [4, 13, 19], "hookctx": [15, 20], "how": [12, 18, 20], "howev": 14, "html": [3, 14], "http": [3, 14, 18, 19, 20], "hyphen": 20, "i": [1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20], "id": 4, "identifi": [1, 8, 9, 16], "if_debug": 13, "ignor": [9, 14], "ignore_nonimport": 9, "ignore_pkg": 13, "ignore_shadow": 9, "ignoreoptionsdoctestpars": [0, 17, 20], "immedi": [4, 17, 18], "immut": 9, "imp": [1, 11], "implement": [9, 13, 14, 19], "import": [1, 3, 6, 9, 11, 12, 13, 14, 16, 18], "import_a": [9, 12, 20], "import_format_param": 2, "import_modul": [0, 16, 20], "importalreadyexistserror": [0, 11, 20], "importdb": [1, 13], "importerror": 16, "importformatparam": [0, 12, 20], "importmap": [0, 9, 20], "importpathctx": [0, 19, 20], "importpathforrelativeimportsctx": [0, 11, 20], "importset": [0, 9, 16, 20], "importsplit": [0, 12, 20], "importstat": 9, "imposs": 20, "improv": 14, "impset": 9, "in_jupyt": [0, 3, 20], "inaccess": 5, "includ": [1, 5, 13, 20], "include_class_scop": 1, "increas": 20, "indent": [0, 7, 19, 20], "independ": 20, "index": [5, 17, 18, 20], "indic": 7, "inf": 11, "infeas": 14, "infer": 17, "infer_compile_mod": [0, 17, 20], "info": [9, 15, 18], "info_en": [15, 20], "inform": 20, "inherit": 20, "init_shel": [13, 20], "initi": [4, 13, 18, 20], "initialize_comm": [0, 3, 20], "inject": [0, 4, 18, 20], "input": [5, 8, 10, 11, 13, 18, 20], "input_cod": 3, "input_cont": [2, 20], "input_content_filenam": [2, 20], "input_flag": 17, "insert": [18, 20], "insert_new_blocks_after_com": [11, 20], "insert_new_import_block": [11, 20], "insid": [13, 15], "instal": [4, 13], "install_in_ipython_config_fil": [13, 20], "instanc": [4, 13, 14, 16, 20], "instead": [4, 12, 14, 18], "instruct": [18, 20], "int": [1, 4, 5, 12, 17, 19], "integ": 12, "integr": 18, "intend": [11, 18], "intent": [1, 18], "interact": [3, 4, 13, 18, 20], "interactiveshel": 13, "interactiveshellapp": 20, "interactiveshellemb": 13, "interceptprintsduringpromptctx": [0, 13, 20], "interdepend": 14, "interfac": [15, 20], "intern": 20, "interpol": 1, "interpret": [17, 18], "interrupted_fram": 4, "introduc": 16, "invert": 18, "invoc": [0, 20], "invok": 1, "io": 3, "ip": 13, "ipcomplet": 13, "ipdb": 20, "ipython": [4, 13, 15, 18], "ipython_config": 20, "is_identifi": [0, 8, 20], "isatti": 4, "isinst": 20, "isn": [13, 20], "item": [1, 5, 9, 13, 17, 18, 19, 20], "items1": 19, "items2": 19, "iter": [4, 12, 17, 19], "iter_child_nod": 17, "iteritem": [9, 20], "iterkei": [9, 20], "its": [13, 14, 17, 18, 20], "itself": [16, 18], "j": 18, "join": [1, 5, 20], "joinpoint": [13, 19], "jump": 1, "jupyt": [3, 18, 20], "jupyterlab": 3, "just": [1, 3, 12, 13, 14, 17], "k": 19, "karl": 20, "keep": [4, 14], "keep_cach": 14, "keep_exist": 4, "kei": [9, 17, 20], "kernel": 13, "kernel_manag": 13, "keyerror": 14, "keyword": [8, 12, 18, 20], "kill": 4, "kill_process": [0, 4, 20], "kill_sign": 4, "know": [1, 14, 20], "known": [1, 9, 16], "known_import": 20, "kwarg": [1, 4, 7, 12, 13, 14, 18, 19], "kwd": [12, 17], "l7": 1, "lambda": [1, 5, 18, 19], "larg": 14, "last": [1, 5, 7, 20], "later": [1, 13], "latest": 20, "lazili": 20, "leaf": 17, "least": [7, 12], "left": 20, "len": 18, "length": [17, 18], "letter": 18, "level": [2, 12, 13, 15, 16], "lib": [18, 20], "libc": 18, "librari": 18, "lieneno": [17, 20], "like": [1, 14, 18, 20], "linalg": 9, "line": [2, 5, 7, 11, 13, 17, 18, 19], "lineindex": 5, "lineno": [1, 5, 11, 17, 20], "linenumberambiguouserror": [0, 11, 20], "linenumbernotfounderror": [0, 11, 20], "list": [1, 2, 5, 8, 10, 12, 13, 14, 16, 17, 18, 19, 20], "liter": [17, 18], "live": 14, "livepatch": 14, "load": [1, 14, 18, 20], "load_ext": 20, "load_symbol": [0, 1, 20], "loads_without_stor": 1, "loadsymbolerror": [0, 1, 20], "local": [1, 4, 13, 18, 20], "localhost": 4, "locat": 20, "log": [4, 15, 18], "log2": 20, "loggedlist": [0, 18, 20], "logger": [13, 15], "long": 20, "longest": [8, 11, 19], "longest_common_prefix": [0, 19, 20], "look": [19, 20], "loop": [1, 18, 20], "love": 20, "m": [1, 2, 9, 18, 20], "m1": [9, 11, 14], "m2": [9, 11, 14], "m3": [9, 11], "m34": 9, "m4": [9, 11], "made": 1, "magic": [13, 19, 20], "mai": [1, 16, 20], "mail": 14, "mailto": 4, "main": 17, "maindoc": [0, 2, 20], "maintain": 20, "mainten": 20, "make": [4, 12, 17, 20], "manag": [1, 4, 11, 13, 18, 19], "manipul": 18, "map": [9, 12, 17, 18], "mark": 1, "match": [1, 9, 13, 14, 17], "matplotlib": [18, 20], "matrix": 18, "matter": 20, "max_line_length": [7, 20], "max_lineno": 11, "maximum": 4, "maxint": 20, "mayb": [14, 20], "mean": [8, 11, 17, 20], "meant": 1, "mechan": 14, "member": [9, 13, 18, 20], "member_nam": [9, 12, 20], "memoiz": [4, 14], "memori": 14, "merg": [1, 9, 18], "merged_to_two": [1, 20], "messag": [2, 3, 17, 18], "meta_path": 16, "metadata": 20, "metafunct": 19, "method": [1, 14, 18, 19, 20], "mgr": 19, "mime": 16, "mimic": 13, "min_start_lineno": 17, "minpo": 17, "miss": [1, 11, 20], "missing_import": [1, 20], "mit": 20, "mode": [1, 4, 13, 17, 18], "modifi": [0, 2, 11, 14, 19, 20], "modify_action_param": 2, "modify_funct": 2, "modnam": [14, 18], "modul": [0, 20], "module_nam": [12, 16, 20], "modulehandl": [0, 16, 20], "modulenam": [1, 12, 16], "moduletyp": [14, 16], "monkei": 19, "month": 18, "more": [1, 17, 20], "most": [1, 13, 16, 20], "mount": 10, "move": 1, "msg": [3, 4], "multilin": 17, "multipl": [18, 20], "multitool": [18, 20], "must": [1, 7, 8, 12], "mutabl": 1, "my_funct": 20, "my_livepatch": 14, "myclass": 20, "mymodul": 20, "myobj": 14, "mypackag": 20, "myprogram": 20, "mypythonstuff": 20, "n": [1, 5, 7, 9, 11, 13, 17, 18, 19, 20], "name": [1, 4, 8, 9, 12, 13, 14, 15, 16, 17, 18, 19, 20], "nameerror": 1, "namespac": [1, 13, 14, 16, 18, 19, 20], "namespace_dict": 13, "nan": 20, "narang": 1, "nb": 18, "nbar": 17, "necessari": [4, 12, 13, 14, 17, 18, 20], "necessarili": 14, "need": [1, 4, 13, 14, 17, 18, 20], "nest": [0, 16, 19, 20], "never": [7, 18, 20], "new": [1, 9, 11, 12, 13, 14, 17, 18, 19, 20], "new_class_scop": 1, "new_dict": 14, "new_func": 14, "new_import": 9, "new_ipdb_inst": [0, 13, 20], "new_item": 18, "new_method": 14, "new_mod": 14, "newclass": 14, "newer": 17, "newfunct": 20, "newlin": [5, 7, 13], "newmodul": 20, "newobj": 14, "next": 4, "nfrom": 9, "nightmar": 20, "nnumpi": 1, "noactiveipythonapperror": [0, 13, 20], "node": [1, 16, 17], "noimportblockerror": [0, 11, 20], "noipythonpackageerror": [0, 13, 20], "non": [4, 9, 11, 17], "noncod": 17, "none": [1, 2, 4, 5, 6, 7, 8, 9, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20], "nonetyp": 13, "nor": 18, "normal": 1, "nosuchimporterror": [0, 9, 20], "notafunctionerror": [0, 18, 20], "note": [1, 4, 13, 16, 18], "notebook": [3, 18, 20], "noth": [1, 14, 16, 19], "notic": 20, "now": [17, 20], "np": [11, 20], "null": 4, "nullctx": [0, 19, 20], "number": [4, 11, 12, 17, 18, 20], "nump": 20, "numpi": [1, 9, 11, 18, 20], "nworld": 19, "o": [1, 8, 19], "obj": [13, 14, 18], "object": [1, 4, 6, 12, 13, 14, 17, 18, 19, 20], "objnam": 18, "occasion": 20, "occur": [16, 18], "off": [13, 20], "offset": 1, "old": 14, "old_dict": 14, "old_func": 14, "old_method": 14, "old_mod": 14, "oldclass": 14, "oldest": 10, "oldfunct": 20, "oldmodul": 20, "oldobj": 14, "omit": 18, "on_error": [2, 5, 13], "on_existing_handl": 4, "onc": 19, "one": [1, 7, 11, 13, 14, 18, 20], "ones": [1, 14], "onli": [1, 11, 13, 14, 16, 17, 18, 20], "onto": 1, "op": 1, "open": [3, 4], "oper": 14, "opinion": 4, "opt_str": 2, "option": [0, 1, 2, 5, 8, 12, 17, 20], "ord": 18, "order": [1, 3, 9, 13, 17, 19, 20], "org": [14, 19, 20], "organ": 9, "oriented_program": 19, "origin": [14, 19, 20], "originalpid": 4, "orm": 1, "other": [1, 9, 12, 14, 17, 18, 19, 20], "otherwis": [1, 4, 5, 9, 17, 18], "our": 13, "out": [13, 20], "output": [11, 17, 18, 20], "output_cont": [2, 20], "output_content_filenam": [2, 20], "output_mod": 18, "outsid": 4, "overid": 4, "overrid": [4, 17, 20], "own": 14, "packag": [9, 13, 16, 18, 20], "page": [18, 20], "panda": [18, 20], "param": [3, 7, 9, 11], "paramet": [1, 4, 5, 7, 8, 9, 11, 13, 14, 15, 17, 18], "parent": [4, 8, 9, 13, 16, 17, 20], "parent_ast_nod": 17, "parenthes": 18, "pars": [1, 2, 8, 13, 17, 18, 20], "parse_arg": [0, 2, 20], "parse_docstr": [1, 20], "parseerror": [0, 18, 20], "parser": [2, 17], "part": [8, 17, 18, 19, 20], "particular": 20, "partit": [0, 10, 19, 20], "pass": [1, 4, 13, 14], "patch": [14, 19, 20], "path": [1, 4, 5, 11, 16, 19, 20], "path_addit": 19, "pathnam": [5, 10], "pd": 20, "pdb": [4, 13, 20], "pdb_instanc": 13, "per": 17, "perfectli": 20, "perform": 14, "permiss": 20, "pformat": 18, "pi": 20, "pick": 11, "pid": [4, 18], "piec": 20, "pinfo": [13, 20], "pinfo2": 20, "pip": 20, "pipe": 4, "pipelin": 13, "pipermail": 14, "pkgutil": 16, "place": [14, 20], "pleas": 20, "plot": [18, 20], "plug": 20, "plugin": 20, "point": [1, 3], "polici": 20, "pop": [18, 20], "posit": [5, 17, 18], "possibl": [13, 14, 17, 20], "post": [14, 15], "post_import_hook": 1, "postmortem": 18, "power": 18, "pprint": [9, 18], "practic": 20, "pre": [4, 15], "precis": 14, "predic": 19, "prefix": [0, 7, 8, 11, 16, 18, 19, 20], "prepend": [7, 19], "preprocess": [11, 20], "present": 18, "pretti": [9, 11, 18], "pretty_print": [9, 11, 20], "previou": [1, 14, 20], "previous": 1, "print": [1, 4, 6, 7, 9, 11, 13, 18, 20], "print_foo": 14, "print_funct": [6, 17], "print_help": [18, 20], "print_result": [0, 18, 20], "print_verbose_tb": [0, 13, 20], "print_vers": [18, 20], "print_version_and_exit": [0, 2, 20], "printf": 18, "privat": 20, "proce": 2, "process": [4, 10, 13, 20], "process_act": [0, 2, 20], "process_exist": [0, 4, 20], "produc": 17, "product": 20, "profile_default": 20, "program": [4, 5, 18, 20], "proj": 20, "project": 18, "prompt": [2, 4, 13], "prompt_toolkit": 15, "properti": [2, 5, 8, 9, 15, 16, 18], "protect": 20, "provid": 20, "proxi": [15, 20], "prun": 13, "pseudo": 18, "pty": [0, 4, 20], "push": [1, 20], "put": [4, 14, 20], "py": [4, 5, 11, 14, 18], "py_main": [0, 18, 20], "pyc": 18, "pyc_to_pi": [0, 16, 20], "pyfil": [0, 7, 20], "pyflybi": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19], "pyflyby_path": [18, 20], "pyflybylogg": [0, 15, 20], "pylab": 18, "pyplot": [18, 20], "pyproject": [12, 20], "python": [3, 4, 6, 7, 8, 13, 14, 17, 18, 20], "python2": 18, "pythonblock": 11, "q": [4, 18], "qualifi": 1, "quarl": 20, "quiet": 18, "quu": 13, "quuuuux": 7, "quux": [1, 7, 13, 18, 20], "r": 17, "rais": [1, 4, 13, 16, 17, 18, 20], "raise_on_error": 13, "random": 20, "rang": 17, "rather": 19, "ration": 18, "raw": [4, 18], "raw_valu": 18, "re": [1, 3, 13, 15, 17, 20], "reachabl": 20, "read": [4, 12, 20], "read_black_config": [0, 12, 20], "read_fil": [0, 5, 20], "readthedoc": 3, "realli": 14, "reason": [14, 17, 20], "recent": 1, "recipi": 4, "recogn": 16, "record": 15, "recurs": [1, 5, 10, 14, 17, 20], "redirect": 4, "redisplai": 13, "redo": 20, "refactor": 1, "refer": [1, 13, 14, 19], "referenc": 1, "reformat": 20, "regist": 4, "regular": [13, 14, 18], "rel": 11, "relev": [1, 20], "reload": 14, "remain": [3, 14, 18], "remov": [1, 7, 9, 11, 18, 19, 20], "remove_comm": [0, 3, 20], "remove_import": [11, 20], "remove_unus": [11, 20], "renam": 20, "repack": 20, "replac": [10, 12, 14, 17, 18, 20], "repositori": 20, "repr": 18, "repr_if_not_non": 18, "repres": [1, 5, 17], "represent": [6, 9, 12], "request": [1, 18], "requir": [1, 18], "reraise_except": 2, "reset": 4, "reset_state_new_cel": [13, 20], "resolv": 1, "restor": 4, "result": [1, 4, 14, 17, 18], "retar": 20, "return": [1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20], "revers": [8, 18, 20], "right": 20, "rossum": 14, "roughli": 14, "run": [4, 13, 15, 18, 19, 20], "run_ipython_line_mag": [0, 13, 20], "run_modul": [18, 20], "run_tidy_import": [0, 3, 20], "runtim": 19, "safe": [4, 18], "salut": 8, "same": [1, 7, 9, 10, 13, 14, 17, 20], "satisfi": 17, "save": 20, "scan_for_import_issu": [0, 1, 20], "scheme": 13, "scipi": [1, 20], "scope": 1, "scope_info": [8, 20], "scopestack": [0, 1, 20], "scratch": [13, 14], "script": [2, 18, 20], "sdist": 20, "search": [1, 5, 20], "second": [3, 4, 13], "section": 20, "see": [1, 9, 14, 19, 20], "seem": 18, "select": 11, "select_import_block_by_closest_prefix_match": [11, 20], "self": [1, 9, 14, 19], "send": 4, "send_comm_messag": [0, 3, 20], "sep": 7, "separ": [7, 20], "separate_from_import": [9, 12, 20], "sequenc": [4, 5, 7, 12, 14, 17], "session": [4, 13, 20], "set": [1, 4, 9, 12, 14, 15, 17, 18, 20], "set_level": [15, 20], "setattr": 14, "setitem": 14, "setraw_but_sigint": [0, 4, 20], "setup": [2, 20], "sgfsbg93zwvu": 18, "shadow": 20, "share": 20, "shasum": 20, "shaw": 20, "shebang": 18, "shell": [13, 18], "shim": 13, "shine": 14, "short": 18, "shortest": 8, "should": [4, 12, 13, 14, 16, 17, 18], "show": [18, 20], "show_gdb_output": 4, "side": 1, "sig": 14, "sign": 20, "signal": 4, "signal_numb": 4, "signatur": [1, 18], "signum": 4, "sigquit": 18, "sigterm": 4, "silent": [4, 18], "silently_overrid": 4, "similar": 14, "simpli": [17, 20], "sin": 20, "sinc": [1, 14, 18], "singl": [1, 7, 8, 9, 12, 17, 18], "singleton": 13, "site": 18, "slice": 17, "slow": [1, 20], "small": 13, "so": [1, 11, 13, 14, 18, 19, 20], "softwar": 20, "some": [1, 3, 13, 17, 18], "some_condit": 20, "some_token": 8, "someon": [19, 20], "someth": [14, 15, 17], "sometim": 20, "somewher": 13, "sophist": 1, "sort": [9, 18, 20], "sourc": [1, 13, 17, 18, 20], "source_date_epoch": 20, "source_flag": [17, 20], "sourcetosourcefileimportstransform": [0, 11, 20], "sourcetosourceimportblocktransform": [0, 11, 20], "sourcetosourcetransform": [0, 11, 20], "sourcetosourcetransformationbas": [0, 11, 20], "space": [12, 17], "special": 14, "specif": 20, "specifi": [5, 10, 11, 12, 17, 18, 20], "split": [5, 10, 17], "spyder": 20, "sqlalchemi": 1, "squar": 18, "src": 13, "src_fd": 4, "ssh": 4, "st_dev": 10, "stabl": 3, "stable_uniqu": [0, 19, 20], "stack": [1, 4, 20], "standalon": 17, "standard": 14, "star": 1, "start": [13, 17, 18], "start_ipython": [18, 20], "start_ipython_kernel_with_autoimport": [0, 13, 20], "start_ipython_with_autoimport": [0, 13, 20], "start_stop": 18, "startpo": [5, 17, 20], "startswith": [8, 20], "startup": 20, "stat": 20, "state": 13, "statement": [3, 4, 7, 9, 11, 12, 17, 18, 20], "static": [1, 5, 16], "stderr": [4, 13, 15, 18], "stdin": [4, 13, 18], "stdio": 4, "stdout": [1, 4, 13, 18, 20], "step": 20, "stop": 20, "store": 1, "str": [1, 3, 4, 5, 7, 8, 9, 12, 13, 14, 17, 18], "strace": 4, "strict": 20, "string": [1, 4, 5, 7, 8, 9, 13, 17, 18], "structur": 9, "stuff": 20, "style": 20, "subapp": 13, "submit": 20, "submodul": [13, 16, 20], "subrang": 17, "subsequ": [7, 18], "subset": 17, "subtext": 17, "succe": 1, "succeed": 1, "success": 1, "successfulli": [1, 14], "suffix": 7, "suitabl": 4, "summari": [0, 20], "support": [1, 4, 17, 18], "suppos": [1, 10, 14, 18, 19, 20], "sure": 20, "sy": [4, 9, 11, 13, 15, 16, 18, 19, 20], "symbol": [1, 13, 16, 20], "symbol_needs_import": [0, 1, 20], "symlink_callback": [0, 2, 20], "symlink_error": [0, 2, 20], "symlink_follow": [0, 2, 20], "symlink_replac": [0, 2, 20], "symlink_skip": [0, 2, 20], "syntact": 17, "syntax": [0, 2, 20], "sys_path_entri": 13, "sysargvctx": [0, 18, 20], "syscal": 4, "syscall_mark": [0, 4, 20], "system": [13, 20], "systemexit": 18, "systemwid": 20, "t": [1, 4, 5, 13, 14, 16, 17, 18, 20], "t1": 9, "t2": 9, "t2a": 9, "t2b": 9, "t3": 9, "t4": 9, "tab": [9, 13, 20], "tabl": 14, "tag": 20, "take": [1, 14, 17], "take_arg": [0, 1, 20], "tar": 20, "target": [1, 4, 14, 18, 19, 20], "target_dirnam": 10, "target_fd": 4, "target_nam": 3, "team": 20, "tell": 20, "temporarili": [1, 11, 18, 19], "termin": [4, 13], "terminalipythonapp": 13, "terminalpdb": 13, "test": [13, 14, 17, 18, 20], "text": [3, 5, 8, 16, 17, 18, 20], "than": [1, 11, 17, 19, 20], "thei": [12, 17, 18], "them": [7, 11, 18, 20], "thi": [1, 3, 4, 5, 9, 13, 14, 15, 16, 17, 18, 19, 20], "thing": [1, 16, 17], "those": [1, 17, 20], "though": [4, 14], "threa": 13, "thread": 13, "threaderror": 13, "threadi": 13, "through": 19, "tidi": 18, "time": [13, 15, 19, 20], "timeit": [13, 20], "timeout": 4, "tmp": [11, 20], "todo": 1, "token": [7, 8, 12], "toml": [12, 20], "tool": 18, "top": [2, 16], "topmost": 1, "touch": 14, "trace": 4, "traceback": [1, 13], "track": 14, "trail": [7, 8], "transform": 20, "travers": [10, 20], "treat": [17, 18], "tri": [4, 16], "tripl": 10, "trivial": 20, "true": [1, 4, 7, 8, 9, 11, 12, 13, 14, 15, 17, 18, 20], "truss": 4, "try": [1, 4, 13, 14, 16, 17], "tt": 10, "tty": [4, 18], "tty_is_us": [0, 4, 20], "tupl": [1, 4, 5, 7, 8, 9, 10, 12, 13, 16, 17], "turn": [13, 18], "twice": 1, "twine": 20, "two": [1, 7, 14], "txt": 20, "type": [1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 16, 17, 18, 19, 20], "typecom": 1, "typic": 17, "u": [4, 10, 20], "ultratb": 13, "unabl": 14, "unaccess": [18, 20], "unadvis": [19, 20], "unbound": 18, "unchang": [19, 20], "undefin": [10, 11, 18], "under": [1, 4, 18, 20], "underscor": 20, "undesir": 14, "undo": 20, "unfortun": 17, "unhandl": 18, "unhid": 1, "unhide_classdef": 1, "unimportablenameerror": [0, 18, 20], "uninstal": 19, "union": [9, 12], "unknown": 14, "unknownmoduleerror": [0, 14, 20], "unpars": 18, "unsafefilenameerror": [0, 5, 20], "until": [17, 18, 20], "unus": [1, 11, 20], "unused_import": [1, 20], "up": [1, 4, 7, 10], "updat": [13, 14, 20], "updateipythonstdioctx": [0, 13, 20], "upload": 20, "upon": [4, 13, 18], "upstream": 20, "us": [1, 4, 5, 9, 11, 12, 13, 14, 16, 17, 18, 19, 20], "usabl": 4, "usag": [2, 20], "use_black": [7, 20], "user": [1, 4, 13, 18, 20], "userexpr": [0, 18, 20], "usr": 18, "usual": 20, "util": [3, 17], "valid": [8, 17, 18], "valu": [1, 2, 3, 4, 9, 12, 13, 17, 18, 20], "valueerror": 17, "van": 14, "variabl": [1, 10, 17, 19], "variou": [4, 20], "ve": 1, "verbos": 18, "veri": 20, "verifi": 20, "version": [17, 18, 20], "versu": 17, "via": [14, 18], "victori": 18, "visibl": 4, "visit": [1, 20], "visit_alia": [1, 20], "visit_arg": [1, 20], "visit_argu": [1, 20], "visit_assign": [1, 20], "visit_asyncfunctiondef": [1, 20], "visit_attribut": [1, 20], "visit_cal": [1, 20], "visit_classdef": [1, 20], "visit_comprehens": [1, 20], "visit_const": [1, 20], "visit_delet": [1, 20], "visit_dict": [1, 20], "visit_dictcomp": [1, 20], "visit_excepthandl": [1, 20], "visit_expr": [1, 20], "visit_functiondef": [1, 20], "visit_generatorexp": [1, 20], "visit_importfrom": [1, 20], "visit_lambda": [1, 20], "visit_listcomp": [1, 20], "visit_match": [1, 20], "visit_match_cas": [1, 20], "visit_matcha": [1, 20], "visit_matchmap": [1, 20], "visit_modul": [1, 20], "visit_nam": [1, 20], "visit_pass": [1, 20], "visit_setcomp": [1, 20], "visit_stack": 14, "visitor": 1, "wa": [1, 4, 11, 14, 15, 17, 20], "wai": [17, 20], "wait": 4, "wait_for_debugger_to_attach": [0, 4, 20], "waitpoint": 18, "walk": 17, "want": [1, 14, 20], "warn": [1, 4, 15, 18], "warn_and_overrid": 4, "we": [1, 4, 8, 13, 14, 15, 17, 19, 20], "web": 18, "week": 18, "weekdai": 18, "welcom": 20, "well": [1, 12, 20], "were": [13, 15, 18], "what": [1, 4, 14, 18, 20], "whatev": 1, "when": [1, 4, 11, 13, 14, 17, 18, 20], "where": [14, 15, 17, 20], "whether": [1, 4, 8, 12, 13, 14, 16, 17, 18], "which": [0, 1, 3, 5, 11, 12, 13, 14, 17, 18, 20], "while": [1, 4, 16, 18], "whitespac": 7, "whose": [13, 14, 17], "wiki": 19, "wikipedia": 19, "willowbrook29817621": 18, "with_import": [9, 20], "with_new_scop": [1, 20], "with_stat": [6, 20], "within": [1, 4, 5, 12, 17, 20], "without": [1, 4, 9, 18, 19, 20], "without_import": [9, 20], "won": 1, "work": [11, 12, 13, 14, 16, 17, 19], "world": [7, 9, 18, 19], "would": [1, 4, 14, 16, 18, 20], "wrap": [12, 19], "wrap_paren": [7, 20], "wrapped_fn": 14, "wrappedattributeerror": [0, 19, 20], "wrapper": [13, 19], "writabl": 19, "write": [4, 18], "write_fil": [0, 5, 20], "written": [15, 19, 20], "wrong": 20, "wrote": 19, "x": [1, 6, 17, 18, 19, 20], "x11": 20, "x1b": 15, "xemac": 20, "xreload": 14, "xxx": [14, 20], "y": [1, 18, 19, 20], "ye": 18, "year": 18, "yet": [13, 18, 20], "yield": [4, 8, 17], "you": [14, 19, 20], "your": 20, "your_nam": 8, "z": 20, "zip": 20, "zot": 20}, "titles": ["pyflyby API", "_autoimp module", "_cmdline module", "_comms module", "_dbg module", "_file module", "_flags module", "_format module", "_idents module", "_importclns module", "_importdb module", "_imports2s module", "_importstmt module", "_interactive module", "_livepatch module", "_log module", "_modules module", "_parse module", "_py module", "_util module", "Pyflyby"], "titleterms": {"A": 20, "It": 20, "_autoimp": 1, "_cmdline": 2, "_comm": 3, "_dbg": 4, "_file": 5, "_flag": 6, "_format": 7, "_ident": 8, "_importcln": 9, "_importdb": 10, "_imports2": 11, "_importstmt": 12, "_interact": 13, "_livepatch": 14, "_log": 15, "_modul": 16, "_pars": 17, "_py": 18, "_util": 19, "an": 20, "api": 0, "authorship": 20, "auto": 20, "autoimport": 20, "automat": 20, "avoid": 20, "behavior": 14, "canonic": 20, "command": 20, "compat": 20, "configur": 20, "content": [0, 20], "custom": 14, "debug": 20, "detail": 20, "emac": 20, "featur": 18, "forget": 20, "implement": 20, "import": 20, "indic": 20, "instal": 20, "invoc": 18, "ipython": 20, "issu": 20, "just": 20, "known": 20, "lazi": 20, "librari": 20, "licens": 20, "line": 20, "mandatori": 20, "modul": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19], "multi": 20, "option": 18, "per": 20, "project": 20, "py": 20, "pyflybi": [0, 20], "quick": 20, "releas": 20, "reproduc": 20, "savefram": 20, "soapbox": 20, "star": 20, "start": 20, "summari": 18, "support": 20, "tabl": 20, "tidi": 20, "tool": 20, "util": 20, "variabl": 20, "work": 20}}) \ No newline at end of file