Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
cnheider committed Jul 6, 2022
2 parents beaa758 + 1dc1d80 commit 24a61f3
Show file tree
Hide file tree
Showing 1,083 changed files with 108,894 additions and 639 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
fail_fast: true
repos:
- repo: https://github.com/ambv/black
rev: 22.3.0
rev: 22.6.0
hooks:
- id: black
language_version: python3.8
Expand Down
29 changes: 29 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# .readthedocs.yaml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Set the version of Python and other tools you might need
build:
os: ubuntu-20.04
tools:
python: "3.9"
# You can also specify other tool versions:
# nodejs: "16"
# rust: "1.55"
# golang: "1.17"

# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/source/conf.py

# If using Sphinx, optionally build your docs in additional formats such as PDF
# formats:
# - pdf

# Optionally declare the Python requirements required to build your docs
python:
install:
- requirements: requirements/requirements_dev.txt
1 change: 1 addition & 0 deletions docs/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
build
#github
Empty file added docs/.nojekyll
Empty file.
2 changes: 1 addition & 1 deletion docs/CNAME
Original file line number Diff line number Diff line change
@@ -1 +1 @@
heimdallr.github.io
aivclab.github.io/heimdallr
5 changes: 5 additions & 0 deletions docs/clean.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
@ECHO OFF

pushd %~dp0

del github
Binary file added docs/github/doctrees/environment.pickle
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added docs/github/doctrees/generated/heimdallr.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added docs/github/doctrees/getting_started.doctree
Binary file not shown.
Binary file added docs/github/doctrees/index.doctree
Binary file not shown.
4 changes: 4 additions & 0 deletions docs/github/html/.buildinfo
Original file line number Diff line number Diff line change
@@ -0,0 +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: 0853232e1993b77e6cb685ad9aab75cf
tags: 645f666f9bcd5a90fca523b33c5a78b7
Empty file added docs/github/html/.nojekyll
Empty file.
223 changes: 223 additions & 0 deletions docs/github/html/_modules/heimdallr.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

191 changes: 191 additions & 0 deletions docs/github/html/_modules/heimdallr/server/board_layout/body.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,191 @@

<!DOCTYPE html>

<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>heimdallr.server.board_layout.body &#8212; heimdallr 0.2.7 documentation</title>
<link rel="stylesheet" type="text/css" href="../../../../_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="../../../../_static/alabaster.css" />
<link rel="stylesheet" type="text/css" href="../../../../_static/graphviz.css" />
<script data-url_root="../../../../" id="documentation_options" src="../../../../_static/documentation_options.js"></script>
<script src="../../../../_static/jquery.js"></script>
<script src="../../../../_static/underscore.js"></script>
<script src="../../../../_static/_sphinx_javascript_frameworks_compat.js"></script>
<script src="../../../../_static/doctools.js"></script>
<link rel="canonical" href="aivclab.github.io/heimdallr/_modules/heimdallr/server/board_layout/body.html" />
<link rel="index" title="Index" href="../../../../genindex.html" />
<link rel="search" title="Search" href="../../../../search.html" />

<link rel="stylesheet" href="../../../../_static/custom.css" type="text/css" />


<meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9" />

</head><body>


<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">


<div class="body" role="main">

<h1>Source code for heimdallr.server.board_layout.body</h1><div class="highlight"><pre>
<span></span><span class="ch">#!/usr/bin/env python3</span>
<span class="c1"># -*- coding: utf-8 -*-</span>

<span class="n">__author__</span> <span class="o">=</span> <span class="s2">&quot;Christian Heider Nielsen&quot;</span>
<span class="vm">__doc__</span> <span class="o">=</span> <span class="sa">r</span><span class="s2">&quot;&quot;&quot;</span>

<span class="s2"> Created on 15/03/2020</span>
<span class="s2"> &quot;&quot;&quot;</span>

<span class="kn">from</span> <span class="nn">typing</span> <span class="kn">import</span> <span class="n">List</span>

<span class="kn">from</span> <span class="nn">dash</span> <span class="kn">import</span> <span class="n">dcc</span><span class="p">,</span> <span class="n">html</span>

<span class="kn">from</span> <span class="nn">heimdallr.configuration.heimdallr_config</span> <span class="kn">import</span> <span class="p">(</span>
<span class="n">CALENDAR_ID</span><span class="p">,</span>
<span class="n">CALENDAR_INTERVAL_ID</span><span class="p">,</span>
<span class="n">CALENDAR_INTERVAL_MS</span><span class="p">,</span>
<span class="n">DU_INTERVAL_ID</span><span class="p">,</span>
<span class="n">DU_INTERVAL_MS</span><span class="p">,</span>
<span class="n">DU_TABLES_ID</span><span class="p">,</span>
<span class="n">GPU_GRAPHS_ID</span><span class="p">,</span>
<span class="n">GPU_INTERVAL_ID</span><span class="p">,</span>
<span class="n">GPU_INTERVAL_MS</span><span class="p">,</span>
<span class="n">GPU_TABLES_ID</span><span class="p">,</span>
<span class="n">TEAMS_STATUS_ID</span><span class="p">,</span>
<span class="n">TEAMS_STATUS_INTERVAL_ID</span><span class="p">,</span>
<span class="n">TEAMS_STATUS_INTERVAL_MS</span><span class="p">,</span>
<span class="p">)</span>

<span class="n">__all__</span> <span class="o">=</span> <span class="p">[</span><span class="s2">&quot;get_body&quot;</span><span class="p">]</span>


<div class="viewcode-block" id="get_body"><a class="viewcode-back" href="../../../../generated/heimdallr.server.board_layout.body.get_body.html#heimdallr.server.board_layout.body.get_body">[docs]</a><span class="k">def</span> <span class="nf">get_body</span><span class="p">()</span> <span class="o">-&gt;</span> <span class="n">List</span><span class="p">[</span><span class="n">html</span><span class="o">.</span><span class="n">Div</span><span class="p">]:</span>
<span class="sd">&quot;&quot;&quot;description&quot;&quot;&quot;</span>
<span class="k">return</span> <span class="p">[</span>
<span class="n">html</span><span class="o">.</span><span class="n">Div</span><span class="p">(</span>
<span class="p">[</span>
<span class="n">html</span><span class="o">.</span><span class="n">Div</span><span class="p">(</span>
<span class="p">[</span>
<span class="n">html</span><span class="o">.</span><span class="n">Div</span><span class="p">([],</span> <span class="nb">id</span><span class="o">=</span><span class="n">CALENDAR_ID</span><span class="p">),</span>
<span class="n">dcc</span><span class="o">.</span><span class="n">Interval</span><span class="p">(</span>
<span class="nb">id</span><span class="o">=</span><span class="n">CALENDAR_INTERVAL_ID</span><span class="p">,</span>
<span class="n">interval</span><span class="o">=</span><span class="n">CALENDAR_INTERVAL_MS</span><span class="p">,</span>
<span class="n">n_intervals</span><span class="o">=</span><span class="mi">0</span><span class="p">,</span>
<span class="p">),</span>
<span class="p">],</span>
<span class="n">className</span><span class="o">=</span><span class="s2">&quot;col p-2&quot;</span><span class="p">,</span>
<span class="p">),</span>
<span class="n">html</span><span class="o">.</span><span class="n">Div</span><span class="p">([</span><span class="n">html</span><span class="o">.</span><span class="n">Div</span><span class="p">([],</span> <span class="nb">id</span><span class="o">=</span><span class="n">GPU_GRAPHS_ID</span><span class="p">)],</span> <span class="n">className</span><span class="o">=</span><span class="s2">&quot;col&quot;</span><span class="p">),</span>
<span class="n">html</span><span class="o">.</span><span class="n">Div</span><span class="p">(</span>
<span class="p">[</span>
<span class="n">html</span><span class="o">.</span><span class="n">Div</span><span class="p">([],</span> <span class="nb">id</span><span class="o">=</span><span class="n">GPU_TABLES_ID</span><span class="p">),</span>
<span class="p">],</span>
<span class="n">className</span><span class="o">=</span><span class="s2">&quot;col p-2&quot;</span><span class="p">,</span>
<span class="p">),</span>
<span class="n">dcc</span><span class="o">.</span><span class="n">Interval</span><span class="p">(</span>
<span class="nb">id</span><span class="o">=</span><span class="n">GPU_INTERVAL_ID</span><span class="p">,</span> <span class="n">interval</span><span class="o">=</span><span class="n">GPU_INTERVAL_MS</span><span class="p">,</span> <span class="n">n_intervals</span><span class="o">=</span><span class="mi">0</span>
<span class="p">),</span>
<span class="n">html</span><span class="o">.</span><span class="n">Div</span><span class="p">(</span> <span class="c1"># Disk Usage</span>
<span class="p">[</span>
<span class="n">html</span><span class="o">.</span><span class="n">Div</span><span class="p">([],</span> <span class="nb">id</span><span class="o">=</span><span class="n">DU_TABLES_ID</span><span class="p">),</span>
<span class="n">dcc</span><span class="o">.</span><span class="n">Interval</span><span class="p">(</span>
<span class="nb">id</span><span class="o">=</span><span class="n">DU_INTERVAL_ID</span><span class="p">,</span> <span class="n">interval</span><span class="o">=</span><span class="n">DU_INTERVAL_MS</span><span class="p">,</span> <span class="n">n_intervals</span><span class="o">=</span><span class="mi">0</span>
<span class="p">),</span>
<span class="p">],</span>
<span class="n">className</span><span class="o">=</span><span class="s2">&quot;col p-2&quot;</span><span class="p">,</span>
<span class="p">),</span>
<span class="p">],</span>
<span class="n">className</span><span class="o">=</span><span class="s2">&quot;row p-2&quot;</span><span class="p">,</span>
<span class="p">),</span>
<span class="n">html</span><span class="o">.</span><span class="n">Div</span><span class="p">(</span> <span class="c1"># Teams Status</span>
<span class="p">[</span>
<span class="n">html</span><span class="o">.</span><span class="n">Div</span><span class="p">([],</span> <span class="nb">id</span><span class="o">=</span><span class="n">TEAMS_STATUS_ID</span><span class="p">,</span> <span class="n">className</span><span class="o">=</span><span class="s2">&quot;col&quot;</span><span class="p">),</span>
<span class="n">dcc</span><span class="o">.</span><span class="n">Interval</span><span class="p">(</span>
<span class="nb">id</span><span class="o">=</span><span class="n">TEAMS_STATUS_INTERVAL_ID</span><span class="p">,</span>
<span class="n">interval</span><span class="o">=</span><span class="n">TEAMS_STATUS_INTERVAL_MS</span><span class="p">,</span>
<span class="n">n_intervals</span><span class="o">=</span><span class="mi">0</span><span class="p">,</span>
<span class="p">),</span>
<span class="p">],</span>
<span class="n">className</span><span class="o">=</span><span class="s2">&quot;row p-1&quot;</span><span class="p">,</span>
<span class="p">),</span>
<span class="p">]</span></div>
</pre></div>

</div>

</div>
</div>
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
<div class="sphinxsidebarwrapper">
<h1 class="logo"><a href="../../../../index.html">heimdallr</a></h1>








<h3>Navigation</h3>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../../../../generated/heimdallr.html">heimdallr</a></li>
</ul>
<p class="caption" role="heading"><span class="caption-text">Notes</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../../../../getting_started.html">Getting Started</a></li>
</ul>

<div class="relations">
<h3>Related Topics</h3>
<ul>
<li><a href="../../../../index.html">Documentation overview</a><ul>
<li><a href="../../../index.html">Module code</a><ul>
<li><a href="../../../heimdallr.html">heimdallr</a><ul>
</ul></li>
</ul></li>
</ul></li>
</ul>
</div>
<div id="searchbox" style="display: none" role="search">
<h3 id="searchlabel">Quick search</h3>
<div class="searchformwrapper">
<form class="search" action="../../../../search.html" method="get">
<input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
<input type="submit" value="Go" />
</form>
</div>
</div>
<script>document.getElementById('searchbox').style.display = "block"</script>








</div>
</div>
<div class="clearer"></div>
</div>
<div class="footer">
&copy;.

|
Powered by <a href="http://sphinx-doc.org/">Sphinx 5.0.2</a>
&amp; <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.12</a>

</div>




</body>
</html>
Loading

0 comments on commit 24a61f3

Please sign in to comment.