Unicode normalization for stripping LLM artifacts
Project description
blandify (Python bindings)
Python bindings for the blandify Rust Unicode normalization library.
What it does
blandify.normalize(...) replaces common Unicode artifacts with plain ASCII forms, including:
- smart quotes and apostrophes
- Unicode dashes and minus signs
- non-ASCII whitespace (including tab expansion to two spaces)
- zero-width and directional markers
- arrows, vulgar fractions, common math symbols, and common text symbols
- optional German umlaut transliteration (
ä -> ae,ö -> oe,ü -> ue,ß -> ss)
Development
From the repository root:
cd python
pixi run maturin develop --uv
pixi run pytest tests/
Or from the root with the configured task:
pixi run -e dev python-test
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file blandify-0.1.0.tar.gz.
File metadata
- Download URL: blandify-0.1.0.tar.gz
- Upload date:
- Size: 32.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3db407bd8d3dc0f14e04b83bc05d5640fb57e213d871bf3c322948536924bd9a
|
|
| MD5 |
819584454ed3271a9931cb2d28bebdc5
|
|
| BLAKE2b-256 |
2d2f99036e7ee4298ee569768b3369c256a6546e11c61d83119d9fb2a787b600
|
Provenance
The following attestation bundles were made for blandify-0.1.0.tar.gz:
Publisher:
build.yml on moritzwilksch/blandify
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
blandify-0.1.0.tar.gz -
Subject digest:
3db407bd8d3dc0f14e04b83bc05d5640fb57e213d871bf3c322948536924bd9a - Sigstore transparency entry: 970450016
- Sigstore integration time:
-
Permalink:
moritzwilksch/blandify@1000589e45df6c855f8356ccfba2d2f5f7136ccf -
Branch / Tag:
refs/heads/main - Owner: https://github.com/moritzwilksch
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yml@1000589e45df6c855f8356ccfba2d2f5f7136ccf -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file blandify-0.1.0-cp312-abi3-win_amd64.whl.
File metadata
- Download URL: blandify-0.1.0-cp312-abi3-win_amd64.whl
- Upload date:
- Size: 103.6 kB
- Tags: CPython 3.12+, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
291b51b82fee487deb817a08b2bbe278636b03f176cecafa9d855c6468eea332
|
|
| MD5 |
36a69a8b195477da13a198978cad1753
|
|
| BLAKE2b-256 |
ccb55b7db860d0a9cc1bf85d14988fba3158c582eeb718bf226e4f7bf34259db
|
Provenance
The following attestation bundles were made for blandify-0.1.0-cp312-abi3-win_amd64.whl:
Publisher:
build.yml on moritzwilksch/blandify
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
blandify-0.1.0-cp312-abi3-win_amd64.whl -
Subject digest:
291b51b82fee487deb817a08b2bbe278636b03f176cecafa9d855c6468eea332 - Sigstore transparency entry: 970450191
- Sigstore integration time:
-
Permalink:
moritzwilksch/blandify@1000589e45df6c855f8356ccfba2d2f5f7136ccf -
Branch / Tag:
refs/heads/main - Owner: https://github.com/moritzwilksch
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yml@1000589e45df6c855f8356ccfba2d2f5f7136ccf -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file blandify-0.1.0-cp312-abi3-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: blandify-0.1.0-cp312-abi3-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 320.2 kB
- Tags: CPython 3.12+, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a604e311323b93877d5ea13568e233cbb0251b17b7122828621a31424fb0da91
|
|
| MD5 |
094a084e24253c06ef035278bcedbfdf
|
|
| BLAKE2b-256 |
e2656fcf6fc5257249669e7af0391365d10dd98bab9adcbbb3b29036acf64290
|
Provenance
The following attestation bundles were made for blandify-0.1.0-cp312-abi3-musllinux_1_2_x86_64.whl:
Publisher:
build.yml on moritzwilksch/blandify
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
blandify-0.1.0-cp312-abi3-musllinux_1_2_x86_64.whl -
Subject digest:
a604e311323b93877d5ea13568e233cbb0251b17b7122828621a31424fb0da91 - Sigstore transparency entry: 970450145
- Sigstore integration time:
-
Permalink:
moritzwilksch/blandify@1000589e45df6c855f8356ccfba2d2f5f7136ccf -
Branch / Tag:
refs/heads/main - Owner: https://github.com/moritzwilksch
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yml@1000589e45df6c855f8356ccfba2d2f5f7136ccf -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file blandify-0.1.0-cp312-abi3-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: blandify-0.1.0-cp312-abi3-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 243.1 kB
- Tags: CPython 3.12+, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
686084fead008928fb0bfa19255c48b9370170ab5157baa8d6c0a7c0339a73c4
|
|
| MD5 |
7405b1a26807d86017caf1702aba0ec7
|
|
| BLAKE2b-256 |
d98fb84ee1ae0b84b092227cd5d0f68def54f5f0a170294666c862af155d4b85
|
Provenance
The following attestation bundles were made for blandify-0.1.0-cp312-abi3-manylinux_2_34_x86_64.whl:
Publisher:
build.yml on moritzwilksch/blandify
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
blandify-0.1.0-cp312-abi3-manylinux_2_34_x86_64.whl -
Subject digest:
686084fead008928fb0bfa19255c48b9370170ab5157baa8d6c0a7c0339a73c4 - Sigstore transparency entry: 970450084
- Sigstore integration time:
-
Permalink:
moritzwilksch/blandify@1000589e45df6c855f8356ccfba2d2f5f7136ccf -
Branch / Tag:
refs/heads/main - Owner: https://github.com/moritzwilksch
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yml@1000589e45df6c855f8356ccfba2d2f5f7136ccf -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file blandify-0.1.0-cp312-abi3-macosx_11_0_arm64.whl.
File metadata
- Download URL: blandify-0.1.0-cp312-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 207.3 kB
- Tags: CPython 3.12+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
18817e9f9ddaf98cf99b12d702ac2bdbdad242edbd66594c7e2eec9f671e8d98
|
|
| MD5 |
a43bb2abecbb56cb718b76d455af05ca
|
|
| BLAKE2b-256 |
3ae1ab96d19ac3fa89e3c976bba64f9c3e640bd27d105c774825d5917b21de22
|
Provenance
The following attestation bundles were made for blandify-0.1.0-cp312-abi3-macosx_11_0_arm64.whl:
Publisher:
build.yml on moritzwilksch/blandify
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
blandify-0.1.0-cp312-abi3-macosx_11_0_arm64.whl -
Subject digest:
18817e9f9ddaf98cf99b12d702ac2bdbdad242edbd66594c7e2eec9f671e8d98 - Sigstore transparency entry: 970450233
- Sigstore integration time:
-
Permalink:
moritzwilksch/blandify@1000589e45df6c855f8356ccfba2d2f5f7136ccf -
Branch / Tag:
refs/heads/main - Owner: https://github.com/moritzwilksch
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yml@1000589e45df6c855f8356ccfba2d2f5f7136ccf -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file blandify-0.1.0-cp312-abi3-macosx_10_12_x86_64.whl.
File metadata
- Download URL: blandify-0.1.0-cp312-abi3-macosx_10_12_x86_64.whl
- Upload date:
- Size: 212.7 kB
- Tags: CPython 3.12+, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f7acb479dcebd32e974ba777179626d288d9c9d0fd644d657b4a183b248d8b13
|
|
| MD5 |
9696544022392fc5bf4065530261dcd4
|
|
| BLAKE2b-256 |
78d2d825443522b073dc661e9e17c23f963b0ebe9639e745a89eda3afdfda7de
|
Provenance
The following attestation bundles were made for blandify-0.1.0-cp312-abi3-macosx_10_12_x86_64.whl:
Publisher:
build.yml on moritzwilksch/blandify
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
blandify-0.1.0-cp312-abi3-macosx_10_12_x86_64.whl -
Subject digest:
f7acb479dcebd32e974ba777179626d288d9c9d0fd644d657b4a183b248d8b13 - Sigstore transparency entry: 970450277
- Sigstore integration time:
-
Permalink:
moritzwilksch/blandify@1000589e45df6c855f8356ccfba2d2f5f7136ccf -
Branch / Tag:
refs/heads/main - Owner: https://github.com/moritzwilksch
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yml@1000589e45df6c855f8356ccfba2d2f5f7136ccf -
Trigger Event:
workflow_dispatch
-
Statement type: