Skip to main content

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.

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 for the full CleanResult contract, shared 1:1 with @fetchitai/engine (JavaScript).

License

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

Release files for fetchit-engine 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fetchit-engine 0.4.0
File Size Uploaded
fetchit_engine-0.4.0.tar.gz 17.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fetchit-engine 0.4.0
File Interpreter ABI Platform
fetchit_engine-0.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 35.9 kB

Release files / fetchit_engine-0.4.0.tar.gz

Download URL fetchit_engine-0.4.0.tar.gz
Size 17.7 kB
Tags Source
SHA-256 checksum
How to use checksums
8038eec5a0b9d979266675b9b3326f51c27d43a8abafd338ebe06df0da7f2f49
BLAKE2b-256 checksum
How to use checksums
c8be33d4858589a3a47a44072e6e171de9ceb91445baed9929abcd3b3fe5e01a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 14, 2026.

Transparency log

Release files / fetchit_engine-0.4.0-py3-none-any.whl

Download URL fetchit_engine-0.4.0-py3-none-any.whl
Size 18.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
28ce27e991df63818058e2206d7d8aa451c861d614c54b17dd3336f03860425b
BLAKE2b-256 checksum
How to use checksums
b9bf079c2bf36e7a78fa7bec2c474d45520ac855be5bda135ffee2d548c15c4f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 14, 2026.

Transparency log

Release history Release notifications | RSS feed

0.5.0

2 release files

This release

0.4.0 This release

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.2

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page