Skip to main content

Verbformen CLI

Project description

Verbformen CLI

Unofficial python client for the German-English dictionary at verbformen.com. Verbformen provides detailed conjugations and declensions of German words, along with a useful summary card that includes:

  • verb endings,
  • noun gender,
  • noun endings,
  • adjective endings, and
  • definitions

Installation

pip install verbformen-cli

Usage

From the terminal:

$ verbformen Wörterbuch 
           ╭────────── Wörterbuch ───────────╮
           │ A1 • Neutral • Endings: es/ü-er │
           │         das Wörterbuch          │
           │  Wörterbuch(e)s • Wörterbücher  │
           │                                 │
           │  dictionary, lexicon, wordbook  │
           ╰─────────────────────────────────╯

$ verbformen nachschlagen
   ╭───────────────── nachschlagen ──────────────────╮
   │ B1 • irregular • haben (also, sein)             │
   │                  nachschlagen                   │
   │ schlägt nach • schlug nach • hat nachgeschlagen │
   │                                                 │
   │                     look up                     │
   ╰─────────────────────────────────────────────────╯

or, in code:

from verbformen_cli import Client, PartOfSpeech

client = Client.default_client()
client.search("essen")
# {
#   "search": "essen",
#   "definitions": [
#     "eat",
#     "consume"
#   ],
#   "part_of_speech": "verb",
#   "text": "essen",
#   "behavior": "irregular",
#   "present": "isst",
#   "imperfect": "aß",
#   "perfect": "hat gegessen",
#   "auxiliary_verb": "haben",
#   "flection": "Active",
#   "use": "Main",
#   "level": "A1"
# }

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

verbformen-cli-0.2.1.tar.gz (9.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

verbformen_cli-0.2.1-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

File details

Details for the file verbformen-cli-0.2.1.tar.gz.

File metadata

  • Download URL: verbformen-cli-0.2.1.tar.gz
  • Upload date:
  • Size: 9.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.6 CPython/3.9.5 Darwin/20.6.0

File hashes

Hashes for verbformen-cli-0.2.1.tar.gz
Algorithm Hash digest
SHA256 bf592cd2e489d58c8632ea1f8602d270e8ceda540d6eccbd5a1c1dc7796f6b3f
MD5 abfb3f7d894a55c59a9c853b7c103fe1
BLAKE2b-256 0111a76b85f97a2dce2674bc7e4d6addf3c714147b9fa484c5701f2311c9969a

See more details on using hashes here.

File details

Details for the file verbformen_cli-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: verbformen_cli-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 11.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.6 CPython/3.9.5 Darwin/20.6.0

File hashes

Hashes for verbformen_cli-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 41f7be85d902be3493f2b5e210f15751e110858258483acb23fa70fa218aeb39
MD5 c6f38b6db3c4df3533593982fba72b3f
BLAKE2b-256 19613fe506b8ba0f155db9a1a576ae6a7a35d90424309c4d66e5bfbdf226c2d7

See more details on using hashes here.

Supported by

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