Skip to main content

Python Interface to NKF

Project description

Python Interface to NKF2

1. How to Install

$ make
$ sudo make install

2. Usage

## flag is same as the flags of nkf itself
import nkf
output = nkf.nkf(flag, input)

## For example, to convert from euc-jp to utf-8
output = nkf.nkf('-Ew', 'some euc-jp string')

3. guess() function,
which guesses input_string_code and returns one of next strings:

## For example
import nkf
input_code = nkf.guess('some string')

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 nkf, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size nkf-0.1.0.tar.bz2 (123.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page