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
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.0.tar.gz
(5.2 kB
view details)
Built Distribution
File details
Details for the file pluralizefr-0.1.0.tar.gz
.
File metadata
- Download URL: pluralizefr-0.1.0.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 | 2c5516e8df07b2959fdcab0a15847298c27e174f26025c7ccc00f09a4e200e18 |
|
MD5 | d240dc97288240001da6c53d12ab1448 |
|
BLAKE2b-256 | 61f1333cf0b240ae271641286622b9272b4ec33e4071d278ad1497358accff27 |
File details
Details for the file pluralizefr-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: pluralizefr-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.0 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 | 665afe12cfedf6343219afda8b147382b98fcdaf9ca6fef2dcb87ae92d828f74 |
|
MD5 | f091365807e26f83800b1e6f6f77abd5 |
|
BLAKE2b-256 | f7637ec62419d6e7eda6bf04f07930a46097a0ad84d0dc54fddbb22e6991321f |