Utils#

Utility classes and functions primarily designed for internal use within Psychos, but exposed to facilitate advanced use cases or customization by experienced users.

psychos.utils.Color([color, space])

A class to handle color conversions between different formats.

psychos.utils.docstring(from_method)

Decorator that copies the docstring from one method to another.

psychos.utils.register(name, dictionary)

Decorator to register an object in a dictionary under a specific name.

psychos.utils.get_screens()

Returns all available screens using pyglet.