Skip to main content

Versatile German command line conjugator

Project description

Console Conjugator

About

Hallo und guten Tag!

Have you ever had trouble conjguating your verbs? Forgot "machen" in present-perfect, or maybe "tun" for the pronoun "ihr"? This project may be useful to you! We can help you conjugate almost all of the german standard verbs.

As of now, the following tenses are supported:

  1. Future (Zukunft)
  2. present (Präsens)
  3. present-perfect (Perfekt)
  4. simple-past (Präteritum)
  5. past-perfect (Plusquamperfekt)

Install with pip

On Linux:

$ pip3 install console-conjugator

or Windows:

> pip install console-conjugator

Pypi package is being remade, manually install like so:

wget https://raw.githubusercontent.com/Konjugators/console-conjugator/main/install
chmod +x
./install

Usage

After installation, you can use the cli interface in Linux:

$ konjugier machen er present
er macht

or Windows:

> konjugier tun er present-perfect
er tut

You can also use the conjugation module in scripts:

from Deutschconjugation import conjugator

# Follows format verb-pronoun-tense
conjugator.conjugate("spielen", "er", "present-perfect")
>>> hat gespielt

This formats a*, o*, u*, and s* as ä, ö, ü, ß. This is may be useful for those lacking a German keyboard layout.

from Deutschconjugation import conjugator

conjugator.format("heis*en")
>>> heißen

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

console-conjugator-0.1.0.tar.gz (871.4 kB view hashes)

Uploaded Source

Built Distribution

console_conjugator-0.1.0-py3-none-any.whl (875.9 kB view hashes)

Uploaded Python 3

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