drf-typed
pydantic-to-typescript
Our great sponsors
drf-typed | pydantic-to-typescript | |
---|---|---|
1 | 3 | |
77 | 239 | |
- | - | |
1.1 | 0.0 | |
about 1 year ago | 4 months ago | |
Python | Python | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
drf-typed
-
New package: Django REST - Typed
Github repo/docs: https://github.com/rsinger86/drf-typed
pydantic-to-typescript
-
Which not so well known Python packages do you like to use on a regular basis and why?
Bit niche, but I like using pydantic-to-typescript (https://github.com/phillipdupuis/pydantic-to-typescript) to automatically generate typescript definitions for my fastapi apps. Or any app which uses pydantic models.
-
pydantic-to-typescript: a simple CLI tool for converting pydantic models into typescript interfaces
Complete documentation, examples, and the source code can all be viewed here: https://github.com/phillipdupuis/pydantic-to-typescript
-
Python & Typescript
There are also some packages out there for converting the types directly into their typescript equivalents: https://github.com/phillipdupuis/pydantic-to-typescript/
What are some alternatives?
fastapi - FastAPI framework, high performance, easy to learn, fast to code, ready for production
django-ninja - 💨 Fast, Async-ready, Openapi, type hints based framework for building APIs
full-stack-fastapi-template - Full stack, modern web application template. Using FastAPI, React, SQLModel, PostgreSQL, Docker, GitHub Actions, automatic HTTPS and more.
drf-yasg - Automated generation of real Swagger/OpenAPI 2.0 schemas from Django REST Framework code.
odmantic - Sync and Async ODM (Object Document Mapper) for MongoDB based on python type hints
djangorestframework-dataclasses - Dataclasses serializer for Django REST framework
opyrator - 🪄 Turns your machine learning code into microservices with web API, interactive GUI, and more.
dynamoquery - Python AWS DynamoDB ORM
enforce - Python 3.5+ runtime type checking for integration testing and data validation
typing_inspect - Runtime inspection utilities for Python typing module
deffcode - A cross-platform High-performance FFmpeg based Real-time Video Frames Decoder in Pure Python 🎞️⚡