dataframely 3.1.2__tar.gz → 3.1.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 (217) hide show
  1. {dataframely-3.1.2 → dataframely-3.1.4}/.copier-answers.yml +2 -2
  2. {dataframely-3.1.2 → dataframely-3.1.4}/.gitattributes +1 -1
  3. {dataframely-3.1.2 → dataframely-3.1.4}/.github/workflows/build.yml +7 -7
  4. {dataframely-3.1.2 → dataframely-3.1.4}/.github/workflows/chore.yml +2 -2
  5. {dataframely-3.1.2 → dataframely-3.1.4}/.github/workflows/ci.yml +13 -8
  6. {dataframely-3.1.2 → dataframely-3.1.4}/.github/workflows/copilot-setup-steps.yml +2 -2
  7. {dataframely-3.1.2 → dataframely-3.1.4}/.github/workflows/nightly.yml +1 -1
  8. {dataframely-3.1.2 → dataframely-3.1.4}/.github/workflows/release-drafter.yml +1 -1
  9. {dataframely-3.1.2 → dataframely-3.1.4}/.github/workflows/scorecard.yml +4 -4
  10. {dataframely-3.1.2 → dataframely-3.1.4}/.gitignore +40 -160
  11. {dataframely-3.1.2 → dataframely-3.1.4}/.lefthook.yaml +6 -4
  12. {dataframely-3.1.2 → dataframely-3.1.4}/Cargo.lock +65 -76
  13. {dataframely-3.1.2 → dataframely-3.1.4}/Cargo.toml +5 -5
  14. {dataframely-3.1.2 → dataframely-3.1.4}/PKG-INFO +5 -5
  15. {dataframely-3.1.2 → dataframely-3.1.4}/dataframely/__init__.py +5 -5
  16. {dataframely-3.1.2 → dataframely-3.1.4}/dataframely/_base_schema.py +2 -9
  17. {dataframely-3.1.2 → dataframely-3.1.4}/dataframely/_deprecation.py +12 -15
  18. {dataframely-3.1.2 → dataframely-3.1.4}/dataframely/_match_to_schema.py +1 -2
  19. {dataframely-3.1.2 → dataframely-3.1.4}/dataframely/_native.pyi +3 -7
  20. {dataframely-3.1.2 → dataframely-3.1.4}/dataframely/_rule.py +1 -7
  21. {dataframely-3.1.2 → dataframely-3.1.4}/dataframely/collection/_base.py +4 -12
  22. {dataframely-3.1.2 → dataframely-3.1.4}/dataframely/collection/collection.py +2 -10
  23. {dataframely-3.1.2 → dataframely-3.1.4}/dataframely/collection/filter_result.py +1 -7
  24. {dataframely-3.1.2 → dataframely-3.1.4}/dataframely/columns/_base.py +5 -12
  25. {dataframely-3.1.2 → dataframely-3.1.4}/dataframely/columns/_mixins.py +1 -6
  26. {dataframely-3.1.2 → dataframely-3.1.4}/dataframely/columns/any.py +2 -1
  27. {dataframely-3.1.2 → dataframely-3.1.4}/dataframely/columns/array.py +11 -2
  28. {dataframely-3.1.2 → dataframely-3.1.4}/dataframely/columns/categorical.py +2 -1
  29. {dataframely-3.1.2 → dataframely-3.1.4}/dataframely/columns/datetime.py +8 -4
  30. {dataframely-3.1.2 → dataframely-3.1.4}/dataframely/columns/decimal.py +2 -1
  31. {dataframely-3.1.2 → dataframely-3.1.4}/dataframely/columns/enum.py +2 -1
  32. {dataframely-3.1.2 → dataframely-3.1.4}/dataframely/columns/float.py +10 -5
  33. {dataframely-3.1.2 → dataframely-3.1.4}/dataframely/columns/integer.py +2 -1
  34. {dataframely-3.1.2 → dataframely-3.1.4}/dataframely/columns/list.py +4 -1
  35. {dataframely-3.1.2 → dataframely-3.1.4}/dataframely/columns/object.py +2 -1
  36. {dataframely-3.1.2 → dataframely-3.1.4}/dataframely/columns/string.py +2 -1
  37. {dataframely-3.1.2 → dataframely-3.1.4}/dataframely/columns/struct.py +2 -1
  38. {dataframely-3.1.2 → dataframely-3.1.4}/dataframely/config.py +2 -9
  39. {dataframely-3.1.2 → dataframely-3.1.4}/dataframely/experimental/infer_schema.py +20 -5
  40. {dataframely-3.1.2 → dataframely-3.1.4}/dataframely/filter_result.py +3 -11
  41. {dataframely-3.1.2 → dataframely-3.1.4}/dataframely/random.py +23 -10
  42. {dataframely-3.1.2 → dataframely-3.1.4}/dataframely/schema.py +6 -13
  43. {dataframely-3.1.2 → dataframely-3.1.4}/docs/guides/coding-agents.md +2 -2
  44. {dataframely-3.1.2 → dataframely-3.1.4}/docs/guides/faq.md +1 -0
  45. {dataframely-3.1.2 → dataframely-3.1.4}/pixi.lock +15720 -14955
  46. {dataframely-3.1.2 → dataframely-3.1.4}/pixi.toml +12 -10
  47. {dataframely-3.1.2 → dataframely-3.1.4}/pyproject.toml +21 -13
  48. {dataframely-3.1.2 → dataframely-3.1.4}/rust-toolchain.toml +1 -1
  49. {dataframely-3.1.2 → dataframely-3.1.4}/tests/collection/test_matches.py +4 -8
  50. {dataframely-3.1.2 → dataframely-3.1.4}/tests/column_types/test_array.py +73 -0
  51. {dataframely-3.1.2 → dataframely-3.1.4}/tests/column_types/test_enum.py +3 -3
  52. {dataframely-3.1.2 → dataframely-3.1.4}/tests/column_types/test_float.py +100 -1
  53. {dataframely-3.1.2 → dataframely-3.1.4}/tests/column_types/test_integer.py +2 -4
  54. {dataframely-3.1.2 → dataframely-3.1.4}/tests/columns/test_pydantic.py +42 -0
  55. {dataframely-3.1.2 → dataframely-3.1.4}/tests/columns/test_sample.py +19 -0
  56. {dataframely-3.1.2 → dataframely-3.1.4}/tests/columns/test_sqlalchemy_columns.py +2 -2
  57. {dataframely-3.1.2 → dataframely-3.1.4}/tests/experimental/test_infer_schema.py +42 -0
  58. {dataframely-3.1.2 → dataframely-3.1.4}/tests/test_random.py +59 -0
  59. {dataframely-3.1.2 → dataframely-3.1.4}/.claude/CLAUDE.md +0 -0
  60. {dataframely-3.1.2 → dataframely-3.1.4}/.envrc +0 -0
  61. {dataframely-3.1.2 → dataframely-3.1.4}/.github/CODEOWNERS +0 -0
  62. {dataframely-3.1.2 → dataframely-3.1.4}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
  63. {dataframely-3.1.2 → dataframely-3.1.4}/.github/copilot-instructions.md +0 -0
  64. {dataframely-3.1.2 → dataframely-3.1.4}/.github/dependabot.yml +0 -0
  65. {dataframely-3.1.2 → dataframely-3.1.4}/.github/instructions/tests.instructions.md +0 -0
  66. {dataframely-3.1.2 → dataframely-3.1.4}/.github/release-drafter.yml +0 -0
  67. {dataframely-3.1.2 → dataframely-3.1.4}/.prettierignore +0 -0
  68. {dataframely-3.1.2 → dataframely-3.1.4}/.prettierrc +0 -0
  69. {dataframely-3.1.2 → dataframely-3.1.4}/.readthedocs.yml +0 -0
  70. {dataframely-3.1.2 → dataframely-3.1.4}/AGENTS.md +0 -0
  71. {dataframely-3.1.2 → dataframely-3.1.4}/LICENSE +0 -0
  72. {dataframely-3.1.2 → dataframely-3.1.4}/README.md +0 -0
  73. {dataframely-3.1.2 → dataframely-3.1.4}/SECURITY.md +0 -0
  74. {dataframely-3.1.2 → dataframely-3.1.4}/dataframely/_compat.py +0 -0
  75. {dataframely-3.1.2 → dataframely-3.1.4}/dataframely/_filter.py +0 -0
  76. {dataframely-3.1.2 → dataframely-3.1.4}/dataframely/_plugin.py +0 -0
  77. {dataframely-3.1.2 → dataframely-3.1.4}/dataframely/_polars.py +0 -0
  78. {dataframely-3.1.2 → dataframely-3.1.4}/dataframely/_pydantic.py +0 -0
  79. {dataframely-3.1.2 → dataframely-3.1.4}/dataframely/_typing.py +0 -0
  80. {dataframely-3.1.2 → dataframely-3.1.4}/dataframely/collection/__init__.py +0 -0
  81. {dataframely-3.1.2 → dataframely-3.1.4}/dataframely/columns/__init__.py +0 -0
  82. {dataframely-3.1.2 → dataframely-3.1.4}/dataframely/columns/_utils.py +0 -0
  83. {dataframely-3.1.2 → dataframely-3.1.4}/dataframely/columns/binary.py +0 -0
  84. {dataframely-3.1.2 → dataframely-3.1.4}/dataframely/columns/bool.py +0 -0
  85. {dataframely-3.1.2 → dataframely-3.1.4}/dataframely/exc.py +0 -0
  86. {dataframely-3.1.2 → dataframely-3.1.4}/dataframely/experimental/__init__.py +0 -0
  87. {dataframely-3.1.2 → dataframely-3.1.4}/dataframely/functional.py +0 -0
  88. {dataframely-3.1.2 → dataframely-3.1.4}/dataframely/py.typed +0 -0
  89. {dataframely-3.1.2 → dataframely-3.1.4}/dataframely/testing/__init__.py +0 -0
  90. {dataframely-3.1.2 → dataframely-3.1.4}/dataframely/testing/const.py +0 -0
  91. {dataframely-3.1.2 → dataframely-3.1.4}/dataframely/testing/factory.py +0 -0
  92. {dataframely-3.1.2 → dataframely-3.1.4}/dataframely/testing/mask.py +0 -0
  93. {dataframely-3.1.2 → dataframely-3.1.4}/dataframely/testing/rules.py +0 -0
  94. {dataframely-3.1.2 → dataframely-3.1.4}/docker-compose.yml +0 -0
  95. {dataframely-3.1.2 → dataframely-3.1.4}/docs/_static/custom.css +0 -0
  96. {dataframely-3.1.2 → dataframely-3.1.4}/docs/_static/favicon.ico +0 -0
  97. {dataframely-3.1.2 → dataframely-3.1.4}/docs/_templates/autosummary/class.rst +0 -0
  98. {dataframely-3.1.2 → dataframely-3.1.4}/docs/_templates/autosummary/method.rst +0 -0
  99. {dataframely-3.1.2 → dataframely-3.1.4}/docs/_templates/classes/column.rst +0 -0
  100. {dataframely-3.1.2 → dataframely-3.1.4}/docs/_templates/classes/error.rst +0 -0
  101. {dataframely-3.1.2 → dataframely-3.1.4}/docs/_templates/classes/filter_result.rst +0 -0
  102. {dataframely-3.1.2 → dataframely-3.1.4}/docs/api/collection/generation.rst +0 -0
  103. {dataframely-3.1.2 → dataframely-3.1.4}/docs/api/collection/index.rst +0 -0
  104. {dataframely-3.1.2 → dataframely-3.1.4}/docs/api/collection/io.rst +0 -0
  105. {dataframely-3.1.2 → dataframely-3.1.4}/docs/api/collection/metadata.rst +0 -0
  106. {dataframely-3.1.2 → dataframely-3.1.4}/docs/api/collection/operations.rst +0 -0
  107. {dataframely-3.1.2 → dataframely-3.1.4}/docs/api/collection/validation.rst +0 -0
  108. {dataframely-3.1.2 → dataframely-3.1.4}/docs/api/columns/index.rst +0 -0
  109. {dataframely-3.1.2 → dataframely-3.1.4}/docs/api/errors/index.rst +0 -0
  110. {dataframely-3.1.2 → dataframely-3.1.4}/docs/api/experimental/index.rst +0 -0
  111. {dataframely-3.1.2 → dataframely-3.1.4}/docs/api/filter_result/failure_info.rst +0 -0
  112. {dataframely-3.1.2 → dataframely-3.1.4}/docs/api/filter_result/index.rst +0 -0
  113. {dataframely-3.1.2 → dataframely-3.1.4}/docs/api/index.rst +0 -0
  114. {dataframely-3.1.2 → dataframely-3.1.4}/docs/api/misc/index.rst +0 -0
  115. {dataframely-3.1.2 → dataframely-3.1.4}/docs/api/schema/conversion.rst +0 -0
  116. {dataframely-3.1.2 → dataframely-3.1.4}/docs/api/schema/generation.rst +0 -0
  117. {dataframely-3.1.2 → dataframely-3.1.4}/docs/api/schema/index.rst +0 -0
  118. {dataframely-3.1.2 → dataframely-3.1.4}/docs/api/schema/metadata.rst +0 -0
  119. {dataframely-3.1.2 → dataframely-3.1.4}/docs/api/schema/validation.rst +0 -0
  120. {dataframely-3.1.2 → dataframely-3.1.4}/docs/conf.py +0 -0
  121. {dataframely-3.1.2 → dataframely-3.1.4}/docs/css/custom.css +0 -0
  122. {dataframely-3.1.2 → dataframely-3.1.4}/docs/guides/development.md +0 -0
  123. {dataframely-3.1.2 → dataframely-3.1.4}/docs/guides/examples/index.md +0 -0
  124. {dataframely-3.1.2 → dataframely-3.1.4}/docs/guides/examples/real-world.ipynb +0 -0
  125. {dataframely-3.1.2 → dataframely-3.1.4}/docs/guides/features/column-metadata.md +0 -0
  126. {dataframely-3.1.2 → dataframely-3.1.4}/docs/guides/features/data-generation.md +0 -0
  127. {dataframely-3.1.2 → dataframely-3.1.4}/docs/guides/features/index.md +0 -0
  128. {dataframely-3.1.2 → dataframely-3.1.4}/docs/guides/features/lazy-validation.md +0 -0
  129. {dataframely-3.1.2 → dataframely-3.1.4}/docs/guides/features/primary-keys.md +0 -0
  130. {dataframely-3.1.2 → dataframely-3.1.4}/docs/guides/features/serialization.md +0 -0
  131. {dataframely-3.1.2 → dataframely-3.1.4}/docs/guides/features/sql-generation.md +0 -0
  132. {dataframely-3.1.2 → dataframely-3.1.4}/docs/guides/index.md +0 -0
  133. {dataframely-3.1.2 → dataframely-3.1.4}/docs/guides/migration/index.md +0 -0
  134. {dataframely-3.1.2 → dataframely-3.1.4}/docs/guides/migration/v1-v2.md +0 -0
  135. {dataframely-3.1.2 → dataframely-3.1.4}/docs/guides/migration/v2-v3.md +0 -0
  136. {dataframely-3.1.2 → dataframely-3.1.4}/docs/guides/quickstart.md +0 -0
  137. {dataframely-3.1.2 → dataframely-3.1.4}/docs/index.md +0 -0
  138. {dataframely-3.1.2/skills → dataframely-3.1.4/skills/dataframely}/SKILL.md +0 -0
  139. {dataframely-3.1.2 → dataframely-3.1.4}/src/arrow.rs +0 -0
  140. {dataframely-3.1.2 → dataframely-3.1.4}/src/lib.rs +0 -0
  141. {dataframely-3.1.2 → dataframely-3.1.4}/src/polars_plugin/mod.rs +0 -0
  142. {dataframely-3.1.2 → dataframely-3.1.4}/src/polars_plugin/rule_failure.rs +0 -0
  143. {dataframely-3.1.2 → dataframely-3.1.4}/src/polars_plugin/utils.rs +0 -0
  144. {dataframely-3.1.2 → dataframely-3.1.4}/src/polars_plugin/validation_error.rs +0 -0
  145. {dataframely-3.1.2 → dataframely-3.1.4}/src/regex/errdefs.rs +0 -0
  146. {dataframely-3.1.2 → dataframely-3.1.4}/src/regex/mod.rs +0 -0
  147. {dataframely-3.1.2 → dataframely-3.1.4}/src/regex/repr.rs +0 -0
  148. {dataframely-3.1.2 → dataframely-3.1.4}/tests/benches/conftest.py +0 -0
  149. {dataframely-3.1.2 → dataframely-3.1.4}/tests/benches/test_collection.py +0 -0
  150. {dataframely-3.1.2 → dataframely-3.1.4}/tests/benches/test_failure.py +0 -0
  151. {dataframely-3.1.2 → dataframely-3.1.4}/tests/benches/test_schema.py +0 -0
  152. {dataframely-3.1.2 → dataframely-3.1.4}/tests/collection/test_base.py +0 -0
  153. {dataframely-3.1.2 → dataframely-3.1.4}/tests/collection/test_cast.py +0 -0
  154. {dataframely-3.1.2 → dataframely-3.1.4}/tests/collection/test_collection_future_annotations.py +0 -0
  155. {dataframely-3.1.2 → dataframely-3.1.4}/tests/collection/test_create_empty.py +0 -0
  156. {dataframely-3.1.2 → dataframely-3.1.4}/tests/collection/test_dataframe_members.py +0 -0
  157. {dataframely-3.1.2 → dataframely-3.1.4}/tests/collection/test_filter_one_to_n.py +0 -0
  158. {dataframely-3.1.2 → dataframely-3.1.4}/tests/collection/test_filter_validate.py +0 -0
  159. {dataframely-3.1.2 → dataframely-3.1.4}/tests/collection/test_ignore_in_filter.py +0 -0
  160. {dataframely-3.1.2 → dataframely-3.1.4}/tests/collection/test_implementation.py +0 -0
  161. {dataframely-3.1.2 → dataframely-3.1.4}/tests/collection/test_join.py +0 -0
  162. {dataframely-3.1.2 → dataframely-3.1.4}/tests/collection/test_optional_members.py +0 -0
  163. {dataframely-3.1.2 → dataframely-3.1.4}/tests/collection/test_parquet.py +0 -0
  164. {dataframely-3.1.2 → dataframely-3.1.4}/tests/collection/test_pipe.py +0 -0
  165. {dataframely-3.1.2 → dataframely-3.1.4}/tests/collection/test_propagate_row_failures.py +0 -0
  166. {dataframely-3.1.2 → dataframely-3.1.4}/tests/collection/test_repr.py +0 -0
  167. {dataframely-3.1.2 → dataframely-3.1.4}/tests/collection/test_sample.py +0 -0
  168. {dataframely-3.1.2 → dataframely-3.1.4}/tests/collection/test_skip_member_validation.py +0 -0
  169. {dataframely-3.1.2 → dataframely-3.1.4}/tests/collection/test_validate_input.py +0 -0
  170. {dataframely-3.1.2 → dataframely-3.1.4}/tests/column_types/__init__.py +0 -0
  171. {dataframely-3.1.2 → dataframely-3.1.4}/tests/column_types/test_any.py +0 -0
  172. {dataframely-3.1.2 → dataframely-3.1.4}/tests/column_types/test_binary.py +0 -0
  173. {dataframely-3.1.2 → dataframely-3.1.4}/tests/column_types/test_categorical.py +0 -0
  174. {dataframely-3.1.2 → dataframely-3.1.4}/tests/column_types/test_datetime.py +0 -0
  175. {dataframely-3.1.2 → dataframely-3.1.4}/tests/column_types/test_decimal.py +0 -0
  176. {dataframely-3.1.2 → dataframely-3.1.4}/tests/column_types/test_list.py +0 -0
  177. {dataframely-3.1.2 → dataframely-3.1.4}/tests/column_types/test_object.py +0 -0
  178. {dataframely-3.1.2 → dataframely-3.1.4}/tests/column_types/test_string.py +0 -0
  179. {dataframely-3.1.2 → dataframely-3.1.4}/tests/column_types/test_struct.py +0 -0
  180. {dataframely-3.1.2 → dataframely-3.1.4}/tests/columns/__init__.py +0 -0
  181. {dataframely-3.1.2 → dataframely-3.1.4}/tests/columns/test_alias.py +0 -0
  182. {dataframely-3.1.2 → dataframely-3.1.4}/tests/columns/test_arrow_pycapsule.py +0 -0
  183. {dataframely-3.1.2 → dataframely-3.1.4}/tests/columns/test_base.py +0 -0
  184. {dataframely-3.1.2 → dataframely-3.1.4}/tests/columns/test_check.py +0 -0
  185. {dataframely-3.1.2 → dataframely-3.1.4}/tests/columns/test_default_dtypes.py +0 -0
  186. {dataframely-3.1.2 → dataframely-3.1.4}/tests/columns/test_description.py +0 -0
  187. {dataframely-3.1.2 → dataframely-3.1.4}/tests/columns/test_matches.py +0 -0
  188. {dataframely-3.1.2 → dataframely-3.1.4}/tests/columns/test_metadata.py +0 -0
  189. {dataframely-3.1.2 → dataframely-3.1.4}/tests/columns/test_polars_schema.py +0 -0
  190. {dataframely-3.1.2 → dataframely-3.1.4}/tests/columns/test_rules.py +0 -0
  191. {dataframely-3.1.2 → dataframely-3.1.4}/tests/columns/test_str.py +0 -0
  192. {dataframely-3.1.2 → dataframely-3.1.4}/tests/columns/test_utils.py +0 -0
  193. {dataframely-3.1.2 → dataframely-3.1.4}/tests/core_validation/__init__.py +0 -0
  194. {dataframely-3.1.2 → dataframely-3.1.4}/tests/core_validation/test_match_to_schema.py +0 -0
  195. {dataframely-3.1.2 → dataframely-3.1.4}/tests/core_validation/test_rule_evaluation.py +0 -0
  196. {dataframely-3.1.2 → dataframely-3.1.4}/tests/failure_info/test_parquet.py +0 -0
  197. {dataframely-3.1.2 → dataframely-3.1.4}/tests/functional/test_concat.py +0 -0
  198. {dataframely-3.1.2 → dataframely-3.1.4}/tests/functional/test_relationships.py +0 -0
  199. {dataframely-3.1.2 → dataframely-3.1.4}/tests/schema/test_base.py +0 -0
  200. {dataframely-3.1.2 → dataframely-3.1.4}/tests/schema/test_cast.py +0 -0
  201. {dataframely-3.1.2 → dataframely-3.1.4}/tests/schema/test_create_empty.py +0 -0
  202. {dataframely-3.1.2 → dataframely-3.1.4}/tests/schema/test_create_empty_if_none.py +0 -0
  203. {dataframely-3.1.2 → dataframely-3.1.4}/tests/schema/test_filter.py +0 -0
  204. {dataframely-3.1.2 → dataframely-3.1.4}/tests/schema/test_inheritance.py +0 -0
  205. {dataframely-3.1.2 → dataframely-3.1.4}/tests/schema/test_matches.py +0 -0
  206. {dataframely-3.1.2 → dataframely-3.1.4}/tests/schema/test_pydantic_model.py +0 -0
  207. {dataframely-3.1.2 → dataframely-3.1.4}/tests/schema/test_repr.py +0 -0
  208. {dataframely-3.1.2 → dataframely-3.1.4}/tests/schema/test_rule_implementation.py +0 -0
  209. {dataframely-3.1.2 → dataframely-3.1.4}/tests/schema/test_sample.py +0 -0
  210. {dataframely-3.1.2 → dataframely-3.1.4}/tests/schema/test_validate.py +0 -0
  211. {dataframely-3.1.2 → dataframely-3.1.4}/tests/test_compat.py +0 -0
  212. {dataframely-3.1.2 → dataframely-3.1.4}/tests/test_config.py +0 -0
  213. {dataframely-3.1.2 → dataframely-3.1.4}/tests/test_deprecation.py +0 -0
  214. {dataframely-3.1.2 → dataframely-3.1.4}/tests/test_factory.py +0 -0
  215. {dataframely-3.1.2 → dataframely-3.1.4}/tests/test_native_regex.py +0 -0
  216. {dataframely-3.1.2 → dataframely-3.1.4}/tests/test_pydantic.py +0 -0
  217. {dataframely-3.1.2 → dataframely-3.1.4}/tests/test_typing.py +0 -0
@@ -8,14 +8,14 @@
8
8
  #
9
9
  # If you want to run this as a one-off command, prefix with:
10
10
  # `pixi exec --spec copier --spec ruamel.yaml -- {command}`
11
- _commit: v0.5.3
11
+ _commit: v0.6.0
12
12
  _src_path: https://github.com/quantco/copier-template-python-open-source
13
13
  add_autobump_workflow: false
14
14
  author_email: oliver.borchert@quantco.com
15
15
  author_name: Oliver Borchert
16
16
  github_url: https://github.com/quantco/dataframely
17
17
  github_user: borchero
18
- minimal_python_version: py310
18
+ minimal_python_version: py311
19
19
  project_short_description: A declarative, polars-native data frame validation library
20
20
  project_slug: dataframely
21
21
  use_devcontainer: false
@@ -1 +1 @@
1
- pixi.lock merge=binary linguist-language=YAML linguist-generated=true
1
+ pixi.lock merge=binary linguist-language=YAML linguist-generated=true -diff
@@ -17,7 +17,7 @@ jobs:
17
17
  with:
18
18
  fetch-depth: 0
19
19
  - name: Set up pixi
20
- uses: prefix-dev/setup-pixi@f00437f565399d418b0acc85936d12c1fb668347 # v0.10.1
20
+ uses: prefix-dev/setup-pixi@9936258fee697aff89b3fed6ca1f80a382ef694e # v0.11.3
21
21
  with:
22
22
  environments: build
23
23
  - name: Set version
@@ -25,7 +25,7 @@ jobs:
25
25
  - name: Build project
26
26
  run: pixi run -e build build-sdist
27
27
  - name: Upload package
28
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
28
+ uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
29
29
  with:
30
30
  name: sdist
31
31
  path: dist/*
@@ -52,7 +52,7 @@ jobs:
52
52
  with:
53
53
  fetch-depth: 0
54
54
  - name: Set up pixi
55
- uses: prefix-dev/setup-pixi@f00437f565399d418b0acc85936d12c1fb668347 # v0.10.1
55
+ uses: prefix-dev/setup-pixi@9936258fee697aff89b3fed6ca1f80a382ef694e # v0.11.3
56
56
  with:
57
57
  environments: build
58
58
  - name: Set version
@@ -85,7 +85,7 @@ jobs:
85
85
  uses: PyO3/maturin-action@e83996d129638aa358a18fbd1dfb82f0b0fb5d3b # v1.51.0 # zizmor: ignore[cache-poisoning]
86
86
  with:
87
87
  command: build
88
- args: --out dist --release -i python3.10
88
+ args: --out dist --release -i python3.11
89
89
  manylinux: auto
90
90
  # NOTE: We also need to set up cargo-auditable inside the docker container
91
91
  # where the linux build is performed.
@@ -95,7 +95,7 @@ jobs:
95
95
  - name: Check package
96
96
  run: pixi run -e build check-wheel
97
97
  - name: Upload package
98
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
98
+ uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
99
99
  with:
100
100
  name: wheel-${{ matrix.target-platform }}
101
101
  path: dist/*
@@ -109,9 +109,9 @@ jobs:
109
109
  id-token: write
110
110
  environment: pypi
111
111
  steps:
112
- - uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
112
+ - uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
113
113
  with:
114
114
  path: dist
115
115
  merge-multiple: true
116
116
  - name: Publish package on PyPi
117
- uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 # v1.14.2
117
+ uses: pypa/gh-action-pypi-publish@7245906fb61fa33a13554f9d5fb856fe61758086 # v1.14.3
@@ -18,7 +18,7 @@ jobs:
18
18
  steps:
19
19
  - name: Check valid conventional commit message
20
20
  id: lint
21
- uses: amannn/action-semantic-pull-request@48f256284bd46cdaab1048c3721360e808335d50 # v6.1.1
21
+ uses: amannn/action-semantic-pull-request@c5e23b7e584519ee15caa684cf60d056aa9f035f # v6.1.3
22
22
  with:
23
23
  subjectPattern: ^[A-Z].+[^. ]$ # subject must start with uppercase letter and may not end with a dot/space
24
24
  env:
@@ -54,6 +54,6 @@ jobs:
54
54
  pull-requests: write
55
55
  steps:
56
56
  - name: Assign labels
57
- uses: release-drafter/release-drafter/autolabeler@34d80673e067bdc0c24568d3af899c216adcfaa9 # v7.7.0
57
+ uses: release-drafter/release-drafter/autolabeler@d1a19e60e81a7e650d00a7de9277f87e439117ea # v7.11.0
58
58
  with:
59
59
  token: ${{ github.token }}
@@ -18,19 +18,19 @@ jobs:
18
18
  timeout-minutes: 30
19
19
  runs-on: ubuntu-latest
20
20
  steps:
21
- - name: Checkout branch
21
+ - name: Check out branch
22
22
  uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
23
23
  with:
24
24
  # needed for 'pre-commit-mirrors-insert-license'
25
25
  fetch-depth: 0
26
26
  - name: Set up pixi
27
- uses: prefix-dev/setup-pixi@f00437f565399d418b0acc85936d12c1fb668347 # v0.10.1
27
+ uses: prefix-dev/setup-pixi@9936258fee697aff89b3fed6ca1f80a382ef694e # v0.11.3
28
28
  with:
29
- environments: default default-py310
29
+ environments: default default-py311
30
30
  - name: Install Rust
31
31
  run: rustup show
32
32
  - name: Cache Rust dependencies
33
- uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
33
+ uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3
34
34
  - name: Run linting
35
35
  run: pixi run lint
36
36
  env:
@@ -44,7 +44,12 @@ jobs:
44
44
  fail-fast: true
45
45
  matrix:
46
46
  os: [ubuntu-latest, windows-latest, macos-latest]
47
- environment: [py310, py311, py312, py313, py314]
47
+ environment:
48
+ - py311
49
+ - py312
50
+ - py313
51
+ - py314
52
+ - py315
48
53
  with_optionals: [false]
49
54
  include:
50
55
  # Test with optional dependencies across OSes
@@ -65,7 +70,7 @@ jobs:
65
70
  - name: Checkout branch
66
71
  uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
67
72
  - name: Set up pixi
68
- uses: prefix-dev/setup-pixi@f00437f565399d418b0acc85936d12c1fb668347 # v0.10.1
73
+ uses: prefix-dev/setup-pixi@9936258fee697aff89b3fed6ca1f80a382ef694e # v0.11.3
69
74
  with:
70
75
  environments: ${{ matrix.environment }}
71
76
  # FIXME: Remove when `s3_server` fixture does not start a process anymore
@@ -73,13 +78,13 @@ jobs:
73
78
  - name: Install Rust
74
79
  run: rustup show
75
80
  - name: Cache Rust dependencies
76
- uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
81
+ uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3
77
82
  - name: Install repository
78
83
  run: pixi run -e ${{ matrix.environment }} postinstall
79
84
  - name: Run pytest
80
85
  run: pixi run -e ${{ matrix.environment }} test-coverage --color=yes ${{ matrix.with_optionals && '-m with_optionals' || '-m "not with_optionals"'}} --cov=dataframely --cov-report=xml
81
86
  - name: Upload codecov
82
- uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
87
+ uses: codecov/codecov-action@303a32d7a59b442fa8d48b6a1cc6825c09c847a5 # v7.1.1
83
88
  with:
84
89
  files: ./coverage.xml
85
90
  token: ${{ secrets.CODECOV_TOKEN }}
@@ -15,12 +15,12 @@ jobs:
15
15
  - name: Checkout branch
16
16
  uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
17
17
  - name: Set up pixi
18
- uses: prefix-dev/setup-pixi@f00437f565399d418b0acc85936d12c1fb668347 # v0.10.1
18
+ uses: prefix-dev/setup-pixi@9936258fee697aff89b3fed6ca1f80a382ef694e # v0.11.3
19
19
  with:
20
20
  environments: default
21
21
  - name: Install Rust
22
22
  run: rustup show
23
23
  - name: Cache Rust dependencies
24
- uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
24
+ uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3
25
25
  - name: Install repository
26
26
  run: pixi run postinstall
@@ -25,7 +25,7 @@ jobs:
25
25
  - name: Checkout branch
26
26
  uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
27
27
  - name: Set up pixi
28
- uses: prefix-dev/setup-pixi@f00437f565399d418b0acc85936d12c1fb668347 # v0.10.1
28
+ uses: prefix-dev/setup-pixi@9936258fee697aff89b3fed6ca1f80a382ef694e # v0.11.3
29
29
  with:
30
30
  environments: nightly
31
31
  - name: Install polars nightly
@@ -16,6 +16,6 @@ jobs:
16
16
  pull-requests: read
17
17
  steps:
18
18
  - name: Update release draft
19
- uses: release-drafter/release-drafter@34d80673e067bdc0c24568d3af899c216adcfaa9 # v7.7.0
19
+ uses: release-drafter/release-drafter@d1a19e60e81a7e650d00a7de9277f87e439117ea # v7.11.0
20
20
  with:
21
21
  token: ${{ github.token }}
@@ -34,13 +34,13 @@ jobs:
34
34
  # actions: read
35
35
 
36
36
  steps:
37
- - name: "Checkout code"
37
+ - name: "Check out code"
38
38
  uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
39
39
  with:
40
40
  persist-credentials: false
41
41
 
42
42
  - name: "Run analysis"
43
- uses: ossf/scorecard-action@2d1146689b8cda280b9bc96326124645441f03bc # v2.4.4
43
+ uses: ossf/scorecard-action@23f22cd43608bae7a1f1fa2603d7314dee9538a5 # v2.6.0
44
44
  with:
45
45
  results_file: results.sarif
46
46
  results_format: sarif
@@ -65,7 +65,7 @@ jobs:
65
65
  # Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
66
66
  # format to the repository Actions tab.
67
67
  - name: "Upload artifact"
68
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
68
+ uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
69
69
  with:
70
70
  name: SARIF file
71
71
  path: results.sarif
@@ -74,6 +74,6 @@ jobs:
74
74
  # Upload the results to GitHub's code scanning dashboard (optional).
75
75
  # Commenting out will disable upload of results to your repo's Code Scanning dashboard
76
76
  - name: "Upload to code-scanning"
77
- uses: github/codeql-action/upload-sarif@db488ddef3bf6cb639b32c2e9a7c0a7ea8271d28 # v4.37.8
77
+ uses: github/codeql-action/upload-sarif@1bd86f2fdb4b86187fa4059f16f31a3202acc9ea # v4.39.4
78
78
  with:
79
79
  sarif_file: results.sarif
@@ -1,5 +1,6 @@
1
- # Created by https://www.toptal.com/developers/gitignore/api/linux,macos,direnv,python,windows,pycharm+all,visualstudiocode,vim
2
- # Edit at https://www.toptal.com/developers/gitignore?templates=linux,macos,direnv,python,windows,pycharm+all,visualstudiocode,vim
1
+ # Explicitly unignore hidden files for ripgrep. Individual folders can still
2
+ # be ignored in the blocks below.
3
+ !.*
3
4
 
4
5
  ### direnv ###
5
6
  .direnv
@@ -22,177 +23,45 @@
22
23
  ### macOS ###
23
24
  # General
24
25
  .DS_Store
25
- .AppleDouble
26
- .LSOverride
27
-
28
- # Icon must end with two \r
29
- Icon
30
-
31
-
32
- # Thumbnails
33
- ._*
34
-
35
- # Files that might appear in the root of a volume
36
- .DocumentRevisions-V100
37
- .fseventsd
38
- .Spotlight-V100
39
- .TemporaryItems
40
- .Trashes
41
- .VolumeIcon.icns
42
- .com.apple.timemachine.donotpresent
43
-
44
- # Directories potentially created on remote AFP share
45
- .AppleDB
46
- .AppleDesktop
47
- Network Trash Folder
48
- Temporary Items
49
- .apdisk
50
-
51
- ### macOS Patch ###
52
- # iCloud generated files
53
- *.icloud
54
-
55
- ### PyCharm+all ###
56
- # Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
57
- # Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
58
-
59
- # User-specific stuff
60
- .idea/**/workspace.xml
61
- .idea/**/tasks.xml
62
- .idea/**/usage.statistics.xml
63
- .idea/**/dictionaries
64
- .idea/**/shelf
65
-
66
- # AWS User-specific
67
- .idea/**/aws.xml
68
-
69
- # Generated files
70
- .idea/**/contentModel.xml
71
-
72
- # Sensitive or high-churn files
73
- .idea/**/dataSources/
74
- .idea/**/dataSources.ids
75
- .idea/**/dataSources.local.xml
76
- .idea/**/sqlDataSources.xml
77
- .idea/**/dynamic.xml
78
- .idea/**/uiDesigner.xml
79
- .idea/**/dbnavigator.xml
80
-
81
- # Gradle
82
- .idea/**/gradle.xml
83
- .idea/**/libraries
84
-
85
- # Gradle and Maven with auto-import
86
- # When using Gradle or Maven with auto-import, you should exclude module files,
87
- # since they will be recreated, and may cause churn. Uncomment if using
88
- # auto-import.
89
- # .idea/artifacts
90
- # .idea/compiler.xml
91
- # .idea/jarRepositories.xml
92
- # .idea/modules.xml
93
- # .idea/*.iml
94
- # .idea/modules
95
- # *.iml
96
- # *.ipr
97
-
98
- # CMake
99
- cmake-build-*/
100
-
101
- # Mongo Explorer plugin
102
- .idea/**/mongoSettings.xml
103
-
104
- # File-based project format
105
- *.iws
106
-
107
- # IntelliJ
108
- out/
109
-
110
- # mpeltonen/sbt-idea plugin
111
- .idea_modules/
112
-
113
- # JIRA plugin
114
- atlassian-ide-plugin.xml
115
-
116
- # Cursive Clojure plugin
117
- .idea/replstate.xml
118
-
119
- # SonarLint plugin
120
- .idea/sonarlint/
121
-
122
- # Crashlytics plugin (for Android Studio and IntelliJ)
123
- com_crashlytics_export_strings.xml
124
- crashlytics.properties
125
- crashlytics-build.properties
126
- fabric.properties
127
-
128
- # Editor-based Rest Client
129
- .idea/httpRequests
130
-
131
- # Android studio 3.1+ serialized cache file
132
- .idea/caches/build_file_checksums.ser
133
-
134
- ### PyCharm+all Patch ###
135
- # Ignore everything but code style settings and run configurations
136
- # that are supposed to be shared within teams.
137
26
 
138
- .idea/*
139
-
140
- !.idea/codeStyles
141
- !.idea/runConfigurations
27
+ # IDEs
28
+ .idea/
29
+ .vscode/
30
+ #!.vscode/settings.json
31
+ #!.vscode/tasks.json
32
+ #!.vscode/launch.json
33
+ #!.vscode/extensions.json
34
+ #!.vscode/*.code-snippets
35
+ # Local History for Visual Studio Code
36
+ .history/
142
37
 
143
- ### Python ###
144
- # Byte-compiled / optimized / DLL files
38
+ # python
145
39
  __pycache__/
40
+ .pytest_cache/
41
+ .mypy_cache/
146
42
  *.py[cod]
147
43
  *$py.class
148
-
149
- # C extensions
150
- *.so
151
-
152
- # Distribution / packaging
153
- .Python
154
- build/
155
- develop-eggs/
156
- dist/
157
- downloads/
158
- eggs/
159
- .eggs/
160
- lib/
161
- lib64/
162
- parts/
163
- sdist/
164
- var/
165
- wheels/
166
- share/python-wheels/
44
+ .ipynb_checkpoints
45
+ .ruff_cache/
46
+ .venv
47
+ venv/
48
+ __pypackages__/
49
+ cython_debug/
167
50
  *.egg-info/
168
- .installed.cfg
169
51
  *.egg
170
- MANIFEST
171
-
172
- # PyInstaller
173
- # Usually these files are written by a python script from a template
174
- # before PyInstaller builds the exe, so as to inject date/other infos into it.
175
- *.manifest
176
- *.spec
177
-
178
- # Installer logs
179
- pip-log.txt
180
- pip-delete-this-directory.txt
52
+ .pixi
181
53
 
182
- # Unit test / coverage reports
183
- htmlcov/
184
- .tox/
185
- .nox/
54
+ # coverage
186
55
  .coverage
187
56
  .coverage.*
188
- .cache
189
- nosetests.xml
190
57
  coverage.xml
58
+ /coverage
191
59
  *.cover
192
60
  *.py,cover
193
- .hypothesis/
194
- .pytest_cache/
195
61
  cover/
62
+ htmlcov/
63
+ .tox/
64
+ .nox/
196
65
 
197
66
  # Translations
198
67
  *.mo
@@ -217,6 +86,13 @@ docs/**/_gen/
217
86
 
218
87
  # PyBuilder
219
88
  .pybuilder/
89
+ build/
90
+ out/
91
+ output/
92
+ dist/
93
+ .cache/
94
+ *.so
95
+ cmake-build-*/
220
96
  target/
221
97
 
222
98
  # Jupyter Notebook
@@ -288,6 +164,8 @@ venv.bak/
288
164
 
289
165
  # mkdocs documentation
290
166
  /site
167
+ docs/_build/
168
+ *.conda
291
169
 
292
170
  # mypy
293
171
  .mypy_cache/
@@ -385,7 +263,9 @@ $RECYCLE.BIN/
385
263
  # Windows shortcuts
386
264
  *.lnk
387
265
 
388
- # End of https://www.toptal.com/developers/gitignore/api/linux,macos,direnv,python,windows,pycharm+all,visualstudiocode,vim
266
+ # Claude
267
+ .claude/*.local.*
268
+ .claude/worktrees/
389
269
 
390
270
  # interactive testing
391
271
  /*.ipynb
@@ -9,7 +9,7 @@ pre-commit:
9
9
  - assets/**/*
10
10
  jobs:
11
11
  - name: pixi-install
12
- run: pixi install
12
+ run: pixi install -e default -e default-py311
13
13
  - group:
14
14
  parallel: true
15
15
  jobs:
@@ -21,13 +21,13 @@ pre-commit:
21
21
  run: pixi {run} ruff format --force-exclude
22
22
  - name: mypy
23
23
  glob: "*.py"
24
- run: pixi {run} -e default-py310 mypy {staged_files}
24
+ run: pixi {run} -e default-py311 mypy {staged_files}
25
25
  - name: prettier
26
26
  glob: "*.{md,yml,yaml}"
27
27
  run: pixi {run} prettier --write --no-error-on-unmatched-pattern --list-different --ignore-unknown {staged_files}
28
- - name: taplo
28
+ - name: tombi
29
29
  glob: "*.toml"
30
- run: pixi {run} taplo format {staged_files}
30
+ run: pixi {run} tombi format --offline {staged_files}
31
31
  - name: cargo-fmt
32
32
  glob: "*.rs"
33
33
  run: pixi {run} cargo fmt
@@ -50,6 +50,8 @@ pre-commit:
50
50
  - "*.rst"
51
51
  - name: typos
52
52
  glob: "*"
53
+ exclude:
54
+ - .copier-answers.yml
53
55
  file_types: text
54
56
  run: pixi {run} typos --force-exclude {staged_files}
55
57
  - name: zizmor