./devel/py-dash, Python utility libraries for doing stuff in a functional way

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 8.0.3, Package name: py312-dash-8.0.3, Maintainer: pkgsrc-users

The kitchen sink of Python utility libraries for doing "stuff" in a functional
way. Based on the Lo-Dash Javascript library.


Required to run:
[devel/py-setuptools] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 184.313 KB

Version history: (Expand)


CVS history: (Expand)


   2024-11-11 08:29:31 by Thomas Klausner | Files touched by this commit (862)
Log message:
py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays
   2024-09-15 17:36:51 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-dash: updated to 8.0.3

v8.0.3 (2024-07-22)

- Specify explicit type parameters for all type annotations. Thanks DeviousStoat_!

v8.0.2 (2024-07-21)

- Fix typing issue in ``map_`` for compatability with ``chain``. Thanks \ 
DeviousStoat_!

v8.0.1 (2024-04-26)

- Fix issue where too many arguments were passed to stdlib's \ 
``operator.attrgetter``, ``operator.itemgetter``, and ``operator.methodcaller`` \ 
when instances of those classes were used as callbacks to functions like \ 
``map_``, ``filter_``, etc. due to a bug introduced in Python 3.12.3 and 3.11.9 \ 
that reported an incorrect signature for those ``operator`` class instances.

v8.0.0 (2024-03-26)

- Add functions (Thanks DeviousStoat_!):

  - ``apply`` (previously named ``thru``)
  - ``apply_catch``
  - ``apply_if``
  - ``apply_if_not_none``
  - ``eq_cmp``
  - ``gt_cmp``
  - ``gte_cmp``
  - ``in_range_cmp``
  - ``is_equal_cmp``
  - ``is_equal_with_cmp``
  - ``is_instance_of_cmp``
  - ``is_match_cmp``
  - ``is_match_with_cmp``
  - ``is_monotone_cmp``
  - ``lt_cmp``
  - ``lte_cmp``

- Rename function ``thru`` to ``apply``. Thanks DeviousStoat_! (**breaking change**)
- Changed ``zip_``, ``unzip``, ``zip_with``, ``unzip_with`` and ``to_pairs`` to \ 
accept iterables of tuples instead of lists and return lists of tuples instead \ 
of lists of lists. Thanks DeviousStoat_! (**breaking change**)
- Fixed bug in ``divide``, ``multiply``, and ``subtract`` that returned the \ 
wrong result when ``0`` was used as one of the operation values. Thanks \ 
DeviousStoat_!
   2024-01-28 22:18:46 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-dash: updated to 7.0.7

v7.0.7 (2024-01-27)
-------------------

- Fix bug in function wrappers that incorrectly computed the number of arguments \ 
the wrapped function could handle. Thanks DeviousStoat_!
- Fix bug in ``set_`` where the incorrect object type, list instead of dict, was \ 
initialized on class attributes. Thanks DeviousStoat_!
- Drop support for Python 3.7.

v7.0.6 (2023-07-29)
-------------------

- Fix typing for chaining interface for methods that use varargs. Thanks \ 
DeviousStoat_!

v7.0.5 (2023-07-06)
-------------------

- Fix typing for ``find_index`` and ``find_last_index`` by allowing \ 
``predicate`` argument to be callback shorthand values. Thanks DeviousStoat_!

v7.0.4 (2023-06-02)
-------------------

- Exclude incompatible ``typing-extensions`` version ``4.6.0`` from install \ 
requirements. Incompatibility was fixed in ``4.6.1``.

v7.0.3 (2023-05-04)
-------------------

- Fix typing for ``difference_by``, ``intersection_by``, ``union_by``, \ 
``uniq_by``, and ``xor_by`` by allowing ``iteratee`` argument to be `Any`.  \ 
Thanks DeviousStoat_!

v7.0.2 (2023-04-27)
-------------------

- Fix issue where using ``pyright`` as a type checker with \ 
``reportPrivateUsage=true`` would report errors that objects are not exported \ 
from ``pydash``. Thanks DeviousStoat_!

v7.0.1 (2023-04-13)
-------------------

- Fix missing install dependency, ``typing-extensions``, for package.

v7.0.0 (2023-04-11)
-------------------

- Add type annotations to package. Raise an issue for any typing issues at \ 
https://github.com/dgilland/pydash/issues. Thanks DeviousStoat_! (**breaking \ 
change**)
- Change behavior of ``to_dict`` to not using ``dict()`` internally. Previous \ 
behavior would be for something like ``to_dict([["k", "v"], \ 
["x", "y"]])`` to return ``{"k": "v", \ 
"x": "y"}`` (equivalent to calling ``dict(...)``) but \ 
``to_dict([["k"], ["v"], ["x"], \ 
["y"]])`` would return ``{0: ["x"], 1: ["v"], 2: \ 
["x"], 3: ["y"]}``. The new behavior is to always return \ 
iterables as dictionaries with their indexes as keys like ``{0: ["k", \ 
"v"], 1: ["x", "y"]}``. This is consistent with \ 
how iterable objects are iterated over and means that ``to_dict`` will have more \ 
reliable output. (**breaking change**)
- Change behavior of ``slugify`` to remove single-quotes from output. Instead of \ 
``slugify("the cat's meow") == "the-cat's-meow"``, the new \ 
behavior is to return ``"the-cats-meow"``. (**breaking change**)
- Add support for negative indexes in ``get`` path keys.
   2023-05-02 19:15:11 by Thomas Klausner | Files touched by this commit (1)
Log message:
py-dash: not for Python 2
   2022-08-24 10:41:09 by Thomas Klausner | Files touched by this commit (13)
Log message:
*: use py-test-cov from versioned_dependencies
   2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595)
Log message:
*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
   2021-10-26 12:20:11 by Nia Alarie | Files touched by this commit (3016)
Log message:
archivers: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Could not be committed due to merge conflict:
devel/py-traitlets/distinfo

The following distfiles were unfetchable (note: some may be only fetched
conditionally):

./devel/pvs/distinfo pvs-3.2-solaris.tgz
./devel/eclipse/distinfo eclipse-sourceBuild-srcIncluded-3.0.1.zip
   2021-10-07 15:44:44 by Nia Alarie | Files touched by this commit (3017)
Log message:
devel: Remove SHA1 hashes for distfiles