{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/8"},{"label":"Quality Assurance","url":"https://skillfed.io/packages/category/software-development-quality-assurance/2"}],"enrichment":{"capability":"Provides compatibility helpers for Flake8 plugins that need to support both Flake8 2.x and 3.x versions simultaneously.","skillfed_tags":["flake8-plugin","compatibility-layer"],"use_cases":["Registering plugin options in a way that works identically on both Flake8 2.x and 3.x without conditional code branches.","Ensuring stdin is properly cached and retrievable in plugins across Flake8 versions that handle it differently.","Writing version-conditional logic in a plugin by comparing Flake8 version tuples instead of parsing version strings.","Maintaining a legacy Flake8 plugin that must continue supporting older Flake8 2.x installations alongside newer 3.x ones."],"what_it_does":"flake8-polyfill is a compatibility layer for developers writing Flake8 plugins that need to work across both Flake8 2.x and 3.x. It abstracts away API differences between those versions so plugin code can use a single interface. The package provides three main helpers: an options registration wrapper that handles parameter differences in add_option across versions, a stdin monkey-patching utility that works around changes in how Flake8 handles standard input caching, and a version comparison utility that normalizes version strings into tuples for easy conditional logic.\n\nThe package depends only on flake8 and installs with low friction. However, it has been abandoned since 2017-12-30 and receives no maintenance. It was designed for a specific compatibility problem between Flake8 2.x and 3.x. Installing this package makes sense only if you are actively maintaining a legacy plugin that must support both versions simultaneously, and you accept the risk of no future updates.","worth_installing":"No, unless you are maintaining a legacy Flake8 plugin that must support both 2.x and 3.x. The package is abandoned (last release 2017-12-30) and was designed to solve a compatibility problem between those versions. If you are writing a new plugin, use Flake8 3.x APIs directly. If you must support both versions, accept that this package will not receive updates for any future Flake8 changes."},"id":"flake8-polyfill","links":{"html":"https://skillfed.io/packages/flake8-polyfill","md":"https://skillfed.io/packages/flake8-polyfill.md","pypi":"https://pypi.org/project/flake8-polyfill/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2017-12-30","license_spdx":null,"license_treatment":"permissive","name":"flake8-polyfill","python_support":"unspecified","summary":"Polyfill package for Flake8 plugins"},"popularity":{"monthly_downloads":894296,"position":4793,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"1.0.2"}
