hawat package¶
This package contains the web user interface for the Mentat system.
Architecture¶
Hawat is implemented on top of the Flask microframework and attempts to use many of its advanced features for application extendability, modularity and configurability. The Flask documentation is a great place to start if you want to write your own custom Hawat plugins or somehow extend or customize the default features or behavior.
Hawat was designed with a focus on application modularity. Only very small part of the application is mandatory and _core_, virtually everything is a pluggable module that can be dynamically enabled or disabled in configuration. Following is a list of key application features:
Prerequisites and dependencies¶
Hawat is implemented on top of the Flask microframework and with the use of following Python3 key libraries:
The application frontend is built on top of following key libraries:
bootstrap-select
Todo
- Secure redirect back after login:
- Flask security considerations:
- Internationalization
- Flask principal tweaks:
https://flask-login.readthedocs.io/en/latest/#flask_login.login_required
https://github.com/mattupstate/flask-principal/blob/master/flask_principal.py
https://github.com/jetpackdata/flask-login-principal/blob/master/app/mod_auth/views.py
https://github.com/saltycrane/flask-principal-example/blob/master/main.py
https://github.com/mickey06/Flask-principal-example/blob/master/FPrincipals.py
- Flask tutorial considerations:
Subpackages¶
- hawat.blueprints package
- Subpackages
- hawat.blueprints.auth package
- hawat.blueprints.auth_api package
- hawat.blueprints.auth_dev package
- hawat.blueprints.auth_env package
- hawat.blueprints.auth_pwd package
- hawat.blueprints.changelogs package
- hawat.blueprints.dbstatus package
- hawat.blueprints.design_bs3 package
- hawat.blueprints.devtools package
- hawat.blueprints.dnsr package
- hawat.blueprints.events package
- hawat.blueprints.filters package
- hawat.blueprints.geoip package
- hawat.blueprints.groups package
- hawat.blueprints.home package
- hawat.blueprints.hosts package
- hawat.blueprints.nerd package
- hawat.blueprints.networks package
- hawat.blueprints.pdnsr package
- hawat.blueprints.performance package
- hawat.blueprints.reports package
- hawat.blueprints.settings_reporting package
- hawat.blueprints.skeleton package
- hawat.blueprints.status package
- hawat.blueprints.timeline package
- hawat.blueprints.users package
- hawat.blueprints.whois package
- Subpackages
- hawat.test package
- hawat.view package