The core components of the arraymap package (AutoMap, FrozenAutoMap) have been integrated into arraykit:
https://github.com/static-frame/arraykit
As future development will happen there, this repository is now archived.
The ArrayMap library provides dictionary-like lookup from NumPy array values to their integer positions. The hash table design and C implementation is based on [AutoMap](https://github.com/brandtbucher/automap), with extensive additions for direct support of NumPy arrays.
Code: https://github.com/static-frame/arraymap
Packages: https://pypi.org/project/arraymap
ArrayMap requires the following:
- Python >= 3.9
- NumPy >= 1.19.5
Now building wheels for Python 3.13.
Now building with NumPy 2.0.
Restored functional wheels for Mac OS x86_64.
Restored functional wheels for Mac OS x86_64.
Now building wheels for 3.12.
Now building functional wheels for Mac OS arm64 / Apple Silicon.
Improvements to PyObject struct layout and other internal refactoring.
Corrected issue when using get_all() and get_any() on FrozenAutoMap backed by numerical arrays with less than 64-bit element size.
Corrected issue when creating a FrozenAutoMap from a datetime64 array that has duplicates.
Implemented get_all() and get_any() for optimized lookup of multiple keys from arrays or lists.
Implemented full support for np.datetime64 arrays.
Improved handling for Unicode elements that contain non-terminal NULL strings.
Corrected comparison in lookup of Unicode elements.
Updated classifiers, install_requires with setuptools.
Corrected segfault resulting from initialization from generators that raise.
Added __version__ to module; releasing wheels.
Initial release with NumPy integration.