Anonipy

Latest version: v0.2.0

Safety actively analyzes 685525 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.2.0

**Breaking Changes:**

- Change Python support between v3.9 and v3.12.
- Change default `model_name` for `LLMLabelGenerator` to be `HuggingFaceTB/SmolLM2-1.7B-Instruct` (for ease of use)

**New Features:**

- Enable CPU utilization for `LLMLabelGenerator`
- Enable changing the input parameters for `LLMLabelGenerator` (`model_name` and `use_gpu`)
- Add additional unit tests for `NERExtractor`

**Bug Fixes:**

- Fix package documentation

0.1.2

**Bug Fixes:**

- Fix entity creation in `PatternExtractor`
- Fix documentation duplication

0.1.1

**New Features:**

- Add `Entity` regex group selection
- Add option to ignore `Entity` regex pattern in `LLMLabelGenerator.generate`

0.1.0

**Breaking Changes:**

- Rename the `EntityExtractor` to `NERExtractor`
- Rename the input variable `output_gen` to `sub_variant` in `DateGenerator`
- Rename the input variable `entity_prefix` to `add_entity_attrs` in `LLMLabelGenerator.generate`
- Move the `regex` submodule from `anonipy.anonymize` to `anonipy.utils`

**New Features:**

- Add a pattern extractor named `PatternExtractor`, used to extract entities using spacy pattern matching and regex
- Add a multi extractor named `MultiExtractor`, used to extract entities using multiple extractors
- Add the `DATE_TRANSFORM_VARIANTS` constant to help with date generator
- Refine the `Entity` implementation
- Improve package documentation

0.0.8

**New Features:**

- Add automatic date format detection support to `DateGenerator`

0.0.7

**New Features:**

- Upgrade `gliner-spacy` to have cleaner code
- Add function to help manual post-anonymization replacement fixing

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.