Skip to main content

Sherbet library automates word inflection to support plurals

Project description

The library is a superset for curly braces formatting. Any format suitable for str.format also works for sherbet. Additionally the library supports automatic plural froms. For example string “{x} file{x_plural} {x_plural<are|is>} here.” is formatted to “1 file is here.” if x is 1 and to “5 files are here” if x is 5. Currently only english is supported.

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

Sherbet-0.1.1.tar.gz (5.4 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: Sherbet-0.1.1.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for Sherbet-0.1.1.tar.gz
Algorithm Hash digest
SHA256 a4e1391fd45e11463205a28bc145bb80a8b5b37b4e250816e969e5eeb9d1716f
MD5 d37d93a597b6cef08eefa66fc798414a
BLAKE2b-256 a97605c9122d7262e1eadb9c3190b3a3ce9cb30ef07d39b86628f7bbe444cb1b

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