Skip to main content

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

Project description

lugat, TDK Güncel Türkçe Sözlük’ün komut satırı üzerinden kullanılmasını sağlar.

lugat önizlemesi

Nasıl Yüklenir

pip3 install lugat

Nasıl Kullanılır

  • Komutun satırında

    lugat <kelime>
  • Python uygulaması içinde

    from lugat import lookup, LookupException
    
    try:
        word        = lookup(word)
        variations  = word.get_variations()
    
        for v in variations:
            print(v.name)
            print(v.origin)
            print(v.meanings)
            print(v.compound_words)
            print(v.proverbs)
    
    except LookupException:
        pass

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lugat-0.1.0.tar.gz (3.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page