Lügat
TDK Güncel Türkçe Sözlük için komut satırı arabirimi.
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ı.
Not: Alfred, yalnızca macOS üzerinde çalışan bir üretkenlik uygulaması, başarılı bir Spotlight alternatifi.
Metadata
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| lugat-0.2.0.tar.gz | 6.6 kB | Without provenance | Details for lugat-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| lugat-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for lugat-0.2.0-py3-none-any.whl |
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
|
Security for lugat 0.2.0
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.