??: https://github.com/HimrajDas/SQTHON
???
?? ??????? ????, ?? SQL ??? ????, ??? ????, ??????.
?? ?? ?? ??:
- SqthonAI: ??? LLM? ???? SQL ?? ?? ?
- ?? ???
- ??? ??
- ? ?? ?? ????? ?? ??? ?? ?? ?
???? ?? pypi? ???? ???? ?? ???? ???? ????. ?
?? ? ???? Windows??? ?????.
??? ??? ?? ?? ??? ????.?
?? ?
1. ?????? ?????.
https://github.com/HimrajDas/SQTHON.git
cd sqthon
2. ?? ?????(???? ?? ?? ??)
Windows Powershell ??
(Invoke-WebRequest -Uri https://install.python-poetry.org -UseBasicParsing).Content | py -
Linux, macOS, Windows(WSL) ??
curl -sSL https://install.python-poetry.org | python3 -
pipx ??
pipx install poetry
3. ?? ???? ??? ??
poetry install
?? ?? ?
pip ?? Git https://github.com/HimrajDas/SQTHON
?? ??? ??????
1. ???? ??? .env ??? ????. [??? ?? ? ??]
-
??? ?? ?????? ????? ?????:
password ?
2. ??????? ??? ?????.
from sqthon import Sqthon # Instantiate the class. Passwords gets fetch from the .env file (that's why you have to create it) sq = Sqthon(dialect="mysql", user="root", host="localhost", service_instance_name="MySQL service instance name") # Connects to a database conn1 = sq.connect_to_database(database="dbname", local_infile=True) # local_infile controls the infile settings for the client. conn2 = sq.connect_to_database("dbname") # or you can connect like this: conn3 = sq.connect_db.connect(database="dbname") # not preferred ?.
MySQL ??? ???? ?? ?? ?? service_instance_name? ???? ??? ???? ?????.
????? ???? ???? ?? ?? ??? ????? ??? ??? ?????.
3. ??. ?
dummy ?? ??????? ??? ??? ????
??????? ?????.
dummy_conn = sq.connect_to_database(database="dummy")
?? ?? ??? ??? ??????
# Suppose, You have a table named sales in the dummy database. query = """ SELECT customer_name FROM sales; """ customer_names = dummy_conn.run_query(query=query) # it will return the result as pandas dataframe.
run_query?? ?? ??? ?? ????? ????. visualize: bool = False,
plot_type: str = ??,
x=??,
y=??,
??=??.
visualize=True? ???? x, y ? plot_type ??? ????
? ?? ???? ?????. ?? ?? ???? ??? ??? ?????? ?? ?? ? ???.
4. ???.
https://github.com/HimrajDas/SQTHON.git
5. CSV? ???? ????.
?? ???? ??? ? ??? ??????. ? ?? ???
??? ??? ?? ???? CSV? ???? ?? ?
??? ???? ?? ??? ???? util.py? ?????.
??? mysql? ?????.
??? ??: import_csv_to_mysqltable
????? ??? ????.
- ???: str
- ???: str
- ??????: str
- csv_path: str
- service_instance: str = ??
- ???: str
???: ??? ??,
???: ???,
??????: ?????? ??,
csv_path: csv ??? ?? ?? ?? ?????.
table: ??? ??. ???? ??? csv ??? ?? ???? ?????.
??? ??? ?? ??? ??? ????. ?????????.
cd sqthon
? ??? ?? ??????? ????, SQL ??? ???? ????, ????? ??????.? ?? ?????. ??? ??? PHP ??? ????? ?? ?? ??? ?????!

? AI ??

Undress AI Tool
??? ???? ??

Undresser.AI Undress
???? ?? ??? ??? ?? AI ?? ?

AI Clothes Remover
???? ?? ???? ??? AI ?????.

Clothoff.io
AI ? ???

Video Face Swap
??? ??? AI ?? ?? ??? ???? ?? ???? ??? ?? ????!

?? ??

??? ??

???++7.3.1
???? ?? ?? ?? ???

SublimeText3 ??? ??
??? ??, ???? ?? ????.

???? 13.0.1 ???
??? PHP ?? ?? ??

???? CS6
??? ? ?? ??

SublimeText3 Mac ??
? ??? ?? ?? ?????(SublimeText3)

??? ??











Python? Unittest ? Pytest? ??? ? ???? ??, ?? ? ??? ????? ? ?? ?? ???? ??? ??? ?????. 1. ??? ??? ?? ??? ???? ??? ??? ??? ?????. UnitTest? ??? ??? ???? ???? Test \ _? ???? ???? ?????. Pytest? ? ?????. Test \ _?? ???? ?? ? ??????. 2. ??? ?? ?? ? ?? ? ??? ??? ????. UnitTest? Assertequal, AssertTrue ? ?? ??? ???? ?? Pytest? ??? Assert ?? ???? ?? ?? ??? ???? ?????. 3. ?? ??? ?? ? ?? ????? ????? ????.

pythonisidealfordataanalysisduetonumpyandpandas.1) numpyexcelsatnumericalcomputationsfast, multi-dimensionalArraysandectorizedOferationsLikenp.sqrt ()

?? ????? (DP)? ??? ??? ? ??? ?? ??? ??? ??? ? ??? ??? ?? ??? ???? ??? ????? ??????. ? ?? ?? ??? ????. 1. ??? (??) : ??? ?? ??? ???? ??? ???? ?? ??? ??????. 2. ??? (?) : ?? ???? ???? ????? ?????. ???? ???, ?? ?? ?? ?? ??/?? ?, ??? ??? ?? ?? ?? ??? ??? ????? ?????. ?????? ????? ?? ???? ?? ??? ? ???, ?? ??? ???? ?? ?? ??? ???? ??? ???? ????? ???? ???????.

??? ?? ???? ????? ????? __iter_ ? __next__ ???? ???????. ① __iter__ ???? ??? ? ?? ??? ???? ??? ?? ?? ??? ?????. ② __next__ ???? ? ??? ?? ????, ?? ??? ??? ????, ? ?? ??? ??? stopiteration ??? ??????. status ??? ???? ??????? ?? ??? ??? ?? ?? ??? ???????. pile ?? ?? ???? ?? ??? ?? ? ??? ?? ? ??? ?????? ?????. simple ??? ??? ?? ?? ??? ?? ???? ???? ?? ??? ? ??? ?? ????? ???? ??? ??? ???????.

Python? ?? ???? ?? ???, ?? ?? ????, ?? ???? ?? ? AI/ML ??? ???? ??? ?????. ??, Cpython? ???? ????? ?? ??, ?? ?? ??? ? ?? ? ?? ??? ?? ??? ??????. ??, ??? ????? ?? ?? ? ?? ??? ????? ?? ?? ? ? ??? ?? ?????. ??, Pyscript ? Nuitka? ?? ?? ???? ??? ??? ?? ??? ?????. ?????, AI ? ??? ?? ??? ?? ???? ??? ?? ???????? ???? ?? ? ??? ?????. ??? ??? Python? ??? ??? ????? ???? ?? ??? ???? ??? ?????.

Python? ?? ??? ???? ?????? ????, ????? ? ?? ??????? ???? ? ??? ??? ???? ?? ??? ?????. ?? TCP ??? ????? Socket.Socket ()? ???? ??? ??? ?? ? ??? ????? .listen ()? ???? ??? ?? .accept ()? ?? ????? ??? ???????. TCP ?????? ????? ?? ??? ??? ??? ????? .connect ()? ?? ? ?? .sendall ()? ???? ???? ??? .recv ()? ?? ??? ??????. ?? ?????? ????? 1. ??? : ??? ??? ? ???? ??? ? ????. 2. ??? I/O : ?? ??, Asyncio ?????? ? ??? ??? ?? ? ? ????. ???? ? ?

???? Python ?? ?? ?????? ?? ????, "??? ?????, ?? ??"? ???? ??? ??? ??? ?? ??? ?????. 1. ???? ?? ? ??? ?? ?????. ?? ???? ?? ??? ???? ??? ? ? ????. ?? ??, Spoke () ?? ???? ??? ??? ?? ??? ?? ????? ?? ??? ??? ????. 2. ???? ?? ???? ??? ??? ?????? Draw () ???? ???? ????? ?? ???? ?? ??? ???? ??? ???? ?? ?? ?? ??? ????? ?? ?? ????? ?? ?????. 3. Python ?? ???? ???????. ?? ???? ??? ???? ?? ???? ??? ????? ??? ?? ???? ??? ???? ????. ??? ??? ??? ???? ? ??? "?? ??"??????. 4. ???? ? ???? ?? ??? ?????

Python List ????? ?? ?? ??? [Start : End : Step] ??? ????? ??? ???? ????. 1. ?? ????? ?? ??? ?? [start : end : step]???. ??? ?? ??? (??), ?? ? ??? (???? ??)?? ??? ?? ?????. 2. ????? ???? 0?? ????? ???? ????? ??? ??? ???? ????? ??? 1? ??????. 3. my_list [: n]? ???? ? ?? n ??? ?? my_list [-n :]? ???? ??? n ??? ????. 4. My_List [:: 2]? ?? ??? ?? ?? ??? ???? ??? ??? ?? ?? ?? ??? ???? ? ????. 5. ???? ???? ? ???? ???? ????
