PackageGitCommitToken

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.lilypondfile" { graph [label="abjad.lilypondfile"]; node [color=1]; "abjad.lilypondfile.PackageGitCommitToken.PackageGitCommitToken" [URL="../api/abjad/lilypondfile/PackageGitCommitToken.html#abjad.lilypondfile.PackageGitCommitToken.PackageGitCommitToken", color=black, fontcolor=white, label="Package\nGit\nCommit\nToken", target=_top]; } subgraph "cluster_abjad.system" { graph [label="abjad.system"]; node [color=2]; "abjad.system.AbjadObject.AbjadObject" [URL="../api/abjad/lilypondfile/../system/AbjadObject.html#abjad.system.AbjadObject.AbjadObject", label="Abjad\nObject", target=_top]; "abjad.system.AbjadValueObject.AbjadValueObject" [URL="../api/abjad/lilypondfile/../system/AbjadValueObject.html#abjad.system.AbjadValueObject.AbjadValueObject", label="Abjad\nValue\nObject", target=_top]; "abjad.system.AbjadObject.AbjadObject" -> "abjad.system.AbjadValueObject.AbjadValueObject"; } subgraph cluster_builtins { graph [label=builtins]; node [color=3]; "builtins.object" [URL="https://docs.python.org/3.6/library/functions.html#object", label=object, target=_top]; } "abjad.system.AbjadValueObject.AbjadValueObject" -> "abjad.lilypondfile.PackageGitCommitToken.PackageGitCommitToken"; "builtins.object" -> "abjad.system.AbjadObject.AbjadObject"; }

class abjad.lilypondfile.PackageGitCommitToken.PackageGitCommitToken(package_name=None)

A Python package git commit token.

>>> token = abjad.PackageGitCommitToken('abjad')
>>> token
PackageGitCommitToken(package_name='abjad')
>>> print(format(token))  
package "abjad" @ b6a48a7 [implement-lpf-git-token] (2016-02-02 13:36:25)

Attributes Summary

__format__ Formats package git commit token.
package_name Gets package name of package git commit token.

Special methods

(AbjadValueObject).__copy__(*arguments)

Copies Abjad value object.

Returns new Abjad value object.

(AbjadValueObject).__eq__(argument)

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

Returns true or false.

__format__(format_specification='')

Formats package git commit token.

>>> token = abjad.PackageGitCommitToken('abjad')
>>> print(format(token)) 
package "abjad" @ b6a48a7 [implement-lpf-git-token] (2016-02-02 13:36:25)

Return string.

(AbjadValueObject).__hash__()

Hashes Abjad value object.

Returns integer.

(AbjadObject).__repr__()

Gets interpreter representation of Abjad object.

Returns string.


Read-only properties

package_name

Gets package name of package git commit token.

>>> token = abjad.PackageGitCommitToken('abjad')
>>> token.package_name
'abjad'

Returns string.