Initial implementation of generic Excel-to-DB import tool
Supports .xls and .xlsx, Oracle and PostgreSQL via SQLAlchemy. Includes CLI (run/inspect/generate-config), YAML config, auto schema detection, and append/replace/upsert modes. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
[build-system]
|
||||
requires = ["setuptools>=68", "wheel"]
|
||||
build-backend = "setuptools.backends.legacy:build"
|
||||
|
||||
[project]
|
||||
name = "excel-import"
|
||||
version = "0.1.0"
|
||||
requires-python = ">=3.10"
|
||||
dependencies = [
|
||||
"pandas>=2.0",
|
||||
"openpyxl>=3.1",
|
||||
"xlrd>=2.0",
|
||||
"sqlalchemy>=2.0",
|
||||
"psycopg2-binary>=2.9",
|
||||
"oracledb>=2.0",
|
||||
"pyyaml>=6.0",
|
||||
"click>=8.1",
|
||||
]
|
||||
|
||||
[project.scripts]
|
||||
excel-import = "excel_import.cli:main"
|
||||
|
||||
[project.optional-dependencies]
|
||||
dev = ["pytest>=8.0", "pytest-mock>=3.0"]
|
||||
Reference in New Issue
Block a user