diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..56411c1 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,10 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +## [0.3.2] - 2025-07-14 +### Added +- Support for Numpy 2.x deprecations. Complex and float types are + detected based on the installed Numpy version. +- Explicit dependency on the `packaging` module. + diff --git a/README.md b/README.md index 4678bdf..87dcb58 100644 --- a/README.md +++ b/README.md @@ -20,3 +20,10 @@ with open(json_file, 'w') as file: cls=NumpyEncoder ) ``` + +## Installation + +``` +pip install numpyencoder==0.3.2 +``` + diff --git a/numpyencoder/__init__.py b/numpyencoder/__init__.py index 3e5c56b..9f5d213 100644 --- a/numpyencoder/__init__.py +++ b/numpyencoder/__init__.py @@ -1 +1,11 @@ +"""Top level package for ``numpyencoder``. + +Exposes :class:`~numpyencoder.numpyencoder.NumpyEncoder` for convenient +imports and defines the package ``__version__``. +""" + from .numpyencoder import NumpyEncoder + +__version__ = "0.3.2" + +__all__ = ["NumpyEncoder", "__version__"]