libkadm5 bindings
Raw constants from libkadm5 are also available under the following modules:
kadmin.sys.mit_clientkadmin.sys.mit_serverkadmin.sys.heimdal_clientkadmin.sys.heimdal_server
The list of all constants is available in the Rust crate documentation, under the appropriate module and the Constants section.
For example, the KRB5_KDB_REQUIRES_PRE_AUTH constant for MIT client-side can be used with
import kadmin
print(kadmin.sys.mit_client.KRB5_KDB_REQUIRES_PRE_AUTH)