FormatSpecification

class systemtools.FormatSpecification(client=None, coerce_for_equality=None, repr_args_values=None, repr_is_bracketed=None, repr_is_indented=None, repr_kwargs_names=None, repr_text=None, storage_format_args_values=None, storage_format_includes_root_package=None, storage_format_is_bracketed=None, storage_format_is_indented=True, storage_format_kwargs_names=None, storage_format_text=None, template_names=None)

Specifies the storage format of a given object.

Lineage

digraph InheritanceGraph { graph [background=transparent, bgcolor=transparent, color=lightslategrey, fontname=Arial, outputorder=edgesfirst, overlap=prism, penwidth=2, rankdir=LR, root="__builtin__.object", splines=spline, style="dotted, rounded", truecolor=true]; node [colorscheme=pastel19, fontname=Arial, fontsize=12, penwidth=2, style="filled, rounded"]; edge [color=lightsteelblue2, penwidth=2]; subgraph cluster_abctools { graph [label=abctools]; "abjad.tools.abctools.AbjadObject.AbjadObject" [color=1, group=0, label=AbjadObject, shape=box]; "abjad.tools.abctools.AbjadObject.AbstractBase" [color=1, group=0, label=AbstractBase, shape=box]; "abjad.tools.abctools.AbjadValueObject.AbjadValueObject" [color=1, group=0, label=AbjadValueObject, shape=box]; "abjad.tools.abctools.AbjadObject.AbjadObject" -> "abjad.tools.abctools.AbjadValueObject.AbjadValueObject"; "abjad.tools.abctools.AbjadObject.AbstractBase" -> "abjad.tools.abctools.AbjadObject.AbjadObject"; } subgraph cluster_systemtools { graph [label=systemtools]; "abjad.tools.systemtools.FormatSpecification.FormatSpecification" [color=black, fontcolor=white, group=2, label=<<B>FormatSpecification</B>>, shape=box, style="filled, rounded"]; } subgraph cluster_builtins { graph [label=builtins]; "builtins.object" [color=2, group=1, label=object, shape=box]; } "abjad.tools.abctools.AbjadValueObject.AbjadValueObject" -> "abjad.tools.systemtools.FormatSpecification.FormatSpecification"; "builtins.object" -> "abjad.tools.abctools.AbjadObject.AbstractBase"; }

Bases

Attribute summary

client
coerce_for_equality
repr_args_values
repr_is_bracketed
repr_is_indented
repr_kwargs_names
repr_text
storage_format_args_values
storage_format_includes_root_package
storage_format_is_bracketed
storage_format_is_indented
storage_format_kwargs_names
storage_format_text
template_names
__copy__(\*args) Copies Abjad value object.
__eq__(expr) Is true when all initialization values of Abjad value object equal the initialization values of expr.
__format__([format_specification]) Formats Abjad object.
__hash__() Hashes Abjad value object.
__ne__(expr) Is true when Abjad object does not equal expr.
__repr__() Gets interpreter representation of Abjad object.

Read-only properties

FormatSpecification.client
FormatSpecification.coerce_for_equality
FormatSpecification.repr_args_values
FormatSpecification.repr_is_bracketed
FormatSpecification.repr_is_indented
FormatSpecification.repr_kwargs_names
FormatSpecification.repr_text
FormatSpecification.storage_format_args_values
FormatSpecification.storage_format_includes_root_package
FormatSpecification.storage_format_is_bracketed
FormatSpecification.storage_format_is_indented
FormatSpecification.storage_format_kwargs_names
FormatSpecification.storage_format_text
FormatSpecification.template_names

Special methods

(AbjadValueObject).__copy__(*args)

Copies Abjad value object.

Returns new Abjad value object.

(AbjadValueObject).__eq__(expr)

Is true when all initialization values of Abjad value object equal the initialization values of expr.

Returns true or false.

(AbjadObject).__format__(format_specification='')

Formats Abjad object.

Set format_specification to ‘’ or ‘storage’. Interprets ‘’ equal to ‘storage’.

Returns string.

(AbjadValueObject).__hash__()

Hashes Abjad value object.

Returns integer.

(AbjadObject).__ne__(expr)

Is true when Abjad object does not equal expr. Otherwise false.

Returns true or false.

(AbjadObject).__repr__()

Gets interpreter representation of Abjad object.

Returns string.