bellini.groups.Chemical

class bellini.groups.Chemical(name=None, **values)[source]

Bases: bellini.groups.Group

Base class for all chemical-like Groups

__init__(name=None, **values)
Parameters
  • name (str) – Name of the group

  • **values – Values to be stored in the group

Methods

__init__([name])

Parameters
  • name (str) -- Name of the group

copy()

Return a copy of itself

Attributes

g

A networkx graph representing how the group was constructed

name

A string used to represent the Group

abstract copy()

Return a copy of itself

property g

A networkx graph representing how the group was constructed

property name

A string used to represent the Group