From 01b231ea25fa3fcfb4691ce84119d65827460fa4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartosz=20Zaczy=C5=84ski?= Date: Sun, 30 Aug 2026 16:31:26 +0000 Subject: [PATCH] Use .venv naming in the Docling vs LlamaParse README Matches the tutorial, which creates .venv and shows (.venv) prompts. Only the README changes; the scripts are untouched so ruff format stays green. Co-Authored-By: Claude Opus 5 (1M context) --- extract-table-from-pdf-python/README.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/extract-table-from-pdf-python/README.md b/extract-table-from-pdf-python/README.md index 56b3a4e8b6..c68e52beb3 100644 --- a/extract-table-from-pdf-python/README.md +++ b/extract-table-from-pdf-python/README.md @@ -25,9 +25,9 @@ The scripts parse `sample_report.pdf`, a short financial report with tables, and Create and activate a [virtual environment](https://realpython.com/python-virtual-environments-a-primer/), then install the dependencies: ```shell -$ python3 -m venv venv/ -$ source venv/bin/activate -(venv) $ python -m pip install -r requirements.txt +$ python3 -m venv .venv/ +$ source .venv/bin/activate +(.venv) $ python -m pip install -r requirements.txt ``` Run the scripts from this folder so the relative path to `sample_report.pdf` resolves correctly. @@ -37,9 +37,9 @@ Run the scripts from this folder so the relative path to `sample_report.pdf` res Docling runs on your machine and does not require an API key. ```shell -(venv) $ python docling_extraction.py -(venv) $ python docling_tables.py -(venv) $ python docling_formats.py +(.venv) $ python docling_extraction.py +(.venv) $ python docling_tables.py +(.venv) $ python docling_formats.py ``` `docling_formats.py` writes `output_docling.md`, `output_docling.json`, and `output_docling.html` in the current directory. @@ -49,10 +49,10 @@ Docling runs on your machine and does not require an API key. The LlamaParse scripts require a [Llama Cloud API key](https://cloud.llamaindex.ai/). Export it before running: ```shell -(venv) $ export LLAMA_CLOUD_API_KEY="your-api-key" -(venv) $ python llamaparse_extraction.py -(venv) $ python llamaparse_tables.py -(venv) $ python llamaparse_formats.py +(.venv) $ export LLAMA_CLOUD_API_KEY="your-api-key" +(.venv) $ python llamaparse_extraction.py +(.venv) $ python llamaparse_tables.py +(.venv) $ python llamaparse_formats.py ``` `llamaparse_formats.py` writes `output_llamaparse.md`, `output_llamaparse.text`, and `output_llamaparse.json` in the current directory.