hygiene.payload.boxing package

Submodules

hygiene.payload.boxing.boxing module

class hygiene.payload.boxing.boxing.Payload(data=None, path=None, fmt=None)[source]

Bases: object

The Payload class is responsible for formatting and delivering data based on the specified format. It supports CSV and JSON formats and can handle data in the form of dictionaries, lists, and strings.

deliver()[source]

Formats and delivers the data based on the specified format.

Returns:

The formatted data.