Skip to content

Latest commit

 

History

History
52 lines (52 loc) · 1.24 KB

README.md

File metadata and controls

52 lines (52 loc) · 1.24 KB

DandData

a library to store information from D&D in python dataclasses

Supported API's

  • dnd5eapi
  • the dndbeyond api (they had this as a planned feature for years, but I doubt they will make it any time soon)

Creatures

from DandData.creature import Creature

currently handled:

  • name
  • desc - (not all monsters have a description)
  • size
  • type
  • subtype
  • alignment
  • AC
  • HP
  • hit dice
  • speed
  • ability scores
    • strength
    • dexterity
    • constitution
    • intelligence
    • wisdom
    • charisma
  • proficiencies
  • proficiencies
  • vulnerabilites
  • resistances
  • immunities
  • senses
  • languages
  • CR
  • XP
  • special abilities
  • actions
  • legendary actions - (not all creatures have legendary actions)

Actions

from DandData.action import Action

currently handled:

  • name
  • desc
  • damage
  • attack bonus - (not all actions have this)
  • usage - (not all actions have this)
  • dc - (not all actions have this)
  • options - (only for multi attacks)
  • attack options - (not all actions have this)