add all project files

This commit is contained in:
Julien Aldon
2026-01-08 10:57:31 +01:00
parent 2873f6fd1b
commit 9766e18fd5
40 changed files with 22638 additions and 0 deletions

17
back/database.py Normal file
View File

@@ -0,0 +1,17 @@
from secret import host, user, password, database
import pymysql.cursors
connection = pymysql.connect(
host=host,
user=user,
password=password,
database=database,
charset='utf8mb4',
cursorclass=pymysql.cursors.DictCursor
)
cursor = connection.cursor()
# cursor.execute(sql, ())
# cursor.fetchall()
# connection.commit()