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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fetchit_engine-0.2.0.tar.gz (18.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fetchit_engine-0.2.0-py3-none-any.whl (18.6 kB view details)

Uploaded Python 3

File details

Details for the file fetchit_engine-0.2.0.tar.gz.

File metadata

  • Download URL: fetchit_engine-0.2.0.tar.gz
  • Upload date:
  • Size: 18.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.11.9

File hashes

Hashes for fetchit_engine-0.2.0.tar.gz
Algorithm Hash digest
SHA256 de4fef36c5e8ba4af0527066981d26757555ad501af4eacc5aa835319a96c24d
MD5 c1b4c493cb9eb353e359244b3fb904c5
BLAKE2b-256 452b7c0461ec076615a12633a3ab10b0fc75c3989083a7e2eef8957af4f1d7ee

See more details on using hashes here.

File details

Details for the file fetchit_engine-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: fetchit_engine-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 18.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.11.9

File hashes

Hashes for fetchit_engine-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0d0639133ee449411f21b04bab00804e8e2e85b0718d69e1e42a89b8356da51e
MD5 d3e337bc298c86c05d8c83b936c63d41
BLAKE2b-256 2a691b05e26426c2859db62e2c41dc585f1403ce3a0910074ff80a90efe6b814

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 files

0.1.2

2 files

0.1.1

2 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