openwisp/openwisp-users ? reverse-engineered prompt

Reverse engineered prompt

Build me a Django based Python package for OpenWISP that handles user management and multi tenancy.

I want it to work as a reusable library, not a standalone app, with models, admin support, and the usual Django integration so different organizations can share the same system while still keeping their data separated. Please include the core package code, a solid test suite, and enough documentation so someone can understand how to use it and extend it.

Make it feel production ready, with clean structure, good defaults, and support for the kinds of account and tenancy features OpenWISP would need. If anything depends on current Django or related best practices, check the latest docs online before implementing it.

Also add the basic project setup files so it can be installed, tested, and maintained easily, and make sure the code style and testing setup are consistent throughout.