Right now the python extension has to be built from the same sources so that it has access to the NKF API, and thus doubles the code in the system. Also, since Ruby also uses a copy of the code, with a shared object it would be possible to unbundle the code.
nkf is an old software and it is in maintenance mode.