{"library":"magic-filter","type":"library","category":null,"description":"magic-filter is a lightweight Python library designed to simplify conditional logic, particularly useful in event-driven programming like Telegram bots (e.g., aiogram). It provides a fluent, declarative syntax for building complex filtering expressions using the `F` object, allowing developers to write more readable and concise conditions. It is currently at version 1.0.12 and sees active, though not strictly regular, development with several minor releases annually.","language":"python","status":"active","version":"1.0.12","tags":["filtering","aiogram","telegram","conditional-logic","declarative"],"install":[{"cmd":"pip install magic-filter","imports":["from magic_filter import F"]}],"homepage":null,"github":"https://github.com/aiogram/magic-filter","docs":"https://docs.aiogram.dev/en/dev-3.x/dispatcher/filters/magic_filters.html","changelog":null,"pypi":"https://pypi.org/project/magic-filter/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":1.6,"avg_import_s":0.02,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/magic-filter/compatibility"},"provenance":{"verified_status":"passing","verified_at":"Sun Jun 28","last_verified":"Sun Jun 28","next_check":"Tue Jul 28","install_tag":null}}