pyfyre.presets package

This package provides styled elements available for the user.

class pyfyre.presets.DebugError(exc_type: Type[Exception], exc_value: Exception, exc_traceback: TracebackType)

Bases: Element

An error message with traceback. Typically used for debugging on development environment.

Parameters:
  • exc_type – Type of the exception.

  • exc_value – The exception itself.

  • exc_traceback – Traceback object which typically encapsulates the call stack at the point where the exception last occurred.

class pyfyre.presets.ErrorMessage(message: Any)

Bases: Element

A simple error message. Typically used on production environment.

class pyfyre.presets.Loading

Bases: Element

A loading animation.

Source: https://loading.io/css/

Submodules

pyfyre.presets.errors module

class pyfyre.presets.errors.DebugError(exc_type: Type[Exception], exc_value: Exception, exc_traceback: TracebackType)

Bases: Element

An error message with traceback. Typically used for debugging on development environment.

Parameters:
  • exc_type – Type of the exception.

  • exc_value – The exception itself.

  • exc_traceback – Traceback object which typically encapsulates the call stack at the point where the exception last occurred.

class pyfyre.presets.errors.ErrorMessage(message: Any)

Bases: Element

A simple error message. Typically used on production environment.

pyfyre.presets.loading module

class pyfyre.presets.loading.Loading

Bases: Element

A loading animation.

Source: https://loading.io/css/