From ceb83f87a9efb51ef6af8cb99c29473eec154304 Mon Sep 17 00:00:00 2001 From: Enrique Barcelli Date: Sun, 11 Aug 2024 05:42:19 +0800 Subject: [PATCH] Add import hourly --- .gitignore | 164 +++++++++++++++++++++++ __pycache__/config.cpython-311.pyc | Bin 1078 -> 0 bytes __pycache__/insert_order.cpython-311.pyc | Bin 2425 -> 0 bytes import_data.py | 17 +++ insert_hourly.py | 29 ++++ insert_order.py | 2 - 6 files changed, 210 insertions(+), 2 deletions(-) delete mode 100644 __pycache__/config.cpython-311.pyc delete mode 100644 __pycache__/insert_order.cpython-311.pyc create mode 100644 insert_hourly.py diff --git a/.gitignore b/.gitignore index e9aa16e..2d39a1a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,166 @@ +# Sensitive files database.ini *.csv + +# ---> Python +# Byte-compiled / optimized / DLL files +__pycache__/ +*.py[cod] +*$py.class + +# C extensions +*.so + +# Distribution / packaging +.Python +build/ +develop-eggs/ +dist/ +downloads/ +eggs/ +.eggs/ +lib/ +lib64/ +parts/ +sdist/ +var/ +wheels/ +share/python-wheels/ +*.egg-info/ +.installed.cfg +*.egg +MANIFEST + +# PyInstaller +# Usually these files are written by a python script from a template +# before PyInstaller builds the exe, so as to inject date/other infos into it. +*.manifest +*.spec + +# Installer logs +pip-log.txt +pip-delete-this-directory.txt + +# Unit test / coverage reports +htmlcov/ +.tox/ +.nox/ +.coverage +.coverage.* +.cache +nosetests.xml +coverage.xml +*.cover +*.py,cover +.hypothesis/ +.pytest_cache/ +cover/ + +# Translations +*.mo +*.pot + +# Django stuff: +*.log +local_settings.py +db.sqlite3 +db.sqlite3-journal + +# Flask stuff: +instance/ +.webassets-cache + +# Scrapy stuff: +.scrapy + +# Sphinx documentation +docs/_build/ + +# PyBuilder +.pybuilder/ +target/ + +# Jupyter Notebook +.ipynb_checkpoints + +# IPython +profile_default/ +ipython_config.py + +# pyenv +# For a library or package, you might want to ignore these files since the code is +# intended to run in multiple environments; otherwise, check them in: +# .python-version + +# pipenv +# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control. +# However, in case of collaboration, if having platform-specific dependencies or dependencies +# having no cross-platform support, pipenv may install dependencies that don't work, or not +# install all needed dependencies. +#Pipfile.lock + +# poetry +# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control. +# This is especially recommended for binary packages to ensure reproducibility, and is more +# commonly ignored for libraries. +# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control +#poetry.lock + +# pdm +# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control. +#pdm.lock +# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it +# in version control. +# https://pdm.fming.dev/#use-with-ide +.pdm.toml + +# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm +__pypackages__/ + +# Celery stuff +celerybeat-schedule +celerybeat.pid + +# SageMath parsed files +*.sage.py + +# Environments +.env +.venv +env/ +venv/ +ENV/ +env.bak/ +venv.bak/ + +# Spyder project settings +.spyderproject +.spyproject + +# Rope project settings +.ropeproject + +# mkdocs documentation +/site + +# mypy +.mypy_cache/ +.dmypy.json +dmypy.json + +# Pyre type checker +.pyre/ + +# pytype static type analyzer +.pytype/ + +# Cython debug symbols +cython_debug/ + +# PyCharm +# JetBrains specific template is maintained in a separate JetBrains.gitignore that can +# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore +# and can be added to the global gitignore or merged into this file. For a more nuclear +# option (not recommended) you can uncomment the following to ignore the entire idea folder. +#.idea/ + diff --git a/__pycache__/config.cpython-311.pyc b/__pycache__/config.cpython-311.pyc deleted file mode 100644 index 39a3537fb86ffd3cfd4338340a3f2364ee77799c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1078 zcmZ8e&rcIU6rTOr7FwhNVOJX6ARtW))q{x#q6eiHQi8#Q7Gbk?r?8>jt+R_FY?Dez zEC~lB1855F-67!t4P=hcxvq&BL02 z`2z-4VKfcc;*3Ay!4tX^XT0z;%gh=J(;BfcIScEWqrKH^JZ6}N*HN%+XMte*T`uEa zb$*TrGnIHM!O=U&XnSRdd<5|s0Befw=Y~~myyeWdeC{;(%PCj*Eo8%Hs*vbgy$! zvsJsv^8~}edD{z3tYmP3p5%#Hi{v#YE_y-AHMKnU0vB+x;5XD0Gk$wLnrpxpnltU7 z;@jC!V$sUu#FDXOB?yL&gMW{6%LTlWXp+YYAHB|;rRi!jC%wR?I_*7hCG$UEQz|h#Uvxqkz17uNoMv1qK^P5N4Trw0|e|CAPaz zjgHi!BW1DPH_$*#Xw-M*iTa(P{TF*H<>dCG-RRfH)o`p5jx{&{{1ed)sUkf+mXb$O z^5=)j^sB1$x+cA@cBN}w=}IvDr!!hgoq|5(1ywb#8K$aE#aY6`3ZZRuHioIA;Y$18;3Le< u25NV=5g#tE9&vJolj{+wJi9r!HAib0DovC}KBYENCI4#(h`$9G|MvfQ&HJ4I diff --git a/__pycache__/insert_order.cpython-311.pyc b/__pycache__/insert_order.cpython-311.pyc deleted file mode 100644 index 3d6f28e93afb862af3c32b92d422a5e7d219e5fe..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2425 zcmb7FO>7fK6rTOF*FS3~ptv!p=~7w=Lm(82R4J%5F=>?+g(`ungwpNe9VbrKyJmNt zIOzsiDu*D^3Q#IIaER14r3wdbMHL4KNbPZpe27*;s??KvG6E!vQ{Sv{>?BxKXLsJb z_wAcEZ$7^n|11bW1nrxpU(=6Rg#IQ*y$LUsr-vzot|0{}l!``cBQ;8aO{;X48D%J> zFc;7$i#dgzq{%Gf0*x?>(S)xaOyS~n6|KX4EpUGeoNs{#THwJJc&G&)Zh;Fe@JIt+ z0xp+5KFL;r6>7xmiD;PsLkY?ask*F4DP2ov#!_pp@G%OVf&TQL8rjrbP@(5S7FhMR z1j=&VKy%>$vdD~=ZNej-7z&#~cKAo?JL(Xc6Kr9z$*b;-(E4cL8L=aaPy(Bq9kh{6 z*|g2rtj*az+i&xBARSzS6_?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