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.1.1.tar.gz (16.9 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.1.1-py3-none-any.whl (17.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fetchit_engine-0.1.1.tar.gz
  • Upload date:
  • Size: 16.9 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.1.1.tar.gz
Algorithm Hash digest
SHA256 d684c68fb7f0250dfe2f5384a42c7b02de578f2997e9e0ccbeca7f974a035a9d
MD5 fd512140f01bb9969c1fbbc2f19ba031
BLAKE2b-256 ed14ff2482750945e55f12f398a5e52a21376c63ae56b5c2182512b05173b453

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fetchit_engine-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 17.5 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.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 23e8a1a65713fb02c44cb9e851c02e77b23fe9cde2e294dfe91434bb64a57f93
MD5 a642c2daba3bf75bae1d847c48b93469
BLAKE2b-256 c1b29ca8ca3fff8795242fa089a0284d5ec705bc4db43513bddbe736acd88ed8

See more details on using hashes here.

Release history Release notifications | RSS feed

0.2.0

2 files

0.1.2

2 files

This release

0.1.1 This release

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