{"repo":"AghastyGD/lazy-ninja","free":true,"listed":false,"github":"https://github.com/AghastyGD/lazy-ninja","clone":"git clone https://github.com/AghastyGD/lazy-ninja.git","description":"A Django library that turns your models into instant APIs. Built on top of Django Ninja, it auto-generates structured, documented endpoints so you can skip the boilerplate and ship faster","language":"Python","stars":55,"topics":["django","generator","json","open-source","python","restful","scaffold"],"license":"MIT","category":"saas-starters-boilerplates","readme_excerpt":"Lazy Ninja Lazy Ninja is a Django library that simplifies the generation of API endpoints using Django Ninja. It dynamically scans your Django models and generates Pydantic schemas for listing, retrieving, creating, and updating records. The library also allows you to customize behavior through hook functions (controllers) and schema configurations. By leveraging Django Ninja, Lazy Ninja provides automatic, interactive API documentation via OpenAPI, making it easy to visualize and interact with your endpoints. --- Installation Install Lazy Ninja with either pip or uv : For contributors, the project now uses uv as the default package manager and runner: uv Quick Setup The repository includes uv.lock to provide deterministic, reproducible environments. --- Quick Start Here’s a simple example of integrating Lazy Ninja into your Django project: Add api.urls to your urls.py to expose the endpoints. --- Features - Automatic Endpoints : Instantly generate API routes for your Django models. - Dynamic Schema Generation : Automatically create Pydantic schemas for your models. - Custom Controllers : Customize route behavior with hooks like before create and after update . - Built-in Filtering, Sorting, and Pagination : Simplify data handling with query parameters. - Interactive Documentation : Swagger UI and ReDoc support out of the box. --- Roadmap - [x] Basic CRUD operations - [x] Asynchronous support - [x] Filtering, sorting, and pagination - [X] File upload support - [ ] Authenticat","default_branch":null,"files":null,"tree":[],"storefront":"/r/AghastyGD","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/AghastyGD/lazy-ninja/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}