Nişanyan CLI
Explore the origins, history, and development of Turkish words directly from your terminal. This tool provides access to Sevan Nişanyan's comprehensive etymological database, including the "Adlar" (names) dictionary.
- Etymology Tree: Visualize the lineage of words with the
--treeflag. - Random Word: Discover new words and their origins with
--random. - Adlar Support: Access the Turkish names dictionary (nisanyanadlar.com) using
-ad. - Rich Output: Beautifully formatted terminal output thanks to Rich.
- Plain Mode: Clean, unformatted text output for scripts and piping.
Installation
pip install nisanyan-cli
or
uv tool install nisanyan-cli
Usage
Basic Search
Simply provide the word you want to look up:
nis anadolu
Etymology Tree (-t, --tree)
View the word's history as a hierarchical tree:
nis çikolata --tree
Output Example:
çikolata (Günümüz Türkçesi)
└── cioccolata (İtalyanca): kakao yağı ve şekerle imal edilen yiyecek maddesi.
└── chocolate (İspanyolca): ~.
└── xocolatl (Aztekçe): kakaodan yapılan içecek.
├── xocolli (Aztekçe): acı.
└── atl (Aztekçe): su.
Nişanyan Adlar (-ad)
Query the names dictionary for meanings and origins:
nis gökçe -ad
Combine with random for inspiration: nis -ad -r
Discover Random Words (-r, --random)
Explore the dictionary randomly:
nis -r -t
Commands & Arguments
| Argument | Long Flag | Description |
|---|---|---|
<word> |
The word to search for (positional). | |
-h |
--help |
Show help message and exit. |
-t |
--tree |
Show result as an etymology tree. |
-r |
--random |
Select a random word and display results. |
-p |
--plain |
Output plain text (no styling). |
-ad |
Fetch results from nisanyanadlar.com. | |
-v |
--version |
Show program's version number and exit. |
Development
Prerequisites
- Poetry (Dependency Management)
Setup
- Clone the repository:
git clone https://github.com/agmmnn/nisanyan-cli.git cd nisanyan-cli
- Install dependencies:
poetry install - Run the CLI in development mode:
poetry run nis <word>
TODO
- Better processing of API results for better alignment with the website's format.
- Expansion of abbreviations in supplementary descriptions to their full forms.
Dependencies
- Rich - Terminal formatting.
- importlib-metadata - Version management.
Metadata
Release files for nisanyan-cli 0.4.5
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 | |
|---|---|---|---|---|
| nisanyan_cli-0.4.5.tar.gz | 37.7 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nisanyan_cli-0.4.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 50.1 kB
Release files / nisanyan_cli-0.4.5.tar.gz
| Download URL | nisanyan_cli-0.4.5.tar.gz |
|---|---|
| Size | 37.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
730dd19cf9291367e76d646437a40d19beba38ba5e7634b3e7f8adf2232e55b6
|
|
BLAKE2b-256 checksum How to use checksums |
9d4528add62232800111d3ef082837bc8f050410c0c878a03c81463bfab6c2aa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 29, 2026.
Transparency logRelease files / nisanyan_cli-0.4.5-py3-none-any.whl
| Download URL | nisanyan_cli-0.4.5-py3-none-any.whl |
|---|---|
| Size | 12.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7d74489378e3cc31ac0a5b71ba615c9447782b3a32e8aa0435b2004e9274d79b
|
|
BLAKE2b-256 checksum How to use checksums |
f8e2b373fd3eccf07e3891ec9015a6f94d7bc08b5b5c7b226069ed18077606cd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 29, 2026.
Transparency logSecurity for nisanyan-cli 0.4.5
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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for nisanyan_cli-0.4.5.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 29, 2026.
Transparency logA 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.