Skip to main content

Build the correct turn of phrase in Russian

Project description

ruphrase

Build the correct turn of phrase in Russian

Installation

Run pip install ruphrase or python -m pip install --user ruphrase

Usage

>>> from ruphrase import ruphrase
>>> 
>>> ruphrase('Опубликован/а/ы', 42, 'новост/ь/и/ей')
Опубликованы 42 новости

>>> ruphrase(None, 15, '/сияющая звезда/сияющие звезды/сияющих звезд')
15 сияющих звезд

>>> ruphrase('Заселен/ы', 3001, 'дом/а/ов', '')
Заселен 3001 дом

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

ruphrase-0.0.4.tar.gz (4.1 kB view hashes)

Uploaded Source

Built Distribution

ruphrase-0.0.4-py3-none-any.whl (3.5 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