Skip to content

Commit

Permalink
restructure project for building a pip installable package
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Goetz committed Jun 15, 2021
1 parent 356eed9 commit 41e45e2
Show file tree
Hide file tree
Showing 66 changed files with 1,489 additions and 1,005 deletions.
2 changes: 1 addition & 1 deletion Fit
14 changes: 0 additions & 14 deletions GarminDB/__init__.py

This file was deleted.

30 changes: 2 additions & 28 deletions statistics.ipynb → Jupyter/daily.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -24,32 +24,6 @@
"nbformat": 4,
"nbformat_minor": 2,
"cells": [
{
"source": [
"# Summary Data by Weeks"
],
"cell_type": "markdown",
"metadata": {}
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"import matplotlib.pyplot as plt\n",
"from graphs import Graph\n",
"\n",
"graph = Graph()\n",
"\n",
"def draw():\n",
" graph.graph_activity('hr')\n",
" graph.graph_activity('itime')\n",
" graph.graph_activity('steps')\n",
" graph.graph_activity('weight')\n",
"\n"
]
},
{
"source": [
"# Daily Summaries for the Last Seven Days"
Expand All @@ -64,9 +38,9 @@
"outputs": [],
"source": [
"import datetime\n",
"from graphs import Graph\n",
"import garmindb\n",
"\n",
"graph = Graph()\n",
"graph = garmindb.Graph()\n",
"\n",
"graph.graph_date(datetime.date.today() - datetime.timedelta(days = 1))\n",
"graph.graph_date(datetime.date.today() - datetime.timedelta(days = 2))\n",
Expand Down
59 changes: 59 additions & 0 deletions Jupyter/summary.ipynb
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
{
"metadata": {
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.5"
},
"orig_nbformat": 4,
"kernelspec": {
"name": "python3",
"display_name": "Python 3.9.5 64-bit ('.venv')"
},
"interpreter": {
"hash": "d4f50e87ad7f9cd136d9d3dcf547b8236ee2585f92d0ab7c53dfb80e44e3fae9"
}
},
"nbformat": 4,
"nbformat_minor": 2,
"cells": [
{
"source": [
"# Summary Data by Weeks"
],
"cell_type": "markdown",
"metadata": {}
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"import garmindb\n",
"\n",
"graph = garmindb.Graph()\n",
"\n",
"graph.graph_activity('hr')\n",
"graph.graph_activity('itime')\n",
"graph.graph_activity('steps')\n",
"graph.graph_activity('weight')\n",
"\n"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
]
}
Loading

0 comments on commit 41e45e2

Please sign in to comment.