Anki Card Cleaner
A simple Python utility to clean Anki card text, removing cloze deletions, normalizing whitespace, and handling common Anki formatting quirks.
Installation
pip install anki-card-cleaner
Usage
from anki_card_cleaner import clean_card_text
text = "The capital of France is {{c1::Paris::City}}."
cleaned = clean_card_text(text)
print(cleaned)
# Output: "the capital of france is paris (city)."
Features
- Removes {{c1::...}} cloze deletions.
- Handles custom Answer::Hint format in clozes.
- Normalizes unicode non-breaking spaces.
- Fixes spacing after question marks.
- Lowercases everything.
Metadata
Release files for anki-card-cleaner 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| anki_card_cleaner-0.0.1.tar.gz | 3.3 kB | Without provenance | Details for anki_card_cleaner-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| anki_card_cleaner-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for anki_card_cleaner-0.0.1-py3-none-any.whl |
Total release size: 6.5 kB
Release files / anki_card_cleaner-0.0.1.tar.gz
| Download URL | anki_card_cleaner-0.0.1.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
64df2446e01a94270520c32071593e1eaf97f46df3d41f8e805034afcc94455b
|
|
BLAKE2b-256 checksum How to use checksums |
72a447bad99a78ee874598847398929af622796a58ede307fd4c0ac8cae9a07b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.10
|
Release files / anki_card_cleaner-0.0.1-py3-none-any.whl
| Download URL | anki_card_cleaner-0.0.1-py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2eb5f9f16888c26a4c1ddc6d0bef1b2e5ee864e21ef22bf26567ac763e05db3c
|
|
BLAKE2b-256 checksum How to use checksums |
5a832a1482c2eb66ee5db817e4913dc09ef7cfb7ce4372850161fa26c87bf667
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.10
|
Security for anki-card-cleaner 0.0.1
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.