{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/6"},{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/4"},{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/8"}],"enrichment":{"capability":"PyActiveResource maps Python classes to remote REST resources, allowing you to interact with RESTful web services using object-oriented syntax similar to database ORM patterns.","skillfed_tags":["rest-client","orm","http-mapping"],"use_cases":["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."],"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.\n\nThe 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\u2014last released in 2021 with classifiers targeting Python 2.6\u20133.4\u2014so it may require verification or updates to work smoothly on modern Python versions.","worth_installing":"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."},"id":"pyactiveresource","links":{"html":"https://skillfed.io/packages/pyactiveresource","md":"https://skillfed.io/packages/pyactiveresource.md","pypi":"https://pypi.org/project/pyactiveresource/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2021-02-04","license_spdx":null,"license_treatment":"permissive","name":"pyactiveresource","python_support":"unspecified","summary":"ActiveResource for Python"},"popularity":{"monthly_downloads":813595,"position":4996,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"2.2.2"}
