dataframely 3.1.3__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.3 → dataframely-3.1.4}/.github/workflows/build.yml +2 -2
  2. {dataframely-3.1.3 → dataframely-3.1.4}/.github/workflows/chore.yml +2 -2
  3. {dataframely-3.1.3 → dataframely-3.1.4}/.github/workflows/ci.yml +2 -2
  4. {dataframely-3.1.3 → dataframely-3.1.4}/.github/workflows/copilot-setup-steps.yml +1 -1
  5. {dataframely-3.1.3 → dataframely-3.1.4}/.github/workflows/nightly.yml +1 -1
  6. {dataframely-3.1.3 → dataframely-3.1.4}/.github/workflows/release-drafter.yml +1 -1
  7. {dataframely-3.1.3 → dataframely-3.1.4}/.github/workflows/scorecard.yml +2 -2
  8. {dataframely-3.1.3 → dataframely-3.1.4}/Cargo.lock +2 -2
  9. {dataframely-3.1.3 → dataframely-3.1.4}/PKG-INFO +1 -1
  10. {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/columns/array.py +9 -1
  11. {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/columns/float.py +0 -4
  12. {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/random.py +20 -8
  13. {dataframely-3.1.3 → dataframely-3.1.4}/docs/guides/coding-agents.md +2 -2
  14. {dataframely-3.1.3 → dataframely-3.1.4}/pixi.lock +159 -159
  15. {dataframely-3.1.3 → dataframely-3.1.4}/pixi.toml +1 -1
  16. {dataframely-3.1.3 → dataframely-3.1.4}/pyproject.toml +1 -1
  17. {dataframely-3.1.3 → dataframely-3.1.4}/tests/column_types/test_array.py +73 -0
  18. {dataframely-3.1.3 → dataframely-3.1.4}/tests/columns/test_pydantic.py +42 -0
  19. {dataframely-3.1.3 → dataframely-3.1.4}/tests/columns/test_sample.py +19 -0
  20. {dataframely-3.1.3 → dataframely-3.1.4}/tests/test_random.py +59 -0
  21. {dataframely-3.1.3 → dataframely-3.1.4}/.claude/CLAUDE.md +0 -0
  22. {dataframely-3.1.3 → dataframely-3.1.4}/.copier-answers.yml +0 -0
  23. {dataframely-3.1.3 → dataframely-3.1.4}/.envrc +0 -0
  24. {dataframely-3.1.3 → dataframely-3.1.4}/.gitattributes +0 -0
  25. {dataframely-3.1.3 → dataframely-3.1.4}/.github/CODEOWNERS +0 -0
  26. {dataframely-3.1.3 → dataframely-3.1.4}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
  27. {dataframely-3.1.3 → dataframely-3.1.4}/.github/copilot-instructions.md +0 -0
  28. {dataframely-3.1.3 → dataframely-3.1.4}/.github/dependabot.yml +0 -0
  29. {dataframely-3.1.3 → dataframely-3.1.4}/.github/instructions/tests.instructions.md +0 -0
  30. {dataframely-3.1.3 → dataframely-3.1.4}/.github/release-drafter.yml +0 -0
  31. {dataframely-3.1.3 → dataframely-3.1.4}/.gitignore +0 -0
  32. {dataframely-3.1.3 → dataframely-3.1.4}/.lefthook.yaml +0 -0
  33. {dataframely-3.1.3 → dataframely-3.1.4}/.prettierignore +0 -0
  34. {dataframely-3.1.3 → dataframely-3.1.4}/.prettierrc +0 -0
  35. {dataframely-3.1.3 → dataframely-3.1.4}/.readthedocs.yml +0 -0
  36. {dataframely-3.1.3 → dataframely-3.1.4}/AGENTS.md +0 -0
  37. {dataframely-3.1.3 → dataframely-3.1.4}/Cargo.toml +0 -0
  38. {dataframely-3.1.3 → dataframely-3.1.4}/LICENSE +0 -0
  39. {dataframely-3.1.3 → dataframely-3.1.4}/README.md +0 -0
  40. {dataframely-3.1.3 → dataframely-3.1.4}/SECURITY.md +0 -0
  41. {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/__init__.py +0 -0
  42. {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/_base_schema.py +0 -0
  43. {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/_compat.py +0 -0
  44. {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/_deprecation.py +0 -0
  45. {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/_filter.py +0 -0
  46. {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/_match_to_schema.py +0 -0
  47. {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/_native.pyi +0 -0
  48. {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/_plugin.py +0 -0
  49. {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/_polars.py +0 -0
  50. {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/_pydantic.py +0 -0
  51. {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/_rule.py +0 -0
  52. {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/_typing.py +0 -0
  53. {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/collection/__init__.py +0 -0
  54. {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/collection/_base.py +0 -0
  55. {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/collection/collection.py +0 -0
  56. {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/collection/filter_result.py +0 -0
  57. {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/columns/__init__.py +0 -0
  58. {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/columns/_base.py +0 -0
  59. {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/columns/_mixins.py +0 -0
  60. {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/columns/_utils.py +0 -0
  61. {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/columns/any.py +0 -0
  62. {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/columns/binary.py +0 -0
  63. {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/columns/bool.py +0 -0
  64. {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/columns/categorical.py +0 -0
  65. {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/columns/datetime.py +0 -0
  66. {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/columns/decimal.py +0 -0
  67. {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/columns/enum.py +0 -0
  68. {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/columns/integer.py +0 -0
  69. {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/columns/list.py +0 -0
  70. {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/columns/object.py +0 -0
  71. {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/columns/string.py +0 -0
  72. {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/columns/struct.py +0 -0
  73. {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/config.py +0 -0
  74. {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/exc.py +0 -0
  75. {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/experimental/__init__.py +0 -0
  76. {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/experimental/infer_schema.py +0 -0
  77. {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/filter_result.py +0 -0
  78. {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/functional.py +0 -0
  79. {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/py.typed +0 -0
  80. {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/schema.py +0 -0
  81. {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/testing/__init__.py +0 -0
  82. {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/testing/const.py +0 -0
  83. {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/testing/factory.py +0 -0
  84. {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/testing/mask.py +0 -0
  85. {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/testing/rules.py +0 -0
  86. {dataframely-3.1.3 → dataframely-3.1.4}/docker-compose.yml +0 -0
  87. {dataframely-3.1.3 → dataframely-3.1.4}/docs/_static/custom.css +0 -0
  88. {dataframely-3.1.3 → dataframely-3.1.4}/docs/_static/favicon.ico +0 -0
  89. {dataframely-3.1.3 → dataframely-3.1.4}/docs/_templates/autosummary/class.rst +0 -0
  90. {dataframely-3.1.3 → dataframely-3.1.4}/docs/_templates/autosummary/method.rst +0 -0
  91. {dataframely-3.1.3 → dataframely-3.1.4}/docs/_templates/classes/column.rst +0 -0
  92. {dataframely-3.1.3 → dataframely-3.1.4}/docs/_templates/classes/error.rst +0 -0
  93. {dataframely-3.1.3 → dataframely-3.1.4}/docs/_templates/classes/filter_result.rst +0 -0
  94. {dataframely-3.1.3 → dataframely-3.1.4}/docs/api/collection/generation.rst +0 -0
  95. {dataframely-3.1.3 → dataframely-3.1.4}/docs/api/collection/index.rst +0 -0
  96. {dataframely-3.1.3 → dataframely-3.1.4}/docs/api/collection/io.rst +0 -0
  97. {dataframely-3.1.3 → dataframely-3.1.4}/docs/api/collection/metadata.rst +0 -0
  98. {dataframely-3.1.3 → dataframely-3.1.4}/docs/api/collection/operations.rst +0 -0
  99. {dataframely-3.1.3 → dataframely-3.1.4}/docs/api/collection/validation.rst +0 -0
  100. {dataframely-3.1.3 → dataframely-3.1.4}/docs/api/columns/index.rst +0 -0
  101. {dataframely-3.1.3 → dataframely-3.1.4}/docs/api/errors/index.rst +0 -0
  102. {dataframely-3.1.3 → dataframely-3.1.4}/docs/api/experimental/index.rst +0 -0
  103. {dataframely-3.1.3 → dataframely-3.1.4}/docs/api/filter_result/failure_info.rst +0 -0
  104. {dataframely-3.1.3 → dataframely-3.1.4}/docs/api/filter_result/index.rst +0 -0
  105. {dataframely-3.1.3 → dataframely-3.1.4}/docs/api/index.rst +0 -0
  106. {dataframely-3.1.3 → dataframely-3.1.4}/docs/api/misc/index.rst +0 -0
  107. {dataframely-3.1.3 → dataframely-3.1.4}/docs/api/schema/conversion.rst +0 -0
  108. {dataframely-3.1.3 → dataframely-3.1.4}/docs/api/schema/generation.rst +0 -0
  109. {dataframely-3.1.3 → dataframely-3.1.4}/docs/api/schema/index.rst +0 -0
  110. {dataframely-3.1.3 → dataframely-3.1.4}/docs/api/schema/metadata.rst +0 -0
  111. {dataframely-3.1.3 → dataframely-3.1.4}/docs/api/schema/validation.rst +0 -0
  112. {dataframely-3.1.3 → dataframely-3.1.4}/docs/conf.py +0 -0
  113. {dataframely-3.1.3 → dataframely-3.1.4}/docs/css/custom.css +0 -0
  114. {dataframely-3.1.3 → dataframely-3.1.4}/docs/guides/development.md +0 -0
  115. {dataframely-3.1.3 → dataframely-3.1.4}/docs/guides/examples/index.md +0 -0
  116. {dataframely-3.1.3 → dataframely-3.1.4}/docs/guides/examples/real-world.ipynb +0 -0
  117. {dataframely-3.1.3 → dataframely-3.1.4}/docs/guides/faq.md +0 -0
  118. {dataframely-3.1.3 → dataframely-3.1.4}/docs/guides/features/column-metadata.md +0 -0
  119. {dataframely-3.1.3 → dataframely-3.1.4}/docs/guides/features/data-generation.md +0 -0
  120. {dataframely-3.1.3 → dataframely-3.1.4}/docs/guides/features/index.md +0 -0
  121. {dataframely-3.1.3 → dataframely-3.1.4}/docs/guides/features/lazy-validation.md +0 -0
  122. {dataframely-3.1.3 → dataframely-3.1.4}/docs/guides/features/primary-keys.md +0 -0
  123. {dataframely-3.1.3 → dataframely-3.1.4}/docs/guides/features/serialization.md +0 -0
  124. {dataframely-3.1.3 → dataframely-3.1.4}/docs/guides/features/sql-generation.md +0 -0
  125. {dataframely-3.1.3 → dataframely-3.1.4}/docs/guides/index.md +0 -0
  126. {dataframely-3.1.3 → dataframely-3.1.4}/docs/guides/migration/index.md +0 -0
  127. {dataframely-3.1.3 → dataframely-3.1.4}/docs/guides/migration/v1-v2.md +0 -0
  128. {dataframely-3.1.3 → dataframely-3.1.4}/docs/guides/migration/v2-v3.md +0 -0
  129. {dataframely-3.1.3 → dataframely-3.1.4}/docs/guides/quickstart.md +0 -0
  130. {dataframely-3.1.3 → dataframely-3.1.4}/docs/index.md +0 -0
  131. {dataframely-3.1.3 → dataframely-3.1.4}/rust-toolchain.toml +0 -0
  132. {dataframely-3.1.3/skills → dataframely-3.1.4/skills/dataframely}/SKILL.md +0 -0
  133. {dataframely-3.1.3 → dataframely-3.1.4}/src/arrow.rs +0 -0
  134. {dataframely-3.1.3 → dataframely-3.1.4}/src/lib.rs +0 -0
  135. {dataframely-3.1.3 → dataframely-3.1.4}/src/polars_plugin/mod.rs +0 -0
  136. {dataframely-3.1.3 → dataframely-3.1.4}/src/polars_plugin/rule_failure.rs +0 -0
  137. {dataframely-3.1.3 → dataframely-3.1.4}/src/polars_plugin/utils.rs +0 -0
  138. {dataframely-3.1.3 → dataframely-3.1.4}/src/polars_plugin/validation_error.rs +0 -0
  139. {dataframely-3.1.3 → dataframely-3.1.4}/src/regex/errdefs.rs +0 -0
  140. {dataframely-3.1.3 → dataframely-3.1.4}/src/regex/mod.rs +0 -0
  141. {dataframely-3.1.3 → dataframely-3.1.4}/src/regex/repr.rs +0 -0
  142. {dataframely-3.1.3 → dataframely-3.1.4}/tests/benches/conftest.py +0 -0
  143. {dataframely-3.1.3 → dataframely-3.1.4}/tests/benches/test_collection.py +0 -0
  144. {dataframely-3.1.3 → dataframely-3.1.4}/tests/benches/test_failure.py +0 -0
  145. {dataframely-3.1.3 → dataframely-3.1.4}/tests/benches/test_schema.py +0 -0
  146. {dataframely-3.1.3 → dataframely-3.1.4}/tests/collection/test_base.py +0 -0
  147. {dataframely-3.1.3 → dataframely-3.1.4}/tests/collection/test_cast.py +0 -0
  148. {dataframely-3.1.3 → dataframely-3.1.4}/tests/collection/test_collection_future_annotations.py +0 -0
  149. {dataframely-3.1.3 → dataframely-3.1.4}/tests/collection/test_create_empty.py +0 -0
  150. {dataframely-3.1.3 → dataframely-3.1.4}/tests/collection/test_dataframe_members.py +0 -0
  151. {dataframely-3.1.3 → dataframely-3.1.4}/tests/collection/test_filter_one_to_n.py +0 -0
  152. {dataframely-3.1.3 → dataframely-3.1.4}/tests/collection/test_filter_validate.py +0 -0
  153. {dataframely-3.1.3 → dataframely-3.1.4}/tests/collection/test_ignore_in_filter.py +0 -0
  154. {dataframely-3.1.3 → dataframely-3.1.4}/tests/collection/test_implementation.py +0 -0
  155. {dataframely-3.1.3 → dataframely-3.1.4}/tests/collection/test_join.py +0 -0
  156. {dataframely-3.1.3 → dataframely-3.1.4}/tests/collection/test_matches.py +0 -0
  157. {dataframely-3.1.3 → dataframely-3.1.4}/tests/collection/test_optional_members.py +0 -0
  158. {dataframely-3.1.3 → dataframely-3.1.4}/tests/collection/test_parquet.py +0 -0
  159. {dataframely-3.1.3 → dataframely-3.1.4}/tests/collection/test_pipe.py +0 -0
  160. {dataframely-3.1.3 → dataframely-3.1.4}/tests/collection/test_propagate_row_failures.py +0 -0
  161. {dataframely-3.1.3 → dataframely-3.1.4}/tests/collection/test_repr.py +0 -0
  162. {dataframely-3.1.3 → dataframely-3.1.4}/tests/collection/test_sample.py +0 -0
  163. {dataframely-3.1.3 → dataframely-3.1.4}/tests/collection/test_skip_member_validation.py +0 -0
  164. {dataframely-3.1.3 → dataframely-3.1.4}/tests/collection/test_validate_input.py +0 -0
  165. {dataframely-3.1.3 → dataframely-3.1.4}/tests/column_types/__init__.py +0 -0
  166. {dataframely-3.1.3 → dataframely-3.1.4}/tests/column_types/test_any.py +0 -0
  167. {dataframely-3.1.3 → dataframely-3.1.4}/tests/column_types/test_binary.py +0 -0
  168. {dataframely-3.1.3 → dataframely-3.1.4}/tests/column_types/test_categorical.py +0 -0
  169. {dataframely-3.1.3 → dataframely-3.1.4}/tests/column_types/test_datetime.py +0 -0
  170. {dataframely-3.1.3 → dataframely-3.1.4}/tests/column_types/test_decimal.py +0 -0
  171. {dataframely-3.1.3 → dataframely-3.1.4}/tests/column_types/test_enum.py +0 -0
  172. {dataframely-3.1.3 → dataframely-3.1.4}/tests/column_types/test_float.py +0 -0
  173. {dataframely-3.1.3 → dataframely-3.1.4}/tests/column_types/test_integer.py +0 -0
  174. {dataframely-3.1.3 → dataframely-3.1.4}/tests/column_types/test_list.py +0 -0
  175. {dataframely-3.1.3 → dataframely-3.1.4}/tests/column_types/test_object.py +0 -0
  176. {dataframely-3.1.3 → dataframely-3.1.4}/tests/column_types/test_string.py +0 -0
  177. {dataframely-3.1.3 → dataframely-3.1.4}/tests/column_types/test_struct.py +0 -0
  178. {dataframely-3.1.3 → dataframely-3.1.4}/tests/columns/__init__.py +0 -0
  179. {dataframely-3.1.3 → dataframely-3.1.4}/tests/columns/test_alias.py +0 -0
  180. {dataframely-3.1.3 → dataframely-3.1.4}/tests/columns/test_arrow_pycapsule.py +0 -0
  181. {dataframely-3.1.3 → dataframely-3.1.4}/tests/columns/test_base.py +0 -0
  182. {dataframely-3.1.3 → dataframely-3.1.4}/tests/columns/test_check.py +0 -0
  183. {dataframely-3.1.3 → dataframely-3.1.4}/tests/columns/test_default_dtypes.py +0 -0
  184. {dataframely-3.1.3 → dataframely-3.1.4}/tests/columns/test_description.py +0 -0
  185. {dataframely-3.1.3 → dataframely-3.1.4}/tests/columns/test_matches.py +0 -0
  186. {dataframely-3.1.3 → dataframely-3.1.4}/tests/columns/test_metadata.py +0 -0
  187. {dataframely-3.1.3 → dataframely-3.1.4}/tests/columns/test_polars_schema.py +0 -0
  188. {dataframely-3.1.3 → dataframely-3.1.4}/tests/columns/test_rules.py +0 -0
  189. {dataframely-3.1.3 → dataframely-3.1.4}/tests/columns/test_sqlalchemy_columns.py +0 -0
  190. {dataframely-3.1.3 → dataframely-3.1.4}/tests/columns/test_str.py +0 -0
  191. {dataframely-3.1.3 → dataframely-3.1.4}/tests/columns/test_utils.py +0 -0
  192. {dataframely-3.1.3 → dataframely-3.1.4}/tests/core_validation/__init__.py +0 -0
  193. {dataframely-3.1.3 → dataframely-3.1.4}/tests/core_validation/test_match_to_schema.py +0 -0
  194. {dataframely-3.1.3 → dataframely-3.1.4}/tests/core_validation/test_rule_evaluation.py +0 -0
  195. {dataframely-3.1.3 → dataframely-3.1.4}/tests/experimental/test_infer_schema.py +0 -0
  196. {dataframely-3.1.3 → dataframely-3.1.4}/tests/failure_info/test_parquet.py +0 -0
  197. {dataframely-3.1.3 → dataframely-3.1.4}/tests/functional/test_concat.py +0 -0
  198. {dataframely-3.1.3 → dataframely-3.1.4}/tests/functional/test_relationships.py +0 -0
  199. {dataframely-3.1.3 → dataframely-3.1.4}/tests/schema/test_base.py +0 -0
  200. {dataframely-3.1.3 → dataframely-3.1.4}/tests/schema/test_cast.py +0 -0
  201. {dataframely-3.1.3 → dataframely-3.1.4}/tests/schema/test_create_empty.py +0 -0
  202. {dataframely-3.1.3 → dataframely-3.1.4}/tests/schema/test_create_empty_if_none.py +0 -0
  203. {dataframely-3.1.3 → dataframely-3.1.4}/tests/schema/test_filter.py +0 -0
  204. {dataframely-3.1.3 → dataframely-3.1.4}/tests/schema/test_inheritance.py +0 -0
  205. {dataframely-3.1.3 → dataframely-3.1.4}/tests/schema/test_matches.py +0 -0
  206. {dataframely-3.1.3 → dataframely-3.1.4}/tests/schema/test_pydantic_model.py +0 -0
  207. {dataframely-3.1.3 → dataframely-3.1.4}/tests/schema/test_repr.py +0 -0
  208. {dataframely-3.1.3 → dataframely-3.1.4}/tests/schema/test_rule_implementation.py +0 -0
  209. {dataframely-3.1.3 → dataframely-3.1.4}/tests/schema/test_sample.py +0 -0
  210. {dataframely-3.1.3 → dataframely-3.1.4}/tests/schema/test_validate.py +0 -0
  211. {dataframely-3.1.3 → dataframely-3.1.4}/tests/test_compat.py +0 -0
  212. {dataframely-3.1.3 → dataframely-3.1.4}/tests/test_config.py +0 -0
  213. {dataframely-3.1.3 → dataframely-3.1.4}/tests/test_deprecation.py +0 -0
  214. {dataframely-3.1.3 → dataframely-3.1.4}/tests/test_factory.py +0 -0
  215. {dataframely-3.1.3 → dataframely-3.1.4}/tests/test_native_regex.py +0 -0
  216. {dataframely-3.1.3 → dataframely-3.1.4}/tests/test_pydantic.py +0 -0
  217. {dataframely-3.1.3 → dataframely-3.1.4}/tests/test_typing.py +0 -0
@@ -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@ad1da6449d9e506fd127fd67ab2d054a769f6a94 # v0.11.2
20
+ uses: prefix-dev/setup-pixi@9936258fee697aff89b3fed6ca1f80a382ef694e # v0.11.3
21
21
  with:
22
22
  environments: build
23
23
  - name: Set version
@@ -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@ad1da6449d9e506fd127fd67ab2d054a769f6a94 # v0.11.2
55
+ uses: prefix-dev/setup-pixi@9936258fee697aff89b3fed6ca1f80a382ef694e # v0.11.3
56
56
  with:
57
57
  environments: build
58
58
  - name: Set version
@@ -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@978bb0b30c5ee8cdd332ced253758157150d43f0 # v7.10.0
57
+ uses: release-drafter/release-drafter/autolabeler@d1a19e60e81a7e650d00a7de9277f87e439117ea # v7.11.0
58
58
  with:
59
59
  token: ${{ github.token }}
@@ -24,7 +24,7 @@ jobs:
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@ad1da6449d9e506fd127fd67ab2d054a769f6a94 # v0.11.2
27
+ uses: prefix-dev/setup-pixi@9936258fee697aff89b3fed6ca1f80a382ef694e # v0.11.3
28
28
  with:
29
29
  environments: default default-py311
30
30
  - name: Install Rust
@@ -70,7 +70,7 @@ jobs:
70
70
  - name: Checkout branch
71
71
  uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
72
72
  - name: Set up pixi
73
- uses: prefix-dev/setup-pixi@ad1da6449d9e506fd127fd67ab2d054a769f6a94 # v0.11.2
73
+ uses: prefix-dev/setup-pixi@9936258fee697aff89b3fed6ca1f80a382ef694e # v0.11.3
74
74
  with:
75
75
  environments: ${{ matrix.environment }}
76
76
  # FIXME: Remove when `s3_server` fixture does not start a process anymore
@@ -15,7 +15,7 @@ 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@ad1da6449d9e506fd127fd67ab2d054a769f6a94 # v0.11.2
18
+ uses: prefix-dev/setup-pixi@9936258fee697aff89b3fed6ca1f80a382ef694e # v0.11.3
19
19
  with:
20
20
  environments: default
21
21
  - name: Install Rust
@@ -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@ad1da6449d9e506fd127fd67ab2d054a769f6a94 # v0.11.2
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@978bb0b30c5ee8cdd332ced253758157150d43f0 # v7.10.0
19
+ uses: release-drafter/release-drafter@d1a19e60e81a7e650d00a7de9277f87e439117ea # v7.11.0
20
20
  with:
21
21
  token: ${{ github.token }}
@@ -40,7 +40,7 @@ jobs:
40
40
  persist-credentials: false
41
41
 
42
42
  - name: "Run analysis"
43
- uses: ossf/scorecard-action@fa7117db83c52d787ae5a89f350999701505d78e # v2.5.0
43
+ uses: ossf/scorecard-action@23f22cd43608bae7a1f1fa2603d7314dee9538a5 # v2.6.0
44
44
  with:
45
45
  results_file: results.sarif
46
46
  results_format: 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@9b3254085494b55a0f7c4c2b3d2d52cc712ce370 # v4.39.1
77
+ uses: github/codeql-action/upload-sarif@1bd86f2fdb4b86187fa4059f16f31a3202acc9ea # v4.39.4
78
78
  with:
79
79
  sarif_file: results.sarif
@@ -2832,9 +2832,9 @@ dependencies = [
2832
2832
 
2833
2833
  [[package]]
2834
2834
  name = "regex-syntax"
2835
- version = "0.8.11"
2835
+ version = "0.8.12"
2836
2836
  source = "registry+https://github.com/rust-lang/crates.io-index"
2837
- checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4"
2837
+ checksum = "d902046e6a28a1e4c3cab97258a0ce11e994903f01c2d97a9447a0b3df85f4f6"
2838
2838
 
2839
2839
  [[package]]
2840
2840
  name = "relative-path"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dataframely
3
- Version: 3.1.3
3
+ Version: 3.1.4
4
4
  Classifier: Programming Language :: Python :: 3
5
5
  Classifier: Programming Language :: Python :: 3.11
6
6
  Classifier: Programming Language :: Python :: 3.12
@@ -87,8 +87,16 @@ class Array(Column):
87
87
  return pl.Array(self.inner.dtype, self.shape)
88
88
 
89
89
  def validation_rules(self, expr: pl.Expr) -> dict[str, pl.Expr]:
90
+ def all_elements(inner_expr: pl.Expr) -> pl.Expr:
91
+ # The elements of a multi-dimensional array are arrays themselves, so the
92
+ # inner rules must be applied one dimension further down for every extra
93
+ # dimension.
94
+ for _ in range(len(self.shape) - 1):
95
+ inner_expr = pl.element().arr.eval(inner_expr).arr.all()
96
+ return expr.arr.eval(inner_expr).arr.all()
97
+
90
98
  inner_rules = {
91
- f"inner_{rule_name}": expr.arr.eval(inner_expr).arr.all()
99
+ f"inner_{rule_name}": all_elements(inner_expr)
92
100
  for rule_name, inner_expr in self.inner.validation_rules(
93
101
  pl.element()
94
102
  ).items()
@@ -128,10 +128,6 @@ class _BaseFloat(OrdinalMixin[float], Column):
128
128
  kwargs = super()._pydantic_field_kwargs()
129
129
  if self.allow_inf == self.allow_nan:
130
130
  kwargs["allow_inf_nan"] = self.allow_inf
131
- if "le" not in kwargs:
132
- kwargs["le"] = self.max_value
133
- if "ge" not in kwargs:
134
- kwargs["ge"] = self.min_value
135
131
  return kwargs
136
132
 
137
133
  @property
@@ -352,10 +352,7 @@ class Generator:
352
352
  max_datetime = (
353
353
  _datetime_to_microseconds(max)
354
354
  if max is not None
355
- else (
356
- _datetime_to_microseconds(dt.datetime(9999, 12, 31, 23, 59, 59, 999999))
357
- + 1
358
- )
355
+ else _default_max_datetime_microseconds(time_zone)
359
356
  )
360
357
  result = (
361
358
  self.sample_int(
@@ -441,7 +438,22 @@ def _time_to_microseconds(t: dt.time) -> int:
441
438
  return t.microsecond + (t.second + t.minute * 60 + t.hour * 3600) * 10**6
442
439
 
443
440
 
444
- def _datetime_to_microseconds(dt: dt.datetime) -> int:
445
- return dt.date().toordinal() * SECONDS_PER_DAY * 10**6 + _time_to_microseconds(
446
- dt.time()
447
- )
441
+ def _datetime_to_microseconds(value: dt.datetime) -> int:
442
+ microseconds = value.date().toordinal() * SECONDS_PER_DAY * 10**6
443
+ microseconds += _time_to_microseconds(value.time())
444
+ if (offset := value.utcoffset()) is not None:
445
+ # Polars stores time zone-aware datetimes as UTC timestamps, so a time
446
+ # zone-aware bound must be counted from its UTC time, not its local time.
447
+ # Subtract the offset as an integer: converting the datetime to UTC would
448
+ # overflow for bounds close to `datetime.min` or `datetime.max`.
449
+ microseconds -= offset // dt.timedelta(microseconds=1)
450
+ return microseconds
451
+
452
+
453
+ def _default_max_datetime_microseconds(time_zone: str | dt.tzinfo | None) -> int:
454
+ # The default exclusive upper bound is '10000-01-01' in the output time zone. polars
455
+ # resolves the time zone and returns an integer, so this does not overflow either.
456
+ last = pl.Series([dt.datetime(9999, 12, 31, 23, 59, 59, 999999)])
457
+ last = last.dt.replace_time_zone(pl.Datetime(time_zone=time_zone).time_zone)
458
+ epoch_microseconds = last.dt.epoch("us").item()
459
+ return epoch_microseconds + _datetime_to_microseconds(EPOCH_DATETIME) + 1
@@ -9,13 +9,13 @@ Coding agents like [Claude Code](https://code.claude.com/), [Codex](https://open
9
9
  When writing data processing logic, `dataframely` helps to fulfill these criteria.
10
10
 
11
11
  To help your coding agent write idiomatic `dataframely` code, we provide a `dataframely`
12
- [skill](https://raw.githubusercontent.com/Quantco/dataframely/refs/heads/main/skills/SKILL.md) following the
12
+ [skill](https://raw.githubusercontent.com/Quantco/dataframely/refs/heads/main/skills/dataframely/SKILL.md) following the
13
13
  [`agentskills.io` spec](https://agentskills.io/specification). You can install it by placing it where your agent can
14
14
  find it. For example, if you are using Claude Code:
15
15
 
16
16
  ```bash
17
17
  mkdir -p .claude/skills/dataframely/
18
- curl -fLo .claude/skills/dataframely/SKILL.md https://raw.githubusercontent.com/Quantco/dataframely/refs/heads/main/skills/SKILL.md
18
+ curl -fLo .claude/skills/dataframely/SKILL.md https://raw.githubusercontent.com/Quantco/dataframely/refs/heads/main/skills/dataframely/SKILL.md
19
19
  ```
20
20
 
21
21
  or if you are using [skills.sh](https://skills.sh/) to manage your skills: