Skip to content

Python 3 Compatibility

Compare
Choose a tag to compare
@zuphilip zuphilip released this 27 Sep 19:58
· 123 commits to master since this release

The hocr-tools are now compatible with Python 2 as well as Python 3!

  • Change print statements according to Python 3 and use from __future__ import print_function
  • Fix hocr-eval-lines, add tests
  • Start code cleaning according to PEP 8 coding styles
  • Add Dockerfile for consistent local testing
  • Load from filename not stream

See details: v1.0.1...v1.1.0