Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

jp2en web services api collection

Project description


Collection of utilities, dedictated for consuming following services:

* MeCab;
* JDic;
* Kradfile
* Weblio;
* Jisho;
* Wordnet.

Example usage:

#!/usr/bin/env python
# encoding: utf-8

from jpnetkit.kradfile import Kradfile
from jpnetkit.jisho import Jisho
from jpnetkit.weblio import Weblio
from jpnetkit.mecab import MeCab

# our kanji
amusing_kanji = u'称'

# get radical decomposition
radicals = Kradfile().get_radikals_for(amusing_kanji)

# compile examples list with readings and translation
# for each of the word, that contains our kanji
examples = {}
weblio = Weblio()
mecab = MeCab()
jisho = Jisho()

for word in jisho.complete(amusing_kanji):
for sentence, translation in weblio.examples(word).iteritems():
examples[word] = {
'example': sentence,
'translation': translation,
'reading': mecab.get_reading(sentence),

Project details

Release history Release notifications

This version
History Node


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
jpNetKit-0.1dev.tar.gz (9.4 kB) Copy SHA256 hash SHA256 Source None Apr 9, 2013

Supported by

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