natsu

Use sum() with objects of any class


License
MIT
Install
pip install natsu==1.0.1

Documentation

natsu

PyPI - Python Version PyPI PyPI - License Code style: Black

natsu allows you to sum() with Python objects of any class that implements __add__().

Installation

pip install natsu

Usage

from natsu import sum

sum(some_iterable)

natsu.sum() is fully backwards-compatible with the built-in sum() function.

License

natsu is licensed under the MIT License.