{"categories":[{"label":"Networking","url":"https://skillfed.io/packages/category/system-networking/2"}],"enrichment":{"capability":"Provides a backported, cross-platform replacement for Python's standard library selectors module, supporting multiple selector types (epoll, kqueue, poll, select) across Linux, macOS, Windows, and Jython.","skillfed_tags":["backport","legacy-python","abandoned"],"use_cases":["Porting async I/O code to Python 2.6\u20133.4 environments where the standard selectors module is unavailable or incomplete.","Building network libraries that need robust selector support across Linux, macOS, Windows, and Jython without external async frameworks.","Handling interrupted system calls reliably in older Python versions that predate PEP 475.","Monitoring multiple sockets or pipes for read/write events in legacy applications that cannot upgrade Python versions."],"what_it_does":"Selectors2 is a backport of Python's selectors module designed for older Python versions (2.6\u20133.4) and Jython. It provides a unified API for monitoring file descriptors (sockets and pipes) for I/O readiness across different operating systems by selecting the best available selector type\u2014epoll on Linux, kqueue on BSD/macOS, poll on some Unix systems, or the portable select() fallback. The package implements PEP 475 to handle interrupted system calls gracefully, retrying rather than returning spurious empty events.\n\nThe module is a drop-in replacement for the standard library selectors module and was originally developed to solve real-world durability and portability problems. It supports monkey-patching scenarios and detects systems that claim to support a selector but don't actually implement it. However, the package has been abandoned since July 21, 2020 and receives no maintenance; modern Python users should use the standard library selectors module instead.","worth_installing":"No, unless you are maintaining legacy Python 2.6\u20133.4 code that requires selector functionality and cannot use the standard library module. The package is abandoned (last release July 21, 2020, repository archived) and receives no security or maintenance updates. Modern Python users should use the standard library selectors module instead."},"id":"selectors2","links":{"html":"https://skillfed.io/packages/selectors2","md":"https://skillfed.io/packages/selectors2.md","pypi":"https://pypi.org/project/selectors2/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2020-07-21","license_spdx":null,"license_treatment":"permissive","name":"selectors2","python_support":"unspecified","summary":"Back-ported, durable, and portable selectors"},"popularity":{"monthly_downloads":159258,"position":10702,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.0.2"}
