--- id: flask-principal version: "0.4.0" license: MIT license_treatment: permissive maintenance: abandoned --- # Flask-Principal — Identity management for flask License: permissive · Maintenance: abandoned · Downloads: 324.7K/mo ## What it is and what it does Flask-Principal is a Flask extension for managing user identity and permissions within web applications. It provides a framework for tracking the current user's identity across requests and enforcing role-based access control rules. The package integrates with Flask's request context to make identity information available throughout the application lifecycle. The package was last released in 2013-06-14 and is no longer actively maintained. While it has no external runtime dependencies and carries a permissive MIT license, its age and abandoned status mean it may require compatibility patches to work with modern Flask versions or current Python releases. Use it for: - Implementing role-based access control in Flask applications where routes or resources are restricted to users with specific roles. - Tracking the current user's identity and permissions across multiple requests within a Flask application. - Building multi-tenant Flask applications where different users have different permission levels. - Enforcing fine-grained authorization rules based on user identity within Flask request handlers. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Flask-Principal provides identity and permission management for Flask applications, enabling role-based access control and user identity tracking within web requests. No. Flask-Principal is abandoned (last release 2013-06-14) with high install friction and unspecified Python support. Modern Flask applications should use actively maintained alternatives. Installing this package risks compatibility issues with current Flask and Python versions and leaves you without maintenance support. ## Install pip install flask-principal uv add flask-principal poetry add flask-principal ## Installing Flask-Principal Before you install: High install friction and abandoned status (last release 2013-06-14) signal this package is no longer maintained. No runtime dependencies, but lack of recent updates means compatibility issues with modern Flask versions or Python releases are likely. License in practice: MIT license is permissive and poses no legal restrictions on use, modification, or redistribution in commercial or private projects. Quickstart: pip install Flask-Principal==0.4.0 from flask import Flask from flask_principal import Principal app = Flask(__name__) Principal(app) Requires Flask; Python version support unspecified in metadata. Verify before relying: - Compatibility with current Flask versions and modern Python releases. - Whether Beta development status reflects actual stability or incomplete features. - Active community support or workarounds for issues in this abandoned codebase. ## Package facts - License: MIT (permissive) - Python support: unspecified - Install friction: high - Maintenance: abandoned - Downloads: 324.7K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags flask identity management, role-based access control flask, flask permissions, flask authorization, identity tracking flask, flask acl, flask user roles, authentication, authorization, abandoned [View on SkillFed](https://skillfed.io/packages/flask-principal) · [View on PyPI](https://pypi.org/project/flask-principal/)