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.
- {dataframely-3.1.3 → dataframely-3.1.4}/.github/workflows/build.yml +2 -2
- {dataframely-3.1.3 → dataframely-3.1.4}/.github/workflows/chore.yml +2 -2
- {dataframely-3.1.3 → dataframely-3.1.4}/.github/workflows/ci.yml +2 -2
- {dataframely-3.1.3 → dataframely-3.1.4}/.github/workflows/copilot-setup-steps.yml +1 -1
- {dataframely-3.1.3 → dataframely-3.1.4}/.github/workflows/nightly.yml +1 -1
- {dataframely-3.1.3 → dataframely-3.1.4}/.github/workflows/release-drafter.yml +1 -1
- {dataframely-3.1.3 → dataframely-3.1.4}/.github/workflows/scorecard.yml +2 -2
- {dataframely-3.1.3 → dataframely-3.1.4}/Cargo.lock +2 -2
- {dataframely-3.1.3 → dataframely-3.1.4}/PKG-INFO +1 -1
- {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/columns/array.py +9 -1
- {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/columns/float.py +0 -4
- {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/random.py +20 -8
- {dataframely-3.1.3 → dataframely-3.1.4}/docs/guides/coding-agents.md +2 -2
- {dataframely-3.1.3 → dataframely-3.1.4}/pixi.lock +159 -159
- {dataframely-3.1.3 → dataframely-3.1.4}/pixi.toml +1 -1
- {dataframely-3.1.3 → dataframely-3.1.4}/pyproject.toml +1 -1
- {dataframely-3.1.3 → dataframely-3.1.4}/tests/column_types/test_array.py +73 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/tests/columns/test_pydantic.py +42 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/tests/columns/test_sample.py +19 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/tests/test_random.py +59 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/.claude/CLAUDE.md +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/.copier-answers.yml +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/.envrc +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/.gitattributes +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/.github/CODEOWNERS +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/.github/copilot-instructions.md +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/.github/dependabot.yml +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/.github/instructions/tests.instructions.md +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/.github/release-drafter.yml +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/.gitignore +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/.lefthook.yaml +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/.prettierignore +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/.prettierrc +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/.readthedocs.yml +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/AGENTS.md +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/Cargo.toml +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/LICENSE +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/README.md +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/SECURITY.md +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/__init__.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/_base_schema.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/_compat.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/_deprecation.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/_filter.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/_match_to_schema.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/_native.pyi +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/_plugin.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/_polars.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/_pydantic.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/_rule.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/_typing.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/collection/__init__.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/collection/_base.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/collection/collection.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/collection/filter_result.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/columns/__init__.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/columns/_base.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/columns/_mixins.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/columns/_utils.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/columns/any.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/columns/binary.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/columns/bool.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/columns/categorical.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/columns/datetime.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/columns/decimal.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/columns/enum.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/columns/integer.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/columns/list.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/columns/object.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/columns/string.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/columns/struct.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/config.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/exc.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/experimental/__init__.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/experimental/infer_schema.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/filter_result.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/functional.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/py.typed +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/schema.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/testing/__init__.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/testing/const.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/testing/factory.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/testing/mask.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/dataframely/testing/rules.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/docker-compose.yml +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/docs/_static/custom.css +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/docs/_static/favicon.ico +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/docs/_templates/autosummary/class.rst +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/docs/_templates/autosummary/method.rst +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/docs/_templates/classes/column.rst +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/docs/_templates/classes/error.rst +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/docs/_templates/classes/filter_result.rst +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/docs/api/collection/generation.rst +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/docs/api/collection/index.rst +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/docs/api/collection/io.rst +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/docs/api/collection/metadata.rst +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/docs/api/collection/operations.rst +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/docs/api/collection/validation.rst +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/docs/api/columns/index.rst +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/docs/api/errors/index.rst +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/docs/api/experimental/index.rst +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/docs/api/filter_result/failure_info.rst +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/docs/api/filter_result/index.rst +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/docs/api/index.rst +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/docs/api/misc/index.rst +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/docs/api/schema/conversion.rst +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/docs/api/schema/generation.rst +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/docs/api/schema/index.rst +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/docs/api/schema/metadata.rst +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/docs/api/schema/validation.rst +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/docs/conf.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/docs/css/custom.css +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/docs/guides/development.md +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/docs/guides/examples/index.md +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/docs/guides/examples/real-world.ipynb +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/docs/guides/faq.md +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/docs/guides/features/column-metadata.md +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/docs/guides/features/data-generation.md +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/docs/guides/features/index.md +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/docs/guides/features/lazy-validation.md +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/docs/guides/features/primary-keys.md +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/docs/guides/features/serialization.md +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/docs/guides/features/sql-generation.md +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/docs/guides/index.md +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/docs/guides/migration/index.md +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/docs/guides/migration/v1-v2.md +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/docs/guides/migration/v2-v3.md +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/docs/guides/quickstart.md +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/docs/index.md +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/rust-toolchain.toml +0 -0
- {dataframely-3.1.3/skills → dataframely-3.1.4/skills/dataframely}/SKILL.md +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/src/arrow.rs +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/src/lib.rs +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/src/polars_plugin/mod.rs +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/src/polars_plugin/rule_failure.rs +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/src/polars_plugin/utils.rs +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/src/polars_plugin/validation_error.rs +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/src/regex/errdefs.rs +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/src/regex/mod.rs +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/src/regex/repr.rs +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/tests/benches/conftest.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/tests/benches/test_collection.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/tests/benches/test_failure.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/tests/benches/test_schema.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/tests/collection/test_base.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/tests/collection/test_cast.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/tests/collection/test_collection_future_annotations.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/tests/collection/test_create_empty.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/tests/collection/test_dataframe_members.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/tests/collection/test_filter_one_to_n.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/tests/collection/test_filter_validate.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/tests/collection/test_ignore_in_filter.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/tests/collection/test_implementation.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/tests/collection/test_join.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/tests/collection/test_matches.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/tests/collection/test_optional_members.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/tests/collection/test_parquet.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/tests/collection/test_pipe.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/tests/collection/test_propagate_row_failures.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/tests/collection/test_repr.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/tests/collection/test_sample.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/tests/collection/test_skip_member_validation.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/tests/collection/test_validate_input.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/tests/column_types/__init__.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/tests/column_types/test_any.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/tests/column_types/test_binary.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/tests/column_types/test_categorical.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/tests/column_types/test_datetime.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/tests/column_types/test_decimal.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/tests/column_types/test_enum.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/tests/column_types/test_float.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/tests/column_types/test_integer.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/tests/column_types/test_list.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/tests/column_types/test_object.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/tests/column_types/test_string.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/tests/column_types/test_struct.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/tests/columns/__init__.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/tests/columns/test_alias.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/tests/columns/test_arrow_pycapsule.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/tests/columns/test_base.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/tests/columns/test_check.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/tests/columns/test_default_dtypes.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/tests/columns/test_description.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/tests/columns/test_matches.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/tests/columns/test_metadata.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/tests/columns/test_polars_schema.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/tests/columns/test_rules.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/tests/columns/test_sqlalchemy_columns.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/tests/columns/test_str.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/tests/columns/test_utils.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/tests/core_validation/__init__.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/tests/core_validation/test_match_to_schema.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/tests/core_validation/test_rule_evaluation.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/tests/experimental/test_infer_schema.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/tests/failure_info/test_parquet.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/tests/functional/test_concat.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/tests/functional/test_relationships.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/tests/schema/test_base.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/tests/schema/test_cast.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/tests/schema/test_create_empty.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/tests/schema/test_create_empty_if_none.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/tests/schema/test_filter.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/tests/schema/test_inheritance.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/tests/schema/test_matches.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/tests/schema/test_pydantic_model.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/tests/schema/test_repr.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/tests/schema/test_rule_implementation.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/tests/schema/test_sample.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/tests/schema/test_validate.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/tests/test_compat.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/tests/test_config.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/tests/test_deprecation.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/tests/test_factory.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/tests/test_native_regex.py +0 -0
- {dataframely-3.1.3 → dataframely-3.1.4}/tests/test_pydantic.py +0 -0
- {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@
|
|
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@
|
|
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@
|
|
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@
|
|
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@
|
|
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@
|
|
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@
|
|
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@
|
|
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@
|
|
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@
|
|
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@
|
|
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.
|
|
2835
|
+
version = "0.8.12"
|
|
2836
2836
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2837
|
-
checksum = "
|
|
2837
|
+
checksum = "d902046e6a28a1e4c3cab97258a0ce11e994903f01c2d97a9447a0b3df85f4f6"
|
|
2838
2838
|
|
|
2839
2839
|
[[package]]
|
|
2840
2840
|
name = "relative-path"
|
|
@@ -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}":
|
|
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(
|
|
445
|
-
|
|
446
|
-
|
|
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:
|