From 9016bf296aa01bbfb10ad1d5c46b892a9658080f Mon Sep 17 00:00:00 2001 From: ltcptgeneral <35508619+ltcptgeneral@users.noreply.github.com> Date: Tue, 5 Feb 2019 09:42:00 -0600 Subject: [PATCH] created superscript.py, tbarequest.py v 1.0.1.000, edited repack_json.py changelog tbarequest.py: - fixed a simple error --- .../__pycache__/analysis.cpython-37.pyc | Bin 24982 -> 25029 bytes .../__pycache__/repack_json.cpython-37.pyc | Bin 0 -> 1106 bytes .../__pycache__/titanlearn.cpython-37.pyc | Bin 0 -> 4864 bytes .../__pycache__/visualization.cpython-37.pyc | Bin 0 -> 3908 bytes data analysis/repack_json.py | 2 +- data analysis/superscript.py | 3 +++ data analysis/tbarequest.py | 4 +++- 7 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 data analysis/__pycache__/repack_json.cpython-37.pyc create mode 100644 data analysis/__pycache__/titanlearn.cpython-37.pyc create mode 100644 data analysis/__pycache__/visualization.cpython-37.pyc create mode 100644 data analysis/superscript.py diff --git a/data analysis/__pycache__/analysis.cpython-37.pyc b/data analysis/__pycache__/analysis.cpython-37.pyc index 780c3cb70ff56a424a002089cfa927f7d9c31036..b6cf7f1ee4d16413e60593625355541580035b9e 100644 GIT binary patch delta 6936 zcmbUl3s6+ob?^RJJ|Z9pqOS5?ls^I@;vx|d6*Pd#6I~vA-!3cr^S+0IX-YD&Hc69q zk{dJCNt%y!Y?@Agn}4Pgt&?9f>DYFrpVw)|nNHF;({a*tnr1Rh(sS-23!5dTUFDqn zJ^yp=z3<`6jb zFXandAQb>!695iHN&|1E~B&tdSx@z0$mGq*Fv|PTA^o!UJ3Lns115H=#|n+Y6k*k z)J4+(m(wch09--W(R9F-bUn=g?4s2)6L1x+p;>^}(OS9$@OoNDvjJDrdfEWEhBnfr zfNSYY6U~7}9o;~40oT)Jng_Unw$NpO8)+-e2i!zA(l)>w=q6eKxS6)o&462I2i*d= z6~uMZP7t?KXuOfibSv#TNu)M<3*81QHqman9dJACp*sL?roD9MNy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oZ!*6qN6_WU91=6kTGNeaERd<=Foq%$b zZg|U6&S+}riFy|)k6CRKRf?E?hSUe&7&>F+XN>auvl`9B?9dxBjB_UWYoqB&g3a%{ zRT7}>l+IncdNo?V2By=w+F4oxb6N1tWlk$suU%O0fZ>udpwtD~-~RLUo4upvPGQvqdIm=wp*U(1wk*0j6wvBP76PnG#~?78)__ zME$%~Ii$fX4w4UutbpiJ!q=lDZv$v^wcU>jFusdNEw51O1KMkRNHFqBg-FUi`b41_ zxa*tMqY98L>cW@RnIoAd>c~}^{+x&@kPhhqm>r~(GrmS43Zp0J|2u``FL3-zj+rN^ z{~Jx@FKOpjdxYwx-=V*x0MPh7di8yf7Lz}t;Y~f&ZsUHYKPc_CuD9Ehe>|90+igBj zxYNOxz$Xcq*_11~Z1CL$0tm?0_Y zBn7G@=SnirAsjMy6BWq1d?W3NK@z<~ujX`nxt?pguFa1Ae5Zz6YXP`)(kYkBZywYw KH>#y7=KlssS8{y- literal 0 HcmV?d00001 diff --git a/data analysis/repack_json.py b/data analysis/repack_json.py index 2abfa8a6..12712d94 100644 --- a/data analysis/repack_json.py +++ b/data analysis/repack_json.py @@ -4,7 +4,7 @@ import ordereddict import collections import unicodecsv -content = open("realtimeDatabaseExport2018.json").read() +content = open("data/realtimeDatabaseExport2018.json").read() dict_content = json.loads(content) list_of_new_data = [] diff --git a/data analysis/superscript.py b/data analysis/superscript.py new file mode 100644 index 00000000..96a56caa --- /dev/null +++ b/data analysis/superscript.py @@ -0,0 +1,3 @@ +import analysis +import titanlearn +import visualization \ No newline at end of file diff --git a/data analysis/tbarequest.py b/data analysis/tbarequest.py index 4149149c..9fb20956 100644 --- a/data analysis/tbarequest.py +++ b/data analysis/tbarequest.py @@ -9,8 +9,10 @@ __version__ = "1.0.0.001" -#changelog should be viewed using print(analysis.__changelog__) +#changelog should be viewed using print(tbarequest.__changelog__) __changelog__ = """changelog: +1.0.1.000: + - fixed a simple error 1.0.0.xxx: -added common requests and JSON processing""" __author__ = (