sql-infer 0.8.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- sql_infer-0.8.1/PKG-INFO +10 -0
- sql_infer-0.8.1/bin/__init__.py +0 -0
- sql_infer-0.8.1/bin/sql-infer-linux +0 -0
- sql_infer-0.8.1/bin/sql-infer-macos +0 -0
- sql_infer-0.8.1/bin/sql-infer-win.exe +0 -0
- sql_infer-0.8.1/pyproject.toml +22 -0
- sql_infer-0.8.1/src/sql_infer/__init__.py +0 -0
- sql_infer-0.8.1/src/sql_infer/main.py +18 -0
sql_infer-0.8.1/PKG-INFO
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
Metadata-Version: 2.3
|
|
2
|
+
Name: sql-infer
|
|
3
|
+
Version: 0.8.1
|
|
4
|
+
Summary: SQL Infer Python Wrapper
|
|
5
|
+
Author: jnlt3
|
|
6
|
+
Author-email: dsekercioglu2003@gmail.com
|
|
7
|
+
Requires-Python: >=3.12,<4.0
|
|
8
|
+
Classifier: Programming Language :: Python :: 3
|
|
9
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
10
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
File without changes
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
[tool.poetry]
|
|
2
|
+
name = "sql-infer"
|
|
3
|
+
version = "0.8.1"
|
|
4
|
+
description = "SQL Infer Python Wrapper"
|
|
5
|
+
authors = ["jnlt3 <dsekercioglu2003@gmail.com>"]
|
|
6
|
+
packages = [
|
|
7
|
+
{ include = "sql_infer", from = "src" },
|
|
8
|
+
{ include = "bin", to = "sql_infer" },
|
|
9
|
+
]
|
|
10
|
+
|
|
11
|
+
[tool.poetry.dependencies]
|
|
12
|
+
python = "^3.12"
|
|
13
|
+
|
|
14
|
+
[tool.poetry.group.dev.dependencies]
|
|
15
|
+
twine = "^6.1.0"
|
|
16
|
+
|
|
17
|
+
[tool.poetry.scripts]
|
|
18
|
+
sql-infer = "sql_infer.main:run"
|
|
19
|
+
|
|
20
|
+
[build-system]
|
|
21
|
+
requires = ["poetry-core"]
|
|
22
|
+
build-backend = "poetry.core.masonry.api"
|
|
File without changes
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
def run():
|
|
2
|
+
import os
|
|
3
|
+
import subprocess
|
|
4
|
+
import sys
|
|
5
|
+
import platform
|
|
6
|
+
|
|
7
|
+
print(platform.system())
|
|
8
|
+
bin_name = "sql-infer-linux"
|
|
9
|
+
if platform.system() == "Windows":
|
|
10
|
+
bin_name = "sql-infer-win.exe"
|
|
11
|
+
elif platform.system() == "Darwin":
|
|
12
|
+
bin_name = "sql-infer-macos"
|
|
13
|
+
bin_dir = os.path.join(os.path.dirname(__file__), "bin")
|
|
14
|
+
binary = os.path.join(bin_dir, bin_name)
|
|
15
|
+
if not os.path.exists(binary):
|
|
16
|
+
print(f"Sql Infer binary not found in {bin_dir} {bin_name}", file=sys.stderr)
|
|
17
|
+
sys.exit(1)
|
|
18
|
+
sys.exit(subprocess.call([binary] + sys.argv[1:]))
|