{"categories":[{"label":"WWW/HTTP","url":"https://skillfed.io/packages/category/internet-www-http/6"},{"label":"Dynamic Content","url":"https://skillfed.io/packages/category/internet-www-http-dynamic-content/3"}],"enrichment":{"capability":"Adds an Excel spreadsheet (xlsx) renderer to Django REST Framework, allowing API views to export data directly as formatted Excel files using OpenPyXL.","skillfed_tags":["django-rest-framework","excel-export","data-serialization"],"use_cases":["Export REST API query results to Excel for business reporting and data analysis workflows","Generate styled Excel reports with custom headers, logos, and formatted data cells from API endpoints","Provide end users with downloadable spreadsheets of filtered or paginated API data with proper filenames","Create multi-column exports with per-column number formatting (dates, currency, scientific notation) from serialized data","Build data export features that respect API permissions and serializer field definitions automatically"],"what_it_does":"drf-excel is a Django REST Framework renderer that converts API responses into Excel spreadsheets (.xlsx files). It integrates with DRF's standard renderer pipeline, allowing views to serve Excel exports alongside JSON and other formats. The package uses OpenPyXL to build the spreadsheets and provides a mixin (XLSXFileMixin) to handle HTTP headers and filename configuration.\n\nThe package supports extensive styling of headers, column headers, body rows, and individual columns through view attributes or dynamic methods. It can apply fonts, colors, borders, alignment, and number formats to cells. Additional features include auto-filtering on header rows, per-column styling overrides, sheet view options (like right-to-left layout), and the ability to use serializer field labels as column headers instead of field names.","worth_installing":"Yes. drf-excel is actively maintained, has low install friction, carries a permissive license, and solves a common need for Django REST Framework users. It integrates cleanly into DRF's renderer architecture and supports modern Python versions (3.10\u20133.14) and current Django releases. No known vulnerabilities. Install it if you need to export API data to Excel."},"id":"drf-excel","links":{"html":"https://skillfed.io/packages/drf-excel","md":"https://skillfed.io/packages/drf-excel.md","pypi":"https://pypi.org/project/drf-excel/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-06","license_spdx":"BSD-3-Clause","license_treatment":"permissive","name":"drf-excel","python_support":"supports_current","summary":"Django REST Framework renderer for Excel spreadsheet (xlsx) files."},"popularity":{"monthly_downloads":150715,"position":10959,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.6.0"}
