-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deploying to gh-pages from @ 9e86c43 🚀
- Loading branch information
Showing
39 changed files
with
6,704 additions
and
1,120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Sphinx build info version 1 | ||
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. | ||
config: dc32bed7db876789887fb362f92a7ad9 | ||
config: 770267a98a86d44a3153caa8c1ff7096 | ||
tags: 645f666f9bcd5a90fca523b33c5a78b7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,20 @@ | ||
|
||
|
||
<!DOCTYPE html> | ||
<html class="writer-html5" lang="en"> | ||
<html class="writer-html5" lang="en" data-content_root="../"> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>pydna — pydna 6.0.0a24.post17+b7b559bd66 documentation</title> | ||
<title>pydna — pydna 0.0.0.post1+9e86c43 documentation</title> | ||
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=80d5e7a1" /> | ||
<link rel="stylesheet" type="text/css" href="../_static/css/theme.css?v=7ab3649f" /> | ||
<link rel="stylesheet" type="text/css" href="../_static/custom.css?v=945798ad" /> | ||
<link rel="stylesheet" type="text/css" href="../_static/css/theme.css?v=e59714d7" /> | ||
|
||
|
||
<script src="../_static/jquery.js?v=5d32c60e"></script> | ||
<script src="../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script> | ||
<script data-url_root="../" id="documentation_options" src="../_static/documentation_options.js?v=6efefdf6"></script> | ||
<script src="../_static/doctools.js?v=888ff710"></script> | ||
<script src="../_static/sphinx_highlight.js?v=4825356b"></script> | ||
<script src="../_static/documentation_options.js?v=8920fc08"></script> | ||
<script src="../_static/doctools.js?v=9a2dae69"></script> | ||
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script> | ||
<script src="../_static/js/theme.js"></script> | ||
<link rel="index" title="Index" href="../genindex.html" /> | ||
<link rel="search" title="Search" href="../search.html" /> | ||
|
@@ -40,15 +39,8 @@ | |
</form> | ||
</div> | ||
</div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu"> | ||
<p class="caption" role="heading"><span class="caption-text">Contents:</span></p> | ||
<ul> | ||
<li class="toctree-l1"><a class="reference internal" href="../index.html">Pydna</a></li> | ||
<li class="toctree-l1"><a class="reference internal" href="../installation.html">Installation</a></li> | ||
<li class="toctree-l1"><a class="reference internal" href="../module_contents.html">Module contents</a></li> | ||
<li class="toctree-l1"><a class="reference internal" href="../getting_started.html">Getting started</a></li> | ||
<li class="toctree-l1"><a class="reference internal" href="../example_gallery.html">Example gallery</a></li> | ||
</ul> | ||
|
||
<!-- Local TOC --> | ||
<div class="local-toc"></div> | ||
</div> | ||
</div> | ||
</nav> | ||
|
@@ -226,7 +218,7 @@ <h1>Source code for pydna</h1><div class="highlight"><pre> | |
<span class="n">__maintainer__</span> <span class="o">=</span> <span class="s2">"Björn Johansson"</span> | ||
<span class="n">__email__</span> <span class="o">=</span> <span class="s2">"[email protected]"</span> | ||
<span class="n">__status__</span> <span class="o">=</span> <span class="s2">"Development"</span> <span class="c1"># "Production" #"Prototype"</span> | ||
<span class="n">__version__</span> <span class="o">=</span> <span class="s2">"0.0.0"</span> | ||
<span class="n">__version__</span> <span class="o">=</span> <span class="s2">"0.0.0-post.1+9e86c43"</span> | ||
|
||
|
||
<span class="c1"># create config directory</span> | ||
|
@@ -380,7 +372,9 @@ <h1>Source code for pydna</h1><div class="highlight"><pre> | |
<span class="k">pass</span> | ||
|
||
|
||
<div class="viewcode-block" id="open_current_folder"><a class="viewcode-back" href="../module_contents.html#pydna.open_current_folder">[docs]</a><span class="k">def</span> <span class="nf">open_current_folder</span><span class="p">():</span> | ||
<div class="viewcode-block" id="open_current_folder"> | ||
<a class="viewcode-back" href="../index.html#pydna.open_current_folder">[docs]</a> | ||
<span class="k">def</span> <span class="nf">open_current_folder</span><span class="p">():</span> | ||
<span class="w"> </span><span class="sd">"""Open the current working directory.</span> | ||
|
||
<span class="sd"> Opens in the default file manager. The location for this folder is</span> | ||
|
@@ -389,10 +383,13 @@ <h1>Source code for pydna</h1><div class="highlight"><pre> | |
<span class="k">return</span> <span class="n">_open_folder</span><span class="p">(</span><span class="n">_os</span><span class="o">.</span><span class="n">getcwd</span><span class="p">())</span></div> | ||
|
||
|
||
|
||
<span class="n">_logger</span><span class="o">.</span><span class="n">info</span><span class="p">(</span><span class="s2">"Current working directory = os.getcwd() = </span><span class="si">%s</span><span class="s2">"</span><span class="p">,</span> <span class="n">_os</span><span class="o">.</span><span class="n">getcwd</span><span class="p">())</span> | ||
|
||
|
||
<div class="viewcode-block" id="open_cache_folder"><a class="viewcode-back" href="../module_contents.html#pydna.open_cache_folder">[docs]</a><span class="k">def</span> <span class="nf">open_cache_folder</span><span class="p">():</span> | ||
<div class="viewcode-block" id="open_cache_folder"> | ||
<a class="viewcode-back" href="../index.html#pydna.open_cache_folder">[docs]</a> | ||
<span class="k">def</span> <span class="nf">open_cache_folder</span><span class="p">():</span> | ||
<span class="w"> </span><span class="sd">"""Open the pydna cache folder.</span> | ||
|
||
<span class="sd"> Opens in the default file manager. The location for this folder is stored</span> | ||
|
@@ -401,7 +398,10 @@ <h1>Source code for pydna</h1><div class="highlight"><pre> | |
<span class="k">return</span> <span class="n">_open_folder</span><span class="p">(</span><span class="n">_os</span><span class="o">.</span><span class="n">environ</span><span class="p">[</span><span class="s2">"pydna_data_dir"</span><span class="p">])</span></div> | ||
|
||
|
||
<div class="viewcode-block" id="open_config_folder"><a class="viewcode-back" href="../module_contents.html#pydna.open_config_folder">[docs]</a><span class="k">def</span> <span class="nf">open_config_folder</span><span class="p">():</span> | ||
|
||
<div class="viewcode-block" id="open_config_folder"> | ||
<a class="viewcode-back" href="../index.html#pydna.open_config_folder">[docs]</a> | ||
<span class="k">def</span> <span class="nf">open_config_folder</span><span class="p">():</span> | ||
<span class="w"> </span><span class="sd">"""Open the pydna configuration folder.</span> | ||
|
||
<span class="sd"> Opens in the default file manager. The location for this folder is stored</span> | ||
|
@@ -445,12 +445,18 @@ <h1>Source code for pydna</h1><div class="highlight"><pre> | |
<span class="k">return</span> <span class="n">_open_folder</span><span class="p">(</span><span class="n">_os</span><span class="o">.</span><span class="n">environ</span><span class="p">[</span><span class="s2">"pydna_config_dir"</span><span class="p">])</span></div> | ||
|
||
|
||
<div class="viewcode-block" id="open_log_folder"><a class="viewcode-back" href="../module_contents.html#pydna.open_log_folder">[docs]</a><span class="k">def</span> <span class="nf">open_log_folder</span><span class="p">():</span> | ||
|
||
<div class="viewcode-block" id="open_log_folder"> | ||
<a class="viewcode-back" href="../index.html#pydna.open_log_folder">[docs]</a> | ||
<span class="k">def</span> <span class="nf">open_log_folder</span><span class="p">():</span> | ||
<span class="w"> </span><span class="sd">"""docstring."""</span> | ||
<span class="k">return</span> <span class="n">_open_folder</span><span class="p">(</span><span class="n">_os</span><span class="o">.</span><span class="n">environ</span><span class="p">[</span><span class="s2">"pydna_log_dir"</span><span class="p">])</span></div> | ||
|
||
|
||
<div class="viewcode-block" id="get_env"><a class="viewcode-back" href="../module_contents.html#pydna.get_env">[docs]</a><span class="k">def</span> <span class="nf">get_env</span><span class="p">():</span> | ||
|
||
<div class="viewcode-block" id="get_env"> | ||
<a class="viewcode-back" href="../index.html#pydna.get_env">[docs]</a> | ||
<span class="k">def</span> <span class="nf">get_env</span><span class="p">():</span> | ||
<span class="w"> </span><span class="sd">"""Print a an ascii table containing all environmental variables.</span> | ||
|
||
<span class="sd"> Pydna related variables have names that starts with `pydna_`</span> | ||
|
@@ -466,7 +472,10 @@ <h1>Source code for pydna</h1><div class="highlight"><pre> | |
<span class="k">return</span> <span class="n">_table</span></div> | ||
|
||
|
||
<div class="viewcode-block" id="logo"><a class="viewcode-back" href="../module_contents.html#pydna.logo">[docs]</a><span class="k">def</span> <span class="nf">logo</span><span class="p">():</span> | ||
|
||
<div class="viewcode-block" id="logo"> | ||
<a class="viewcode-back" href="../index.html#pydna.logo">[docs]</a> | ||
<span class="k">def</span> <span class="nf">logo</span><span class="p">():</span> | ||
<span class="w"> </span><span class="sd">"""Ascii-art logotype of pydna."""</span> | ||
<span class="kn">from</span> <span class="nn">pydna._pretty</span> <span class="kn">import</span> <span class="n">pretty_str</span> <span class="k">as</span> <span class="n">_pretty_str</span> | ||
|
||
|
@@ -481,6 +490,7 @@ <h1>Source code for pydna</h1><div class="highlight"><pre> | |
<span class="k">return</span> <span class="n">_pretty_str</span><span class="p">(</span><span class="n">message</span><span class="p">)</span></div> | ||
|
||
|
||
|
||
<span class="k">if</span> <span class="vm">__name__</span> <span class="o">==</span> <span class="s2">"__main__"</span><span class="p">:</span> | ||
<span class="kn">import</span> <span class="nn">os</span> <span class="k">as</span> <span class="nn">_os</span> | ||
|
||
|
Oops, something went wrong.