Skip to main content

pluralize for french language

Project description

Convert a singular word into plural according french grammar rules. Plural to singular is available too (but some special cases are probably missing).

Usable as Jinja2 filter.

Licence

BSD license (see LICENCE file)

Features

  1. Python code example:

import pluralizefr
pluralizefr.pluralize("fromage") # return fromages
pluralizefr.singularize("fromages") # return fromage
  1. Jinja2 exemple:

{{ 'fromage' | pluralize }}

Installation

The package is available at: https://pypi.org/project/pluralizefr/

Install it with:

pip install pluralizefr

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

pluralizefr-0.1.1.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

pluralizefr-0.1.1-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file pluralizefr-0.1.1.tar.gz.

File metadata

  • Download URL: pluralizefr-0.1.1.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for pluralizefr-0.1.1.tar.gz
Algorithm Hash digest
SHA256 dd68b9586724735692002ab993aebda700b6447b5b63a11c7235eabdef4fb18d
MD5 213b1eea1ddc6fb0bfb4d4d946f4a916
BLAKE2b-256 dbdbfb53cb6b3f7d7f07e3d1a078dc28da35e4a3768f50b735f08eb460ee06e8

See more details on using hashes here.

File details

Details for the file pluralizefr-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: pluralizefr-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for pluralizefr-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 49ba650212b272ab867952721f87e272ef1019704d6ea47ca7c4c45dbe57a11c
MD5 f47d76cd998b56d9814345e4a8abfe94
BLAKE2b-256 21eaf76b2c5ab1b68552696ed8485154d4c5f56202fe5da15eaba8510423503c

See more details on using hashes here.

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