ProjectSettings

class supriya.tools.commandlinetools.ProjectSettings(yaml_path='project-settings.yml')[source]

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_builtins { graph [label=builtins]; "builtins.object" [color=1, group=0, label=object, shape=box]; } subgraph cluster_collections { graph [label=collections]; "collections.abc.Container" [color=2, group=1, label=Container, shape=oval, style=bold]; "collections.abc.Iterable" [color=2, group=1, label=Iterable, shape=oval, style=bold]; "collections.abc.Mapping" [color=2, group=1, label=Mapping, shape=oval, style=bold]; "collections.abc.Sized" [color=2, group=1, label=Sized, shape=oval, style=bold]; "collections.abc.Container" -> "collections.abc.Mapping"; "collections.abc.Iterable" -> "collections.abc.Mapping"; "collections.abc.Sized" -> "collections.abc.Mapping"; } subgraph cluster_commandlinetools { graph [label=commandlinetools]; "supriya.tools.commandlinetools.ProjectSettings.ProjectSettings" [color=black, fontcolor=white, group=2, label=<<B>ProjectSettings</B>>, shape=box, style="filled, rounded"]; } "builtins.object" -> "collections.abc.Container"; "builtins.object" -> "collections.abc.Iterable"; "builtins.object" -> "collections.abc.Sized"; "collections.abc.Mapping" -> "supriya.tools.commandlinetools.ProjectSettings.ProjectSettings"; }

Bases

  • collections.abc.Mapping
  • collections.abc.Sized
  • collections.abc.Iterable
  • collections.abc.Container
  • builtins.object

Attribute summary

from_dummy_data()
get((k[,d]) -> D[k] if k in D, ...)
items(...)
keys(...)
values(...)
__contains__(key)
__eq__(other)
__getitem__(item)
__iter__()
__len__()

Methods

(Mapping).get(k[, d]) → D[k] if k in D, else d. d defaults to None.
(Mapping).items() → a set-like object providing a view on D's items
(Mapping).keys() → a set-like object providing a view on D's keys
(Mapping).values() → an object providing a view on D's values

Class & static methods

classmethod ProjectSettings.from_dummy_data()[source]

Special methods

(Mapping).__contains__(key)
(Mapping).__eq__(other)
ProjectSettings.__getitem__(item)[source]
ProjectSettings.__iter__()[source]
ProjectSettings.__len__()[source]