1
+ [build-system ]
2
+ requires = [" hatchling" ]
3
+ build-backend = " hatchling.build"
4
+
5
+ [project ]
6
+ name = " open-webui-postgres-migration"
7
+ version = " 1.0.1"
8
+ description = " A robust, interactive tool for migrating Open WebUI databases from SQLite to PostgreSQL"
9
+ readme = " README.md"
10
+ license = {file = " LICENSE" }
11
+ authors = [
12
+ {
name =
" Taylor Wilsdon" ,
email =
" [email protected] " }
13
+ ]
14
+ classifiers = [
15
+ " Development Status :: 5 - Production/Stable" ,
16
+ " Intended Audience :: Developers" ,
17
+ " Intended Audience :: System Administrators" ,
18
+ " License :: OSI Approved :: MIT License" ,
19
+ " Programming Language :: Python :: 3" ,
20
+ " Programming Language :: Python :: 3.8" ,
21
+ " Programming Language :: Python :: 3.9" ,
22
+ " Programming Language :: Python :: 3.10" ,
23
+ " Programming Language :: Python :: 3.11" ,
24
+ " Programming Language :: Python :: 3.12" ,
25
+ " Topic :: Database" ,
26
+ " Topic :: Database :: Database Engines/Servers" ,
27
+ " Topic :: Software Development :: Libraries :: Python Modules" ,
28
+ " Topic :: System :: Systems Administration" ,
29
+ ]
30
+ keywords = [" database" , " migration" , " postgresql" , " sqlite" , " open-webui" ]
31
+ requires-python = " >=3.8"
32
+ dependencies = [
33
+ " psycopg[binary]==3.2.3" ,
34
+ " rich==13.9.4" ,
35
+ " markdown-it-py==3.0.0" ,
36
+ " mdurl==0.1.2" ,
37
+ " Pygments==2.19.1" ,
38
+ " typing_extensions==4.12.2" ,
39
+ ]
40
+
41
+ [project .urls ]
42
+ Homepage = " https://github.com/taylorwilsdon/open-webui-postgres-migration"
43
+ Repository = " https://github.com/taylorwilsdon/open-webui-postgres-migration"
44
+ Issues = " https://github.com/taylorwilsdon/open-webui-postgres-migration/issues"
45
+
46
+ [project .scripts ]
47
+ open-webui-migrate = " migrate:main"
48
+
49
+ [tool .hatch .build .targets .wheel ]
50
+ packages = [" ." ]
51
+
52
+ [tool .hatch .build .targets .sdist ]
53
+ include = [
54
+ " migrate.py" ,
55
+ " README.md" ,
56
+ " LICENSE" ,
57
+ " requirements.txt" ,
58
+ ]
59
+
60
+ [tool .uv ]
61
+ dev-dependencies = [
62
+ " build>=1.0.0" ,
63
+ " twine>=4.0.0" ,
64
+ " pytest>=7.0.0" ,
65
+ " pytest-cov>=4.0.0" ,
66
+ " black>=23.0.0" ,
67
+ " flake8>=6.0.0" ,
68
+ " mypy>=1.0.0" ,
69
+ ]
70
+
71
+ [tool .black ]
72
+ line-length = 88
73
+ target-version = [' py38' ]
74
+
75
+ [tool .mypy ]
76
+ python_version = " 3.8"
77
+ warn_return_any = true
78
+ warn_unused_configs = true
79
+ disallow_untyped_defs = true
80
+
81
+ [tool .pytest .ini_options ]
82
+ testpaths = [" tests" ]
83
+ python_files = [" test_*.py" ]
84
+ addopts = " --cov=migrate --cov-report=term-missing"
0 commit comments