Giter Site home page Giter Site logo

zmievsa / pydantic-duality Goto Github PK

View Code? Open in Web Editor NEW
29.0 1.0 1.0 955 KB

Automatically and lazily generate three versions of your pydantic models: one with Extra.forbid, one with Extra.ignore, and one with all fields optional

Home Page: https://ovsyanka83.github.io/pydantic-duality/

License: MIT License

Makefile 2.72% Python 97.28%
pydantic pydantic-models schemas hints json-schema python python310 python311 validation

pydantic-duality's Introduction

Hi there, my name is Stanislav Zmiev ๐Ÿ‘‹

telegram mail Linkedln

  • I am a Platform Engineer with an extensive experience in devtools and backend Development
  • I have done a fair share of frontend, mobile, DevOps, and lower level stuff in my spare time
  • I have built numerous open source projects over the years, most of which can be found on my GitHub page
  • My passion is creating and combining development tools to provide programmers with the best possible support while coding. To increase value without needing to increase the team size
  • In my spare time, I contribute to open source and participate in developer meetups and conferences. Over the years I have contributed code to:

... any many smaller projects!

pydantic-duality's People

Contributors

ovsyanka83 avatar zmievsa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

pydantic-duality's Issues

Split documentation into multiple pages

Currently, all docs live on the same page which can get quite uncomfortable to use and limits us in terms of documentation's structure. Splitting it into multiple pages and adding them to sidebar might make it much nicer.

Custom request/response schema class names

Im using FastAPI and I need to name my request and response schemas in a certain way

It would be cool if I can define either prefix or/and suffix of a request/response schema or define the class name (because FastApi uses class name as a schema name in openapi) on schema generation

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.