3 个仓库
Architecture that allows swapping the HTTP client implementation (fetch, Axios, custom) without changing generated code.
Distinct from HTTP Client Implementations: Distinct from HTTP Client Implementations: focuses on the pluggable architecture that allows swapping implementations, not a single implementation.
Explore 3 awesome GitHub repositories matching web development · Pluggable. Refine with filters or upvote what's useful.
Orval is an OpenAPI-to-TypeScript code generator that produces fully typed API clients, data-fetching hooks, mock data, validation schemas, and server handlers from OpenAPI or Swagger specifications. It reads any YAML or JSON API specification and generates TypeScript interfaces, HTTP request functions, and framework-specific integration code that ensures compile-time correctness for all API calls. The project distinguishes itself by generating production-ready data-fetching hooks for React Query, Vue Query, Svelte Query, Solid Query, Angular, and SWR, complete with automatic cache invalidati
Provides a pluggable HTTP client architecture that swaps between fetch, Axios, or custom implementations.
Authlib 是一个全面的 Python 框架,用于实现 OAuth 1.0、OAuth 2.0 和 OpenID Connect 客户端及服务器。它提供了一套完整的身份管理工具包,涵盖了授权服务器、资源服务器和客户端集成的开发。 该库通过对 JOSE 规范的完整实现脱颖而出,包括 JSON Web Token(JWT)、加密、签名和密钥。它具有针对通过服务账户断言框架进行的非交互式身份验证的专门功能,以及旨在处理偏离官方规范的身份提供商的合规修正层。 该项目涵盖了广泛的安全和身份操作,包括基于授权的令牌生命周期、PKCE 安全和动态客户端注册。它还提供用于各种签名算法的加密原语,以及用于自动化令牌更新和数据存储持久化的实用程序。 Authlib 利用可插拔架构,允许注入不同的同步或异步 HTTP 库。
Features a pluggable architecture allowing users to swap synchronous or asynchronous HTTP client implementations.
PRAW 是一个 Python 的 Reddit API 封装库,充当 REST API 客户端和社交媒体数据爬虫。它提供了一个编程接口来获取数据、管理账户内容并与平台进行交互。 该库实现了全面的 OAuth 2.0 客户端,支持多种授权流程(包括密码、隐式和刷新令牌,以及只读访客访问)。它通过一个感知速率限制的请求调度器脱颖而出,该调度器跟踪服务器端的限流以防止 API 配额耗尽,并采用延迟加载资源对象,仅在访问特定属性时才获取数据。 功能涵盖社区和用户管理、通过生成器进行实时提交流式传输,以及提取嵌套讨论线程。该工具集还包括用于创建帖子和评论的内容管理功能,以及用于自定义会话和代理路由的网络配置选项。
Provides a pluggable architecture to replace the default HTTP session with custom requestor classes.