Skip to content

Commit

Permalink
👯‍♀️ interactive enhacne
Browse files Browse the repository at this point in the history
  • Loading branch information
raynardj committed Dec 23, 2021
1 parent 807c735 commit 0a892bb
Show file tree
Hide file tree
Showing 15 changed files with 1,876 additions and 131 deletions.
7 changes: 5 additions & 2 deletions docs/_data/sidebars/home_sidebar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ entries:
- output: web,pdf
title: FreeMap
url: freemap.html
- output: web,pdf
title: Multiprocessing Helper
url: multiprocess.html
- output: web,pdf
title: Controllable loop process
url: loop.html
Expand Down Expand Up @@ -67,8 +70,8 @@ entries:
title: Wild Tree and loss
url: wild_tree_and_loss.html
- output: web,pdf
title: Images
url: widgets.html
title: Image Widgets
url: image_widgets.html
- output: web,pdf
title: Categorical Transformation for DL
url: category.html
Expand Down
101 changes: 94 additions & 7 deletions docs/html.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@


<div class="output_markdown rendered_html output_subarea ">
<h2 id="DOM" class="doc_header"><code>class</code> <code>DOM</code><a href="https://github.com/raynardj/forgebox/tree/master/forgebox/html.py#L8" class="source_link" style="float:right">[source]</a></h2><blockquote><p><code>DOM</code>(<strong><code>txt</code></strong>, <strong><code>tag</code></strong>, <strong><code>kwargs</code></strong>=<em><code>{}</code></em>)</p>
<h2 id="DOM" class="doc_header"><code>class</code> <code>DOM</code><a href="https://github.com/raynardj/forgebox/tree/master/forgebox/html.py#L9" class="source_link" style="float:right">[source]</a></h2><blockquote><p><code>DOM</code>(<strong><code>txt</code></strong>, <strong><code>tag</code></strong>, <strong><code>kwargs</code></strong>=<em><code>{}</code></em>)</p>
</blockquote>

</div>
Expand Down Expand Up @@ -353,7 +353,94 @@ <h2 id="DOM-operation">DOM operation<a class="anchor-link" href="#DOM-operation"


<div class="output_markdown rendered_html output_subarea ">
<h4 id="deeper" class="doc_header"><code>deeper</code><a href="https://github.com/raynardj/forgebox/tree/master/forgebox/html.py#L64" class="source_link" style="float:right">[source]</a></h4><blockquote><p><code>deeper</code>(<strong><code>x</code></strong>)</p>
<h4 id="image_to_base64" class="doc_header"><code>image_to_base64</code><a href="https://github.com/raynardj/forgebox/tree/master/forgebox/html.py#L69" class="source_link" style="float:right">[source]</a></h4><blockquote><p><code>image_to_base64</code>(<strong><code>img</code></strong>:<code>Image</code>)</p>
</blockquote>
<p>Transform PIL Image to base64 for API
Return:</p>

<pre><code>- base64 encoded image bytes</code></pre>

</div>

</div>

</div>
</div>

</div>
{% endraw %}

{% raw %}

<div class="cell border-box-sizing code_cell rendered">

<div class="output_wrapper">
<div class="output">

<div class="output_area">


<div class="output_markdown rendered_html output_subarea ">
<h4 id="data_url" class="doc_header"><code>data_url</code><a href="https://github.com/raynardj/forgebox/tree/master/forgebox/html.py#L84" class="source_link" style="float:right">[source]</a></h4><blockquote><p><code>data_url</code>(<strong><code>img</code></strong>:<code>Image</code>)</p>
</blockquote>
<p>Return:</p>

<pre><code>- data url string,
can be used as the src value of &lt;img&gt;</code></pre>

</div>

</div>

</div>
</div>

</div>
{% endraw %}

{% raw %}

<div class="cell border-box-sizing code_cell rendered">

<div class="output_wrapper">
<div class="output">

<div class="output_area">


<div class="output_markdown rendered_html output_subarea ">
<h4 id="img_dom" class="doc_header"><code>img_dom</code><a href="https://github.com/raynardj/forgebox/tree/master/forgebox/html.py#L94" class="source_link" style="float:right">[source]</a></h4><blockquote><p><code>img_dom</code>(<strong><code>img</code></strong>:<code>Image</code>)</p>
</blockquote>

</div>

</div>

</div>
</div>

</div>
{% endraw %}

{% raw %}

<div class="cell border-box-sizing code_cell rendered">

</div>
{% endraw %}

{% raw %}

<div class="cell border-box-sizing code_cell rendered">

<div class="output_wrapper">
<div class="output">

<div class="output_area">


<div class="output_markdown rendered_html output_subarea ">
<h4 id="deeper" class="doc_header"><code>deeper</code><a href="https://github.com/raynardj/forgebox/tree/master/forgebox/html.py#L99" class="source_link" style="float:right">[source]</a></h4><blockquote><p><code>deeper</code>(<strong><code>x</code></strong>)</p>
</blockquote>

</div>
Expand All @@ -377,7 +464,7 @@ <h4 id="deeper" class="doc_header"><code>deeper</code><a href="https://github.co


<div class="output_markdown rendered_html output_subarea ">
<h4 id="list_group" class="doc_header"><code>list_group</code><a href="https://github.com/raynardj/forgebox/tree/master/forgebox/html.py#L71" class="source_link" style="float:right">[source]</a></h4><blockquote><p><code>list_group</code>(<strong><code>iterable</code></strong>)</p>
<h4 id="list_group" class="doc_header"><code>list_group</code><a href="https://github.com/raynardj/forgebox/tree/master/forgebox/html.py#L111" class="source_link" style="float:right">[source]</a></h4><blockquote><p><code>list_group</code>(<strong><code>iterable</code></strong>)</p>
</blockquote>

</div>
Expand Down Expand Up @@ -408,7 +495,7 @@ <h4 id="list_group" class="doc_header"><code>list_group</code><a href="https://g


<div class="output_markdown rendered_html output_subarea ">
<h4 id="col_sm" class="doc_header"><code>col_sm</code><a href="https://github.com/raynardj/forgebox/tree/master/forgebox/html.py#L80" class="source_link" style="float:right">[source]</a></h4><blockquote><p><code>col_sm</code>(<strong><code>iterable</code></strong>, <strong><code>portions</code></strong>=<em><code>None</code></em>)</p>
<h4 id="col_sm" class="doc_header"><code>col_sm</code><a href="https://github.com/raynardj/forgebox/tree/master/forgebox/html.py#L122" class="source_link" style="float:right">[source]</a></h4><blockquote><p><code>col_sm</code>(<strong><code>iterable</code></strong>, <strong><code>portions</code></strong>=<em><code>None</code></em>)</p>
</blockquote>

</div>
Expand Down Expand Up @@ -503,7 +590,7 @@ <h4 id="col_sm" class="doc_header"><code>col_sm</code><a href="https://github.co


<div class="output_markdown rendered_html output_subarea ">
<h4 id="list_group_kv" class="doc_header"><code>list_group_kv</code><a href="https://github.com/raynardj/forgebox/tree/master/forgebox/html.py#L90" class="source_link" style="float:right">[source]</a></h4><blockquote><p><code>list_group_kv</code>(<strong><code>data</code></strong>)</p>
<h4 id="list_group_kv" class="doc_header"><code>list_group_kv</code><a href="https://github.com/raynardj/forgebox/tree/master/forgebox/html.py#L131" class="source_link" style="float:right">[source]</a></h4><blockquote><p><code>list_group_kv</code>(<strong><code>data</code></strong>)</p>
</blockquote>

</div>
Expand Down Expand Up @@ -654,7 +741,7 @@ <h3 id="A-class-designed-for-running-javascript">A class designed for running ja


<div class="output_markdown rendered_html output_subarea ">
<h4 id="JS" class="doc_header"><code>JS</code><a href="https://github.com/raynardj/forgebox/tree/master/forgebox/html.py#L100" class="source_link" style="float:right">[source]</a></h4><blockquote><p><code>JS</code>(<strong><code>code</code></strong>)</p>
<h4 id="JS" class="doc_header"><code>JS</code><a href="https://github.com/raynardj/forgebox/tree/master/forgebox/html.py#L141" class="source_link" style="float:right">[source]</a></h4><blockquote><p><code>JS</code>(<strong><code>code</code></strong>)</p>
</blockquote>

</div>
Expand All @@ -678,7 +765,7 @@ <h4 id="JS" class="doc_header"><code>JS</code><a href="https://github.com/raynar


<div class="output_markdown rendered_html output_subarea ">
<h4 id="JS_file" class="doc_header"><code>JS_file</code><a href="https://github.com/raynardj/forgebox/tree/master/forgebox/html.py#L103" class="source_link" style="float:right">[source]</a></h4><blockquote><p><code>JS_file</code>(<strong><code>path</code></strong>)</p>
<h4 id="JS_file" class="doc_header"><code>JS_file</code><a href="https://github.com/raynardj/forgebox/tree/master/forgebox/html.py#L144" class="source_link" style="float:right">[source]</a></h4><blockquote><p><code>JS_file</code>(<strong><code>path</code></strong>)</p>
</blockquote>
<p>load javascript file</p>

Expand Down
Loading

0 comments on commit 0a892bb

Please sign in to comment.