Sparse

Latest version: v0.15.5

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

Scan your dependencies

Page 1 of 3

0.15.1

-------------------
* Fix regression where with XArray by supporting all API functions via the Array API standard. (PR [622](https://github.com/pydata/sparse/pull/622) thanks [hameerabbasi](https://github.com/hameerabbasi))

0.15.0

-------------------
* Fix regression where [`DeprecationWarning`][]s were being fired unexpectedly. (PR [581](https://github.com/pydata/sparse/pull/581) thanks [hameerabbasi](https://github.com/hameerabbasi))
* Extended [`sparse.einsum`][] support (PR [579](https://github.com/pydata/sparse/pull/579) thanks [HadrienNU](https://github.com/HadrienNU))
* General code clean-up (PR [586](https://github.com/pydata/sparse/pull/586) thanks [MHRasmy](https://github.com/MHRasmy), PR [#598](https://github.com/pydata/sparse/pull/598) thanks [jamestwebber](https://github.com/jamestwebber))
* Bug fixes with respect to NumPy compatibility (PR [598](https://github.com/pydata/sparse/pull/598) thanks [hameerabbasi](https://github.com/hameerabbasi), PR [#609](https://github.com/pydata/sparse/pull/609) thanks [Illviljan](https://github.com/Illviljan), PR [#620](https://github.com/pydata/sparse/pull/620) thanks [mtsokol](https://github.com/mtsokol))
* Bug fixes with respect to GCXS (PR [611](https://github.com/pydata/sparse/pull/611) thanks [EuGig](https://github.com/EuGig), PR [#601](https://github.com/pydata/sparse/pull/601) thanks [jamestwebber](https://github.com/jamestwebber))
* `Array API standard <https://data-apis.org/array-api/latest/>`_ support (PR [#612](https://github.com/pydata/sparse/pull/612), PR [#613](https://github.com/pydata/sparse/pull/613), PR [#614](https://github.com/pydata/sparse/pull/614), PR [#615](https://github.com/pydata/sparse/pull/615), PR [#619](https://github.com/pydata/sparse/pull/619), PR [#620](https://github.com/pydata/sparse/pull/620) thanks [mtsokol](https://github.com/mtsokol))
* ``matrepr`` support for display of sparse data (PR [605](https://github.com/pydata/sparse/pull/605), PR [#606](https://github.com/pydata/sparse/pull/606) thanks [alugowski](https://github.com/alugowski)).
* Larger code clean-up with Ruff formatter and linter (PR [617](https://github.com/pydata/sparse/pull/617), PR [#621](https://github.com/pydata/sparse/pull/621) thanks [hameerabbasi](https://github.com/hameerabbasi))
* Packaging and maintenance (PR [616](https://github.com/pydata/sparse/pull/616), :commit:`b5954e68d3d6e35a62f7401d1d4fb84ea04414dd`, :commit:`dda93d3ea9521881c721c3ba875c769c9c5a79d4` thanks [hameerabbasi](https://github.com/hameerabbasi))

0.14.0

-------------------
* [`sparse.einsum`][] support (PR [564](https://github.com/pydata/sparse/pull/564) thanks
[jcmgray](https://github.com/jcmgray))
* Some bug-fixes (PR [524](https://github.com/pydata/sparse/pull/524), PR [#527](https://github.com/pydata/sparse/pull/527), PR [#555](https://github.com/pydata/sparse/pull/555) thanks [hameerabbasi](https://github.com/hameerabbasi), PR [#569](https://github.com/pydata/sparse/pull/569), thanks [jamestwebber](https://github.com/jamestwebber), PR [#534](https://github.com/pydata/sparse/pull/534), thanks [sarveshbhatnagar](https://github.com/sarveshbhatnagar))
* Some performance improvements (PR [570](https://github.com/pydata/sparse/pull/570), thanks [jamestwebber](https://github.com/jamestwebber), PR [#540](https://github.com/pydata/sparse/pull/540), thanks [smldub](https://github.com/smldub)).
* Miscellaneous maintenance fixes.

0.13.0

-------------------

* [`sparse.GCXS`][] improvements and changes. (PR [448](https://github.com/pydata/sparse/pull/448), PR [#450](https://github.com/pydata/sparse/pull/450), PR [#455](https://github.com/pydata/sparse/pull/455), thanks
[sayandip18](https://github.com/sayandip18)).
* Maintainence fixes (PR [462](https://github.com/pydata/sparse/pull/462), PR [#466](https://github.com/pydata/sparse/pull/466), :commit:`1ccb85da581be65a0345b399e00fd3c325700d95`,
:commit:`5547b4e92dc8d61492e9dc10ba00175c1a6637fa`
:commit:`00c0e5514de2aab8b9a0be16b5da470b091d9eb9`, :commit:`fcd3020dd08c7022a44f709173fe23969d3e8f7c`,
thanks [hameerabbasi](https://github.com/hameerabbasi))
* [`sparse.DOK.from_scipy_sparse`][] method (PR [464](https://github.com/pydata/sparse/pull/464), Issue [#463](https://github.com/pydata/sparse/issues/463), thanks
[hameerabbasi](https://github.com/hameerabbasi)).
* Black re-formatting (PR [471](https://github.com/pydata/sparse/pull/471), PR [#484](https://github.com/pydata/sparse/pull/484), thanks [GenevieveBuckley](https://github.com/GenevieveBuckley), [sayandip18](https://github.com/sayandip18))
* Add [`sparse.pad`][] (PR [474](https://github.com/pydata/sparse/pull/474), Issue [#438](https://github.com/pydata/sparse/issues/438), thanks [H4R5H1T-007](https://github.com/H4R5H1T-007))
* Switch to GitHub Actions (:compare:`5547b4e92dc8d61492e9dc10ba00175c1a6637fa..a332f22c96a96e5ab9b4384342df67e8f3966f85`)
* Fix a number of bugs in format conversion. (PR [504](https://github.com/pydata/sparse/pull/504), Issue [#503](https://github.com/pydata/sparse/issues/503), thanks
[hameerabbasi](https://github.com/hameerabbasi))
* Fix bug in [`sparse.matmul`][] for higher-dimensional arrays. (PR [508](https://github.com/pydata/sparse/pull/508),
Issue [506](https://github.com/pydata/sparse/issues/506), thanks [sayandip18](https://github.com/sayandip18)).
* Fix scalar conversion to COO (Issue [510](https://github.com/pydata/sparse/issues/510), PR [#511](https://github.com/pydata/sparse/pull/511), thanks [hameerabbasi](https://github.com/hameerabbasi))
* Fix OOB memory accesses (Issue [515](https://github.com/pydata/sparse/issues/515), :commit:`1e24a7e29786e888dee4c02153309986ae4b5dde`
thanks [hameerabbasi](https://github.com/hameerabbasi))
* Fixes element-wise ops with scalar COO array. (Issue [505](https://github.com/pydata/sparse/issues/505), :commit:`5211441ec685233657ab7156f99eb67e660cee86`,
thanks [hameerabbasi](https://github.com/hameerabbasi))
* Fix scalar broadcast_to with ``nnz==0``. (Issue [513](https://github.com/pydata/sparse/issues/513), :commit:`bfabaa0805e811884e79c4bdbfd14316986d65e4`,
thanks [hameerabbasi](https://github.com/hameerabbasi))
* Add order parameter to ``{zero, ones, full}[_like]``. (Issue [514](https://github.com/pydata/sparse/issues/514), :commit:`37de1d0141c4375962ecdf18337c2dd0f667b60c`,
thanks [hameerabbasi](https://github.com/hameerabbasi))
* Fix tensordot typing bugs. (Issue [493](https://github.com/pydata/sparse/issues/493), Issue [#499](https://github.com/pydata/sparse/issues/499), :commit:`37de1d0141c4375962ecdf18337c2dd0f667b60c`,
thanks [hameerabbasi](https://github.com/hameerabbasi)).

0.12.0

-------------------

There are a number of large changes in this release. For example, we have implemented the
[`sparse.GCXS`][] type, and its specializations `CSR` and `CSC`. We plan on gradually improving
the performance of these.

* A number of [`sparse.GCXS`][] fixes and additions (PR [409](https://github.com/pydata/sparse/pull/409), PR [#407](https://github.com/pydata/sparse/pull/407), PR [#414](https://github.com/pydata/sparse/pull/414),
PR [417](https://github.com/pydata/sparse/pull/417), PR [#419](https://github.com/pydata/sparse/pull/419) thanks [daletovar](https://github.com/daletovar))
* Ability to change the index dtype for better storage characteristics. (PR [441](https://github.com/pydata/sparse/pull/441),
thanks [daletovar](https://github.com/daletovar))
* Some work on [`sparse.DOK`][] arrays to bring them closer to the other formats (PR [435](https://github.com/pydata/sparse/pull/435),
PR [437](https://github.com/pydata/sparse/pull/437), PR [#439](https://github.com/pydata/sparse/pull/439), PR [#440](https://github.com/pydata/sparse/pull/440), thanks [DragaDoncila](https://github.com/DragaDoncila))
* `CSR` and `CSC` specializations of [`sparse.GCXS`][] (PR [442](https://github.com/pydata/sparse/pull/442), thanks [ivirshup](https://github.com/ivirshup))
For now, this is experimental undocumented API, and subject to change.
* Fix a number of bugs (PR [407](https://github.com/pydata/sparse/pull/407), Issue [#406](https://github.com/pydata/sparse/issues/406))
* Add `nnz` parameter to [`sparse.random`][] (PR [410](https://github.com/pydata/sparse/pull/410), thanks [emilmelnikov](https://github.com/emilmelnikov))

0.11.2

-------------------

* Fix `TypingError` on [`sparse.dot`][] with complex dtypes. (Issue [403](https://github.com/pydata/sparse/issues/403), PR [#404](https://github.com/pydata/sparse/pull/404))

Page 1 of 3

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.