Skip to content

TheLazyDutchman/DandData

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

a python library for storing D&D data

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages