From e3cd13d45e0c5420dcfe31e80710c0349fab721b Mon Sep 17 00:00:00 2001 From: nyxst4ck <289980115+nyxst4ck@users.noreply.github.com> Date: Tue, 23 Jun 2026 14:28:32 -0300 Subject: [PATCH 1/2] docs: quote pip extras install examples --- docs/ahds_integration.md | 6 +++--- docs/samples/python/langextract/index.md | 4 ++-- presidio-analyzer/README.md | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/ahds_integration.md b/docs/ahds_integration.md index 7e2eea3965..e36a213b5c 100644 --- a/docs/ahds_integration.md +++ b/docs/ahds_integration.md @@ -25,12 +25,12 @@ The AHDS de-identification service integration provides two main capabilities: ### For AHDS Recognizer ```bash -pip install presidio-analyzer[ahds] +pip install 'presidio-analyzer[ahds]' ``` ### For AHDS Surrogate Operator ```bash -pip install presidio-anonymizer[ahds] +pip install 'presidio-anonymizer[ahds]' ``` ## Prerequisites @@ -169,7 +169,7 @@ For production deployments, we recommend: 1. **ModuleNotFoundError**: Install the AHDS optional dependencies ```bash - pip install presidio-analyzer[ahds] presidio-anonymizer[ahds] + pip install 'presidio-analyzer[ahds]' 'presidio-anonymizer[ahds]' ``` 2. **Authentication errors**: Ensure Azure credentials are properly configured diff --git a/docs/samples/python/langextract/index.md b/docs/samples/python/langextract/index.md index 9d43d3fbc4..941f05e4cb 100644 --- a/docs/samples/python/langextract/index.md +++ b/docs/samples/python/langextract/index.md @@ -66,7 +66,7 @@ Azure OpenAI provides cloud-based access to OpenAI models (GPT-4o, GPT-4, GPT-3. 1. **Install Presidio with LangExtract support**: ```sh - pip install presidio-analyzer[langextract] + pip install 'presidio-analyzer[langextract]' ``` 2. **Set up Ollama** @@ -199,7 +199,7 @@ Azure OpenAI provides cloud-based access to OpenAI models (GPT-4o, GPT-4, GPT-3. 1. **Install Presidio with LangExtract support**: ```sh - pip install presidio-analyzer[langextract] + pip install 'presidio-analyzer[langextract]' ``` This installs `langextract` with OpenAI support, including the OpenAI Python SDK and Azure Identity libraries. diff --git a/presidio-analyzer/README.md b/presidio-analyzer/README.md index 3b88334722..e3d64056a6 100644 --- a/presidio-analyzer/README.md +++ b/presidio-analyzer/README.md @@ -20,7 +20,7 @@ Presidio analyzer supports language model-based PII/PHI detection (LLMs, SLMs) f - **Azure OpenAI** - Cloud-based deployment with enterprise features ```bash -pip install presidio-analyzer[langextract] +pip install 'presidio-analyzer[langextract]' ``` #### Quick Usage From 1a2565185e44155b2a78ca118a96f70585cdde37 Mon Sep 17 00:00:00 2001 From: Omri Mendels Date: Fri, 10 Jul 2026 00:14:46 +0300 Subject: [PATCH 2/2] Apply suggestions from code review Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- docs/ahds_integration.md | 4 ++-- presidio-analyzer/README.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/ahds_integration.md b/docs/ahds_integration.md index e36a213b5c..c1e40dae69 100644 --- a/docs/ahds_integration.md +++ b/docs/ahds_integration.md @@ -30,7 +30,7 @@ pip install 'presidio-analyzer[ahds]' ### For AHDS Surrogate Operator ```bash -pip install 'presidio-anonymizer[ahds]' +pip install "presidio-anonymizer[ahds]" ``` ## Prerequisites @@ -169,7 +169,7 @@ For production deployments, we recommend: 1. **ModuleNotFoundError**: Install the AHDS optional dependencies ```bash - pip install 'presidio-analyzer[ahds]' 'presidio-anonymizer[ahds]' +pip install "presidio-analyzer[ahds]" "presidio-anonymizer[ahds]" ``` 2. **Authentication errors**: Ensure Azure credentials are properly configured diff --git a/presidio-analyzer/README.md b/presidio-analyzer/README.md index e3d64056a6..4b708caf45 100644 --- a/presidio-analyzer/README.md +++ b/presidio-analyzer/README.md @@ -20,7 +20,7 @@ Presidio analyzer supports language model-based PII/PHI detection (LLMs, SLMs) f - **Azure OpenAI** - Cloud-based deployment with enterprise features ```bash -pip install 'presidio-analyzer[langextract]' +pip install "presidio-analyzer[langextract]" ``` #### Quick Usage