Skip to content

jjmalina/python-dataclasses-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Dataclasses examples

This repo contains some code to show off how to use Python's dataclasses.

  1. The basics of how and why of dataclasses are in basics/
  2. How to write an API client using dataclasses is in api_client/
  3. How to write a REST API for people with dataclasses using either Flask or FastAPI is in api_server/
  4. Examples of GADTs using dataclasses and pattern matching (optional/experimental requires Python 3.10b2)

Resources

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published