aitextcleaner-formatting-residue 0.2.0-1
LuaRocks source package pathArchive ships a root-level test tree
SHA-2560f96ebf3736efc437cc26baee740c91ad37be0bbae798f3ec700de0ff8e48df5
MaleculeK(Te₂)O(S)H₄(Cm₃Db₄F₃Po₆)Md(Pa₆)
Evidence
8:66… li|p|pre|section)\b[^>]*>", re.I)
9 cleaned = block.sub("\n", text)
10 cleaned = re.sub(r"<[^>]*>", "", cleaned)
11 cleaned = unescape(cleaned).translate(str.maketrans({
12 "“": '"', "”": '"', "‘": "'", "’": "'", "–": "-", "—": "-", "…": "...",
13 }))
14 return re.sub(r"\n{3,}", "\n\n", re.sub(r"[ \t]+\n", "\n", cleaned)).strip()
15
16
17sys.stdout.write(clean(sys.stdin.read()))
1from __future__ import annotations
2
3import subprocess
4import sys
5import unittest
⋯6 lines
12class PreflightTests(unittest.TestCase):
13 def test_preflight_accepts_the_surface_manifest(self) -> None:
14 result = subprocess.run(
15 [sys.executable, str(ROOT / "scripts" / "preflight.py")],
16 cwd=ROOT,
17 capture_output=True,
18 text=True,
19 …
1{
2 "name": "aitextcleaner-formatting-residue",
3 "version": "0.2.0",
4 "description": "Local formatting-residue cleanup helper for copied text.",
5 "main": "index.js",
6 "scripts": {"test": "node test.js"},
7 "license": "MIT",
8 "homepage": "https://aitextcleaner.pro/",
9 "repository": "https://aitextcleaner.pro/",
10 "source": "https://aitextcleaner.pro/"
11}
1{
2 "name": "@aitextcleaner/formatting-residue",
3 "version": "0.2.0",
4 "description": "Local formatting-residue cleanup helper for copied text.",
5 "main": "index.js",
6 "license": "MIT",
7 "homepage": "https://aitextcleaner.pro/",
8 "repository": "https://aitextcleaner.pro/",
9 "source": "https://aitextcleaner.pro/",
10 "publishConfig": {"registry": "https://npm.pkg.github.com/"}
11}
1#!/bin/sh
2set -eu
3exec python3 /opt/aitextcleaner/app.py
Showing the top 5 files — 4 more files (4 regions) not shown.
No evidence locations were recorded for this file. Raw result