Libraries are pretty much fading away now. This doesn't mean that primality has to be deprecated though, just adapted to follow the current trend.
Plan is to move everything to their own module, and have primality simply export them all. API shouldn't have to change. Most people will, or at least should, just use the modules, but for legacy purposes I'd like to keep primality around nonetheless.
Libraries are pretty much fading away now. This doesn't mean that primality has to be deprecated though, just adapted to follow the current trend.
Plan is to move everything to their own module, and have primality simply export them all. API shouldn't have to change. Most people will, or at least should, just use the modules, but for legacy purposes I'd like to keep primality around nonetheless.
primality()
primality.lucasLehmerTest()