comdab 0.1.0__tar.gz → 0.1.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.
- comdab-0.1.1/.readthedocs.yaml +9 -0
- comdab-0.1.0/README.md → comdab-0.1.1/PKG-INFO +29 -0
- comdab-0.1.0/PKG-INFO → comdab-0.1.1/README.md +6 -10
- {comdab-0.1.0 → comdab-0.1.1}/docs/conf.py +12 -4
- comdab-0.1.1/pyproject.toml +46 -0
- {comdab-0.1.0 → comdab-0.1.1}/uv.lock +220 -219
- comdab-0.1.0/pyproject.toml +0 -29
- {comdab-0.1.0 → comdab-0.1.1}/.github/workflows/release.yml +0 -0
- {comdab-0.1.0 → comdab-0.1.1}/.github/workflows/test.yml +0 -0
- {comdab-0.1.0 → comdab-0.1.1}/.gitignore +0 -0
- {comdab-0.1.0 → comdab-0.1.1}/.pre-commit-config.yaml +0 -0
- {comdab-0.1.0 → comdab-0.1.1}/.python-version +0 -0
- {comdab-0.1.0 → comdab-0.1.1}/LICENSE +0 -0
- {comdab-0.1.0 → comdab-0.1.1}/docs/Makefile +0 -0
- {comdab-0.1.0 → comdab-0.1.1}/docs/index.rst +0 -0
- {comdab-0.1.0 → comdab-0.1.1}/docs/reference.rst +0 -0
- {comdab-0.1.0 → comdab-0.1.1}/src/comdab/__init__.py +0 -0
- {comdab-0.1.0 → comdab-0.1.1}/src/comdab/build.py +0 -0
- {comdab-0.1.0 → comdab-0.1.1}/src/comdab/compare.py +0 -0
- {comdab-0.1.0 → comdab-0.1.1}/src/comdab/exceptions.py +0 -0
- {comdab-0.1.0 → comdab-0.1.1}/src/comdab/main.py +0 -0
- {comdab-0.1.0 → comdab-0.1.1}/src/comdab/models/__init__.py +0 -0
- {comdab-0.1.0 → comdab-0.1.1}/src/comdab/models/base.py +0 -0
- {comdab-0.1.0 → comdab-0.1.1}/src/comdab/models/column.py +0 -0
- {comdab-0.1.0 → comdab-0.1.1}/src/comdab/models/constraint.py +0 -0
- {comdab-0.1.0 → comdab-0.1.1}/src/comdab/models/function.py +0 -0
- {comdab-0.1.0 → comdab-0.1.1}/src/comdab/models/index.py +0 -0
- {comdab-0.1.0 → comdab-0.1.1}/src/comdab/models/schema.py +0 -0
- {comdab-0.1.0 → comdab-0.1.1}/src/comdab/models/sequence.py +0 -0
- {comdab-0.1.0 → comdab-0.1.1}/src/comdab/models/table.py +0 -0
- {comdab-0.1.0 → comdab-0.1.1}/src/comdab/models/trigger.py +0 -0
- {comdab-0.1.0 → comdab-0.1.1}/src/comdab/models/type.py +0 -0
- {comdab-0.1.0 → comdab-0.1.1}/src/comdab/models/view.py +0 -0
- {comdab-0.1.0 → comdab-0.1.1}/src/comdab/path.py +0 -0
- {comdab-0.1.0 → comdab-0.1.1}/src/comdab/py.typed +0 -0
- {comdab-0.1.0 → comdab-0.1.1}/src/comdab/report.py +0 -0
- {comdab-0.1.0 → comdab-0.1.1}/src/comdab/source.py +0 -0
- {comdab-0.1.0 → comdab-0.1.1}/src/comdab/specific/__init__.py +0 -0
- {comdab-0.1.0 → comdab-0.1.1}/src/comdab/specific/postgresql/__init__.py +0 -0
- {comdab-0.1.0 → comdab-0.1.1}/src/comdab/specific/postgresql/build.py +0 -0
- {comdab-0.1.0 → comdab-0.1.1}/src/comdab/specific/postgresql/exclude_constraints.py +0 -0
- {comdab-0.1.0 → comdab-0.1.1}/src/comdab/specific/postgresql/functions.py +0 -0
- {comdab-0.1.0 → comdab-0.1.1}/src/comdab/specific/postgresql/sequences.py +0 -0
- {comdab-0.1.0 → comdab-0.1.1}/src/comdab/specific/postgresql/triggers.py +0 -0
- {comdab-0.1.0 → comdab-0.1.1}/src/comdab/specific/postgresql/views.py +0 -0
- {comdab-0.1.0 → comdab-0.1.1}/src/comdab/utils.py +0 -0
- {comdab-0.1.0 → comdab-0.1.1}/tests/__init__.py +0 -0
- {comdab-0.1.0 → comdab-0.1.1}/tests/_mock_module.py +0 -0
- {comdab-0.1.0 → comdab-0.1.1}/tests/conftest.py +0 -0
- {comdab-0.1.0 → comdab-0.1.1}/tests/test_build.py +0 -0
- {comdab-0.1.0 → comdab-0.1.1}/tests/test_compare.py +0 -0
- {comdab-0.1.0 → comdab-0.1.1}/tests/test_main.py +0 -0
- {comdab-0.1.0 → comdab-0.1.1}/tests/test_models.py +0 -0
- {comdab-0.1.0 → comdab-0.1.1}/tests/test_specific/__init__.py +0 -0
- {comdab-0.1.0 → comdab-0.1.1}/tests/test_specific/test_postgresql.py +0 -0
- {comdab-0.1.0 → comdab-0.1.1}/tests/test_utils.py +0 -0
|
@@ -1,5 +1,34 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: comdab
|
|
3
|
+
Version: 0.1.1
|
|
4
|
+
Summary: Compare Database Schemas
|
|
5
|
+
Project-URL: Homepage, https://github.com/loic-simon/comdab
|
|
6
|
+
Project-URL: Documentation, https://comdab.readthedocs.io/en/latest
|
|
7
|
+
Project-URL: Repository, https://github.com/loic-simon/comdab
|
|
8
|
+
Project-URL: Issues, https://github.com/loic-simon/comdab/issues
|
|
9
|
+
Author-email: Loïc Simon <loic.simon@espci.org>
|
|
10
|
+
License-File: LICENSE
|
|
11
|
+
Classifier: Development Status :: 4 - Beta
|
|
12
|
+
Classifier: Intended Audience :: Developers
|
|
13
|
+
Classifier: Programming Language :: Python :: 3
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
17
|
+
Classifier: Topic :: Database
|
|
18
|
+
Classifier: Typing :: Typed
|
|
19
|
+
Requires-Python: >=3.12
|
|
20
|
+
Requires-Dist: pydantic>=2.0
|
|
21
|
+
Requires-Dist: sqlalchemy>=2.0
|
|
22
|
+
Description-Content-Type: text/markdown
|
|
23
|
+
|
|
1
24
|
# comdab — Compare Database Schemas
|
|
2
25
|
|
|
26
|
+

|
|
27
|
+

|
|
28
|
+

|
|
29
|
+

|
|
30
|
+

|
|
31
|
+
|
|
3
32
|
_comdab_ allows you to compare in depth two database schemas to find
|
|
4
33
|
all differences: missing columns, different nullabilities or defaults,
|
|
5
34
|
slight changes in function or triggers definitions...
|
|
@@ -1,15 +1,11 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: comdab
|
|
3
|
-
Version: 0.1.0
|
|
4
|
-
Summary: Compare Database Schemas
|
|
5
|
-
License-File: LICENSE
|
|
6
|
-
Requires-Python: >=3.12
|
|
7
|
-
Requires-Dist: pydantic>=2.0
|
|
8
|
-
Requires-Dist: sqlalchemy>=2.0
|
|
9
|
-
Description-Content-Type: text/markdown
|
|
10
|
-
|
|
11
1
|
# comdab — Compare Database Schemas
|
|
12
2
|
|
|
3
|
+

|
|
4
|
+

|
|
5
|
+

|
|
6
|
+

|
|
7
|
+

|
|
8
|
+
|
|
13
9
|
_comdab_ allows you to compare in depth two database schemas to find
|
|
14
10
|
all differences: missing columns, different nullabilities or defaults,
|
|
15
11
|
slight changes in function or triggers definitions...
|
|
@@ -6,10 +6,18 @@
|
|
|
6
6
|
# -- Project information -----------------------------------------------------
|
|
7
7
|
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
import tomllib
|
|
10
|
+
from datetime import date
|
|
11
|
+
from pathlib import Path
|
|
12
|
+
|
|
13
|
+
REPO_ROOT = Path(__file__).parent.parent
|
|
14
|
+
with open(REPO_ROOT / "pyproject.toml", "rb") as fh:
|
|
15
|
+
pyproject = tomllib.load(fh)
|
|
16
|
+
|
|
17
|
+
project = pyproject["project"]["name"]
|
|
18
|
+
author = pyproject["project"]["authors"][0]["name"]
|
|
19
|
+
copyright = f"{date.today().year}, {author}"
|
|
20
|
+
release = pyproject["project"]["version"]
|
|
13
21
|
|
|
14
22
|
# -- General configuration ---------------------------------------------------
|
|
15
23
|
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "comdab"
|
|
3
|
+
version = "0.1.1"
|
|
4
|
+
description = "Compare Database Schemas"
|
|
5
|
+
readme = "README.md"
|
|
6
|
+
requires-python = ">=3.12"
|
|
7
|
+
dependencies = ["pydantic>=2.0", "sqlalchemy>=2.0"]
|
|
8
|
+
authors = [{ name = "Loïc Simon", email = "loic.simon@espci.org" }]
|
|
9
|
+
classifiers = [
|
|
10
|
+
"Development Status :: 4 - Beta",
|
|
11
|
+
"Intended Audience :: Developers",
|
|
12
|
+
"Programming Language :: Python :: 3",
|
|
13
|
+
"Programming Language :: Python :: 3.12",
|
|
14
|
+
"Programming Language :: Python :: 3.13",
|
|
15
|
+
"Programming Language :: Python :: 3.14",
|
|
16
|
+
"Typing :: Typed",
|
|
17
|
+
"Topic :: Database"
|
|
18
|
+
]
|
|
19
|
+
|
|
20
|
+
[project.urls]
|
|
21
|
+
Homepage = "https://github.com/loic-simon/comdab"
|
|
22
|
+
Documentation = "https://comdab.readthedocs.io/en/latest"
|
|
23
|
+
Repository = "https://github.com/loic-simon/comdab"
|
|
24
|
+
Issues = "https://github.com/loic-simon/comdab/issues"
|
|
25
|
+
|
|
26
|
+
[build-system]
|
|
27
|
+
requires = ["hatchling >= 1.26"]
|
|
28
|
+
build-backend = "hatchling.build"
|
|
29
|
+
|
|
30
|
+
[tool.uv]
|
|
31
|
+
dev-dependencies = [
|
|
32
|
+
"psycopg2>=2.9.10",
|
|
33
|
+
"pytest>=8.4.0",
|
|
34
|
+
"ruff>=0.11.11",
|
|
35
|
+
"sphinx>=8.2.3",
|
|
36
|
+
]
|
|
37
|
+
|
|
38
|
+
[tool.ruff]
|
|
39
|
+
line-length = 120
|
|
40
|
+
|
|
41
|
+
[tool.pyright]
|
|
42
|
+
typeCheckingMode = "strict"
|
|
43
|
+
venvPath = "."
|
|
44
|
+
venv = ".venv"
|
|
45
|
+
reportUnknownArgumentType = false
|
|
46
|
+
reportUnknownMemberType = false
|