Skip to main content

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 return None
  • @true - Causes the function to always return True
  • @false - Causes the function to always return False
  • @maybe - Causes the function to return a random choice of True or False
  • @never - The function will never return and will block indefinitely
  • @always - The function is now a generator that indefinitely yields True
  • @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)

Source distribution for pointlessutils 0.1.5
File Size Uploaded
pointlessutils-0.1.5.tar.gz 2.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pointlessutils 0.1.5
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.1.5 This release

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page