Skip to content

Creative Object Manifestation

Structure and Interpretation of Computer Programs edited this page Oct 25, 2020 · 4 revisions

Class Definition

All class definition systems are not equally powerful. I've created a document which attempts to quantify the differences/features of them: https://docs.google.com/spreadsheets/d/1OyDtXC-6o1A7Y07m0WaBIg3YgqnWgGJW3nFVXVunSDI/edit?usp=sharing

Utilities

  • JSON2PythonModels generates Python model classes (attrs, dataclasses) based on JSON datasets with typing module support - Reddit, Github.

  • subclass-register: Automatically register all new subclasses and create new instances from strings docs, github, and discussion.

Clone this wiki locally