Skip to content

Latest commit

 

History

History
837 lines (409 loc) · 22.1 KB

CHANGELOG.md

File metadata and controls

837 lines (409 loc) · 22.1 KB

CHANGELOG

v1.3.0 (2024-06-03)

Build

  • build: improve setup (#77)
  • 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

  • build: update poetry.lock

  • revert: "build: update poetry.lock"

This reverts commit 1e1f10cf54790358c5fee4f914a893654fcd277c.

  • build: update poetry.lock

  • build: delete Makefile

  • build: update commands

  • build: update commands

  • 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 (7b61657)

  • build: update poetry (#74) (bae0e62)

Feature

  • feat: add bool_to_str (#78)

  • refactor(bool_to_int): use select_col_types

  • feat: add bool_to_str (fadd710)

  • feat: add select_col_types (#76) (0720987)

  • feat: extend digitscale (#75)

  • feat(digitscale): add kind

  • feat(digitscale): add linear kind

  • style: be consistent (80771d3)

v1.2.0 (2024-05-10)

Build

  • build: update github workflows (#73)

  • build: update github workflows

  • build: move time-machine dep to testing group (efb2f19)

  • build: improve remove-local-branches (#72) (0dcd997)

Documentation

  • docs: update onekit logo (#70) (dce595c)

Feature

  • feat: add digitscale (#69)

  • feat(mathkit): add digitscale

  • feat(mathkit): add sign

  • feat(numpykit): add digitscale

  • feat(sparkkit): add with_digitscale

  • docs: add mathkit.ipynb (4f9c908)

Style

  • style: change wording (#71) (639d914)

v1.1.1 (2024-05-06)

Fix

  • fix: dependencies (#68)

  • build: add pytz

  • fix: dependencies (cb34fc7)

Refactor

  • refactor(filter_date): n=inf for no lower bound (#66) (46e3606)

Test

  • test: refactor spark session (#67) (dc34fe7)

v1.1.0 (2024-04-26)

Feature

  • feat(stopwatch): add timezone (#65)

  • docs: use consistent style for optional parameters

  • refactor(archive_files): add timezone

  • feat(stopwatch): add timezone (d261904)

  • feat: add timestamp (#64)

  • feat(pythonkit): add timestamp

  • docs(LICENSE): update year

  • refactor(timestamp): no positional arguments (67e657d)

Refactor

  • refactor(filter_date): use with_date_diff_ago (#63) (b0bd1ec)

v1.0.0 (2024-04-01)

Breaking

  • refactor: rename sk.daterange -> sk.date_range (#61)

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

  • refactor(with_weekday): add type hint for determine_weekday

BREAKING CHANGE: rename sk.daterange -> sk.date_range (c1b8661)

  • refactor: rename daterange -> date_range (#60)

BREAKING CHANGE: rename daterange -> date_range (547d5ac)

  • feat: datecount -> date_count_backward, date_count_forward (#59)

BREAKING CHANGE: split datecount into date_count_backward and date_count_forward (fff3c77)

  • feat: improve date functionality (#54)

  • 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 (72fba47)

Feature

  • feat: add with_increasing_id (#62)

  • feat: add with_increasing_id

  • test: fix nondeterministic test (1dd4c19)

  • feat: add bool_to_int (#58)

  • feat: add bool_to_int

  • fix(peek): use bool_to_int before converting to pandas (bbde5aa)

  • feat: split with_date_diff into with_date_diff_ago and with_date_diff_ahead (#57) (1175784)

  • feat: add date diff (#55)

  • docs(str_to_col): update docstring

  • feat: add with_date_diff (2504dcd)

  • feat: add all_col and any_col (#52)

  • feat: add all_col

  • feat: add any_col (fb0c07a)

Style

  • style: change type hint for star parameters (#53) (840bc66)

Test

  • test: refactor to have shorter tests (#56)

  • 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 (7aa966d)

v0.16.0 (2024-03-03)

Feature

  • feat: add check column functionality (#51)

  • feat: add check_column_present

  • feat: add has_column (639f379)

Refactor

  • refactor: rename check functions (#50)

  • 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 (0bd7103)

v0.15.0 (2024-01-29)

Feature

  • feat(pandaskit): add cvf (#49) (a8c9cb6)

v0.14.0 (2024-01-24)

Feature

  • feat: improve pandaskit.profile (#48)

  • refactor(pandaskit.profile): no special characters

  • test(pandaskit.profile): add isnull and notull query

  • feat(numpykit): add quantile argument

  • test: rename function

  • refactor(pandaskit.profile): use basic_info_df variable

  • feat(pandaskit.profile): add sum (f10bf9a)

v0.13.0 (2023-12-22)

Feature

  • feat: add numpykit (#47)

  • refactor(check_vector): move optfunckit -> numpykit

  • feat(numpykit): add stderr (d580b8f)

Refactor

  • refactor: move math functions to mathkit (#46)

  • refactor(collatz): move pythonkit -> mathkit

  • refactor(fibonacci): move pythonkit -> mathkit

  • refactor: move isdivisible iseven isodd to mathkit (c4a5bd8)

  • refactor: small updates (#45)

  • refactor(XyzPoints): adjust type hints

  • docs(peaks): add reference

  • docs(optfunckit): add ai-roomi reference

  • docs(concat_strings): add docstring example (c6f02d7)

v0.12.0 (2023-12-21)

Feature

  • feat: add vizkit (#44)

  • build: add matplotlib dependency

  • feat(pythonkit): add op

  • feat: add vizkit (5f5e824)

  • feat: add fbench functions (#43)

  • feat: add test functions for minimization

  • feat(optfunckit): add negate

  • feat(optfunckit): add bump

  • refactor(sinc): negate

  • style(optfunckit): correct indentation

  • docs(peaks): add reference in docstring

  • docs(negate): add maximization example (173052f)

Refactor

  • refactor: error messages (#42) (e7e353e)

v0.11.0 (2023-12-11)

Feature

  • feat: add spark functions (#41)

  • feat(sparkkit): add count_nulls

  • feat(sparkkit): add join

  • feat(sparkkit): add add_prefix

  • refactor(count_nulls): add asterisk in signature

  • feat(sparkkit): add add_suffix

  • refactor: curry functions

  • feat(sparkkit): add daterange

  • refactor(daycount): rename start to d0

  • refactor(daterange): rename parameters

  • feat(sparkkit): add with_index

  • style(with_index): positional parameter

  • refactor: use spark transform func

  • feat(sparkkit): add with_weekday

  • feat(sparkkit): add with_endofweek_date

  • style(with_index): rephrase docstring header

  • feat(sparkkit): add with_startofweek_date

  • refactor: use transform pattern

  • build(Makefile): add commands for running slow tests

  • feat(sparkkit): add validation functions

  • feat(sparkkit): add evaluation functions (d421ac4)

  • feat: add pandaskit (#39)

  • feat(pandaskit): add union

  • feat(pandaskit): add join

  • test: refactor pandas test_union

  • feat(pandaskit): add profile (60e9a09)

Refactor

  • refactor: rename num variables + type hints (#40)

  • refactor: int values as n

  • test: add type hints (6269e3a)

v0.10.1 (2023-11-22)

Documentation

  • docs: update onekit author and description (#38)

  • docs: update license

  • build: update pyproject.toml

  • docs: update README.md

  • docs: update author (62947fb)

Fix

  • fix(README.md): disclaimer section (9428fee)

v0.10.0 (2023-11-22)

Documentation

  • docs(sparkkit.peek): add missing shape argument (#36)

  • docs(sparkkit.peek): add missing shape argument

  • refactor: DfIdentityFunction -> DFIdentityFunc (7810dc3)

Feature

  • feat(sparkkit): add cvf (#37)

  • feat(sparkkit): add str_to_col

  • refactor: DFIdentityFunc -> SparkDFIdentityFunc

  • style(peek): remove docstring of inner function

  • test(str_to_col): no parametrize

  • feat(sparkkit): add cvf (b989f31)

v0.9.0 (2023-11-20)

Breaking

  • refactor: rename modules (#33)

  • refactor: pytlz -> pythonkit

  • refactor: sparktlz -> sparkkit

  • build(pyproject.toml): rename sparktlz -> sparkkit

  • refactor: pdtlz -> pandaskit

BREAKING CHANGE: rename modules to have kit suffix (5dfd157)

Feature

  • feat(sparkkit): add peek (#35) (69b08e9)

Refactor

  • refactor(signif): curry function (#34) (6880f9c)

v0.8.0 (2023-11-17)

Documentation

  • docs: add notebook examples (#32)

  • docs: add examples

  • docs(example.ipynb): add highlight_string_differences

  • docs(example.ipynb): add stopwatch

  • refactor: example.ipynb -> examples.ipynb (59c972b)

Feature

  • feat: migrate bumbag time functions (#29)

  • feat(pytlz): add humantime

  • style: fix minor format

  • feat(pytlz): add stopwatch

  • feat(pytlz): add str_to_date

  • feat(pytlz): add weekday

  • refactor: use from toolz import curried

  • test(filter_regex): remove text

  • feat(pytlz): add daycount

  • feat(pytlz): add daterange

  • feat(pytlz): add last_date_of_month

  • feat(pytlz): add n_days

  • feat(pytlz): add relative_date (692542b)

  • feat: migrate bumbag io functions (#27)

  • feat(pytlz): add lazy_read_lines

  • feat(pytlz): add prompt_yes_no

  • feat(pytlz): add archive_files (4fd81a3)

Refactor

  • refactor: isdivisibleby -> isdivisible (#31) (bb9af5a)

  • refactor(relative_date): change signature (#30) (049ab7d)

Test

  • test: add itertools (#28) (b83469d)

v0.7.0 (2023-11-17)

Documentation

  • docs: update docstrings (#24)

  • docs(reduce_sets): update docstring example

  • docs(source_code): update docstring (1585554)

Feature

  • feat: migrate bumbag string functions (#26)

  • feat(pytlz): add concat_strings

  • feat(pytlz): add create_path

  • feat(pytlz): add filter_regex

  • refactor: use iterable instead of sequence

  • feat(pytlz): add map_regex

  • feat(pytlz): add headline

  • feat(pytlz): add remove_punctuation

  • feat(pytlz): add highlight_string_differences (95b8e7d)

  • feat(pytlz): add are_predicates_true (#25)

  • Apply DRY principle: replace all_predicates_true and any_predicates_true (de96017)

v0.6.0 (2023-11-15)

Documentation

  • docs(pytlz): rephrase docstring of bool functions (#20) (fa8a1df)

Feature

  • feat: migrate bumbag random functions (#22)

  • feat(pytlz): add check_random_state

  • feat(pytlz): add coinflip

  • test: add raises checks in else clause

  • docs(coinflip): add docstring example

  • docs(coinflip): add docstring example with biased coin (8906f15)

  • feat(pytlz): add collatz and fibonacci (#21)

  • feat(pytlz): add collatz

  • feat(pytlz): add fibonacci

  • style(collatz): update references in docstring (0881625)

Refactor

  • refactor: curry functions only where necessary (#23)

  • refactor(extend_range): replace curry with partial

  • docs(isdivisibleby): indicate function is curried

  • docs(reduce_sets): indicate function is curried

  • refactor(signif): replace curry with partial (acbbcea)

v0.5.0 (2023-11-14)

Build

  • build(pyproject.toml): update classifiers (#14) (6bdc390)

Ci

  • ci(release.yml): use release token (#12) (f2ca10a)

Documentation

  • docs: update developer guide (#17) (3d141b5)

  • docs(README.md): remove example (#13) (9f510ac)

Feature

  • feat: add bumbag core functions (#18)

  • build: add toolz

  • test: add toolz

  • feat(pytlz): add isdivisibleby

  • feat(pytlz): add iseven

  • feat(pytlz): add isodd

  • feat(pytlz): add all_predicate_true

  • feat(pytlz): add any_predicate_true

  • test: use leaner syntax

  • test: mark Spark tests as slow

  • test: use test class for toolz

  • build: add pytest-skip-slow

  • test(TestSparkToolz): refactor assert_dataframe_equal

  • feat(pytlz): add extend_range

  • feat(pytlz): add func_name

  • feat(pytlz): add source_code

  • feat(pytlz): add signif

  • feat(pytlz): add reduce_sets

  • refactor(num_to_str): consistent type hinting

  • feat(pytlz): add contrast_sets

  • docs(all_predicate_true): add type call to show it is curried

  • docs(any_predicate_true): add type call to show it is curried

  • docs(extend_range): add type call to show it is curried

  • docs(isdivisibleby): add type call to show it is curried

  • docs(signif): add type call to show it is curried (50badd8)

Refactor

  • refactor: predicate functions (#19)

  • refactor(all_predicate_true): use inner function

  • refactor(any_predicate_true): use inner function

  • docs(isdivisibleby): update docstring for consistency (2a9f699)

Style

  • style: update docs (#11)

  • docs: update module docstring

  • refactor(Makefile): add missing phony

  • docs(pytlz.flatten): update type hinting

  • docs(sparktlz.union): update type hinting

  • refactor: rename SparkDataFrame -> SparkDF (2527c1c)

Test

  • test: ignore Spark doctest (#16) (e682a09)

Unknown

  • revert: "ci(release.yml): use release token (#12)" (#15)

This reverts commit f2ca10a65ca2e3828685148a2a96f3934afe51cd. (0054460)

v0.4.0 (2023-11-13)

Build

Documentation

  • docs: add example (#10)

  • docs(example.ipynb): add pytlz.flatten and sparktlz.union

  • style(sparktlz.union): rearrange docsting imports

  • docs(README.md): add example (9af41f3)

  • docs: import pytlz directly (#6)

  • refactor: import pytlz directly

  • docs: no import onekit as ok

  • docs(README.md): rename example usage to examples

  • docs: add module description (e777ec4)

Feature

  • feat(sparktlz): add union (#8) (7680762)

  • feat(pytlz): add flatten (#7)

  • tests(date_to_str): correct test name

  • feat(pytlz): add flatten (7629260)

  • feat: add sparktlz (#5)

  • build: add pyspark

  • tests: set up Spark session (443dc33)

v0.3.0 (2023-11-09)

Feature

  • feat: add date_to_str (#3)

  • num_to_str: rephrase docstring

  • pytlz: add date_to_str (1068a65)

Refactor

  • refactor: import onekit as ok (#4) (aa077f8)

  • refactor: num_to_str (#2)

  • num_to_str: improve type hinting

  • changelog.md: remove bullet points (2447205)

v0.2.0 (2023-11-09)

Ci

  • ci: GitHub release before PyPI (1199208)

Feature

  • feat(pytlz): add num_to_str (#1)

  • feat(pytlz): add num_to_str

  • docs: show pytlz module (cc130e6)

v0.1.0 (2023-11-09)

Feature

  • feat: add repository setup (2603f02)