best-of-web-python
drf-flex-fields
Our great sponsors
best-of-web-python | drf-flex-fields | |
---|---|---|
3 | 3 | |
2,155 | 711 | |
1.3% | - | |
7.9 | 4.0 | |
8 days ago | 6 months ago | |
Python | Python | |
Creative Commons Attribution Share Alike 4.0 | 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.
best-of-web-python
-
[D] Your favourite tool for data extraction from web?
https://github.com/ml-tooling/best-of-web-python#web-scraping--crawling
-
best-of-python-web: A ranked list of awesome Python libraries for web development
ml-tooling / best-of-web-python
-
[P] best-of-ml-python: A ranked list of awesome machine learning Python libraries
best-of-web-python: Python libraries for web development.
drf-flex-fields
-
Ideal way to implement listing of products with tags
You could use a HyperLinked model serializer (also check this) and add expandable fields so with one call you can choose if you want the tags field to be detailed (expanded) or not. E.g. /product//?expand=tags
-
problem with dynamic filtering serializer
You can use drf-flex-fields or copy its implementation. It has exactly what you need, ctrl + f "?fields=".
-
is it a bad practice to have a lot of slightly different serializers?
This library helps me reuse serializers a lot more https://github.com/rsinger86/drf-flex-fields
What are some alternatives?
fastapi-azure-auth - Easy and secure implementation of Azure Entra ID (previously AD) for your FastAPI APIs 🔒 B2C, single- and multi-tenant support.
drf-yasg - Automated generation of real Swagger/OpenAPI 2.0 schemas from Django REST Framework code.
djangochannelsrestframework - A Rest-framework for websockets using Django channels-v4
Django REST Swagger - Swagger Documentation Generator for Django REST Framework: deprecated
django-restql - Turn your API made with Django REST Framework(DRF) into a GraphQL like API.
ara - ARA Records Ansible and makes it easier to understand and troubleshoot.
django-renderpdf - 📄 Django app to render django templates as PDF files.
drf-nested-routers - Nested Routers for Django Rest Framework
django-rest-framework-social-oauth2 - python-social-auth and oauth2 support for django-rest-framework
django-rest-auth - This app makes it extremely easy to build Django powered SPA's (Single Page App) or Mobile apps exposing all registration and authentication related functionality as CBV's (Class Base View) and REST (JSON)
xdoctest - A rewrite of Python's builtin doctest module (with pytest plugin integration) with AST instead of REGEX.
Fake-Data-Generator-Database-API - 💾 Fake Data Generator Database Supply API codes go here.