6 repositorios
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 is a framework for building RESTful web services that map Django models to API resources. It functions as a model-based API generator, automatically creating read-write endpoints for database models to enable standard CRUD operations via HTTP. The project serves as a multi-format data serializer and hypermedia API mapper. It converts database data into various response formats, including JSON, XML, and YAML, based on client requests, and transforms database relationships into navigable links for resource discovery. The toolkit includes a security implementation for user authe
Uses class-based views to route HTTP methods to specific handler functions within resource classes.