This package contains many helper functions to manipulate strings.
Read the fabulous doc here
Quickstart
To install:
pip install pystrext
Usage:
>>> import pystrext as strext
>>> h,m,s = strext.extracts('elapse time : 5h 7m 36s','(\d+)h (\d+)m (\d+)s',['0']*3)
>>> h,m,s
('5', '7', '36')
>>> print strext.no_one_many(0,"No item","One item","%(n)s items")
No item
>>> print strext.no_one_many(1,"No item","One item","%(n)s items")
One item
>>> print strext.no_one_many(36,"No item","One item","%(n)s items")
36 items
… more functions available : read the doc
News
0.1.7 (2015-01-02)
add CHANGES.rst file
add a Quickstat in documentation
0.1.6 (2015-01-01)
add docstrings
add sphinx doc
0.1.1 (2014-12-30)
First commit
No doc
Metadata
Release files for pystrext 0.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| pystrext-0.1.7.tar.gz | 13.3 kB | Without provenance | Details |
Release files / pystrext-0.1.7.tar.gz
| Download URL | pystrext-0.1.7.tar.gz |
|---|---|
| Size | 13.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
742ef570a53029d2555ae86df25c86ec89fb2de0483a59576b67d6c40c9c6f00
|
|
BLAKE2b-256 checksum How to use checksums |
ab5bee019d0fcfd0a5b43a4b40e70540b40c0090193f658446342ada4f45dc6a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pystrext 0.1.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.