Skip to main content

ja2sci

ja2sci converts Japanese name into scientific name. If the given name is not on the internal dictionary, it automatically searches the wikipedia.

生物の和名を学名に変換するライブラリです。 内部辞書に学名が登録されていない場合、自動的に Wikipedia から学名を取得します。

How to use

As a CLI tool

$ pip install ja2sci
$ ja2sci ニホンカワウソ
Lutra lutra nippon

Inside python script

>>> import ja2sci
>>> ja2sci.translate('ユーラシアカワウソ')
'Lutra lutra

Advanced usage: asynchronous translation

>>> import ja2sci
>>> import asyncio
>>> loop = asyncio.get_event_loop()
>>> results = loop.run_until_complete(asyncio.gather(
...     ja2sci.async_translate('ホンドテン'), # Not on internal dictionary
...     ja2sci.async_translate('ミンク')      # Not on internal dictionary
... ))
>>> print(results)
['Martes melampus melampus', 'Neovison vison']

Metadata

Release files for ja2sci 0.1.1.post1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ja2sci 0.1.1.post1
File Size Uploaded Provenance Actions
ja2sci-0.1.1.post1.tar.gz 2.8 kB Without provenance Details for ja2sci-0.1.1.post1.tar.gz

Release files / ja2sci-0.1.1.post1.tar.gz

Download URL ja2sci-0.1.1.post1.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
058ca3040a362690acf4adbb33243333928b8d128e4fcf8a7465edb88772c97d
BLAKE2b-256 checksum
How to use checksums
3d382ec52f67fa979aa466abbacb231b753ad532ae4a051d021dfb1847c9ff90
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

Security for ja2sci 0.1.1.post1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page