Skip to main content

It often happens that you have non-Roman text data in Unicode, but you can’t display it – usually because you’re trying to show it to a user via an application that doesn’t support Unicode, or because the fonts you need aren’t accessible. You could represent the Unicode characters as “???????” or ” BA A0q0…”, but that’s nearly useless to the user who actually wants to read what the text says.

What Unidecode provides is a function, ‘unidecode(…)’ that takes Unicode data and tries to represent it in ASCII characters (i.e., the universally displayable characters between 0x00 and 0x7F). The representation is almost always an attempt at transliteration – i.e., conveying, in Roman letters, the pronunciation expressed by the text in some other writing system.

For example ‘unidecode(u”u5317u4EB0”)’ returns ‘Bei Jing’.

This is a Python port of Text::Unidecode Perl module by Sean M. Burke <sburke@cpan.org>.

Metadata

Release files for Unidecode 0.04.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Unidecode 0.04.7
File Size Uploaded Provenance Actions
Unidecode-0.04.7.tar.gz 187.5 kB Without provenance Details for Unidecode-0.04.7.tar.gz

Release files / Unidecode-0.04.7.tar.gz

Download URL Unidecode-0.04.7.tar.gz
Size 187.5 kB
Tags Source
SHA-256 checksum
How to use checksums
f75cd9c7a8dee02be23dcc6c516236e55ae7a60184fdb1e925d65d544c200c4c
BLAKE2b-256 checksum
How to use checksums
f0dd86c6d331c0ac004db772c75212de93e5ec74ca38ceac24fed80ff807ec5b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for Unidecode 0.04.7

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.

Release history Release notifications | RSS feed

This release

0.04.7 This release

1 release file No provenance

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