Migrating from pyrad
pyrad2 is a friendly fork of pyrad. It is not a drop-in replacement.
Breaking changes since 2.0
- Python 3.12 or newer is required.
- Twisted integration is gone. Use the asyncio-based
ServerAsync/ClientAsyncinstead. - The entire codebase is snake_case. PascalCase method names like
CreateAuthPackethave been renamed tocreate_auth_packet. Adapt your call sites accordingly.
For everything new in the fork (RadSec, RADIUS/1.1, Status-Server, dedup, Message-Authenticator enforcement, FreeRADIUS dictionary fidelity, PYRAD2_TRACE), see the home page or the release notes.