{"categories":[{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/4"}],"enrichment":{"capability":"Provides the `imghdr` module, a Python standard library utility removed in Python 3.13 that identifies image file types by examining their headers.","skillfed_tags":["stdlib-redistribution","image-detection"],"use_cases":["Migrate legacy code that uses `imghdr` to Python 3.13+ without rewriting image type detection logic.","Quickly identify image file formats in batch processing or validation workflows where only basic format detection is needed.","Maintain backward compatibility in libraries that expose `imghdr` as part of their public API."],"what_it_does":"This package redistributes the `imghdr` module, which was removed from Python's standard library in version 3.13 as part of PEP 594's \"dead batteries\" initiative. The module provides a simple utility to determine image file types by reading and analyzing their file headers, returning a string identifier like 'png', 'jpeg', 'gif', or None if the format is not recognized.\n\nIt is intended for projects that depend on the original `imghdr` module and need to maintain compatibility with Python 3.13 and later. The package contains minimal compatibility support only\u2014it is an archive of the removed standard library code made installable via pip, not an actively developed alternative. If you need advanced image format detection or additional features, you should consider other actively maintained packages.","worth_installing":"Yes, if you have existing code that depends on `imghdr` and need to run it on Python 3.13+. Install it as a drop-in replacement for the removed standard library module. No, if you are starting a new project\u2014consider a more actively maintained image library instead. The package itself is stable (it is a static archive of removed code) but receives no active development."},"id":"standard-imghdr","links":{"html":"https://skillfed.io/packages/standard-imghdr","md":"https://skillfed.io/packages/standard-imghdr.md","pypi":"https://pypi.org/project/standard-imghdr/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2024-10-30","license_spdx":null,"license_treatment":"permissive","name":"standard-imghdr","python_support":"unspecified","summary":"Standard library imghdr redistribution. \"dead battery\"."},"popularity":{"monthly_downloads":987665,"position":4571,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"3.13.0"}
