Skip to content

Commit

Permalink
0.517
Browse files Browse the repository at this point in the history
  • Loading branch information
sizhky committed Dec 25, 2023
1 parent 21d54b4 commit 9fc6d8a
Show file tree
Hide file tree
Showing 14 changed files with 68 additions and 46 deletions.
2 changes: 1 addition & 1 deletion _proc/decorators.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@
"OUTPUTS:\n",
"int: 21\n",
"══════════════════════════════════════════════════════════════════\n",
"[12/25/23 17:14:46] INFO foo took 1.01 seconds to execute <ipython-input-1-2384d961f6ef>:wrapper:7\n"
"[12/25/23 17:20:39] INFO foo took 1.03 seconds to execute <ipython-input-1-2384d961f6ef>:wrapper:7\n"
]
},
{
Expand Down
4 changes: 2 additions & 2 deletions _proc/jupyter_notebook.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -213,15 +213,15 @@
"### display_dfs_side_by_side\n",
"\n",
"> display_dfs_side_by_side (*args, titles=<itertools.cycle object at\n",
"> 0x7feb97a4a880>, max_rows=50)"
"> 0x7fca9e249180>, max_rows=50)"
],
"text/plain": [
"---\n",
"\n",
"### display_dfs_side_by_side\n",
"\n",
"> display_dfs_side_by_side (*args, titles=<itertools.cycle object at\n",
"> 0x7feb97a4a880>, max_rows=50)"
"> 0x7fca9e249180>, max_rows=50)"
]
},
"execution_count": 6,
Expand Down
2 changes: 1 addition & 1 deletion _proc/markups.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"[12/25/23 17:14:45] INFO loaded 8 lines <ipython-input-1-e6d68859b80d>:<module>:6\n",
"[12/25/23 17:20:38] INFO loaded 8 lines <ipython-input-1-e6d68859b80d>:<module>:6\n",
"{\n",
"\"a\": [\n",
"1.0,\n",
Expand Down
4 changes: 4 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

#### 0.517

🐞 `print_shapes_hook` will gracefully fail

#### 0.516

🐞 `attach` will add hook to the input module as well (not just the children)
Expand Down
6 changes: 3 additions & 3 deletions conda/torch_snippets/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package:
name: torch_snippets
version: '0.516'
version: '0.517'
source:
sha256: e8085ad6d1adc834a0ba1a267361dbeee148cfe2f117d2b6332137cdc2b39a76
url: https://files.pythonhosted.org/packages/fe/39/743bb8dd223dad384b7e83c2618658caa9c56256985833767c75400016be/torch_snippets-0.516.tar.gz
sha256: aa7ed4b2b1a755e90d7983d8e159a1f9784fe7aa6c361845c45117c02b3368cb
url: https://files.pythonhosted.org/packages/40/62/d2d4b822f6e71c7f93f3f6ceb0326c88b5c64888b71d7bd0df8ceacfc3fb/torch_snippets-0.517.tar.gz
about:
description: "# Utilities for simple needs\n\n\n\n## torch snippets does a lot of\
\ default importing for you\nWhether it is numpy, pandas, matplotlib or the useful\
Expand Down
2 changes: 1 addition & 1 deletion docs/decorators.html
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ <h3 class="anchored" data-anchor-id="timeit">timeit</h3>
OUTPUTS:
int: 21
══════════════════════════════════════════════════════════════════
[12/25/23 17:14:46] INFO foo took 1.01 seconds to execute &lt;ipython-input-1-2384d961f6ef&gt;:wrapper:7</code></pre>
[12/25/23 17:20:39] INFO foo took 1.03 seconds to execute &lt;ipython-input-1-2384d961f6ef&gt;:wrapper:7</code></pre>
</div>
<div class="cell-output cell-output-display" data-execution_count="4">
<pre><code>21</code></pre>
Expand Down
2 changes: 1 addition & 1 deletion docs/jupyter_notebook.html
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ <h3 class="anchored" data-anchor-id="show_big_dataframe">show_big_dataframe</h3>
<h3 class="anchored" data-anchor-id="display_dfs_side_by_side">display_dfs_side_by_side</h3>
<blockquote class="blockquote">
<pre><code> display_dfs_side_by_side (*args, titles=&lt;itertools.cycle object at
0x7feb97a4a880&gt;, max_rows=50)</code></pre>
0x7fca9e249180&gt;, max_rows=50)</code></pre>
</blockquote>
<hr>
</section>
Expand Down
2 changes: 1 addition & 1 deletion docs/markups.html
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ <h3 class="anchored" data-anchor-id="read_json">read_json</h3>
<span id="cb9-7"><a href="#cb9-7" aria-hidden="true" tabindex="-1"></a><span class="cf">except</span> ModuleNotFoundError:</span>
<span id="cb9-8"><a href="#cb9-8" aria-hidden="true" tabindex="-1"></a> ...</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<div class="cell-output cell-output-stdout">
<pre><code>[12/25/23 17:14:45] INFO loaded 8 lines &lt;ipython-input-1-e6d68859b80d&gt;:&lt;module&gt;:6
<pre><code>[12/25/23 17:20:38] INFO loaded 8 lines &lt;ipython-input-1-e6d68859b80d&gt;:&lt;module&gt;:6
{
"a": [
1.0,
Expand Down
Loading

0 comments on commit 9fc6d8a

Please sign in to comment.