Pointless utilities for python.
Project description
Pointless Utils
A collection of utilities that are (probably) pointless.
Decorators
There are currently 4 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 ofTrue
orFalse
These decorators can be used on either normal or async functions. For example:
@maybe
def ex_1():
pass
@maybe
async def ex_2():
pass
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pointlessutils-0.1.0.tar.gz
(2.4 kB
view hashes)
Built Distribution
Close
Hashes for pointlessutils-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9f89af1f89b00abef3528413611b252b5276f23577c9d1ace429035d4ba5688 |
|
MD5 | f4431c116925fe76641cf8c64509dc14 |
|
BLAKE2b-256 | 137c7d9e418fee7026cc3b4c751a1c4b8ae66641bef58576d8478e8984d4e626 |