text: """
  Tools for modeling patterns.
  """
  from .bases import Event, EventPattern, Pattern
  from .events import (
      BusEvent,
      CompositeEvent,
      GroupEvent,
      NoteEvent,
      NullEvent,
      SynthEvent,
  )
  from .mappings import Pbind, Pbindf, Pchain, Pmono, Pn
  from .parallel import Pgpar, Ppar
  from .patterns import Pbinop, Prand, Pseed, Pseq, Pwhite
  from .players import EventPlayer, EventProduct
  from .random import RandomNumberGenerator
  from .structure import Pbus, Pfx, Pgroup
  
  __all__ = [
      "BusEvent",
      "CompositeEvent",
      "Event",
      "EventPattern",
      "EventPlayer",
      "EventProduct",
      "GroupEvent",
      "NoteEvent",
      "NullEvent",
      "Pattern",
      "Pbind",
      "Pbindf",
      "Pbinop",
      "Pbus",
      "Pchain",
      "Pfx",
      "Pgpar",
      "Pgroup",
      "Pmono",
      "Pn",
      "Ppar",
      "Prand",
      "Pseed",
      "Pseq",
      "Pwhite",
      "RandomNumberGenerator",
      "SynthEvent",
  ]
  