{"categories":[{"label":"Front-Ends","url":"https://skillfed.io/packages/category/database-front-ends/2"}],"enrichment":{"capability":"Adds automatic, human-readable repr() output to SQLAlchemy model instances by providing mixin base classes that format column data for display.","skillfed_tags":["sqlalchemy-extension","debugging"],"use_cases":["Debug SQLAlchemy model instances during development by printing readable column data instead of object addresses.","Log model state in application logs with compact or pretty-printed representations for troubleshooting.","Display model objects in REPL sessions or test output for easier inspection of database records.","Generate human-friendly string output for model instances in error messages or validation reports."],"what_it_does":"sqlalchemy-repr is a mixin library that automatically generates readable string representations of SQLAlchemy model instances. It provides two base classes: RepresentableBase for compact single-line repr output, and PrettyRepresentableBase for indented multi-line formatting. You use it by passing one of these classes to declarative_base() when defining your SQLAlchemy models, and then print() or repr() on model instances will display their column values in a formatted way instead of the default object address.\n\nThe package has no runtime dependencies and is lightweight, but it is dormant\u2014the last release was in October 2022, over a year ago. It was originally released in 2016 and supports Python 2.7 through 3.10 according to its classifiers, though real-world compatibility with current SQLAlchemy and Python versions is unverified. The license is unclear, which is a significant risk for adoption.","worth_installing":"No\u2014install friction is high due to dormancy (last release October 2022), and the license is unclear, creating legal risk. The package solves a minor problem (repr formatting) that modern SQLAlchemy and Python debugging tools often handle adequately. Only consider it if you have an existing codebase already using it and need to maintain it; do not adopt it in new projects."},"id":"sqlalchemy-repr","links":{"html":"https://skillfed.io/packages/sqlalchemy-repr","md":"https://skillfed.io/packages/sqlalchemy-repr.md","pypi":"https://pypi.org/project/sqlalchemy-repr/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2022-10-20","license_spdx":null,"license_treatment":"unclear","name":"sqlalchemy-repr","python_support":"unspecified","summary":"Automatically generates pretty repr of a SQLAlchemy model."},"popularity":{"monthly_downloads":107775,"position":12596,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.1.0"}
