--- id: restfly version: "1.5.1" license: MIT License license_treatment: permissive maintenance: active --- # restfly — REST API library framework License: permissive · Maintenance: active · Downloads: 237.5K/mo ## What it is and what it does RESTfly is a Python framework that provides the structural foundation for building client libraries for RESTful APIs. Rather than writing boilerplate from scratch for each API, developers use RESTfly's base classes and utilities to define endpoints, handle requests, and manage responses in a consistent, readable way. It emphasizes simplicity so that the resulting library code is both practical to use and serves as clear documentation of the API itself. The framework depends on requests for HTTP transport, python-box for flexible data handling, arrow for date/time operations, and typing-extensions for type hints. It is actively maintained, supports Python 3.10 through 3.13, and carries no known security vulnerabilities. The MIT license allows unrestricted use in any project. Use it for: - Build a client library for a third-party REST API without writing repetitive HTTP boilerplate. - Create an internal API wrapper that standardizes how your team interacts with external services. - Develop a reference implementation of an API that serves as both a library and documentation. - Scaffold a new API client quickly with consistent error handling and request/response patterns. - Maintain multiple API clients with a unified, readable codebase structure. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. RESTfly is a framework for building libraries that interact with RESTful APIs, providing scaffolding and utilities to simplify API client development. Yes. RESTfly is actively maintained, production-stable, carries no known vulnerabilities, and has low install friction. It is a legitimate choice if you are building a REST API client library and want to avoid writing boilerplate. The framework is most valuable when you are creating a reusable library rather than a one-off API call; for simple, single-use integrations, the overhead may not justify the dependency. ## Install pip install restfly uv add restfly poetry add restfly ## Installing restfly Before you install: Low install friction with a pure-Python wheel. Actively maintained with a recent commit on 2026-08-05 and production-stable status. Four runtime dependencies (requests, python-box, arrow, typing-extensions) are all well-established packages. License in practice: MIT License (permissive) places no restrictions on use, modification, or distribution in proprietary or open-source projects. Quickstart: pip install restfly from restfly.api import APIResource class MyAPI(APIResource): _base_uri = 'https://api.example.com' # Define endpoints and methods Requires Python 3.9 or later. Verify before relying: - Whether the framework supports async/await patterns or is synchronous-only. - What authentication schemes are built-in versus what must be implemented per-API. - Performance characteristics and suitability for high-throughput API clients. ## Package facts - License: MIT License (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 237.5K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags rest api library framework, build rest api client, restful api scaffolding, api library boilerplate, rest client framework, api wrapper builder, restful api development, rest-api, framework, client-library [View on SkillFed](https://skillfed.io/packages/restfly) · [View on PyPI](https://pypi.org/project/restfly/)