Django REST Swagger
django-tastypie
Our great sponsors
Django REST Swagger | django-tastypie | |
---|---|---|
4 | 6 | |
2,528 | 3,891 | |
- | 0.1% | |
0.0 | 4.5 | |
over 3 years ago | about 16 hours ago | |
Python | Python | |
BSD 2-clause FreeBSD 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 Swagger
-
OAS is the most crtitical tool for API Developers
Common frameworks for building APIs in Python are the Django Rest Framework and Flask-RESTPLUS. Django developers can add the django-rest-swagger module via pip, whereas Flask-RESTPLUS has Swagger support built in. Both are very powerful in terms of automation, so they do not require a lot of configuration.
-
Auto OpenAPI Generation — The Network Doesn’t Lie!
Examples include Swagger-Core, SpringFox, NSwag / Swashbuckle, Swagger-express / HAPI-Swagger, Django-REST-Swagger / Flask-RESTplus, etc.
-
Does django-rest-swagger not work well with modelserializers?
I've been going off of the documentation on the django-rest-swagger github page, more specifically the part called "How it works". It shows that you can define your own parameters for your rest api, and have those parameters show up in your swagger doc page.
-
Exclude URLs from Django REST Swagger
I have a few URLs that I want to exclude from my REST API documentation. I'm using Django REST Swagger and the only documentation I can find (https://github.com/marcgibbons/django-rest-swagger) doesn't really tell me much. There is the "exclude_namespaces" part of SWAGGER_SETTINGS in settings.py, but there is no real explanation or example of how to use this.
django-tastypie
- Django Tastypie: Create APIs that is RESTful and uses HTTP well
-
deploying django app to heroku
Unfortunately tastypie doesn't yet work with Django 4.1 - I logged this bug a few weeks ago https://github.com/django-tastypie/django-tastypie/issues/1640
- cannot import name '_sanitize_token' from django
-
API framework choice?
Other than DRF, TastyPie is the other REST API framework for Django I had used in the past.
-
[D] Software engineers building apps with ML features
For an API, if you have a backend like Django (which I admit has a solid learning curve) you can make quick APIs with addons like django rest framework, or tastypie. The most recent I saw was django-ninja, but I have yet to try that out. I think an ML / cookie cutter plugin would be pretty interesting to be honest. I'll keep a look out and see, but /u/halfourname is correct, the flexibility would have penalties. Usually they're very narrow in scope.
-
Does anyone know the status of Tastypie? Worth using?
But the django-tastypie GitHub repo shows there's recent activity and it now supports "Django 2.2, 3.2 (LTS releases) or Django 4.0 (latest release)".
What are some alternatives?
drf-yasg - Automated generation of real Swagger/OpenAPI 2.0 schemas from Django REST Framework code.
django-rest-framework - Web APIs for Django. 🎸
django-sql-explorer - Easily share data across your company via SQL queries. From Grove Collab.
doccano - Open source annotation tool for machine learning practitioners.
django-classifier - Flexible constructor to create dynamic list of heterogeneous properties for some kind of entity. This set of helpers useful to create properties like contacts or attributes for describe car/computer/etc.
django-modern-rpc - Simple XML-RPC and JSON-RPC server for modern Django
django-admin-interface - :superhero: :zap: django's default admin interface with superpowers - customizable themes, popup windows replaced by modals and many other features.
django-template - A battle-tested Django 2.1 project template with configurations for AWS, Heroku, App Engine, and Docker.