Onekit

Latest version: v2.2.0

Safety actively analyzes 723158 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 5

1.3.0

Build System

- Improve setup ([77](https://github.com/estripling/onekit/pull/77),
[`7b61657`](https://github.com/estripling/onekit/commit/7b616571789f0c0a962b04d5f8514c58e0377fdc))

- Replace Makefile with a Python script to run commands - Enable easy setup on host machine next to
docker - Make sure tests pass one Windows OS

Commits ----------

* build: improve docker setup

* build: refactor clear_cache.py

* build: update poetry.lock

* build: add command.py

* build: update process_argument__create_docs

* docs: update year

* build: add remove_docs

* build(command.py): refactor main

* build(command.py): add poetry commands

* revert: "build: update poetry.lock"

This reverts commit 1e1f10cf54790358c5fee4f914a893654fcd277c.

* build: delete Makefile

* build: update commands

* fix: remove create_path

* fix: add strtobool

* build: upgrade pip

* test: fix test_highlight_string_differences

* test: fix test_lazy_read_lines

* test: fix TestTimestamp.test_default_call

* test: fix TestStopwatch no regex match

* test: fix test_vizkit.py

* refactor: run_remove_docs

* build: add get_last_commit

* build: rename command.py to c2.py

- Update poetry ([74](https://github.com/estripling/onekit/pull/74),
[`bae0e62`](https://github.com/estripling/onekit/commit/bae0e6226e08c36d4a245986fe97a40a620c5ba3))

Features

- Add bool_to_str ([78](https://github.com/estripling/onekit/pull/78),
[`fadd710`](https://github.com/estripling/onekit/commit/fadd710a52ba0f18942796a563017912bef5f595))

* refactor(bool_to_int): use select_col_types

* feat: add bool_to_str

- Add select_col_types ([76](https://github.com/estripling/onekit/pull/76),
[`0720987`](https://github.com/estripling/onekit/commit/0720987349a5c70bc99d3b116796d09905f00024))

- Extend digitscale ([75](https://github.com/estripling/onekit/pull/75),
[`80771d3`](https://github.com/estripling/onekit/commit/80771d3b865bc1a3d26901726209bd7009b2d25a))

* feat(digitscale): add kind

* feat(digitscale): add linear kind

* style: be consistent

1.2.0

Build System

- Improve remove-local-branches ([72](https://github.com/estripling/onekit/pull/72),
[`0dcd997`](https://github.com/estripling/onekit/commit/0dcd9978cd76e1e9d82efa957fa5830b788c8154))

- Update github workflows ([73](https://github.com/estripling/onekit/pull/73),
[`efb2f19`](https://github.com/estripling/onekit/commit/efb2f19a0dd71e724b1526bc3b214729bd373db7))

* build: update github workflows

* build: move time-machine dep to testing group

Code Style

- Change wording ([71](https://github.com/estripling/onekit/pull/71),
[`639d914`](https://github.com/estripling/onekit/commit/639d914225f2a751fbc368acd438a1c6eee0c795))

Documentation

- Update onekit logo ([70](https://github.com/estripling/onekit/pull/70),
[`dce595c`](https://github.com/estripling/onekit/commit/dce595c1a148af48d0b500d532367aee20571750))

Features

- Add digitscale ([69](https://github.com/estripling/onekit/pull/69),
[`4f9c908`](https://github.com/estripling/onekit/commit/4f9c908aa29d20d3b04c18127593b1d86f9a8b18))

* feat(mathkit): add digitscale

* feat(mathkit): add sign

* feat(numpykit): add digitscale

* feat(sparkkit): add with_digitscale

* docs: add mathkit.ipynb

1.1.1

Bug Fixes

- Dependencies ([68](https://github.com/estripling/onekit/pull/68),
[`cb34fc7`](https://github.com/estripling/onekit/commit/cb34fc7cc627e90a5add59404d02e2236f716cec))

* build: add pytz

* fix: dependencies

Refactoring

- **filter_date**: N=inf for no lower bound ([66](https://github.com/estripling/onekit/pull/66),
[`46e3606`](https://github.com/estripling/onekit/commit/46e3606739f91d4eee995cc56a57b576a4bf04b8))

Testing

- Refactor spark session ([67](https://github.com/estripling/onekit/pull/67),
[`dc34fe7`](https://github.com/estripling/onekit/commit/dc34fe7d37de8967f034686924472e89bf8321ae))

1.1.0

Features

- Add timestamp ([64](https://github.com/estripling/onekit/pull/64),
[`67e657d`](https://github.com/estripling/onekit/commit/67e657d19ea5f20afaafe276cfd159cbe8f81ee4))

* feat(pythonkit): add timestamp

* docs(LICENSE): update year

* refactor(timestamp): no positional arguments

- **stopwatch**: Add timezone ([65](https://github.com/estripling/onekit/pull/65),
[`d261904`](https://github.com/estripling/onekit/commit/d2619049e437f6cca9032d82046a6b7247134f90))

* docs: use consistent style for optional parameters

* refactor(archive_files): add timezone

* feat(stopwatch): add timezone

Refactoring

- **filter_date**: Use with_date_diff_ago ([63](https://github.com/estripling/onekit/pull/63),
[`b0bd1ec`](https://github.com/estripling/onekit/commit/b0bd1ecd4b0e6d8c51e12854d6d10601dc1b8882))

1.0.0

Code Style

- Change type hint for star parameters ([53](https://github.com/estripling/onekit/pull/53),
[`840bc66`](https://github.com/estripling/onekit/commit/840bc66e371be24b254fcc87b1836e0c57b968aa))

Features

- Add all_col and any_col ([52](https://github.com/estripling/onekit/pull/52),
[`fb0c07a`](https://github.com/estripling/onekit/commit/fb0c07a55e30e1db6d598b7a47cb0997cfa4a47b))

* feat: add all_col

* feat: add any_col

- Add bool_to_int ([58](https://github.com/estripling/onekit/pull/58),
[`bbde5aa`](https://github.com/estripling/onekit/commit/bbde5aa04fadb42de40e2d46d85e0300180d70a0))

* feat: add bool_to_int

* fix(peek): use bool_to_int before converting to pandas

- Add date diff ([55](https://github.com/estripling/onekit/pull/55),
[`2504dcd`](https://github.com/estripling/onekit/commit/2504dcdf86a77454208c1bff4647ed7c1bc20b9c))

* docs(str_to_col): update docstring

* feat: add with_date_diff

- Add with_increasing_id ([62](https://github.com/estripling/onekit/pull/62),
[`1dd4c19`](https://github.com/estripling/onekit/commit/1dd4c19512d8135f67bc4b18d00d3911ef9767ac))

* feat: add with_increasing_id

* test: fix nondeterministic test

- Datecount -> date_count_backward, date_count_forward
([59](https://github.com/estripling/onekit/pull/59),
[`fff3c77`](https://github.com/estripling/onekit/commit/fff3c77ef58c1ba7e96f430e6b78d48d15aebf20))

BREAKING CHANGE: split datecount into date_count_backward and date_count_forward

- Improve date functionality ([54](https://github.com/estripling/onekit/pull/54),
[`72fba47`](https://github.com/estripling/onekit/commit/72fba4706626ff8b18e208e86271e9595ebe1962))

* feat: add filter_date

* refactor: rename day -> d

* refactor: rename daycount -> datecount

* refactor: rename n_days -> number_of_days

* test(relative_date): rename days -> dates

* feat: add date_ahead

* feat: add date_ago

* fix: remove relative_date

* refactor: change order

BREAKING CHANGE: renamed date functions

- Split with_date_diff into with_date_diff_ago and with_date_diff_ahead
([57](https://github.com/estripling/onekit/pull/57),
[`1175784`](https://github.com/estripling/onekit/commit/11757848773a9378e89bcc9bb5d3c5b535105a33))

Refactoring

- Rename daterange -> date_range ([60](https://github.com/estripling/onekit/pull/60),
[`547d5ac`](https://github.com/estripling/onekit/commit/547d5ac9a040843a945e76cb172da503fae7f3c8))

BREAKING CHANGE: rename daterange -> date_range

- Rename sk.daterange -> sk.date_range ([61](https://github.com/estripling/onekit/pull/61),
[`c1b8661`](https://github.com/estripling/onekit/commit/c1b8661025fbf7bab6be4ea682c436dff330ed98))

* refactor: rename sk.daterange -> sk.date_range

* refactor(with_weekday): add type hint for determine_weekday

BREAKING CHANGE: rename sk.daterange -> sk.date_range

Testing

- Refactor to have shorter tests ([56](https://github.com/estripling/onekit/pull/56),
[`7aa966d`](https://github.com/estripling/onekit/commit/7aa966d409498c03b2b85b2552d8b6952105fd1b))

* test: refactor test_with_endofweek_date

* test: refactor test_with_index

* test: refactor test_with_startofweek_date

* test: refactor test_with_weekday

* test: refactor test_filter_date

Breaking Changes

- Rename sk.daterange -> sk.date_range

0.16.0

Features

- Add check column functionality ([51](https://github.com/estripling/onekit/pull/51),
[`639f379`](https://github.com/estripling/onekit/commit/639f379429ac0cfaeaea821190649ac7782aa8ce))

* feat: add check_column_present

* feat: add has_column

Refactoring

- Rename check functions ([50](https://github.com/estripling/onekit/pull/50),
[`0bd7103`](https://github.com/estripling/onekit/commit/0bd7103ff176e5c3645a8f3596ffebaa779d1831))

* refactor: rename check_dataframe_equal -> assert_dataframe_equal

* refactor: rename check_row_count_equal -> assert_row_count_equal

* refactor: rename check_row_equal -> assert_row_equal

* refactor: rename check_schema_equal -> assert_schema_equal

* refactor(example.ipynb): update notebook

* build: add pre-commit hook

Page 2 of 5

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.