Sherbet library introduces smart string formatting
Project description
The library automatically fills specifically named fields in string template. For example: format(“{length:d} file{length_suffix} {length_option<has|have>} been deleted”, length=5) returns “5 files have been deleted”.
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
Sherbet-0.1.tar.gz
(4.5 kB
view details)
File details
Details for the file Sherbet-0.1.tar.gz.
File metadata
- Download URL: Sherbet-0.1.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3a9f7bccee7a5bed21f28d6e0c52ed1de61d096e77a2faca31f2ad5dce0915b5
|
|
| MD5 |
d80acaa1a2d64722f3d2c2b78893308f
|
|
| BLAKE2b-256 |
b65eb54b30411697822bd56d6f9628cb0e96ad157c60551026b11ea36dfcc66f
|