Skip to content

Commit

Permalink
new build
Browse files Browse the repository at this point in the history
  • Loading branch information
hammerdirt committed Mar 21, 2024
1 parent f7bdc0c commit 5867557
Show file tree
Hide file tree
Showing 20 changed files with 3,098 additions and 3,054 deletions.
Binary file modified _build/.doctrees/environment.pickle
Binary file not shown.
Binary file modified _build/.doctrees/grids_2023.doctree
Binary file not shown.
Binary file modified _build/.doctrees/plastic_shotgun_wadding.doctree
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion _build/jupyter_execute/grids_2023.glue.json

Large diffs are not rendered by default.

1,200 changes: 636 additions & 564 deletions _build/jupyter_execute/grids_2023.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion _build/jupyter_execute/plastic_shotgun_wadding.glue.json

Large diffs are not rendered by default.

173 changes: 119 additions & 54 deletions _build/jupyter_execute/plastic_shotgun_wadding.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -530,116 +530,116 @@
"data": {
"text/html": [
"<style type=\"text/css\">\n",
"#T_75ad1 tr:nth-child(even) {\n",
"#T_92448 tr:nth-child(even) {\n",
" background-color: rgba(139, 69, 19, 0.08);\n",
"}\n",
"#T_75ad1 tr:nth-child(odd) {\n",
"#T_92448 tr:nth-child(odd) {\n",
" background: #FFF;\n",
"}\n",
"#T_75ad1 tr {\n",
"#T_92448 tr {\n",
" font-size: 14px;\n",
"}\n",
"#T_75ad1 th:nth-child(1) {\n",
"#T_92448 th:nth-child(1) {\n",
" background-color: #FFF;\n",
" text-align: right;\n",
"}\n",
"#T_75ad1 caption {\n",
"#T_92448 caption {\n",
" font-size: 14px;\n",
" font-style: italic;\n",
" caption-side: bottom;\n",
" text-align: left;\n",
" margin-top: 10px;\n",
"}\n",
"</style>\n",
"<table id=\"T_75ad1\">\n",
"<table id=\"T_92448\">\n",
" <thead>\n",
" <tr>\n",
" <th class=\"blank level0\" >&nbsp;</th>\n",
" <th id=\"T_75ad1_level0_col0\" class=\"col_heading level0 col0\" >pcs/m</th>\n",
" <th id=\"T_75ad1_level0_col1\" class=\"col_heading level0 col1\" >nsamples</th>\n",
" <th id=\"T_92448_level0_col0\" class=\"col_heading level0 col0\" >pcs/m</th>\n",
" <th id=\"T_92448_level0_col1\" class=\"col_heading level0 col1\" >nsamples</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th id=\"T_75ad1_level0_row0\" class=\"row_heading level0 row0\" >Saint-Gingolph</th>\n",
" <td id=\"T_75ad1_row0_col0\" class=\"data row0 col0\" >0.68</td>\n",
" <td id=\"T_75ad1_row0_col1\" class=\"data row0 col1\" >13</td>\n",
" <th id=\"T_92448_level0_row0\" class=\"row_heading level0 row0\" >Saint-Gingolph</th>\n",
" <td id=\"T_92448_row0_col0\" class=\"data row0 col0\" >0.68</td>\n",
" <td id=\"T_92448_row0_col1\" class=\"data row0 col1\" >13</td>\n",
" </tr>\n",
" <tr>\n",
" <th id=\"T_75ad1_level0_row1\" class=\"row_heading level0 row1\" >Allaman</th>\n",
" <td id=\"T_75ad1_row1_col0\" class=\"data row1 col0\" >0.14</td>\n",
" <td id=\"T_75ad1_row1_col1\" class=\"data row1 col1\" >3</td>\n",
" <th id=\"T_92448_level0_row1\" class=\"row_heading level0 row1\" >Allaman</th>\n",
" <td id=\"T_92448_row1_col0\" class=\"data row1 col0\" >0.14</td>\n",
" <td id=\"T_92448_row1_col1\" class=\"data row1 col1\" >3</td>\n",
" </tr>\n",
" <tr>\n",
" <th id=\"T_75ad1_level0_row2\" class=\"row_heading level0 row2\" >Bourg-en-Lavaux</th>\n",
" <td id=\"T_75ad1_row2_col0\" class=\"data row2 col0\" >0.12</td>\n",
" <td id=\"T_75ad1_row2_col1\" class=\"data row2 col1\" >2</td>\n",
" <th id=\"T_92448_level0_row2\" class=\"row_heading level0 row2\" >Bourg-en-Lavaux</th>\n",
" <td id=\"T_92448_row2_col0\" class=\"data row2 col0\" >0.12</td>\n",
" <td id=\"T_92448_row2_col1\" class=\"data row2 col1\" >2</td>\n",
" </tr>\n",
" <tr>\n",
" <th id=\"T_75ad1_level0_row3\" class=\"row_heading level0 row3\" >La Tour-de-Peilz</th>\n",
" <td id=\"T_75ad1_row3_col0\" class=\"data row3 col0\" >0.12</td>\n",
" <td id=\"T_75ad1_row3_col1\" class=\"data row3 col1\" >25</td>\n",
" <th id=\"T_92448_level0_row3\" class=\"row_heading level0 row3\" >La Tour-de-Peilz</th>\n",
" <td id=\"T_92448_row3_col0\" class=\"data row3 col0\" >0.12</td>\n",
" <td id=\"T_92448_row3_col1\" class=\"data row3 col1\" >25</td>\n",
" </tr>\n",
" <tr>\n",
" <th id=\"T_75ad1_level0_row4\" class=\"row_heading level0 row4\" >Montreux</th>\n",
" <td id=\"T_75ad1_row4_col0\" class=\"data row4 col0\" >0.11</td>\n",
" <td id=\"T_75ad1_row4_col1\" class=\"data row4 col1\" >53</td>\n",
" <th id=\"T_92448_level0_row4\" class=\"row_heading level0 row4\" >Montreux</th>\n",
" <td id=\"T_92448_row4_col0\" class=\"data row4 col0\" >0.11</td>\n",
" <td id=\"T_92448_row4_col1\" class=\"data row4 col1\" >53</td>\n",
" </tr>\n",
" <tr>\n",
" <th id=\"T_75ad1_level0_row5\" class=\"row_heading level0 row5\" >Vevey</th>\n",
" <td id=\"T_75ad1_row5_col0\" class=\"data row5 col0\" >0.11</td>\n",
" <td id=\"T_75ad1_row5_col1\" class=\"data row5 col1\" >44</td>\n",
" <th id=\"T_92448_level0_row5\" class=\"row_heading level0 row5\" >Vevey</th>\n",
" <td id=\"T_92448_row5_col0\" class=\"data row5 col0\" >0.11</td>\n",
" <td id=\"T_92448_row5_col1\" class=\"data row5 col1\" >44</td>\n",
" </tr>\n",
" <tr>\n",
" <th id=\"T_75ad1_level0_row6\" class=\"row_heading level0 row6\" >Saint-Sulpice (VD)</th>\n",
" <td id=\"T_75ad1_row6_col0\" class=\"data row6 col0\" >0.06</td>\n",
" <td id=\"T_75ad1_row6_col1\" class=\"data row6 col1\" >15</td>\n",
" <th id=\"T_92448_level0_row6\" class=\"row_heading level0 row6\" >Saint-Sulpice (VD)</th>\n",
" <td id=\"T_92448_row6_col0\" class=\"data row6 col0\" >0.06</td>\n",
" <td id=\"T_92448_row6_col1\" class=\"data row6 col1\" >15</td>\n",
" </tr>\n",
" <tr>\n",
" <th id=\"T_75ad1_level0_row7\" class=\"row_heading level0 row7\" >Versoix</th>\n",
" <td id=\"T_75ad1_row7_col0\" class=\"data row7 col0\" >0.05</td>\n",
" <td id=\"T_75ad1_row7_col1\" class=\"data row7 col1\" >4</td>\n",
" <th id=\"T_92448_level0_row7\" class=\"row_heading level0 row7\" >Versoix</th>\n",
" <td id=\"T_92448_row7_col0\" class=\"data row7 col0\" >0.05</td>\n",
" <td id=\"T_92448_row7_col1\" class=\"data row7 col1\" >4</td>\n",
" </tr>\n",
" <tr>\n",
" <th id=\"T_75ad1_level0_row8\" class=\"row_heading level0 row8\" >Genève</th>\n",
" <td id=\"T_75ad1_row8_col0\" class=\"data row8 col0\" >0.03</td>\n",
" <td id=\"T_75ad1_row8_col1\" class=\"data row8 col1\" >29</td>\n",
" <th id=\"T_92448_level0_row8\" class=\"row_heading level0 row8\" >Genève</th>\n",
" <td id=\"T_92448_row8_col0\" class=\"data row8 col0\" >0.03</td>\n",
" <td id=\"T_92448_row8_col1\" class=\"data row8 col1\" >29</td>\n",
" </tr>\n",
" <tr>\n",
" <th id=\"T_75ad1_level0_row9\" class=\"row_heading level0 row9\" >Préverenges</th>\n",
" <td id=\"T_75ad1_row9_col0\" class=\"data row9 col0\" >0.01</td>\n",
" <td id=\"T_75ad1_row9_col1\" class=\"data row9 col1\" >15</td>\n",
" <th id=\"T_92448_level0_row9\" class=\"row_heading level0 row9\" >Préverenges</th>\n",
" <td id=\"T_92448_row9_col0\" class=\"data row9 col0\" >0.01</td>\n",
" <td id=\"T_92448_row9_col1\" class=\"data row9 col1\" >15</td>\n",
" </tr>\n",
" <tr>\n",
" <th id=\"T_75ad1_level0_row10\" class=\"row_heading level0 row10\" >Tolochenaz</th>\n",
" <td id=\"T_75ad1_row10_col0\" class=\"data row10 col0\" >0.01</td>\n",
" <td id=\"T_75ad1_row10_col1\" class=\"data row10 col1\" >3</td>\n",
" <th id=\"T_92448_level0_row10\" class=\"row_heading level0 row10\" >Tolochenaz</th>\n",
" <td id=\"T_92448_row10_col0\" class=\"data row10 col0\" >0.01</td>\n",
" <td id=\"T_92448_row10_col1\" class=\"data row10 col1\" >3</td>\n",
" </tr>\n",
" <tr>\n",
" <th id=\"T_75ad1_level0_row11\" class=\"row_heading level0 row11\" >Lausanne</th>\n",
" <td id=\"T_75ad1_row11_col0\" class=\"data row11 col0\" >0.01</td>\n",
" <td id=\"T_75ad1_row11_col1\" class=\"data row11 col1\" >20</td>\n",
" <th id=\"T_92448_level0_row11\" class=\"row_heading level0 row11\" >Lausanne</th>\n",
" <td id=\"T_92448_row11_col0\" class=\"data row11 col0\" >0.01</td>\n",
" <td id=\"T_92448_row11_col1\" class=\"data row11 col1\" >20</td>\n",
" </tr>\n",
" <tr>\n",
" <th id=\"T_75ad1_level0_row12\" class=\"row_heading level0 row12\" >Gland</th>\n",
" <td id=\"T_75ad1_row12_col0\" class=\"data row12 col0\" >0.00</td>\n",
" <td id=\"T_75ad1_row12_col1\" class=\"data row12 col1\" >22</td>\n",
" <th id=\"T_92448_level0_row12\" class=\"row_heading level0 row12\" >Gland</th>\n",
" <td id=\"T_92448_row12_col0\" class=\"data row12 col0\" >0.00</td>\n",
" <td id=\"T_92448_row12_col1\" class=\"data row12 col1\" >22</td>\n",
" </tr>\n",
" <tr>\n",
" <th id=\"T_75ad1_level0_row13\" class=\"row_heading level0 row13\" >Morges</th>\n",
" <td id=\"T_75ad1_row13_col0\" class=\"data row13 col0\" >0.00</td>\n",
" <td id=\"T_75ad1_row13_col1\" class=\"data row13 col1\" >1</td>\n",
" <th id=\"T_92448_level0_row13\" class=\"row_heading level0 row13\" >Morges</th>\n",
" <td id=\"T_92448_row13_col0\" class=\"data row13 col0\" >0.00</td>\n",
" <td id=\"T_92448_row13_col1\" class=\"data row13 col1\" >1</td>\n",
" </tr>\n",
" <tr>\n",
" <th id=\"T_75ad1_level0_row14\" class=\"row_heading level0 row14\" >Rolle</th>\n",
" <td id=\"T_75ad1_row14_col0\" class=\"data row14 col0\" >0.00</td>\n",
" <td id=\"T_75ad1_row14_col1\" class=\"data row14 col1\" >1</td>\n",
" <th id=\"T_92448_level0_row14\" class=\"row_heading level0 row14\" >Rolle</th>\n",
" <td id=\"T_92448_row14_col0\" class=\"data row14 col0\" >0.00</td>\n",
" <td id=\"T_92448_row14_col1\" class=\"data row14 col1\" >1</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n"
],
"text/plain": [
"<pandas.io.formats.style.Styler at 0x7896afd57f40>"
"<pandas.io.formats.style.Styler at 0x7a2c708f6250>"
]
},
"metadata": {
Expand All @@ -661,6 +661,71 @@
"cp = cpm.style.set_table_styles(table_css_styles).format(precision=2)\n",
"glue('city_rankings', cp, display=True)"
]
},
{
"cell_type": "code",
"execution_count": 9,
"id": "989efbdc-f400-4894-8424-a5c4856595ca",
"metadata": {
"editable": true,
"pycharm": {
"name": "#%%\n"
},
"slideshow": {
"slide_type": ""
},
"tags": [
"remove-input"
]
},
"outputs": [
{
"data": {
"text/markdown": [
"\n",
"\n",
"This script updated 21/03/2024 in Biel, CH\n",
"\n",
"❤️ __what you do everyday:__ *analyst at hammerdirt*\n"
],
"text/plain": [
"<IPython.core.display.Markdown object>"
]
},
"execution_count": 9,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"import datetime as dt\n",
"from IPython.display import Markdown as md\n",
"today = dt.datetime.now().date().strftime(\"%d/%m/%Y\")\n",
"where = \"Biel, CH\"\n",
"\n",
"my_block = f\"\"\"\n",
"\n",
"This script updated {today} in {where}\n",
"\n",
"\\u2764\\ufe0f __what you do everyday:__ *analyst at hammerdirt*\n",
"\"\"\"\n",
"\n",
"md(my_block)"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "11d8473e-9271-4828-b1fc-ecbcf2f28765",
"metadata": {
"editable": true,
"slideshow": {
"slide_type": ""
},
"tags": []
},
"outputs": [],
"source": []
}
],
"metadata": {
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit 5867557

Please sign in to comment.