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.
Files changed (56) hide show
  1. comdab-0.1.1/.readthedocs.yaml +9 -0
  2. comdab-0.1.0/README.md → comdab-0.1.1/PKG-INFO +29 -0
  3. comdab-0.1.0/PKG-INFO → comdab-0.1.1/README.md +6 -10
  4. {comdab-0.1.0 → comdab-0.1.1}/docs/conf.py +12 -4
  5. comdab-0.1.1/pyproject.toml +46 -0
  6. {comdab-0.1.0 → comdab-0.1.1}/uv.lock +220 -219
  7. comdab-0.1.0/pyproject.toml +0 -29
  8. {comdab-0.1.0 → comdab-0.1.1}/.github/workflows/release.yml +0 -0
  9. {comdab-0.1.0 → comdab-0.1.1}/.github/workflows/test.yml +0 -0
  10. {comdab-0.1.0 → comdab-0.1.1}/.gitignore +0 -0
  11. {comdab-0.1.0 → comdab-0.1.1}/.pre-commit-config.yaml +0 -0
  12. {comdab-0.1.0 → comdab-0.1.1}/.python-version +0 -0
  13. {comdab-0.1.0 → comdab-0.1.1}/LICENSE +0 -0
  14. {comdab-0.1.0 → comdab-0.1.1}/docs/Makefile +0 -0
  15. {comdab-0.1.0 → comdab-0.1.1}/docs/index.rst +0 -0
  16. {comdab-0.1.0 → comdab-0.1.1}/docs/reference.rst +0 -0
  17. {comdab-0.1.0 → comdab-0.1.1}/src/comdab/__init__.py +0 -0
  18. {comdab-0.1.0 → comdab-0.1.1}/src/comdab/build.py +0 -0
  19. {comdab-0.1.0 → comdab-0.1.1}/src/comdab/compare.py +0 -0
  20. {comdab-0.1.0 → comdab-0.1.1}/src/comdab/exceptions.py +0 -0
  21. {comdab-0.1.0 → comdab-0.1.1}/src/comdab/main.py +0 -0
  22. {comdab-0.1.0 → comdab-0.1.1}/src/comdab/models/__init__.py +0 -0
  23. {comdab-0.1.0 → comdab-0.1.1}/src/comdab/models/base.py +0 -0
  24. {comdab-0.1.0 → comdab-0.1.1}/src/comdab/models/column.py +0 -0
  25. {comdab-0.1.0 → comdab-0.1.1}/src/comdab/models/constraint.py +0 -0
  26. {comdab-0.1.0 → comdab-0.1.1}/src/comdab/models/function.py +0 -0
  27. {comdab-0.1.0 → comdab-0.1.1}/src/comdab/models/index.py +0 -0
  28. {comdab-0.1.0 → comdab-0.1.1}/src/comdab/models/schema.py +0 -0
  29. {comdab-0.1.0 → comdab-0.1.1}/src/comdab/models/sequence.py +0 -0
  30. {comdab-0.1.0 → comdab-0.1.1}/src/comdab/models/table.py +0 -0
  31. {comdab-0.1.0 → comdab-0.1.1}/src/comdab/models/trigger.py +0 -0
  32. {comdab-0.1.0 → comdab-0.1.1}/src/comdab/models/type.py +0 -0
  33. {comdab-0.1.0 → comdab-0.1.1}/src/comdab/models/view.py +0 -0
  34. {comdab-0.1.0 → comdab-0.1.1}/src/comdab/path.py +0 -0
  35. {comdab-0.1.0 → comdab-0.1.1}/src/comdab/py.typed +0 -0
  36. {comdab-0.1.0 → comdab-0.1.1}/src/comdab/report.py +0 -0
  37. {comdab-0.1.0 → comdab-0.1.1}/src/comdab/source.py +0 -0
  38. {comdab-0.1.0 → comdab-0.1.1}/src/comdab/specific/__init__.py +0 -0
  39. {comdab-0.1.0 → comdab-0.1.1}/src/comdab/specific/postgresql/__init__.py +0 -0
  40. {comdab-0.1.0 → comdab-0.1.1}/src/comdab/specific/postgresql/build.py +0 -0
  41. {comdab-0.1.0 → comdab-0.1.1}/src/comdab/specific/postgresql/exclude_constraints.py +0 -0
  42. {comdab-0.1.0 → comdab-0.1.1}/src/comdab/specific/postgresql/functions.py +0 -0
  43. {comdab-0.1.0 → comdab-0.1.1}/src/comdab/specific/postgresql/sequences.py +0 -0
  44. {comdab-0.1.0 → comdab-0.1.1}/src/comdab/specific/postgresql/triggers.py +0 -0
  45. {comdab-0.1.0 → comdab-0.1.1}/src/comdab/specific/postgresql/views.py +0 -0
  46. {comdab-0.1.0 → comdab-0.1.1}/src/comdab/utils.py +0 -0
  47. {comdab-0.1.0 → comdab-0.1.1}/tests/__init__.py +0 -0
  48. {comdab-0.1.0 → comdab-0.1.1}/tests/_mock_module.py +0 -0
  49. {comdab-0.1.0 → comdab-0.1.1}/tests/conftest.py +0 -0
  50. {comdab-0.1.0 → comdab-0.1.1}/tests/test_build.py +0 -0
  51. {comdab-0.1.0 → comdab-0.1.1}/tests/test_compare.py +0 -0
  52. {comdab-0.1.0 → comdab-0.1.1}/tests/test_main.py +0 -0
  53. {comdab-0.1.0 → comdab-0.1.1}/tests/test_models.py +0 -0
  54. {comdab-0.1.0 → comdab-0.1.1}/tests/test_specific/__init__.py +0 -0
  55. {comdab-0.1.0 → comdab-0.1.1}/tests/test_specific/test_postgresql.py +0 -0
  56. {comdab-0.1.0 → comdab-0.1.1}/tests/test_utils.py +0 -0
@@ -0,0 +1,9 @@
1
+ version: 2
2
+
3
+ build:
4
+ os: ubuntu-24.04
5
+ tools:
6
+ python: "3.13"
7
+
8
+ sphinx:
9
+ configuration: docs/conf.py
@@ -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
+ ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/comdab)
27
+ ![PyPI - Version](https://img.shields.io/pypi/v/comdab)
28
+ ![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/loic-simon/comdab/test.yml?label=tests)
29
+ ![Read the Docs](https://img.shields.io/readthedocs/comdab)
30
+ ![PyPI - Types](https://img.shields.io/pypi/types/comdab)
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
+ ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/comdab)
4
+ ![PyPI - Version](https://img.shields.io/pypi/v/comdab)
5
+ ![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/loic-simon/comdab/test.yml?label=tests)
6
+ ![Read the Docs](https://img.shields.io/readthedocs/comdab)
7
+ ![PyPI - Types](https://img.shields.io/pypi/types/comdab)
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
- project = "comdab"
10
- copyright = "2025, Loïc Simon"
11
- author = "Loïc Simon"
12
- release = "0.1.0"
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