ekzhang/inline-sql

🪄 Inline SQL in any Python program

Pythonpythonsqldslolapquery-languageduckdb
This is stars and forks stats for /ekzhang/inline-sql repository. As of 05 May, 2024 this repository has 404 stars and 8 forks.

Inline SQL A simple embedded language for running inline SQL in Python programs. from inline_sql import sql, sql_val assert sql_val^ "SELECT 1 + 1" == 2 x = 5 assert sql_val^ "SELECT $x * 2" == 10 df = sql^ "SELECT * FROM (VALUES (1, 10), (2, 20)) df (x, y)" assert sql_val^ "SELECT SUM(x) + SUM(y) FROM df" == 33 Operations in the inline_sql library run directly inside your process. You can query local datasets (pandas frames), CSV files, and even interpolate variables seamlessly. This is implemented...
Read on GithubGithub Stats Page
repotechsstarsweeklyforksweekly
RotBotSlicer/TransformPython1800430
KichangKim/DeepDanbooruPythonBatchfile2.3k02360
fontanf/packingsolverC++PythonStarlark57080
open-life-science/open-life-science.github.ioSassPythonHTML570850
zladx/LADX-DisassemblyAssemblyPythonOther7580670
goatshriek/stumplessCCMakeRuby40704450
neineit/ICE_TEA_BIOSCPythonAssembly12301700
common-workflow-language/user_guideCommon Workflow LanguagePythonHTML360660
SHI-Labs/NATTENCudaC++Python1580110
whamcloud/DockerfilesDockerfilePythonShell1000