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
Python code example:
import pluralizefr
pluralizefr.pluralize("fromage") # return fromages
pluralizefr.singularize("fromages") # return fromage
Jinja2 exemple:
{{ 'fromage' | pluralize }}
Installation
The package is available at: https://pypi.org/project/pluralizefr/
Install it with:
pip install pluralizefr
Release files for pluralizefr 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pluralizefr-0.1.1.tar.gz | 5.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pluralizefr-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.3 kB
Release files / pluralizefr-0.1.1.tar.gz
| Download URL | pluralizefr-0.1.1.tar.gz |
|---|---|
| Size | 5.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dd68b9586724735692002ab993aebda700b6447b5b63a11c7235eabdef4fb18d
|
|
BLAKE2b-256 checksum How to use checksums |
dbdbfb53cb6b3f7d7f07e3d1a078dc28da35e4a3768f50b735f08eb460ee06e8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.6
|
Release files / pluralizefr-0.1.1-py3-none-any.whl
| Download URL | pluralizefr-0.1.1-py3-none-any.whl |
|---|---|
| Size | 4.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
49ba650212b272ab867952721f87e272ef1019704d6ea47ca7c4c45dbe57a11c
|
|
BLAKE2b-256 checksum How to use checksums |
21eaf76b2c5ab1b68552696ed8485154d4c5f56202fe5da15eaba8510423503c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.6
|