Python strings for humans.
Usage:
>>> from strings import string
>>> s = string("Hello, World")
>>> s
'Hello, World'
>>> s.len()
12
>>> s.length
12
>>> s.size
12
>>> s + ", What?"
Traceback (most recent call last):
File "strings.py", line 27, in <module>
x = s.add(", world")
File "strings.py", line 20, in add
return self + string(value)
File "strings.py", line 23, in __add__
raise NotImplementedError("Use add instead")
NotImplementedError: Use add instead
>>> s.add(", What?")
'Hello, World, What?'
Background
Inspired by an April Fool’s Day joke.
Metadata
Release files for strings 0.1.2
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 | Actions |
|---|---|---|---|---|
| strings-0.1.2.tar.gz | 2.2 kB | Without provenance | Details for strings-0.1.2.tar.gz |
Release files / strings-0.1.2.tar.gz
| Download URL | strings-0.1.2.tar.gz |
|---|---|
| Size | 2.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8398e184ccee0900772443179554dfde157b6472a5a18c4dc68fff10de8126e7
|
|
BLAKE2b-256 checksum How to use checksums |
bf25472d34792ee3816edcab999b5c00ce5e468ebd928ab5eff77f2a6738e37a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for strings 0.1.2
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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.