pyactiveresource
ActiveResource for Python
Decision gist · record as of 2026-08-14
Yes, with conditions. PyActiveResource is a mature, permissively licensed library for REST ORM use cases, and it has active GitHub maintenance. However, install friction is high due to the source distribution and outdated Python version classifiers. Before installing, verify that it works on your target Python version and that your REST API follows the conventions the library expects. If your API is non-standard, consider alternatives.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- The package targets Python 2.6–3.4; compatibility with modern Python versions is not documented and may require testing or updates.
- Installation friction is high: the package has no runtime dependencies but relies on a source distribution (tar.gz), and the codebase targets Python 2.6–3.4 classifiers while the last release was in 2021.
- Maintenance is active on GitHub, though the gap between last release and current date suggests limited recent updates.
License · maintenance · safety
MIT License (permissive) — MIT License (permissive) means you can use, modify, and distribute this package freely in commercial and private projects, with minimal restrictions beyond attribution.
last release 2021-02-04 (2017 days) · last repo commit 2026-03-27 · 102 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 813,595 downloads/mo, #4,996 on PyPI
Alternatives
Verify before relying
pip install pyactiveresource
from pyactiveresource import activeresource as ar
class Person(ar.ActiveResource):
_site = 'http://api.example.com:3000/people'
person = Person.find(1)
print(person.first)- Whether the package works reliably with Python versions beyond 3.4 despite classifier limits.
- Current state of dependency compatibility and whether the source distribution installs cleanly on modern systems.
- Whether authentication mechanisms beyond custom headers are supported.
What it is and what it does
PyActiveResource is a Python port of Rails' ActiveResource library, providing an object-relational mapping layer for REST web services. Instead of writing HTTP requests manually, you define model classes that inherit from ActiveResource, set a REST endpoint URL, and then use familiar ORM-style methods (find, create, save, delete) to interact with remote resources. The library handles JSON serialization, HTTP verb routing (GET for retrieval, POST for creation, PUT for updates, DELETE for removal), and automatic object construction from JSON responses.
The package is designed to reduce boilerplate when working with RESTful APIs that follow standard conventions. It converts JSON responses into Python objects with attributes matching the JSON keys, handles nested objects automatically, and supports query parameters and custom headers for authentication. However, the codebase is mature but aging—last released in 2021 with classifiers targeting Python 2.6–3.4—so it may require verification or updates to work smoothly on modern Python versions.
Use it for
- Building a Python client for a REST API where resources map cleanly to object models.
- Rapid prototyping of integrations with remote REST services without writing raw HTTP code.
- Migrating from Rails ActiveResource to Python while maintaining similar ORM-style patterns.
- Simplifying CRUD operations against a remote REST endpoint with automatic JSON marshalling.
- Creating a Python wrapper around a convention-based REST API with minimal boilerplate.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, with conditions.
PyActiveResource is a mature, permissively licensed library for REST ORM use cases, and it has active GitHub maintenance. However, install friction is high due to the source distribution and outdated Python version classifiers. Before installing, verify that it works on your target Python version and that your REST API follows the conventions the library expects. If your API is non-standard, consider alternatives.
Install
pyactiveresource on PyPI
Before you install
Installation friction is high: the package has no runtime dependencies but relies on a source distribution (tar.gz), and the codebase targets Python 2.6–3.4 classifiers while the last release was in 2021. Maintenance is active on GitHub, though the gap between last release and current date suggests limited recent updates.
The package targets Python 2.6–3.4; compatibility with modern Python versions is not documented and may require testing or updates.
License in practice
MIT License (permissive) means you can use, modify, and distribute this package freely in commercial and private projects, with minimal restrictions beyond attribution.
Quickstart
pip install pyactiveresource
from pyactiveresource import activeresource as ar
class Person(ar.ActiveResource):
_site = 'http://api.example.com:3000/people'
person = Person.find(1)
print(person.first)
Verify before relying
- Whether the package works reliably with Python versions beyond 3.4 despite classifier limits.
- Current state of dependency compatibility and whether the source distribution installs cleanly on modern systems.
- Whether authentication mechanisms beyond custom headers are supported.
Package facts
| License | MIT License permissive |
| Python support | Not specified |
| Install friction | High. Source build required |
| Runtime dependencies | None |
| Maintenance | Actively maintained 2,017 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 813,595 / month, #4,996 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 2.6Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.3Programming Language :: Python :: 3.4Topic :: Software DevelopmentTopic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Python Modules |
Evidence: pyactiveresource-2.2.2.tar.gz
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “REST API object mapping”
- pyactiveresourcePyActiveResource maps Python classes to remote REST resources,…
- nsj-rest-libnsj-rest-lib builds declarative REST APIs for CRUD operations (GET,…
- py-automapperAutomatically maps object fields from one class to another, handling…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also kumo-api · redfish · wadllib · rwslib · YORM · restfly · sqlalchemy-mixins · tortoise-orm · webapp2 · pony