This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Connexion to SQL Server 2019 | |
""" | |
import sys | |
import json | |
import pyodbc | |
from rapidfuzz import distance | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
public function processMatchSearch(Request $request): JsonResponse | |
{ | |
$command = 'python3'; | |
$scriptPath = base_path() . '/scripts/research_matching_script.py'; | |
$parameterOne = $request->input('title'); | |
$parameterTwo = Auth::id(); | |
$process = new Process([ |