{"categories":[{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/3"}],"enrichment":{"capability":"Provides a filter mechanism based on dynamic attribute access that enables declarative filtering of objects using a fluent, expression-like syntax.","skillfed_tags":["filtering","declarative"],"use_cases":["Build declarative filters for message routing in Telegram bot handlers without writing nested conditionals.","Validate object attributes against multiple conditions using a readable, expression-like syntax.","Create reusable filter expressions that can be composed and applied to different data structures.","Filter collections of objects by attribute values using a fluent API instead of list comprehensions."],"what_it_does":"magic-filter is a lightweight Python library that lets you build filters using dynamic attribute access and a fluent syntax. Instead of writing nested conditionals or lambda functions, you construct filter expressions by accessing attributes on a special filter object, then apply those expressions to check or filter data. The library has no runtime dependencies and supports Python 3.7 through 3.11.\n\nThe package is in alpha status and has been dormant since late 2023, so it is stable for existing use cases but should not be expected to receive active maintenance or new features. It carries permissive licensing and is commonly associated with the aiogram ecosystem.","worth_installing":"Yes, if you need declarative filtering and are comfortable with dormant maintenance. The package is stable, has no dependencies, and carries permissive licensing. It is well-suited for attribute-based filtering tasks where readability matters more than active development. Do not expect bug fixes or new features."},"id":"magic-filter","links":{"html":"https://skillfed.io/packages/magic-filter","md":"https://skillfed.io/packages/magic-filter.md","pypi":"https://pypi.org/project/magic-filter/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2023-10-01","license_spdx":null,"license_treatment":"permissive","name":"magic-filter","python_support":"supports_current","summary":null},"popularity":{"monthly_downloads":3019202,"position":2786,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"1.0.12"}
