2or3

Writes a single byte to stdout (either "2" or "3") classifying a Python file using heuristics, giving priority to 3 if unclear

Installation

In a virtualenv (see these instructions if you need to create one):

pip3 install 2or3

Dependencies

  • None

Releases

Version Released Bookworm
Python 3.11
Trixie
Python 3.13
Files
0.1.0 2014-10-22

Issues with this package?

Page last updated 2026-09-03 15:15:32 UTC