Skip to content
This repository has been archived by the owner on Feb 1, 2023. It is now read-only.

Latest commit

 

History

History
35 lines (21 loc) · 1.17 KB

yg2548.md

File metadata and controls

35 lines (21 loc) · 1.17 KB

Project Proposal

Background and Motivation

There is a hole in deserealization/validation libraries for Python. There exist libraries that allow you to deserealize data but often involve coming up with tedious schemas to define it. Deserealization should also be extensible. You don't want to be restricted to only JSON or YMAL.

volga

volga is a framework for deserealizing Python data structures

volga will allow you to flow your data into any format that you'd like.

  import volga-json
  
  @Deserealize
  def class User():
    name: Annotated<str, volga-json.exclude('yefri')>
    age: int
  
  
  # ...
  
  deserealized = volga-json.from_string(json_string)

Future Enhancements

Given the nature of the volga framework, anyone can implement any data format and be automatically supported by the library. Also, if your data structures are too complex for the generated (de)serealization protocols, you can always implement your own to define exactly how you want your data to flow.

Team Members

Yefri Gaitan yg2548 Ecenaz (Jen) Ozmen eo2419