contributions

digraph InheritanceGraph { graph [bgcolor=transparent, color=lightsteelblue2, fontname=Arial, fontsize=10, outputorder=edgesfirst, overlap=prism, penwidth=2, rankdir=LR, splines=spline, style="dashed, rounded", truecolor=true]; node [colorscheme=pastel19, fontname=Arial, fontsize=10, height=0, penwidth=2, shape=box, style="filled, rounded", width=0]; edge [color=lightslategrey, penwidth=1]; subgraph "cluster_abjad.contributions" { graph [label="abjad.contributions"]; node [color=1]; "abjad.contributions.ContributionsBySite" [URL="../api/abjad/contributions.html#abjad.contributions.ContributionsBySite", color=black, fontcolor=white, label="Contributions\nBy\nSite", target=_top]; "abjad.contributions.Sites" [URL="../api/abjad/contributions.html#abjad.contributions.Sites", color=black, fontcolor=white, label=Sites, target=_top]; "abjad.contributions.Types" [URL="../api/abjad/contributions.html#abjad.contributions.Types", color=black, fontcolor=white, label=Types, target=_top]; } subgraph cluster_builtins { graph [label=builtins]; node [color=2]; "builtins.object" [URL="https://docs.python.org/3.10/library/functions.html#object", label=object, target=_top]; } subgraph cluster_enum { graph [label=enum]; node [color=3]; "enum.Enum" [URL="https://docs.python.org/3.10/library/enum.html#enum.Enum", label=Enum, target=_top]; } "builtins.object" -> "abjad.contributions.ContributionsBySite"; "builtins.object" -> "enum.Enum"; "enum.Enum" -> "abjad.contributions.Sites"; "enum.Enum" -> "abjad.contributions.Types"; }


Classes

ContributionsBySite

LilyPond format contributions.

class abjad.contributions.ContributionsBySite(absolute_after=<factory>, absolute_before=<factory>, before=<factory>, after=<factory>, opening=<factory>, closing=<factory>, context_settings=<factory>, grob_overrides=<factory>, grob_reverts=<factory>)[source]

LilyPond format contributions.


Attributes Summary

__eq__

Return self==value.

__iter__

__repr__

Return repr(self).

alphabetize

freeze_overrides

Sorts each site.

get_contribution_lists

tag_contributions

Tags contributions with tag.

update

Updates contributions with contributions.


Special methods

overridden __eq__(other)

Return self==value.

__iter__()[source]
overridden __repr__()

Return repr(self).


Methods

freeze_overrides()[source]

Sorts each site.

get_contribution_lists()[source]
tag_contributions(tag, deactivate=None)[source]

Tags contributions with tag.

update(contributions)[source]

Updates contributions with contributions.


Class & static methods

static alphabetize(lists)[source]

Enumerations

Sites

Contribution sites.

Types

Contribution types.

class abjad.contributions.Sites(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Contribution sites.


Special methods

classmethod (EnumType).__contains__(member)

Return True if member is a member of this enum raises TypeError if member is not an enum member

note: in 3.12 TypeError will no longer be raised, and True will also be returned if member is the value of a member in this enum

classmethod (EnumType).__getitem__(name)

Return the member matching name.

classmethod (EnumType).__iter__()

Return members in definition order.

classmethod (EnumType).__len__()

Return the number of members (no aliases)

ABSOLUTE_AFTER = 9
ABSOLUTE_BEFORE = 1
AFTER = 8
BEFORE = 2
CLOSE_BRACKETS = 7
CLOSING = 6
CONTENTS = 5
OPENING = 4
OPEN_BRACKETS = 3
class abjad.contributions.Types(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Contribution types.


Special methods

classmethod (EnumType).__contains__(member)

Return True if member is a member of this enum raises TypeError if member is not an enum member

note: in 3.12 TypeError will no longer be raised, and True will also be returned if member is the value of a member in this enum

classmethod (EnumType).__getitem__(name)

Return the member matching name.

classmethod (EnumType).__iter__()

Return members in definition order.

classmethod (EnumType).__len__()

Return the number of members (no aliases)

ARTICULATIONS = 1
COMMANDS = 2
CONTEXT_SETTINGS = 3
GROB_OVERRIDES = 4
GROB_REVERTS = 5
LEAK = 6
LEAKS = 7
MARKUP = 8
PITCHED_TRILL = 9
SPANNER_STARTS = 10
SPANNER_STOPS = 11
START_BEAM = 12
STEM_TREMOLOS = 13
STOP_BEAM = 14
TRILL_SPANNER_STARTS = 15
VOICE_NUMBER = 16