Skip to main content

Lügat

TDK Güncel Türkçe Sözlük için komut satırı arabirimi.

ön izleme

Nasıl Yüklenir?

pip (Python 3) ile

pip install lugat

Docker ile kullanmak isterseniz aşağıdaki fonksiyonu profil dosyanıza(.bash_rc, .zsh_rc vb.) ekleyebilirsiniz.

function lugat() {
	docker run -it --rm ademozay/lugat $@
}

Nasıl Kullanılır?

Komut satırında

lugat <kelime, atasözü, deyim vb.>

# Atasözleri, deyimler, birleşik fiiller ve birleşik kelimeler gibi detaylar için

lugat -h <kelime, atasözü, deyim vb.>

Python paketi olarak

from lugat import lookup, LookupException

try:
    word        = lookup(search)
    variations  = word.get_variations() # kelimenin tüm varyasyonları

    for v in variations:
        print(v.name) # varyasyonun özel ismi
        print(v.origin) # kelimenin kökeni
        print(v.meanings) # özellikleri ve örnekleriyle birlikte kelimenin anlamları
        print(v.compound_words) # ilgili birleşik kelimeler
        print(v.proverbs) # ilgili atasözleri, deyimler ve birleşik fiiller

except LookupException:
    pass

Alfred ile

Lugat.alfredworkflow'u indirip kurduktan sonra bir kısayol atamanız gerekecek. Ben Option + Shift + L kombiyasyonunu kullanıyorum. Eğer kısayol atamak istemezseniz, Alfred'e lügat yazdıktan sonra yine arama yapabilirsiniz.

Command + L kısayolu ile, Alfred ekranına sığmayan tanımları ve kullanım örneklerini Large Type ile görüntüleyebilirsiniz.

Command + Enter kısayolu ile, ilgili sonuçları terminalde görüntüleyebilirsiniz.

Sistemde seçili olan bir kelimeyi direkt olarak aramak istediğiniz takdirde; Alfred kısayolunu ayarladığınız pencerede, Argument için Selection on macOS seçili olmalı.

Lügat | Alfred

Not: Alfred, yalnızca macOS üzerinde çalışan bir üretkenlik uygulaması, başarılı bir Spotlight alternatifi.

Release files for lugat 0.2.0

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

Source distribution (sdist)

Source distribution for lugat 0.2.0
File Size Uploaded
lugat-0.2.0.tar.gz 6.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for lugat 0.2.0
File Interpreter ABI Platform
lugat-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 14.7 kB

Release files / lugat-0.2.0.tar.gz

Download URL lugat-0.2.0.tar.gz
Size 6.6 kB
Tags Source
SHA-256 checksum
How to use checksums
82e00f76bfdd71d28eb8a9cda0c11c76f3f99f2bf196744ee0056be4b4b4e9b3
BLAKE2b-256 checksum
How to use checksums
a72984d42878ed8a8a2505d2ab433d1cc669ad421d0877eeb10a1f9f3ae7f25c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.1

Release files / lugat-0.2.0-py3-none-any.whl

Download URL lugat-0.2.0-py3-none-any.whl
Size 8.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c83a32c4a124119cebd9490ce971858f046b59faedbc921eaf0119b0e5d3d80f
BLAKE2b-256 checksum
How to use checksums
fc14770d0e1372634a656643d09b770d806e0dae3ab16e5beec96fa858e452e7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.1

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.10

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

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