Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ jobs:
- name: Install Project Dependencies
run: |
make install
- name: Install spaCy English model
run: uv pip install "https://github.com/explosion/spacy-models/releases/download/en_core_web_lg-3.8.0/en_core_web_lg-3.8.0-py3-none-any.whl"
- name: Run Tests
run: |
make test.coverage
Expand Down
2 changes: 1 addition & 1 deletion .zenodo.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"access_right": "open",
"version": "0.6.0",
"version": "0.6.1",
"creators": [
{
"orcid": "0000-0003-0665-098X",
Expand Down
4 changes: 2 additions & 2 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ authors:
given-names: Eidan J.
orcid: https://orcid.org/0000-0003-0665-098X
title: "pii-codex: a Python library for PII detection, categorization, and severity assessment"
version: 0.6.0
version: 0.6.1
doi: 10.5281/zenodo.7212576
date-released: 2026-02-13
date-released: 2026-02-15
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ This project uses `uv` for dependency management. Install [uv](https://docs.astr
make install
```

This runs `uv sync --extra dev --extra detections` so you get the base package, dev tools (pytest, black, pylint, etc.), and detection extras (spaCy, Presidio Analyzer/Anonymizer). The spaCy model `en_core_web_lg` is included in the `detections` extra and is installed automatically; you do not need to run `spacy download` yourself. If for some reason the model is missing at runtime, the code will attempt to install it (via `spacy download` or, in uv-managed venvs without pip, via `uv pip install` and a known wheel URL).
This runs `uv sync --extra dev --extra detections` so you get the base package, dev tools (pytest, black, pylint, etc.), and detection extras (spaCy, Presidio Analyzer/Anonymizer). Install the spaCy English model for detection: `python -m spacy download en_core_web_lg` (or `uv pip install https://github.com/explosion/spacy-models/releases/download/en_core_web_lg-3.8.0/en_core_web_lg-3.8.0-py3-none-any.whl`). If the model is missing at runtime, the code may attempt to install it when possible.

For more detail, see [docs/LOCAL_SETUP.md](docs/LOCAL_SETUP.md). This project has been tested on Ubuntu and macOS with Python 3.11 and 3.12.

Expand All @@ -62,7 +62,7 @@ uv add pii-codex
uv add "pii-codex[detections]"
```

The `[detections]` extra installs spaCy, Microsoft Presidio Analyzer and Anonymizer, and the `en_core_web_lg` model (via a direct wheel URL), so detection works out of the box. If you install without the extra and later use detection features, the code will try to install the model on first use when possible.
The `[detections]` extra installs spaCy and Microsoft Presidio Analyzer/Anonymizer. Install the spaCy English model for detection: `python -m spacy download en_core_web_lg`. If you install without the extra and later use detection features, the code may try to install the model on first use when possible.

For those using Google Collab, check out the example notebook:

Expand Down
2 changes: 1 addition & 1 deletion pii_codex/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.6.0"
__version__ = "0.6.1"
5 changes: 2 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "pii-codex"
version = "0.6.0"
version = "0.6.1"
description = "PII Detection, Categorization, and Severity Assessment"
authors = [
{name = "Eidan J. Rosado"}
Expand Down Expand Up @@ -31,7 +31,6 @@ detections = [
"thinc>=8.3.10", # 8.3.10+ has Python 3.13 wheels; older builds fail on 3.13 C API
"presidio-analyzer>=2.2.361",
"presidio-anonymizer>=2.2.361",
"en-core-web-lg @ https://github.com/explosion/spacy-models/releases/download/en_core_web_lg-3.8.0/en_core_web_lg-3.8.0-py3-none-any.whl",
]
dev = [
"pytest>=7.4.0,<8.0.0",
Expand Down Expand Up @@ -60,7 +59,7 @@ Homepage = "https://github.com/EdyVision/pii-codex"
Repository = "https://github.com/EdyVision/pii-codex"

[bumpver]
current_version = "0.6.0"
current_version = "0.6.1"
version_pattern = "MAJOR.MINOR.PATCH"
files = [
"pyproject.toml",
Expand Down
10 changes: 0 additions & 10 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.