django-rest-auth
drf-yasg
django-rest-auth | drf-yasg | |
---|---|---|
4 | 8 | |
2,398 | 3,327 | |
0.2% | - | |
0.0 | 1.5 | |
about 2 months ago | about 1 month ago | |
Python | Python | |
MIT License | GNU General Public License v3.0 or later |
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.
django-rest-auth
- The most popular Django API packages listed by Django.WTF
-
The Best GitHub Repositories For Django Developers.
View on GitHub
-
DRF boilerplate for user registration and auth using phone number and/or email
And I use a combination of the two (phone number and email) mostly in my projects, which is why I decided to create this boilerplate. I've used dj-rest-auth package, a fork of the no longer maintained, django-rest-auth package. I've also included third-party authentication using Google, password change, and reset endpoints. For phone verification I've used Twilio.
-
Registration and Authentication in Django apps with dj-rest-auth
If you are a Django developer and you are coding a REST API with authentication, you will find the dj-rest-auth package very useful. This project is a fork from django-rest-auth that is no longer maintained. As said, dj-rest-auth provides a set of REST API endpoints to manage user registration and authentication. After an easy installation and configuration, you will have endpoints for:
drf-yasg
-
Swagger for Django api
I believe drf-yasg what you need. You can create a schema manually and define request and response types for your small API.
-
How can one enable the html for apis that are not apiviewsets using django rest framework?
Check this out: https://drf-yasg.readthedocs.io/en/stable/
-
Separate project vs multiple apps on a single project
There's also the caveat of having different API documentation for both the frontend solution and the API-only solution, since I don't want to expose the frontend-specific endpoints to the API-only endpoints, but I think that might just take some time playing around with swagger: https://drf-yasg.readthedocs.io/en/stable/
-
Deploying Django Rest Framework with Postgres on fly.io
Swagger and OpenAPI capabilities using drf-yasg, where you can only see endpoints and Swagger docs if you have a valid Token
- does anyone find a way to use swagger ui
-
Beautiful Hackernews UI: Working with Hackernews API in Python (Django)
The major apps are news and accounts. While the former handles almost all the physical functionalities of the system, the latter only does user stuff. The api app exposes the data for consumption. It is documented using drf-yasg, a Swagger generation tool implemented without using the schema generation provided by Django Rest Framework. The api has a token-based authentication which requires that all POST requests must provide a token to be accepted, otherwise a not too interesting response:
-
Keeping Documentation Debt At Bay & Clients Happy
Our RESTful API was actually the easiest to document, because we were able to rely on third-party libraries from the start. It was a Python Django and Django REST Framework project that leveraged the drf-yasg OpenAPI generator library to create OpenAPI and Swagger compatible documentation.
-
Documenting Django Rest Framework API
This post will go through how to document your DRF APIs using https://github.com/axnsan12/drf-yasg/ package.
What are some alternatives?
django-allauth - Integrated set of Django applications addressing authentication, registration, account management as well as 3rd party (social) account authentication.
drf-spectacular - Sane and flexible OpenAPI 3 schema generation for Django REST framework.
social-djoser-template - 🙋♂️ 🙋 Use the best REST library with OAuth2 Social login. The simpliest DRF & JWT repo that allows you to extend your extended User model with REST and social logins. 🙋♂️ 🙋
Django REST Swagger - Swagger Documentation Generator for Django REST Framework: deprecated
djangochannelsrestframework - A Rest-framework for websockets using Django channels-v4
swagger-ui - Swagger UI is a collection of HTML, JavaScript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API.
django-rest-framework-passwordless - Passwordless Auth for Django REST Framework
redoc - 📘 OpenAPI/Swagger-generated API Reference Documentation
drf-extra-fields - Extra Fields for Django Rest Framework
dj-rest-auth - Authentication for Django Rest Framework
drf-flex-fields - Dynamically set fields and expand nested resources in Django REST Framework serializers.
drf-nested-routers - Nested Routers for Django Rest Framework