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
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
Project details
Release history Release notifications | RSS feed
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)
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd68b9586724735692002ab993aebda700b6447b5b63a11c7235eabdef4fb18d |
|
MD5 | 213b1eea1ddc6fb0bfb4d4d946f4a916 |
|
BLAKE2b-256 | dbdbfb53cb6b3f7d7f07e3d1a078dc28da35e4a3768f50b735f08eb460ee06e8 |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49ba650212b272ab867952721f87e272ef1019704d6ea47ca7c4c45dbe57a11c |
|
MD5 | f47d76cd998b56d9814345e4a8abfe94 |
|
BLAKE2b-256 | 21eaf76b2c5ab1b68552696ed8485154d4c5f56202fe5da15eaba8510423503c |