This is a simple proof-of-concept dtype using the (as of late 2022) experimental new dtype implementation in NumPy.
Ensure Meson and NumPy are installed in the python environment you would like to use:
$ python3 -m pip install meson meson-python numpy build patchelf
Build with meson, create a wheel, and install it
$ rm -r dist/
$ meson build
$ python -m build --wheel -Cbuilddir=build
$ python -m pip install dist/asciidtype*.whl
The mesonpy build backend for pip does not currently support editable
installs, so pip install -e . will not work.