notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photos
All times are UTC
Ukraine
Port details
py-olmocr PDF and image OCR toolkit using visual language models
0.4.27 graphicsnew! on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout Package not present on quarterly.This port was created during this quarter. It will be in the next quarterly branch but not the current one.
Maintainer: yuri@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2026-04-08 02:48:05
Last Update: 2026-04-08 02:45:26
Commit Hash: c61790d
Also Listed In: python
License: APACHE20
WWW:
https://olmocr.allenai.org/
https://github.com/allenai/olmocr
Description:
olmocr is a toolkit for converting PDFs and other image-based document formats into clean, readable, plain text format. Features: * Convert PDF, PNG, and JPEG based documents into clean Markdown * Support for equations, tables, handwriting, and complex formatting * Automatically removes headers and footers * Convert into text with a natural reading order, even in the presence of figures, multi-column layouts, and insets * Efficient, less than $200 USD per million pages converted
HomepageHomepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}olmocr>0:graphics/py-olmocr@${PY_FLAVOR}
To install the port:
cd /usr/ports/graphics/py-olmocr/ && make install clean
To add the package, run one of these commands:
  • pkg install graphics/py-olmocr
  • pkg install py311-olmocr
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
NOTE: This is a Python port. Instead of py311-olmocr listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py311-olmocr
Package flavors (<flavor>: <package>)
  • py311: py311-olmocr
distinfo:
TIMESTAMP = 1775589887 SHA256 (olmocr-0.4.27.tar.gz) = 7da74f37a3e987f966765503c59913c2268289c9ecb14b4c5f40c89a0e8e5393 SIZE (olmocr-0.4.27.tar.gz) = 410438

No package information for this port in our database
Sometimes this happens. Not all ports have packages. This is doubly so for new ports, like this one.
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py311-setuptools>0 : devel/py-setuptools@py311
  2. py311-wheel>0 : devel/py-wheel@py311
  3. python3.11 : lang/python311
  4. py311-build>=0 : devel/py-build@py311
  5. py311-installer>=0 : devel/py-installer@py311
Test dependencies:
  1. py311-pytest>0 : devel/py-pytest@py311
  2. python3.11 : lang/python311
Runtime dependencies:
  1. pdftoppm : graphics/poppler-utils
  2. py311-bleach>0 : www/py-bleach@py311
  3. py311-boto3>0 : www/py-boto3@py311
  4. py311-cached-path>0 : devel/py-cached-path@py311
  5. py311-cryptography>0 : security/py-cryptography@py311
  6. py311-filelock>0 : sysutils/py-filelock@py311
  7. py311-ftfy>0 : textproc/py-ftfy@py311
  8. py311-httpx>0 : www/py-httpx@py311
  9. py311-lingua-language-detector>0 : textproc/py-lingua-language-detector@py311
  10. py311-markdown2>0 : textproc/py-markdown2@py311
  11. py311-markdownify>0 : textproc/py-markdownify@py311
  12. py311-orjson>0 : devel/py-orjson@py311
  13. py311-pillow>0 : graphics/py-pillow@py311
  14. py311-pypdf>=5.2.0 : print/py-pypdf@py311
  15. py311-pypdfium2>0 : graphics/py-pypdfium2@py311
  16. py311-requests>0 : www/py-requests@py311
  17. py311-smart-open>0 : net/py-smart-open@py311
  18. py311-zstandard>0 : archivers/py-zstandard@py311
  19. py311-pytorch>0 : misc/py-pytorch@py311
  20. py311-transformers>=4.57.3 : misc/py-transformers@py311
  21. py311-vllm>=0.11.2 : misc/py-vllm@py311
  22. python3.11 : lang/python311
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
graphics_py-olmocr
USES:
python
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/o/olmocr/
  2. https://pypi.org/packages/source/o/olmocr/
Collapse this list.

Number of commits found: 1

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.4.27
08 Apr 2026 02:45:26
commit hash: c61790d933741f0db49e7715d3a4fe64e689b945commit hash: c61790d933741f0db49e7715d3a4fe64e689b945commit hash: c61790d933741f0db49e7715d3a4fe64e689b945commit hash: c61790d933741f0db49e7715d3a4fe64e689b945 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
graphics/py-olmocr: New port: PDF and image OCR toolkit using visual language
models

Number of commits found: 1