vitalik/django-ninja

💨 Fast, Async-ready, Openapi, type hints based framework for building APIs

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 1 hour ago
Added to GitGenius on September 7th, 2026
Created on May 19th, 2020
Open Issues & Pull Requests: 224 (+0)
GitHub issues: Enabled
Number of forks: 611
Total Stargazers: 9,186 (+1)
Total Subscribers: 73 (+0)

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Issue API getrepoissuespagesummary failed: 429 Rate limit exceeded. Please try again later.

Detailed Description

Django Ninja is a web framework for building APIs with Django and Python type hints.

Django Ninja addresses the need for fast, type-safe API development by leveraging Python type hints to automatically validate request parameters, serialize responses, and generate OpenAPI documentation. The framework uses Pydantic for high-performance data validation and supports async operations for improved execution speed. Developers define API endpoints using simple Python functions annotated with type hints, and the framework handles parameter validation, type casting, JSON encoding, and schema generation automatically.

Teams should choose Django Ninja if they are building APIs within existing Django projects and want to minimize boilerplate while maintaining strong type safety. It suits projects where developers value rapid development without sacrificing performance, and where automatic interactive API documentation through Swagger UI or Redoc is beneficial. The framework integrates directly with Django's core and ORM, making it a natural fit for teams already invested in the Django ecosystem.

The project maintains active test coverage and demonstrates consistent development activity with regular updates and community engagement. The maintainer actively solicits user feedback and maintains comprehensive documentation to support adoption.