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)
['Lutra canadensis', 'Pteronura brasiliensis']
Metadata
Release files for ja2sci 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ja2sci-0.1.1.tar.gz | 2.8 kB | Without provenance | Details for ja2sci-0.1.1.tar.gz |
Release files / ja2sci-0.1.1.tar.gz
| Download URL | ja2sci-0.1.1.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
faf6b88e7e1daf96f723cb184804202670d67250c373c1ed2e0128adabb678b4
|
|
BLAKE2b-256 checksum How to use checksums |
15f678bca56577ce5d950ed6d59e389dabb163f4bd71aefbbe810bf73630f815
|
| 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
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.