Skip to main content

smartencoding

These functions are copied from the source code of Django 1.5b2. And provides smart functions for convertation into utf8 and other encodings without Django. For example, I use in the Flask.

https://secure.travis-ci.org/adw0rd/smartencoding.png

Installation:

pip install smartencoding

How to use:

from smartencoding import smart_unicode, smart_unicode_with_replace
print smart_unicode(some_string)
print smart_unicode_with_replace(broken_string)

See also:

Metadata

Release files for smartencoding 0.3

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

Source distribution (sdist)

Source distribution for smartencoding 0.3
File Size Uploaded Provenance Actions
smartencoding-0.3.tar.gz 2.9 kB Without provenance Details for smartencoding-0.3.tar.gz

Release files / smartencoding-0.3.tar.gz

Download URL smartencoding-0.3.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
ce795a4e82188eabb94796aa3db07d25b75febdae89cdd80dcc8cd28de1523ea
BLAKE2b-256 checksum
How to use checksums
f650624913a4122e4639126769abe9c33ffb5c09baac360fd0eadcfde8e5ab37
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for smartencoding 0.3

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.

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