Pointless Utils
A collection of utilities that are (probably) pointless.
Decorators
There are currently 6 pointless decorators available to use:
@none- Causes the function to always returnNone@true- Causes the function to always returnTrue@false- Causes the function to always returnFalse@maybe- Causes the function to return a random choice ofTrueorFalse@never- The function will never return and will block indefinitely@always- The function is now a generator that indefinitely yieldsTrue@alwaysv(value)- The function is now a generator that indefinitely yields the given value
These decorators can be used on either normal or async functions. For example:
@maybe
def ex_1():
pass
@maybe
async def ex_2():
pass
Metadata
Release files for pointlessutils 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pointlessutils-0.1.5.tar.gz | 2.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pointlessutils-0.1.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.5 kB
Release files / pointlessutils-0.1.5.tar.gz
| Download URL | pointlessutils-0.1.5.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7873fe4bcc23d565bc536c512cea6f47d647dcd4a0c1d7e20d81ee2f5a2f3687
|
|
BLAKE2b-256 checksum How to use checksums |
dc67851dc5f44c421fa04f693492feb7af3dcca8d69bcef0a17488474224793f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.7 CPython/3.8.10 Linux/5.4.0-81-generic
|
Release files / pointlessutils-0.1.5-py3-none-any.whl
| Download URL | pointlessutils-0.1.5-py3-none-any.whl |
|---|---|
| Size | 2.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ed28b7e54977f7bfd71e8013d71ebdb318a383414393031939dc0bbc0ef05223
|
|
BLAKE2b-256 checksum How to use checksums |
2d37f32cdad30153344fd35389a1f0e398b5fac29185c5a49a80d9de9082feb3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.7 CPython/3.8.10 Linux/5.4.0-81-generic
|