utilless
Useless library if you have time for puzzles, a useful one if you don't
Quickstart
Install using pip: pip install utilless
and import package into your script, v.g.
from utilless.comma import commaspace
print(commaspace(['Hello', 'world!']))
Module comma
Manipulates iterables and gets results with commas
iterable: any element that has __ iter __ method, like list, tuple, set, dict or even str.
- justcomma(iterable)
>>> justcomma(['apples', 'bananas', 'tofu', 'cats'])
'apples,bananas,tofu,cats'
- commaspace(iterable)
>>> commaspace(['apples', 'bananas', 'tofu', 'cats'])
'apples, bananas, tofu, cats'
- commaand(iterable)
>>> commaand(['apples', 'bananas', 'tofu', 'cats'])
'apples, bananas, tofu, and cats'
or commaand(iterable, str)
>>> commaand(['apples', 'bananas', 'tofu', 'cats'], ' & ')
'apples, bananas, tofu & cats'
Module dot
Manipulates iterables and gets results with dots
- justdot(iterable)
>>> justdot(['apples', 'bananas', 'tofu', 'cats'])
'apples,bananas,tofu,cats'
Module iseven
Infamous function. Learn how to use modulo (%)
- iseven(int)
>>> iseven(1)
False
>>> iseven(42)
True
Module isodd
See module iseven
- isodd(int)
>>> isodd(1)
True
>>> isodd(42)
False
Metadata
Release files for utilless 0.2.0
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 |
|---|---|---|---|---|
| utilless-0.2.0.tar.gz | 2.7 kB | Without provenance | Details for utilless-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| utilless-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for utilless-0.2.0-py3-none-any.whl |
Total release size: 13.3 kB
Release files / utilless-0.2.0.tar.gz
| Download URL | utilless-0.2.0.tar.gz |
|---|---|
| Size | 2.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a7ebb77c6f044be56f13126c5bce199d4ef539981d3cb21688ce0c9b41cd4435
|
|
BLAKE2b-256 checksum How to use checksums |
bc8c7450e1e6b28b66b330a1b3a0f17a580085c7f67ab913145847d9efde37b7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.2
|
Release files / utilless-0.2.0-py3-none-any.whl
| Download URL | utilless-0.2.0-py3-none-any.whl |
|---|---|
| Size | 10.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bf9397e79460de9f5b655208ea48df83b0a6208a440711b238698879310599fd
|
|
BLAKE2b-256 checksum How to use checksums |
a8eb0956dd7a261a43e59057de36b942eb6b6aa065a9882ca7b41e5488e7b285
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.2
|
Security for utilless 0.2.0
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.