matchbox-db 0.6.3.dev96__tar.gz → 0.7.0__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 (206) hide show
  1. {matchbox_db-0.6.3.dev96/src/matchbox_db.egg-info → matchbox_db-0.7.0}/PKG-INFO +1 -1
  2. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/common/dtos.py +21 -1
  3. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0/src/matchbox_db.egg-info}/PKG-INFO +1 -1
  4. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/.github/pull_request_template.md +0 -0
  5. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/.github/workflows/ci.yml +0 -0
  6. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/.github/workflows/prerelease.yml +0 -0
  7. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/.github/workflows/release.yml +0 -0
  8. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/.gitignore +0 -0
  9. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/.pre-commit-config.yaml +0 -0
  10. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/.vscode/launch.json +0 -0
  11. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/.vscode/settings.json +0 -0
  12. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/LICENSE +0 -0
  13. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/README.md +0 -0
  14. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/docker-compose.yml +0 -0
  15. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/docs/api/client/dags.md +0 -0
  16. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/docs/api/client/eval.md +0 -0
  17. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/docs/api/client/index.md +0 -0
  18. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/docs/api/client/models.md +0 -0
  19. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/docs/api/client/queries.md +0 -0
  20. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/docs/api/client/results.md +0 -0
  21. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/docs/api/client/sources.md +0 -0
  22. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/docs/api/common/arrow.md +0 -0
  23. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/docs/api/common/db.md +0 -0
  24. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/docs/api/common/dtos.md +0 -0
  25. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/docs/api/common/eval.md +0 -0
  26. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/docs/api/common/exceptions.md +0 -0
  27. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/docs/api/common/factories/entities.md +0 -0
  28. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/docs/api/common/factories/index.md +0 -0
  29. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/docs/api/common/factories/models.md +0 -0
  30. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/docs/api/common/factories/scenarios.md +0 -0
  31. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/docs/api/common/factories/sources.md +0 -0
  32. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/docs/api/common/hash.md +0 -0
  33. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/docs/api/common/index.md +0 -0
  34. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/docs/api/common/logging.md +0 -0
  35. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/docs/api/common/transform.md +0 -0
  36. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/docs/api/server/api.md +0 -0
  37. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/docs/api/server/backends/postgresql.md +0 -0
  38. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/docs/api/server/index.md +0 -0
  39. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/docs/api/server/uploads.md +0 -0
  40. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/docs/assets/matchbox-icon-dark.png +0 -0
  41. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/docs/assets/matchbox-icon.svg +0 -0
  42. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/docs/assets/matchbox-logo-dark.svg +0 -0
  43. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/docs/assets/matchbox-logo-light.svg +0 -0
  44. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/docs/client/evaluation.md +0 -0
  45. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/docs/client/explore-dags.md +0 -0
  46. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/docs/client/install.md +0 -0
  47. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/docs/client/link-data.md +0 -0
  48. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/docs/client/look-up.md +0 -0
  49. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/docs/contributing.md +0 -0
  50. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/docs/index.md +0 -0
  51. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/docs/server/concepts.md +0 -0
  52. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/docs/server/install.md +0 -0
  53. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/docs/server/risks.md +0 -0
  54. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/docs/stylesheets/extra.css +0 -0
  55. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/docs/use-cases.md +0 -0
  56. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/environments/containers.env +0 -0
  57. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/environments/development.env +0 -0
  58. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/environments/sample_client.env +0 -0
  59. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/environments/sample_server.env +0 -0
  60. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/justfile +0 -0
  61. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/mkdocs.yml +0 -0
  62. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/pyproject.toml +0 -0
  63. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/setup.cfg +0 -0
  64. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/__init__.py +0 -0
  65. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/client/__init__.py +0 -0
  66. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/client/_handler.py +0 -0
  67. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/client/_settings.py +0 -0
  68. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/client/authorisation.py +0 -0
  69. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/client/dags.py +0 -0
  70. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/client/eval/__init__.py +0 -0
  71. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/client/eval/justfile +0 -0
  72. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/client/eval/mock_ui.py +0 -0
  73. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/client/eval/ui.py +0 -0
  74. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/client/eval/utils.py +0 -0
  75. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/client/models/__init__.py +0 -0
  76. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/client/models/comparison.py +0 -0
  77. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/client/models/dedupers/__init__.py +0 -0
  78. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/client/models/dedupers/base.py +0 -0
  79. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/client/models/dedupers/naive.py +0 -0
  80. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/client/models/linkers/__init__.py +0 -0
  81. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/client/models/linkers/base.py +0 -0
  82. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/client/models/linkers/deterministic.py +0 -0
  83. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/client/models/linkers/splinklinker.py +0 -0
  84. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/client/models/linkers/weighteddeterministic.py +0 -0
  85. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/client/models/models.py +0 -0
  86. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/client/queries.py +0 -0
  87. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/client/results.py +0 -0
  88. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/client/sources.py +0 -0
  89. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/common/__init__.py +0 -0
  90. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/common/arrow.py +0 -0
  91. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/common/db.py +0 -0
  92. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/common/eval.py +0 -0
  93. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/common/exceptions.py +0 -0
  94. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/common/factories/__init__.py +0 -0
  95. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/common/factories/dags.py +0 -0
  96. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/common/factories/entities.py +0 -0
  97. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/common/factories/models.py +0 -0
  98. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/common/factories/scenarios.py +0 -0
  99. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/common/factories/sources.py +0 -0
  100. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/common/hash.py +0 -0
  101. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/common/logging.py +0 -0
  102. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/common/transform.py +0 -0
  103. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/server/Dockerfile +0 -0
  104. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/server/__init__.py +0 -0
  105. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/server/api/__init__.py +0 -0
  106. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/server/api/dependencies.py +0 -0
  107. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/server/api/main.py +0 -0
  108. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/server/api/routers/__init__.py +0 -0
  109. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/server/api/routers/collection.py +0 -0
  110. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/server/api/routers/eval.py +0 -0
  111. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/server/api/static/favicon.png +0 -0
  112. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/server/api/static/swagger-ui-bundle.js +0 -0
  113. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/server/api/static/swagger-ui.css +0 -0
  114. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/server/base.py +0 -0
  115. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/server/postgresql/.gitkeep +0 -0
  116. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/server/postgresql/__init__.py +0 -0
  117. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/server/postgresql/adapter.py +0 -0
  118. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/server/postgresql/alembic/env.py +0 -0
  119. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/server/postgresql/alembic/script.py.mako +0 -0
  120. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/server/postgresql/alembic/versions/05cc4181a0ad_removed_source_key_reference_and_added_.py +0 -0
  121. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/server/postgresql/alembic/versions/1907c34cfa1f_create_tables_given_schema.py +0 -0
  122. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/server/postgresql/alembic/versions/3754ae042254_move_orm_to_root_leaf_contains_structure.py +0 -0
  123. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/server/postgresql/alembic/versions/40a8e5ed48f2_create_schema_without_tables.py +0 -0
  124. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/server/postgresql/alembic/versions/4a7c35f86405_move_sourceconfigs_from_sourceaddress_.py +0 -0
  125. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/server/postgresql/alembic/versions/7a2d1b10ac0f_switch_from_location_uri_to_name.py +0 -0
  126. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/server/postgresql/alembic/versions/83b134a86713_simplify_resolution_naming_and_hashing.py +0 -0
  127. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/server/postgresql/alembic/versions/8c7f757b1046_remove_human_resolution_type.py +0 -0
  128. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/server/postgresql/alembic/versions/95c0b5c23446_renaming_sources_to_source_config.py +0 -0
  129. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/server/postgresql/alembic/versions/ae63f79f6b39_renamed_sourcecolumns_to_sourcefields.py +0 -0
  130. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/server/postgresql/alembic/versions/b38d61ab11cc_add_index_to_the_clustersourcekey_table.py +0 -0
  131. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/server/postgresql/alembic/versions/b694eb292dea_add_an_index_to_the_probabilities_.py +0 -0
  132. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/server/postgresql/alembic/versions/beba75a24962_add_pkspace_table.py +0 -0
  133. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/server/postgresql/alembic/versions/c4cb937d00f4_add_modelconfigs.py +0 -0
  134. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/server/postgresql/alembic/versions/dd0c3a9ecdf9_add_migrations_for_first_eval_tables.py +0 -0
  135. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/server/postgresql/alembic/versions/e4122bdf9b0d_renamed_primary_keys_to_just_keys.py +0 -0
  136. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/server/postgresql/alembic/versions/f3c9279437f4_add_content_hash_to_resolutions.py +0 -0
  137. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/server/postgresql/alembic/versions/f500f7d832fe_adds_collections_and_versions_to_scope_.py +0 -0
  138. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/server/postgresql/alembic.ini +0 -0
  139. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/server/postgresql/db.py +0 -0
  140. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/server/postgresql/justfile +0 -0
  141. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/server/postgresql/mixin.py +0 -0
  142. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/server/postgresql/orm.py +0 -0
  143. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/server/postgresql/utils/__init__.py +0 -0
  144. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/server/postgresql/utils/db.py +0 -0
  145. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/server/postgresql/utils/evaluation.py +0 -0
  146. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/server/postgresql/utils/insert.py +0 -0
  147. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/server/postgresql/utils/query.py +0 -0
  148. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/server/postgresql/utils/results.py +0 -0
  149. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox/server/uploads.py +0 -0
  150. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox_db.egg-info/SOURCES.txt +0 -0
  151. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox_db.egg-info/dependency_links.txt +0 -0
  152. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox_db.egg-info/requires.txt +0 -0
  153. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/src/matchbox_db.egg-info/top_level.txt +0 -0
  154. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/test/__init__.py +0 -0
  155. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/test/client/__init__.py +0 -0
  156. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/test/client/models/__init__.py +0 -0
  157. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/test/client/models/methodologies/__init__.py +0 -0
  158. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/test/client/models/methodologies/test_dedupers_deterministic.py +0 -0
  159. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/test/client/models/methodologies/test_linkers_deterministic.py +0 -0
  160. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/test/client/models/methodologies/test_linkers_probabilistic.py +0 -0
  161. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/test/client/models/test_comparison.py +0 -0
  162. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/test/client/test_dags.py +0 -0
  163. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/test/client/test_eval.py +0 -0
  164. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/test/client/test_handler.py +0 -0
  165. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/test/client/test_models.py +0 -0
  166. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/test/client/test_queries.py +0 -0
  167. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/test/client/test_results.py +0 -0
  168. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/test/client/test_sources.py +0 -0
  169. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/test/common/__init__.py +0 -0
  170. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/test/common/factories/__init__.py +0 -0
  171. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/test/common/factories/test_entity_factory.py +0 -0
  172. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/test/common/factories/test_linked_factory.py +0 -0
  173. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/test/common/factories/test_model_factory.py +0 -0
  174. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/test/common/factories/test_probability_generation.py +0 -0
  175. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/test/common/factories/test_scenarios.py +0 -0
  176. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/test/common/factories/test_source_factory.py +0 -0
  177. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/test/common/factories/test_testkit_dag.py +0 -0
  178. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/test/common/test_dto.py +0 -0
  179. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/test/common/test_eval.py +0 -0
  180. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/test/common/test_hash.py +0 -0
  181. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/test/common/test_results.py +0 -0
  182. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/test/common/test_transform.py +0 -0
  183. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/test/conftest.py +0 -0
  184. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/test/data/all_companies.csv +0 -0
  185. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/test/e2e/test_e2e_dag.py +0 -0
  186. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/test/e2e/test_e2e_evaluation.py +0 -0
  187. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/test/fixtures/__init__.py +0 -0
  188. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/test/fixtures/client.py +0 -0
  189. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/test/fixtures/db.py +0 -0
  190. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/test/justfile +0 -0
  191. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/test/server/__init__.py +0 -0
  192. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/test/server/api/__init__.py +0 -0
  193. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/test/server/api/routes/__init__.py +0 -0
  194. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/test/server/api/routes/test_routes_collection.py +0 -0
  195. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/test/server/api/routes/test_routes_eval.py +0 -0
  196. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/test/server/api/routes/test_routes_main.py +0 -0
  197. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/test/server/api/routes/test_routes_resolution.py +0 -0
  198. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/test/server/postgresql/__init__.py +0 -0
  199. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/test/server/postgresql/test_pg_core.py +0 -0
  200. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/test/server/postgresql/test_pg_migrations.py +0 -0
  201. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/test/server/postgresql/test_pg_sql.py +0 -0
  202. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/test/server/test_adapter.py +0 -0
  203. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/test/server/test_uploads.py +0 -0
  204. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/test/utils.py +0 -0
  205. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/trufflehog-exclude.txt +0 -0
  206. {matchbox_db-0.6.3.dev96 → matchbox_db-0.7.0}/uv.lock +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: matchbox-db
3
- Version: 0.6.3.dev96
3
+ Version: 0.7.0
4
4
  Summary: A framework for orchestrating and comparing data linking and deduplication methodologies.
5
5
  Author: Department for Business and Trade
6
6
  Project-URL: Documentation, https://uktrade.github.io/matchbox/
@@ -16,10 +16,12 @@ from pydantic import (
16
16
  ConfigDict,
17
17
  Field,
18
18
  GetCoreSchemaHandler,
19
+ GetJsonSchemaHandler,
19
20
  field_serializer,
20
21
  field_validator,
21
22
  model_validator,
22
23
  )
24
+ from pydantic.json_schema import JsonSchemaValue
23
25
  from pydantic_core import core_schema
24
26
  from sqlglot import errors, expressions, parse_one
25
27
 
@@ -218,11 +220,13 @@ class LocationType(StrEnum):
218
220
  class MatchboxName(str):
219
221
  """Sub-class of string which validates names for the Matchbox DB."""
220
222
 
223
+ PATTERN = r"^[a-zA-Z0-9_.-]+$"
224
+
221
225
  def __new__(cls, value: str):
222
226
  """Creates new instance of validated name."""
223
227
  if not isinstance(value, str):
224
228
  raise MatchboxNameError("Name must be a string")
225
- if not re.match(r"^[a-zA-Z0-9_.-]+$", value):
229
+ if not re.match(cls.PATTERN, value):
226
230
  raise MatchboxNameError(
227
231
  f"Name '{value}' is invalid. It can only include "
228
232
  "alphanumeric characters, underscores, dots or hyphens."
@@ -242,6 +246,22 @@ class MatchboxName(str):
242
246
  ),
243
247
  )
244
248
 
249
+ @classmethod
250
+ def __get_pydantic_json_schema__(
251
+ cls,
252
+ schema: core_schema.CoreSchema,
253
+ handler: GetJsonSchemaHandler,
254
+ ) -> JsonSchemaValue:
255
+ """Generate JSON schema for OpenAPI documentation."""
256
+ json_schema = handler(core_schema.str_schema())
257
+ json_schema.update(
258
+ {
259
+ "type": "string",
260
+ "pattern": cls.PATTERN,
261
+ }
262
+ )
263
+ return json_schema
264
+
245
265
 
246
266
  CollectionName: TypeAlias = MatchboxName
247
267
  """Type alias for collection names."""
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: matchbox-db
3
- Version: 0.6.3.dev96
3
+ Version: 0.7.0
4
4
  Summary: A framework for orchestrating and comparing data linking and deduplication methodologies.
5
5
  Author: Department for Business and Trade
6
6
  Project-URL: Documentation, https://uktrade.github.io/matchbox/
File without changes
File without changes
File without changes
File without changes
File without changes