6 Repos
Architectural patterns for handling HTTP requests using reusable classes.
Distinguishing note: Focuses on the view architecture pattern.
Explore 6 awesome GitHub repositories matching web development · Class-Based Views. Refine with filters or upvote what's useful.
Django REST Framework is a toolkit for building standards-compliant web services that map complex data models to structured HTTP responses. It provides a modular architecture for handling the request lifecycle, including authentication, permission checks, and content negotiation. The framework is designed to facilitate the development of robust APIs by transforming complex data types into native formats and validating incoming request payloads against defined schemas. The project distinguishes itself through a highly modular, class-based design that allows developers to build complex views an
Provides a modular design pattern for handling HTTP requests through reusable components.
Litestar is a high-performance Python ASGI web framework designed for building asynchronous APIs and web services. It functions as a type-safe toolkit that leverages Python type hints to provide automatic request validation and response serialization, while natively generating interactive API documentation based on the OpenAPI specification. The framework is distinguished by its integrated dependency injection system, which manages shared resources and resolves complex nested service chains directly within request handlers. It further organizes API development through class-based controllers
Uses class-based views to group related request handlers and share common logic across resource domains.
Simple and extensible administrative interface framework for Flask
Registers admin views as self-contained Python classes encapsulating CRUD logic, templates, and permissions.
Flask-Admin is a framework for auto-generating administrative interfaces in Flask applications. It provides a Flask Admin Interface that automatically creates create, read, update, and delete views for database models, functioning as a Database Model CRUD Generator that eliminates manual coding for basic data administration tasks. The framework also includes an Extensible Admin Dashboard that developers can customize, along with a File Management Interface for browsing, uploading, and organizing server-side files, and a Redis Console Client for executing interactive Redis commands directly wit
Each admin view is a Python class that maps directly to a database model, encapsulating CRUD logic.
Pyrefly is a static type checker for Python that operates as a language server, delivering real-time diagnostics, completions, and navigation in any editor supporting the Language Server Protocol. It also performs static tensor shape analysis, using symbolic dimension variables and arithmetic to verify shape consistency in deep learning models without runtime execution. Beyond core type checking, Pyrefly supports gradual adoption workflows: it can generate a baseline of known errors so only new issues are reported, migrate configuration from other type checkers, and automatically suppress exi
Infers types for Django class-based views and mixins without plugins.
Django Tastypie ist ein Framework für den Aufbau von RESTful-Webservices, die Django-Modelle auf API-Ressourcen abbilden. Es fungiert als modellbasierter API-Generator, der automatisch Read-Write-Endpunkte für Datenbankmodelle erstellt, um Standard-CRUD-Operationen via HTTP zu ermöglichen. Das Projekt dient als Multi-Format-Datenserialisierer und Hypermedia-API-Mapper. Es konvertiert Datenbankdaten basierend auf Client-Anfragen in verschiedene Antwortformate wie JSON, XML und YAML und transformiert Datenbankbeziehungen in navigierbare Links zur Ressourcenerkennung. Das Toolkit enthält eine Sicherheitsimplementierung für die Benutzerauthentifizierung mittels Challenge-Response-Handshake, um die Übertragung von Klartext-Anmeldedaten zu vermeiden. Zudem bietet es Mechanismen zur Abbildung komplexer Datenbeziehungen und zur Verwaltung der Serialisierung von API-Antworten.
Uses class-based views to route HTTP methods to specific handler functions within resource classes.