datajoint 2.2.3__tar.gz → 2.2.4__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 (156) hide show
  1. {datajoint-2.2.3 → datajoint-2.2.4}/PKG-INFO +2 -1
  2. {datajoint-2.2.3 → datajoint-2.2.4}/pyproject.toml +1 -0
  3. {datajoint-2.2.3 → datajoint-2.2.4}/src/datajoint/__init__.py +4 -0
  4. {datajoint-2.2.3 → datajoint-2.2.4}/src/datajoint/settings.py +4 -4
  5. {datajoint-2.2.3 → datajoint-2.2.4}/src/datajoint/version.py +1 -1
  6. {datajoint-2.2.3 → datajoint-2.2.4}/.coveragerc +0 -0
  7. {datajoint-2.2.3 → datajoint-2.2.4}/.dockerignore +0 -0
  8. {datajoint-2.2.3 → datajoint-2.2.4}/.gitattributes +0 -0
  9. {datajoint-2.2.3 → datajoint-2.2.4}/.github/DISCUSSION_TEMPLATE/rfc.yml +0 -0
  10. {datajoint-2.2.3 → datajoint-2.2.4}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
  11. {datajoint-2.2.3 → datajoint-2.2.4}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
  12. {datajoint-2.2.3 → datajoint-2.2.4}/.github/ISSUE_TEMPLATE/improvement_request.md +0 -0
  13. {datajoint-2.2.3 → datajoint-2.2.4}/.github/dependabot.yml +0 -0
  14. {datajoint-2.2.3 → datajoint-2.2.4}/.github/release_drafter.yaml +0 -0
  15. {datajoint-2.2.3 → datajoint-2.2.4}/.github/workflows/close_inactive_issues_prs.yaml +0 -0
  16. {datajoint-2.2.3 → datajoint-2.2.4}/.github/workflows/draft_release.yaml +0 -0
  17. {datajoint-2.2.3 → datajoint-2.2.4}/.github/workflows/lint.yaml +0 -0
  18. {datajoint-2.2.3 → datajoint-2.2.4}/.github/workflows/post_draft_release_published.yaml +0 -0
  19. {datajoint-2.2.3 → datajoint-2.2.4}/.github/workflows/test.yaml +0 -0
  20. {datajoint-2.2.3 → datajoint-2.2.4}/.gitignore +0 -0
  21. {datajoint-2.2.3 → datajoint-2.2.4}/.pre-commit-config.yaml +0 -0
  22. {datajoint-2.2.3 → datajoint-2.2.4}/CHANGELOG-archive.md +0 -0
  23. {datajoint-2.2.3 → datajoint-2.2.4}/CONTRIBUTING.md +0 -0
  24. {datajoint-2.2.3 → datajoint-2.2.4}/Dockerfile +0 -0
  25. {datajoint-2.2.3 → datajoint-2.2.4}/LICENSE +0 -0
  26. {datajoint-2.2.3 → datajoint-2.2.4}/README.md +0 -0
  27. {datajoint-2.2.3 → datajoint-2.2.4}/RELEASE_MEMO.md +0 -0
  28. {datajoint-2.2.3 → datajoint-2.2.4}/activate.sh +0 -0
  29. {datajoint-2.2.3 → datajoint-2.2.4}/docker-compose.yaml +0 -0
  30. {datajoint-2.2.3 → datajoint-2.2.4}/images/pipeline.png +0 -0
  31. {datajoint-2.2.3 → datajoint-2.2.4}/images/pipeline.svg +0 -0
  32. {datajoint-2.2.3 → datajoint-2.2.4}/pixi.lock +0 -0
  33. {datajoint-2.2.3 → datajoint-2.2.4}/src/datajoint/adapters/__init__.py +0 -0
  34. {datajoint-2.2.3 → datajoint-2.2.4}/src/datajoint/adapters/base.py +0 -0
  35. {datajoint-2.2.3 → datajoint-2.2.4}/src/datajoint/adapters/mysql.py +0 -0
  36. {datajoint-2.2.3 → datajoint-2.2.4}/src/datajoint/adapters/postgres.py +0 -0
  37. {datajoint-2.2.3 → datajoint-2.2.4}/src/datajoint/autopopulate.py +0 -0
  38. {datajoint-2.2.3 → datajoint-2.2.4}/src/datajoint/blob.py +0 -0
  39. {datajoint-2.2.3 → datajoint-2.2.4}/src/datajoint/builtin_codecs/__init__.py +0 -0
  40. {datajoint-2.2.3 → datajoint-2.2.4}/src/datajoint/builtin_codecs/attach.py +0 -0
  41. {datajoint-2.2.3 → datajoint-2.2.4}/src/datajoint/builtin_codecs/blob.py +0 -0
  42. {datajoint-2.2.3 → datajoint-2.2.4}/src/datajoint/builtin_codecs/filepath.py +0 -0
  43. {datajoint-2.2.3 → datajoint-2.2.4}/src/datajoint/builtin_codecs/hash.py +0 -0
  44. {datajoint-2.2.3 → datajoint-2.2.4}/src/datajoint/builtin_codecs/npy.py +0 -0
  45. {datajoint-2.2.3 → datajoint-2.2.4}/src/datajoint/builtin_codecs/object.py +0 -0
  46. {datajoint-2.2.3 → datajoint-2.2.4}/src/datajoint/builtin_codecs/schema.py +0 -0
  47. {datajoint-2.2.3 → datajoint-2.2.4}/src/datajoint/cli.py +0 -0
  48. {datajoint-2.2.3 → datajoint-2.2.4}/src/datajoint/codecs.py +0 -0
  49. {datajoint-2.2.3 → datajoint-2.2.4}/src/datajoint/condition.py +0 -0
  50. {datajoint-2.2.3 → datajoint-2.2.4}/src/datajoint/connection.py +0 -0
  51. {datajoint-2.2.3 → datajoint-2.2.4}/src/datajoint/declare.py +0 -0
  52. {datajoint-2.2.3 → datajoint-2.2.4}/src/datajoint/dependencies.py +0 -0
  53. {datajoint-2.2.3 → datajoint-2.2.4}/src/datajoint/diagram.py +0 -0
  54. {datajoint-2.2.3 → datajoint-2.2.4}/src/datajoint/errors.py +0 -0
  55. {datajoint-2.2.3 → datajoint-2.2.4}/src/datajoint/expression.py +0 -0
  56. {datajoint-2.2.3 → datajoint-2.2.4}/src/datajoint/gc.py +0 -0
  57. {datajoint-2.2.3 → datajoint-2.2.4}/src/datajoint/hash_registry.py +0 -0
  58. {datajoint-2.2.3 → datajoint-2.2.4}/src/datajoint/heading.py +0 -0
  59. {datajoint-2.2.3 → datajoint-2.2.4}/src/datajoint/instance.py +0 -0
  60. {datajoint-2.2.3 → datajoint-2.2.4}/src/datajoint/jobs.py +0 -0
  61. {datajoint-2.2.3 → datajoint-2.2.4}/src/datajoint/lineage.py +0 -0
  62. {datajoint-2.2.3 → datajoint-2.2.4}/src/datajoint/logging.py +0 -0
  63. {datajoint-2.2.3 → datajoint-2.2.4}/src/datajoint/migrate.py +0 -0
  64. {datajoint-2.2.3 → datajoint-2.2.4}/src/datajoint/objectref.py +0 -0
  65. {datajoint-2.2.3 → datajoint-2.2.4}/src/datajoint/preview.py +0 -0
  66. {datajoint-2.2.3 → datajoint-2.2.4}/src/datajoint/schemas.py +0 -0
  67. {datajoint-2.2.3 → datajoint-2.2.4}/src/datajoint/staged_insert.py +0 -0
  68. {datajoint-2.2.3 → datajoint-2.2.4}/src/datajoint/storage.py +0 -0
  69. {datajoint-2.2.3 → datajoint-2.2.4}/src/datajoint/storage_adapter.py +0 -0
  70. {datajoint-2.2.3 → datajoint-2.2.4}/src/datajoint/table.py +0 -0
  71. {datajoint-2.2.3 → datajoint-2.2.4}/src/datajoint/types.py +0 -0
  72. {datajoint-2.2.3 → datajoint-2.2.4}/src/datajoint/user_tables.py +0 -0
  73. {datajoint-2.2.3 → datajoint-2.2.4}/src/datajoint/utils.py +0 -0
  74. {datajoint-2.2.3 → datajoint-2.2.4}/tests/__init__.py +0 -0
  75. {datajoint-2.2.3 → datajoint-2.2.4}/tests/conftest.py +0 -0
  76. {datajoint-2.2.3 → datajoint-2.2.4}/tests/integration/__init__.py +0 -0
  77. {datajoint-2.2.3 → datajoint-2.2.4}/tests/integration/data/Course.csv +0 -0
  78. {datajoint-2.2.3 → datajoint-2.2.4}/tests/integration/data/CurrentTerm.csv +0 -0
  79. {datajoint-2.2.3 → datajoint-2.2.4}/tests/integration/data/Department.csv +0 -0
  80. {datajoint-2.2.3 → datajoint-2.2.4}/tests/integration/data/Enroll.csv +0 -0
  81. {datajoint-2.2.3 → datajoint-2.2.4}/tests/integration/data/Grade.csv +0 -0
  82. {datajoint-2.2.3 → datajoint-2.2.4}/tests/integration/data/Section.csv +0 -0
  83. {datajoint-2.2.3 → datajoint-2.2.4}/tests/integration/data/Student.csv +0 -0
  84. {datajoint-2.2.3 → datajoint-2.2.4}/tests/integration/data/StudentMajor.csv +0 -0
  85. {datajoint-2.2.3 → datajoint-2.2.4}/tests/integration/data/Term.csv +0 -0
  86. {datajoint-2.2.3 → datajoint-2.2.4}/tests/integration/test_aggr_regressions.py +0 -0
  87. {datajoint-2.2.3 → datajoint-2.2.4}/tests/integration/test_alter.py +0 -0
  88. {datajoint-2.2.3 → datajoint-2.2.4}/tests/integration/test_attach.py +0 -0
  89. {datajoint-2.2.3 → datajoint-2.2.4}/tests/integration/test_autopopulate.py +0 -0
  90. {datajoint-2.2.3 → datajoint-2.2.4}/tests/integration/test_blob.py +0 -0
  91. {datajoint-2.2.3 → datajoint-2.2.4}/tests/integration/test_blob_matlab.py +0 -0
  92. {datajoint-2.2.3 → datajoint-2.2.4}/tests/integration/test_cascade_delete.py +0 -0
  93. {datajoint-2.2.3 → datajoint-2.2.4}/tests/integration/test_cascading_delete.py +0 -0
  94. {datajoint-2.2.3 → datajoint-2.2.4}/tests/integration/test_cli.py +0 -0
  95. {datajoint-2.2.3 → datajoint-2.2.4}/tests/integration/test_codec_chaining.py +0 -0
  96. {datajoint-2.2.3 → datajoint-2.2.4}/tests/integration/test_codecs.py +0 -0
  97. {datajoint-2.2.3 → datajoint-2.2.4}/tests/integration/test_connection.py +0 -0
  98. {datajoint-2.2.3 → datajoint-2.2.4}/tests/integration/test_declare.py +0 -0
  99. {datajoint-2.2.3 → datajoint-2.2.4}/tests/integration/test_dependencies.py +0 -0
  100. {datajoint-2.2.3 → datajoint-2.2.4}/tests/integration/test_erd.py +0 -0
  101. {datajoint-2.2.3 → datajoint-2.2.4}/tests/integration/test_fetch.py +0 -0
  102. {datajoint-2.2.3 → datajoint-2.2.4}/tests/integration/test_fetch_same.py +0 -0
  103. {datajoint-2.2.3 → datajoint-2.2.4}/tests/integration/test_foreign_keys.py +0 -0
  104. {datajoint-2.2.3 → datajoint-2.2.4}/tests/integration/test_gc.py +0 -0
  105. {datajoint-2.2.3 → datajoint-2.2.4}/tests/integration/test_groupby.py +0 -0
  106. {datajoint-2.2.3 → datajoint-2.2.4}/tests/integration/test_hash_storage.py +0 -0
  107. {datajoint-2.2.3 → datajoint-2.2.4}/tests/integration/test_hidden_job_metadata.py +0 -0
  108. {datajoint-2.2.3 → datajoint-2.2.4}/tests/integration/test_insert.py +0 -0
  109. {datajoint-2.2.3 → datajoint-2.2.4}/tests/integration/test_jobs.py +0 -0
  110. {datajoint-2.2.3 → datajoint-2.2.4}/tests/integration/test_json.py +0 -0
  111. {datajoint-2.2.3 → datajoint-2.2.4}/tests/integration/test_multi_backend.py +0 -0
  112. {datajoint-2.2.3 → datajoint-2.2.4}/tests/integration/test_nan.py +0 -0
  113. {datajoint-2.2.3 → datajoint-2.2.4}/tests/integration/test_npy_codec.py +0 -0
  114. {datajoint-2.2.3 → datajoint-2.2.4}/tests/integration/test_object.py +0 -0
  115. {datajoint-2.2.3 → datajoint-2.2.4}/tests/integration/test_privileges.py +0 -0
  116. {datajoint-2.2.3 → datajoint-2.2.4}/tests/integration/test_reconnection.py +0 -0
  117. {datajoint-2.2.3 → datajoint-2.2.4}/tests/integration/test_relation.py +0 -0
  118. {datajoint-2.2.3 → datajoint-2.2.4}/tests/integration/test_relation_u.py +0 -0
  119. {datajoint-2.2.3 → datajoint-2.2.4}/tests/integration/test_relational_operand.py +0 -0
  120. {datajoint-2.2.3 → datajoint-2.2.4}/tests/integration/test_schema.py +0 -0
  121. {datajoint-2.2.3 → datajoint-2.2.4}/tests/integration/test_schema_keywords.py +0 -0
  122. {datajoint-2.2.3 → datajoint-2.2.4}/tests/integration/test_semantic_matching.py +0 -0
  123. {datajoint-2.2.3 → datajoint-2.2.4}/tests/integration/test_skip_duplicates.py +0 -0
  124. {datajoint-2.2.3 → datajoint-2.2.4}/tests/integration/test_tls.py +0 -0
  125. {datajoint-2.2.3 → datajoint-2.2.4}/tests/integration/test_type_aliases.py +0 -0
  126. {datajoint-2.2.3 → datajoint-2.2.4}/tests/integration/test_university.py +0 -0
  127. {datajoint-2.2.3 → datajoint-2.2.4}/tests/integration/test_update1.py +0 -0
  128. {datajoint-2.2.3 → datajoint-2.2.4}/tests/integration/test_utils.py +0 -0
  129. {datajoint-2.2.3 → datajoint-2.2.4}/tests/integration/test_uuid.py +0 -0
  130. {datajoint-2.2.3 → datajoint-2.2.4}/tests/integration/test_virtual_module.py +0 -0
  131. {datajoint-2.2.3 → datajoint-2.2.4}/tests/schema.py +0 -0
  132. {datajoint-2.2.3 → datajoint-2.2.4}/tests/schema_advanced.py +0 -0
  133. {datajoint-2.2.3 → datajoint-2.2.4}/tests/schema_aggr_regress.py +0 -0
  134. {datajoint-2.2.3 → datajoint-2.2.4}/tests/schema_alter.py +0 -0
  135. {datajoint-2.2.3 → datajoint-2.2.4}/tests/schema_codecs.py +0 -0
  136. {datajoint-2.2.3 → datajoint-2.2.4}/tests/schema_external.py +0 -0
  137. {datajoint-2.2.3 → datajoint-2.2.4}/tests/schema_object.py +0 -0
  138. {datajoint-2.2.3 → datajoint-2.2.4}/tests/schema_privileges.py +0 -0
  139. {datajoint-2.2.3 → datajoint-2.2.4}/tests/schema_simple.py +0 -0
  140. {datajoint-2.2.3 → datajoint-2.2.4}/tests/schema_type_aliases.py +0 -0
  141. {datajoint-2.2.3 → datajoint-2.2.4}/tests/schema_university.py +0 -0
  142. {datajoint-2.2.3 → datajoint-2.2.4}/tests/schema_uuid.py +0 -0
  143. {datajoint-2.2.3 → datajoint-2.2.4}/tests/test_package.py +0 -0
  144. {datajoint-2.2.3 → datajoint-2.2.4}/tests/unit/__init__.py +0 -0
  145. {datajoint-2.2.3 → datajoint-2.2.4}/tests/unit/test_adapters.py +0 -0
  146. {datajoint-2.2.3 → datajoint-2.2.4}/tests/unit/test_codecs.py +0 -0
  147. {datajoint-2.2.3 → datajoint-2.2.4}/tests/unit/test_condition.py +0 -0
  148. {datajoint-2.2.3 → datajoint-2.2.4}/tests/unit/test_connection_warning.py +0 -0
  149. {datajoint-2.2.3 → datajoint-2.2.4}/tests/unit/test_declare_hidden_attribute.py +0 -0
  150. {datajoint-2.2.3 → datajoint-2.2.4}/tests/unit/test_fetch_compat.py +0 -0
  151. {datajoint-2.2.3 → datajoint-2.2.4}/tests/unit/test_lazy_imports.py +0 -0
  152. {datajoint-2.2.3 → datajoint-2.2.4}/tests/unit/test_pk_rules.py +0 -0
  153. {datajoint-2.2.3 → datajoint-2.2.4}/tests/unit/test_settings.py +0 -0
  154. {datajoint-2.2.3 → datajoint-2.2.4}/tests/unit/test_storage_adapter.py +0 -0
  155. {datajoint-2.2.3 → datajoint-2.2.4}/tests/unit/test_storage_urls.py +0 -0
  156. {datajoint-2.2.3 → datajoint-2.2.4}/tests/unit/test_thread_safe.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: datajoint
3
- Version: 2.2.3
3
+ Version: 2.2.4
4
4
  Summary: DataJoint for Python is a framework for scientific workflow management based on relational principles. DataJoint is built on the foundation of the relational data model and prescribes a consistent method for organizing, populating, computing, and querying data.
5
5
  Project-URL: Homepage, https://docs.datajoint.com/
6
6
  Project-URL: Documentation, https://docs.datajoint.com/
@@ -216,6 +216,7 @@ Requires-Dist: deepdiff
216
216
  Requires-Dist: fsspec>=2023.1.0
217
217
  Requires-Dist: networkx
218
218
  Requires-Dist: numpy
219
+ Requires-Dist: packaging
219
220
  Requires-Dist: pandas
220
221
  Requires-Dist: pydantic-settings>=2.0.0
221
222
  Requires-Dist: pydot
@@ -16,6 +16,7 @@ dependencies = [
16
16
  "pydot",
17
17
  "fsspec>=2023.1.0",
18
18
  "pydantic-settings>=2.0.0",
19
+ "packaging",
19
20
  ]
20
21
 
21
22
  requires-python = ">=3.10,<3.14"
@@ -51,6 +51,9 @@ __all__ = [
51
51
  "get_codec",
52
52
  "ObjectRef",
53
53
  "NpyRef",
54
+ # Storage Adapter API
55
+ "StorageAdapter",
56
+ "get_storage_adapter",
54
57
  # Other
55
58
  "errors",
56
59
  "migrate",
@@ -82,6 +85,7 @@ from .expression import AndList, Not, Top, U
82
85
  from .instance import Instance, _ConfigProxy, _get_singleton_connection, _global_config, _check_thread_safe
83
86
  from .logging import logger
84
87
  from .objectref import ObjectRef
88
+ from .storage_adapter import StorageAdapter, get_storage_adapter
85
89
  from .schemas import _Schema, VirtualModule, list_schemas, virtual_schema
86
90
  from .autopopulate import AutoPopulate
87
91
  from .jobs import Job
@@ -338,14 +338,14 @@ class Config(BaseSettings):
338
338
  # ``validation_alias`` redirects pydantic-settings' env source away from the
339
339
  # natural ``DJ_STORES`` so it doesn't auto-parse on Config() construction.
340
340
  # ``DJ_STORES`` is handled by ``_apply_stores_env`` after the config file
341
- # load so env-var precedence is honored. *New in 2.3.*
341
+ # load so env-var precedence is honored. *New in 2.2.3.*
342
342
  stores: dict[str, Any] = Field(
343
343
  default_factory=dict,
344
344
  validation_alias="_DJ_STORES_PYDANTIC_DISABLED",
345
345
  description="Unified object storage configuration. "
346
346
  "Use stores.default to designate default store. "
347
347
  "Configure named stores as stores.<name>.protocol, stores.<name>.location, etc. "
348
- "Set via DJ_STORES (JSON object) or in datajoint.json. *New in 2.3* for "
348
+ "Set via DJ_STORES (JSON object) or in datajoint.json. *New in 2.2.3* for "
349
349
  "DJ_STORES env-var support.",
350
350
  )
351
351
 
@@ -358,7 +358,7 @@ class Config(BaseSettings):
358
358
  validation_alias="DJ_IGNORE_CONFIG_FILE",
359
359
  description="If True, skip loading datajoint.json and the secrets directory. "
360
360
  "Intended for env-var-only deployments (e.g. the DataJoint platform). "
361
- "*New in 2.3.*",
361
+ "*New in 2.2.3.*",
362
362
  )
363
363
 
364
364
  # Cache path for query results
@@ -737,7 +737,7 @@ class Config(BaseSettings):
737
737
  names (e.g. a Bearer ``token`` field) without negotiating an env-var
738
738
  naming scheme per attr.
739
739
 
740
- *New in 2.3.*
740
+ *New in 2.2.3.*
741
741
  """
742
742
  raw = os.environ.get("DJ_STORES")
743
743
  if not raw:
@@ -1,4 +1,4 @@
1
1
  # version bump auto managed by Github Actions:
2
2
  # label_prs.yaml(prep), release.yaml(bump), post_release.yaml(edit)
3
3
  # manually set this version will be eventually overwritten by the above actions
4
- __version__ = "2.2.3"
4
+ __version__ = "2.2.4"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes