Python wrapper of memory allocation with posix_memalign.
Clone the repository, move to the directory, and just use pip
.
git clone https://github.com/tnakazato/pymemalign.git
cd pymemalign
pip install .
This should work on Linux as well as macOS with python 3.6 or higher.