Encodinger conversion wrapper around chardet.
Project description
Enconv
A light wrapper around chardet to conveniently convert text files.
Install
Optionally create virtual env
~$ pip install enconv
Usage
~$ enconv usage: enconv.py [-h] [-ie INPUT_ENCODING] [-gl GUESS_LENGTH] [-oe OUTPUT_ENCODING] [-of OUTPUT_FILE] [-ow] input_file
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
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.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size enconv_joy13975-0.0.1-py3-none-any.whl (4.4 kB) | File type Wheel | Python version py3 | Upload date | Hashes View |
Filename, size enconv-joy13975-0.0.1.tar.gz (2.8 kB) | File type Source | Python version None | Upload date | Hashes View |
Close
Hashes for enconv_joy13975-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39b475fb02483a912ea529a47a7097e8dba04d764b4d9a54e8aa1a4ee633e5d6 |
|
MD5 | a59b310509e6d74ca13ce68474924bf9 |
|
BLAKE2-256 | b4f613bcff0a091df463c4d1bc5e87b8743639ba5f52c9cdda6b44c1aa5249f0 |