skillfed

restfly

REST API library framework

restfly v1.5.1 237.5K downloads/30d#8,958 on PyPI16
Permissive license MIT License Active released

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 on this page — 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

restfly on PyPI

pip

pip install restfly

uv

uv add restfly

poetry

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 the current Python release (>=3.9)
Install friction low — pure-Python wheel
Runtime dependencies 4 — requests, python-box, arrow, typing-extensions
Maintenance actively maintained — 574 days since the last release
Last repo commit
First released
Downloads 237,478/month — #8,958 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: restfly-1.5.1-py3-none-any.whl

Keywords: rest, api, library

Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Topic :: Software DevelopmentTopic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Application Frameworks

Tags

rest api library frameworkbuild rest api clientrestful api scaffoldingapi library boilerplaterest client frameworkapi wrapper builderrestful api development
rest-apiframeworkclient-library

More Software Development packages