Skip to main content

Enconv

A light wrapper around chardet to conveniently convert text files.

Install

~$ pip install enconv

Usage

enconv: Guess and convert between encodings

usage: enconv [-h] [-ie INPUT_ENCODING] [-gl GUESS_LENGTH]
                 [-oe OUTPUT_ENCODING] [-of OUTPUT_FILE] [-ow]
                 input_file

enportal: Guess and convert file encodings from source to destination folders

usage: enportal [-h] [-ie INPUT_ENCODING] [-gl GUESS_LENGTH]
                [-oe OUTPUT_ENCODING] [-ow] [-i INTERVAL]
                input_dir output_dir

encheck: Guess text encoding of files in folder

usage: encheck [-h] [-gl GUESS_LENGTH] input_dir

Example

~$ enconv /Users/me/Downloads/chinese.txt
Guess: {'encoding': 'GB2312', 'confidence': 0.99, 'language': 'Chinese'}
Wrote to /Users/me/Downloads/chinese.txt.utf-8 in utf-8

Metadata

Release files for enconv 0.0.5

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

Source distribution (sdist)

Source distribution for enconv 0.0.5
File Size Uploaded Provenance Actions
enconv-0.0.5.tar.gz 5.9 kB Without provenance Details for enconv-0.0.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for enconv 0.0.5
File Interpreter ABI Platform Actions
enconv-0.0.5-py3-none-any.whl Python 3 none any Details for enconv-0.0.5-py3-none-any.whl

Total release size: 13.2 kB

Release files / enconv-0.0.5.tar.gz

Download URL enconv-0.0.5.tar.gz
Size 5.9 kB
Tags Source
SHA-256 checksum
How to use checksums
2a147640a7989b4e3d9a2805bd58a33a18047f9fc0342b43caf9c3eb460f8628
BLAKE2b-256 checksum
How to use checksums
e4c9599f35179db85d6c73f2feda64e2b078fe9184c568e6c8c275b3e55e2a33
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.13

Release files / enconv-0.0.5-py3-none-any.whl

Download URL enconv-0.0.5-py3-none-any.whl
Size 7.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
90a867451ef56acd9b3f2dccb4fcdc8f817120ef4ad1cad74c826525b1f513c5
BLAKE2b-256 checksum
How to use checksums
379f32d09f503c5915c712072aab7e2679b652fed794d927f3a93f2e2ed23531
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.13

Security for enconv 0.0.5

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