From f2308389a0b95a70b4cff4993065502b3c46a5a3 Mon Sep 17 00:00:00 2001 From: Adam Zeloof Date: Mon, 28 Jul 2025 22:41:06 -0400 Subject: [PATCH] added db spreadsheet utility --- .gitignore | 1 + spreadsheet_config.py.sample | 4 ++ tools/requirements.txt | Bin 50 -> 310 bytes tools/syncWithGoogleSheets.py | 98 ++++++++++++++++++++++++++++++++++ 4 files changed, 103 insertions(+) create mode 100644 spreadsheet_config.py.sample create mode 100644 tools/syncWithGoogleSheets.py diff --git a/.gitignore b/.gitignore index 0b66780..e17992c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ localdeploy.sh db_secrets.php db_secrets.py +spreadsheet_config.py event_info.php /__pycache__/ tools/guests.csv diff --git a/spreadsheet_config.py.sample b/spreadsheet_config.py.sample new file mode 100644 index 0000000..990b654 --- /dev/null +++ b/spreadsheet_config.py.sample @@ -0,0 +1,4 @@ +SPREADSHEET_CONFIG = { + 'GOOGLE_SHEET_NAME': "Your Google Sheet Name", + 'WORKSHEET_NAME': "Sheet1" +} \ No newline at end of file diff --git a/tools/requirements.txt b/tools/requirements.txt index 4a2a2f706b97f1216fdec5ffcc9e5fd86c16dbc3..794deb3d08567e16a6433dbde1890aabb8fe54fb 100644 GIT binary patch literal 310 zcmZ9HOK!t33`F<3iwJ$}6khNwg(9=D09kY-dEuVEbb&TTmNOha4r7Q5b>`dS;bFIo%O0xHI3j zN?}I4iL@%sC7dX0)OxgM){#r0*jWxp9Hw_$Z%1FaAWm}Ls2ARYP}FvWRxF}{+rRo; rdEPV0f9AJxrRPqqi+13pvidVFWgQry*Cyo#m;|-gEMNF@XOzhgz0+X7 literal 50 wcmezWFPEW`p_rkNA%{ViA(