Skip to content

Commit 87fef9c

Browse files
committed
Reapply "Initial commit"
This reverts commit 0bca1c7.
1 parent 0bca1c7 commit 87fef9c

20 files changed

+433
-376
lines changed

.gitignore

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,3 +164,16 @@ cython_debug/
164164
# and can be added to the global gitignore or merged into this file. For a more nuclear
165165
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
166166
.idea/
167+
168+
169+
# Ignore data folders
170+
data/**/*
171+
172+
#Dont ignore the data folders
173+
!data/**/.gitkeep
174+
175+
176+
# Ignore Environments
177+
venv/
178+
.venv/
179+
env/

CODE_OF_CONDUCT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ representative at an online or offline event.
6060

6161
Instances of abusive, harassing, or otherwise unacceptable behavior may be
6262
reported to the community leaders responsible for enforcement at
63-
ENTER_YOUR_EMAIL_ADDRESS.
63+
david.lobue@childmind.org.
6464

6565
All complaints will be reviewed and investigated promptly and fairly.
6666

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# template-python-repository pull request guidelines
1+
# anonymize-pii pull request guidelines
22

3-
Pull requests are always welcome, and we appreciate any help you give. Note that a code of conduct applies to all spaces managed by the template-python-repository project, including issues and pull requests. Please see the [Code of Conduct](CODE_OF_CONDUCT.md) for details.
3+
Pull requests are always welcome, and we appreciate any help you give. Note that a code of conduct applies to all spaces managed by the anonymize-pii project, including issues and pull requests. Please see the [Code of Conduct](CODE_OF_CONDUCT.md) for details.
44

55
When submitting a pull request, we ask you to check the following:
66

LICENSE

Lines changed: 0 additions & 21 deletions
This file was deleted.

README.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
Welcome to the CMI-DAIR Template Python Repository! This template is designed to streamline your project setup and ensure a consistent structure. To get started, follow these steps:
66

7-
- [ ] Run `setup_template.py` to initialize the repository.
7+
- [x] Run `setup_template.py` to initialize the repository.
88
- [ ] Replace the content of this `README.md` with details specific to your project.
99
- [ ] Install the `pre-commit` hooks to ensure code quality on each commit.
1010
- [ ] Revise SECURITY.md to reflect supported versions or remove it if not applicable.
@@ -15,12 +15,11 @@ Welcome to the CMI-DAIR Template Python Repository! This template is designed to
1515

1616
# Project name
1717

18-
[![Build](https://github.com/childmindresearch/template-python-repository/actions/workflows/test.yaml/badge.svg?branch=main)](https://github.com/childmindresearch/template-python-repository/actions/workflows/test.yaml?query=branch%3Amain)
19-
[![codecov](https://codecov.io/gh/childmindresearch/template-python-repository/branch/main/graph/badge.svg?token=22HWWFWPW5)](https://codecov.io/gh/childmindresearch/template-python-repository)
18+
[![Build](https://github.com/childmindresearch/anonymize-pii/actions/workflows/test.yaml/badge.svg?branch=main)](https://github.com/childmindresearch/anonymize-pii/actions/workflows/test.yaml?query=branch%3Amain)
19+
[![codecov](https://codecov.io/gh/childmindresearch/anonymize-pii/branch/main/graph/badge.svg?token=22HWWFWPW5)](https://codecov.io/gh/childmindresearch/anonymize-pii)
2020
[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
2121
![stability-stable](https://img.shields.io/badge/stability-stable-green.svg)
22-
[![MIT License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/childmindresearch/template-python-repository/blob/main/LICENSE)
23-
[![pages](https://img.shields.io/badge/api-docs-blue)](https://childmindresearch.github.io/template-python-repository)
22+
[![pages](https://img.shields.io/badge/api-docs-blue)](https://childmindresearch.github.io/anonymize-pii)
2423

2524
What problem does this tool solve?
2625

@@ -41,7 +40,7 @@ pip install APP_NAME
4140
Or get the newest development version via:
4241

4342
```sh
44-
pip install git+https://github.com/childmindresearch/template-python-repository
43+
pip install git+https://github.com/childmindresearch/anonymize-pii
4544
```
4645

4746
## Quick start

SECURITY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ Note which version(s) will receive security updates. For example:
1515

1616
## Reporting Vulnerabilities
1717

18-
To report security vulnerabilities, please do NOT use our issues page. Instead, kindly email us at ENTER_YOUR_EMAIL_ADDRESS. Please refrain from using other communication channels.
18+
To report security vulnerabilities, please do NOT use our issues page. Instead, kindly email us at david.lobue@childmind.org. Please refrain from using other communication channels.
1919

2020
For non-security-related issues, we welcome your input and feedback on our issues page. Feel free to share your ideas and suggestions to help us improve our services.

pyproject.toml

Lines changed: 11 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,21 @@
1+
[build-system]
2+
requires = ["setuptools>=65.0", "wheel"]
3+
build-backend = "setuptools.build_meta"
4+
5+
16
[project]
2-
name = "app-name"
7+
name = "anonymize-pii"
38
version = "0.1.0"
4-
description = "A beautiful description."
9+
description = "A PII anonymizer for text data that includes sensitive information."
510
authors = [
611
{name = "CMI DAIR", email = "dair@childmind.org"}
712
]
8-
license = "LGPL-2.1-only"
913
readme = "README.md"
1014
requires-python = ">=3.12"
11-
dependencies = []
12-
13-
[dependency-groups]
14-
dev = [
15-
"pytest>=8.3.4",
16-
"mypy>=1.13.0",
17-
"pre-commit>=4.0.1",
18-
"pytest-cov>=6.0.0",
19-
"ruff>=0.8.1",
20-
"deptry>=0.23.0"
21-
]
22-
docs = ["pdoc>=15.0.0"]
2315

24-
[tool.pytest.ini_options]
25-
pythonpath = ["src"]
26-
testpaths = ["tests"]
2716

28-
[tool.mypy]
29-
ignore_missing_imports = true
17+
[tool.setuptools]
18+
package-dir = {"" = "src"}
3019

31-
[tool.ruff]
32-
line-length = 88
33-
indent-width = 4
34-
src = ["src"]
35-
target-version = "py312"
36-
37-
[tool.ruff.lint]
38-
select = ["ANN", "D", "E", "F", "I"]
39-
ignore = []
40-
fixable = ["ALL"]
41-
unfixable = []
42-
43-
[tool.ruff.lint.pydocstyle]
44-
convention = "google"
45-
46-
[tool.ruff.lint.per-file-ignores]
47-
"tests/**/*.py" = []
48-
49-
[build-system]
50-
requires = ["uv_build>=0.9.3,<0.10.0"]
51-
build-backend = "uv_build"
20+
[tool.setuptools.packages.find]
21+
where = ["src"]

requirements.txt

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
annotated-types==0.7.0
2+
blis==1.3.3
3+
catalogue==2.0.10
4+
certifi==2025.11.12
5+
cffi==2.0.0
6+
charset-normalizer==3.4.4
7+
click==8.3.1
8+
cloudpathlib==0.23.0
9+
coloredlogs==15.0.1
10+
confection==0.1.5
11+
cryptography==44.0.3
12+
cymem==2.0.13
13+
emoji==2.15.0
14+
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#sha256=293e9547a655b25499198ab15a525b05b9407a75f10255e405e8c3854329ab63
15+
en_core_web_sm @ https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.8.0/en_core_web_sm-3.8.0-py3-none-any.whl#sha256=1932429db727d4bff3deed6b34cfc05df17794f4a52eeb26cf8928f7c1a0fb85
16+
filelock==3.20.1
17+
flatbuffers==25.12.19
18+
fsspec==2025.12.0
19+
gliner==0.2.24
20+
hf-xet==1.2.0
21+
huggingface-hub==0.36.0
22+
humanfriendly==10.0
23+
idna==3.11
24+
Jinja2==3.1.6
25+
MarkupSafe==3.0.3
26+
mpmath==1.3.0
27+
murmurhash==1.0.15
28+
networkx==3.6.1
29+
numpy==2.4.0
30+
onnxruntime==1.23.2
31+
packaging==25.0
32+
phonenumbers==9.0.21
33+
preshed==3.0.12
34+
presidio_analyzer==2.2.360
35+
presidio_anonymizer==2.2.360
36+
protobuf==6.33.2
37+
pycparser==2.23
38+
pydantic==2.12.5
39+
pydantic_core==2.41.5
40+
PyYAML==6.0.3
41+
regex==2025.11.3
42+
requests==2.32.5
43+
requests-file==3.0.1
44+
safetensors==0.7.0
45+
sentencepiece==0.2.1
46+
smart_open==7.5.0
47+
spacy==3.8.11
48+
spacy-legacy==3.0.12
49+
spacy-loggers==1.0.5
50+
srsly==2.5.2
51+
stanza==1.11.0
52+
sympy==1.14.0
53+
thinc==8.3.10
54+
tldextract==5.3.0
55+
tokenizers==0.22.1
56+
torch==2.9.1
57+
tqdm==4.67.1
58+
transformers==4.57.3
59+
typer-slim==0.21.0
60+
typing-inspection==0.4.2
61+
typing_extensions==4.15.0
62+
urllib3==2.6.2
63+
wasabi==1.1.3
64+
weasel==0.4.3
65+
wrapt==2.0.1

setup.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
""" Setup file """
2+
3+
from setuptools import setup
4+
5+
# Configuration is pyproject.toml
6+
setup()

setup/__init__.py

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)