Metadata-Version: 2.4
Name: fetchit-engine
Version: 0.1.1
Summary: Deterministic text cleanup and AI-writing heuristics. Runs entirely in your process; text never leaves it.
Author: Outta Work Solutions
License-Expression: Apache-2.0
Project-URL: Homepage, https://fetchitai.com/developers
Project-URL: Repository, https://github.com/OuttaWorkSolutions/fetchit-engine
Project-URL: Changelog, https://github.com/OuttaWorkSolutions/fetchit-engine/blob/main/CHANGELOG.md
Project-URL: Issues, https://github.com/OuttaWorkSolutions/fetchit-engine/issues
Keywords: ai text,cleanup,invisible characters,em dash,text hygiene
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Classifier: Topic :: Text Processing :: Linguistic
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
License-File: NOTICE
Provides-Extra: spell
Requires-Dist: pyspellchecker>=0.7; extra == "spell"
Dynamic: license-file

# fetchit-engine

Deterministic text cleanup and AI-writing heuristics that run entirely in your
process. Your users text never leaves it. Pure standard library, no dependencies.

```python
from fetchit_engine import clean, apply_edits

r = clean(ai_draft, {"mode": "auto"})   # apply only auto-safe edits unattended
publish(r["cleaned"]["text"])
if r["aiReport"].get("level") == "high":
    review_queue.put(ai_draft, r)        # hand a human the full result
```

Offsets are code points. See the [repository README](https://github.com/OuttaWorkSolutions/fetchit-engine#the-design-in-four-claims)
for the full CleanResult contract, shared 1:1 with @fetchitai/engine (JavaScript).


## License

Apache-2.0. Free for everyone, including commercial use.
