Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for enconv, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size enconv-0.0.1-py3-none-any.whl (4.3 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size enconv-0.0.1.tar.gz (2.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page