{"categories":[{"label":"Application Frameworks","url":"https://skillfed.io/packages/category/software-development-libraries-application-frameworks/5"}],"enrichment":{"capability":"Provides logical operators (And, Or, Not) to compose complex permission checks in Django REST Framework views, allowing you to combine multiple permission classes with boolean logic.","skillfed_tags":["django","permissions","legacy"],"use_cases":["Build permission rules that require multiple conditions to be true simultaneously.","Negate a permission to deny access when a condition is met.","Combine permission checks with OR logic to allow access if any one of several conditions is satisfied.","Express complex multi-condition access policies without writing custom permission classes for every combination."],"what_it_does":"rest_condition is a small utility library that adds boolean logic operators to permission systems. It provides And, Or, and Not operators to build complex permission expressions\u2014for example, allowing access if (Perm1 AND Perm2) OR (NOT Perm2). The library wraps individual permission classes and composes them into a single permission that evaluates the full expression.\n\nThe package has no runtime dependencies. However, it has been abandoned since 2016 and its classifiers declare support only through Python 3.4, making it a legacy tool. If your project runs on modern Python versions, you should verify compatibility before relying on it in production.","worth_installing":"No, unless you are maintaining legacy code already using this package. The library is abandoned (last release 2016-11-01, last commit 2019-01-04) and declares support only through Python 3.4. Modern projects should implement permission composition directly or use actively maintained alternatives. If you must use it, verify compatibility with your current Python and framework versions before deploying."},"id":"rest-condition","links":{"html":"https://skillfed.io/packages/rest-condition","md":"https://skillfed.io/packages/rest-condition.md","pypi":"https://pypi.org/project/rest-condition/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2016-11-01","license_spdx":null,"license_treatment":"permissive","name":"rest_condition","python_support":"unspecified","summary":"Complex permissions flow for django-rest-framework"},"popularity":{"monthly_downloads":93960,"position":13356,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.0.3"}
