Skip to main content

Collection of Japanese kanji lists

Project description

A collection of Japanese character lists

Installation

pip install kanji-lists

Usage

Using a list is simple enough:

>>> from kanji_lists import JOYO
>>> "桃" in JOYO
True
>>> "苺" in JOYO
False
>>> len(JOYO)
2136

Some lists also have subordinate lists:

>>> from kanji_lists import KYOIKU
>>> "火" in KYOIKU.GRADE1
True
>>> "火" in KYOIKU.GRADE2
False
>>> KYOIKU.GRADE1.issubset(KYOIKU)
True

Lists can also have different versions:

>>> from kanji_lists import KYOIKU
>>> KYOIKU.HEISEI4.GRADE6 - KYOIKU.REIWA2.GRADE6
{'城'}
>>> "城" in KYOIKU.REIWA2.GRADE4
True

If you do not specify a version, the default will be chosen. In the case of lists maintained by the Japanese government, this will generally be the most recent list. Since the default can change, specify a version if you want to make sure that you get the same version of the list across updates.

Available Lists and Versions

  • JINMEIYO

    • HEISEI25

    • HEISEI27

    • HEISEI29

  • JLPT

    • TANOS

      • N1

      • N2

      • N3

      • N4

      • N5

  • JOYO

    • HEISEI22

    • SHOWA56

  • KYOIKU

    • HEISEI4

      • GRADE1

      • GRADE2

      • GRADE3

      • GRADE4

      • GRADE5

      • GRADE6

    • REIWA2

      • GRADE1

      • GRADE2

      • GRADE3

      • GRADE4

      • GRADE5

      • GRADE6

    • SHOWA36

      • GRADE1

      • GRADE2

      • GRADE3

      • GRADE4

      • GRADE5

      • GRADE6

    • SHOWA55

      • GRADE1

      • GRADE2

      • GRADE3

      • GRADE4

      • GRADE5

      • GRADE6

Project details


Download files

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

Source Distribution

kanji-lists-0.1.0.tar.gz (24.5 kB view details)

Uploaded Source

Built Distribution

kanji_lists-0.1.0-py3-none-any.whl (24.3 kB view details)

Uploaded Python 3

File details

Details for the file kanji-lists-0.1.0.tar.gz.

File metadata

  • Download URL: kanji-lists-0.1.0.tar.gz
  • Upload date:
  • Size: 24.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.5 CPython/3.8.2 Darwin/19.5.0

File hashes

Hashes for kanji-lists-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d9f4c0f98b2cfa73f0d901e6eab43f784712ca422420676106ac215cc795a6c5
MD5 ae56232dae59b860636b49a464821dd1
BLAKE2b-256 2dc2201f20e23ee6b1a2814403dba0c28f92dbf55ac394f25d2f881df35ffb6c

See more details on using hashes here.

File details

Details for the file kanji_lists-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: kanji_lists-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 24.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.5 CPython/3.8.2 Darwin/19.5.0

File hashes

Hashes for kanji_lists-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8fcd02b42649663ffbe7a6371b212434d9fed644ea98dc08fbd64ffdbce0b7b7
MD5 32e376ad80992ed35949f32a59978d0c
BLAKE2b-256 b5b0004224bbf7b7b4891e39368dd97fee5939fbde62198329529ff1af7eb013

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page