3 repository-uri
Leveraging language type annotations to automatically parse and validate incoming request data.
Distinct from Type-Hint-Based Schema Definitions: Focuses specifically on the application of type hints to request parsing rather than general data schema validation.
Explore 3 awesome GitHub repositories matching software engineering & architecture · Request Parameter Type-Hinting. Refine with filters or upvote what's useful.
FastHTML is a full-stack Python web framework designed for building interactive web applications using pure Python. It functions as an HTMX integration framework and a Python HTML domain-specific language, allowing developers to generate HTML structures using native objects and functions instead of external templating files. The framework is distinguished by its native support for real-time bidirectional communication via WebSockets and Server-Sent Events, enabling server-side updates to be pushed to the browser without full page reloads. It further integrates identity management through OAut
Extracts URL paths and query parameters into typed function arguments using language-level type annotations.
Hono este un framework HTTP JavaScript minimal conceput pentru construirea de servere web pe mai multe runtime-uri, inclusiv Node.js, edge runtimes și platforme serverless. Acesta funcționează ca un server web cross-runtime și un wrapper pentru API-urile web standard, normalizând diverse obiecte de cerere și răspuns ale runtime-urilor în semnături standard Web API. Proiectul servește drept orchestrator de middleware HTTP și handler de cereri, utilizând un pipeline de cereri bazat pe middleware și montarea ierarhică a rutelor pentru a crea structuri de server modulare. Se distinge printr-un wrapper de evenimente agnostic față de runtime, care asigură un comportament consistent indiferent de mediul de deployment. Framework-ul acoperă o gamă largă de capabilități, inclusiv rutarea cererilor HTTP cu capturarea dinamică a parametrilor, comunicare WebSocket în timp real și măsuri de securitate cuprinzătoare, cum ar fi gestionarea CORS și autentificarea de bază. De asemenea, oferă utilitare pentru gestionarea sesiunilor prin cookie-uri, servirea activelor statice și gestionarea traficului prin proxy-uri de cereri și redirecționări URL. Proiectul este implementat în TypeScript.
Assigns generic types to event handlers to provide automatic typing for request bodies and query parameters.
Binance Connector Python is a client library that provides programmatic access to the Binance cryptocurrency exchange, enabling automated trading and asset management across spot, margin, futures, and options markets. The library wraps the exchange's REST and WebSocket APIs into a Python interface with type-hinted methods, HMAC and RSA authentication, and a unified request-response pipeline for consistent error handling and rate limiting. The connector supports a broad range of exchange operations beyond core trading, including sub-account management, wallet operations, and algorithmic order
Uses Python type hints and dataclasses to provide IDE autocompletion and static validation for API parameters and responses.