这篇文章汇总了Django开发相关的大部分第三方库清单。 关于Python相关的第三方库清单和教程另见:Python3第三方库介绍。 关于Flask相关的第三方库清单和教程另见:Flask 第三方库介绍。
管理界面
扩展管理界面,增加或增强基功能特性的相关包。
- django-simpleui - 可用于 Django 管理界面的一个Vue+Element-ui的现代主题。 参考地址:https://github.com/newpanjing/simpleui/
- djamin - Django 管理界面的一种新样式。 参考地址:https://github.com/hersonls/djamin/
- django-admin-bootstrap - Django 管理界面的自适应皮肤。 参考地址:https://github.com/django-admin-bootstrap/django-admin-bootstrap
- django-admin-bootstrapped - 一种基于 Twitter Bootstrap 的 Django 管理界面主题。 参考地址:https://github.com/django-admin-bootstrapped/django-admin-bootstrapped/
- django-admin-easy - 一个关于管理界面数据项和装饰器的集合。 参考地址:https://github.com/ebertti/django-admin-easy
- django-admin-interface - 终级管理界面,它基于现代扁平式风格,能让你通过管理界面自身定制它的主题、logo 和配色。 参考地址:https://github.com/fabiocaccamo/django-admin-interface
- django-admin-tools - 一个关于默认 Django 管理界面的扩展/工具的集合。 参考地址:https://github.com/django-admin-tools/django-admin-tools
- django-admin2 - django.contrib.admin 的一个可扩展、能适配的版本。Extendable, adaptable rewrite of django.contrib.admin https://github.com/jazzband/django-admin2/ 参考地址:https://github.com/pydanny/django-admin2/
- django-flat-theme - 可用于 Django 管理界面的一种扁平式主题。现代、清新、简洁。(merged into Django 1.9+) 参考地址:https://github.com/elky/django-flat-theme
- django-fluent-dashboard - Django 项目的增强型管理面板。 参考地址:https://github.com/edoburu/django-fluent-dashboard/
- django-grappelli - 可用于 Django 管理界面的一个绚丽皮肤。 参考地址:https://github.com/sehmaschine/django-grappelli/
- django-hijack - 允许超级用户以其他用户微分登录和操作。 参考地址:https://github.com/arteria/django-hijack/
- django-jet - 可用于管理界面的现代模板,并增强了功能。 参考地址:https://github.com/geex-arts/django-jet
- django-material - Material 风格的 Django 表单和管理界面。是模板驱动的。 参考地址:https://github.com/viewflow/django-material
- django-object-actions - 一个 Django 应用,用于在管理界面中为数据模型添加对象工具。 参考地址:https://github.com/crccheck/django-object-actions
- django-suit - 可用于 Django 管理界面的一个现代主题。 参考地址:https://github.com/darklow/django-suit/
- django-wpadmin - WordPress 风格的 Django 管理界面。 参考地址:https://github.com/barszczmm/django-wpadmin/
- django-xadmin - 一个 Django admin 的替代器,并附带很多不错的功能特性,完全支持用插件扩展,绚丽的 UI 基于 Twitter Bootstrap。 参考地址:https://github.com/sshwsfc/django-xadmin/
- yawd-admin - 用于 Django 的一个管理界面(3 年未更新)。 参考地址:https://github.com/yawd/yawd-admin/
- django-flat-responsive - An extension for Django admin and django-flat-theme that makes interface mobile friendly. 参考地址:https://github.com/elky/django-flat-responsive
- django-jet-reboot - Django Jet is modern template for Django admin interface with improved functionality. 参考地址:https://github.com/b1go/django-jet-reboot
- django-admin-env-notice - Visually distinguish environments in Django Admin, for example:
development,staging,production, ... etc. 参考地址:https://github.com/dizballanze/django-admin-env-notice - django-admin-inline-paginator-plus - A simple way to paginate your inline in Django admin 参考地址:https://github.com/DmytroLitvinov/django-admin-inline-paginator-plus
- django-loginas - "Log in as user" for the Django admin. 参考地址:https://github.com/skorokithakis/django-loginas
- impostor - Impostor is a Django application which allows staff members to log in as a different user by using their own username and password. 参考地址:https://github.com/avallbona/Impostor
- django-impersonate - Allow superusers to “impersonate” other non-superuser accounts. 参考地址:https://pypi.org/project/django-impersonate/
- django-related-admin - A helper library that allows you to write list_displays across foreign key relationships. 参考地址:https://github.com/PetrDlouhy/django-related-admin
- django-admin-sortable2 - Generic drag-and-drop ordering for objects in the Django admin interface. 参考地址:https://github.com/jrief/django-admin-sortable2
- django-admin-collaborator - Add real-time user presence, edit locks, and chat to Django admin with Channels and Redis. 参考地址:https://github.com/brktrlw/django-admin-collaborator
- Admin Themes 参考地址:
- django-grappelli - A jazzy skin for the admin. 参考地址:https://github.com/sehmaschine/django-grappelli
- Django Jazzmin - Drop-in theme for django admin, that utilises AdminLTE 3 & Bootstrap 4 to make yo' admin look jazzy 参考地址:https://github.com/farridav/django-jazzmin
- django-admin-interface - Customize Admin by the admin itself(color, header. title,logo) and popup windows replaced by modals. 参考地址:https://github.com/fabiocaccamo/django-admin-interface
- django-material-admin - Material design for django administration. 参考地址:https://github.com/MaistrenkoAnton/django-material-admin
- django-semantic-admin - Django Semantic UI admin theme. 参考地址:https://github.com/globophobe/django-semantic-admin
- django-jet-reboot - Django Jet is modern template for Django admin interface with improved functionality. 参考地址:https://github.com/assem-ch/django-jet-reboot
- django-baton - A cool, modern and responsive django admin application based on bootstrap 5. 参考地址:https://github.com/otto-torino/django-baton
- django-unfold - Modern Django admin theme for seamless interface development. 参考地址:https://github.com/unfoldadmin/django-unfold
- django-daisy - A modern django dashboard fully responsive built with daisyui. 参考地址:https://github.com/hypy13/django-daisy
- django-admin-dracula - 🦇 Dracula themes for the Django admin. 参考地址:https://github.com/sjbitcode/django-admin-dracula
- Django SmartBase Admin - Django SmartBase Admin performance-tuned end-user ready beautiful admin panel 参考地址:https://github.com/SmartBase-SK/django-smartbase-admin
- django-admin-vol - Modern Bootstrap5 Design 参考地址:https://github.com/app-generator/django-admin-volt
分析
网站分析或与集成网站分析服务相关的包。
- django-analytical - 用一个通用接口来集成各种分析服务,无需修改模板文件。 参考地址:https://github.com/jcassee/django-analytical
Templates
- django-components - A way to create simple reusable template components in Django. 参考地址:https://github.com/django-components/django-components/
- django-template-partials - Reusable named inline partials for the Django Template Language. 参考地址:https://github.com/carltongibson/django-template-partials/
- slippers - Build reusable components in Django without writing a single line of Python. 参考地址:https://mitchel.me/slippers/
- JinjaX - Super components powers for your Jinja templates. 参考地址:https://jinjax.scaletti.dev/
- django-cotton - Goodbye
{% raw %}{%{% endraw %} extends, block, include {% raw %}%}{% endraw %}, Hello<c-component />. Bringing modern UI composition to Django. 参考地址:https://django-cotton.com/ - htpy - htpy is a library that makes writing HTML in plain Python fun and efficient, without a template language. 参考地址:https://htpy.dev/
URLs
- dj-database-url - Database URLs. 参考地址:https://github.com/jazzband/dj-database-url
- urlman - A nicer way to do URLs for Django models. 参考地址:https://github.com/andrewgodwin/urlman
- django-robots - This is a basic Django application to manage robots.txt files following the robots exclusion protocol, complementing the Django Sitemap contrib app. 参考地址:https://github.com/jazzband/django-robots
- django-redirects - Redirects as they should be, with full control. 参考地址:https://github.com/fabiocaccamo/django-redirects
Users
- django-allauth - Improved user registration including social auth. 参考地址:https://github.com/pennersr/django-allauth/
- django-allauth-ui - Better-looking templates for django-allauth. 参考地址:https://github.com/danihodovic/django-allauth-ui/
- django-improved-user - A custom Django user that authenticates via email. Follows identity and authentication best practices. 参考地址:https://github.com/jambonrose/django-improved-user
- django-organizations - Multi-user accounts for Django projects. 参考地址:https://github.com/bennylope/django-organizations/
- django-cas-ng - Django-cas-ng is Django CAS (Central Authentication Service) 1.0/2.0/3.0 client library to support SSO (Single Sign On) and Single Logout (SLO). 参考地址:https://github.com/django-cas-ng/django-cas-ng
- django-guest-user - Allow visitors to use your site like a regular user and register later. 参考地址:https://github.com/julianwachholz/django-guest-user
视图
用于增强或提供新的视图类的包。
- django-extra-views - Django 的基于类的通用视图都很赞,那就再实现一些。 参考地址:https://github.com/AndrewIngram/django-extra-views/
- django-vanilla-views - 一些非常简洁的基于类的视图。 参考地址:https://github.com/tomchristie/django-vanilla-views/
- django-swift-crud - Provides a streamlined and customizable approach to setting up CRUD operations for any Django model within just one view class. 参考地址:https://github.com/khaledsukkar2/django-swift-crud
- django-braces - Reusable, generic mixins. 参考地址:https://github.com/brack3t/django-braces
- django-easy-audit - Keep track of user actions. 参考地址:https://github.com/soynatan/django-easy-audit
- django-stronghold - Makes all your Django views default login_required. 参考地址:https://github.com/mgrouchy/django-stronghold
- neapolitan - Quick CRUD views for Django. 参考地址:https://github.com/carltongibson/neapolitan
Commands
- django-extensions - Custom management extensions, notably
runserver_plusandshell_plus. 参考地址:https://github.com/django-extensions/django-extensions/ - django-click - Write Django management commands using the click CLI library. 参考地址:https://github.com/django-commons/django-click
- django-dbbackup - Management commands to help backup and restore your project database and media files. 参考地址:https://github.com/jazzband/django-dbbackup
- django-liquidb - Django application to simplify migration management and changes in states of db scheme. 参考地址:https://github.com/Gusakovskiy/django-liquidb
- django-migration-zero - Holistic implementation of "migration zero" pattern for Django covering local changes and in-production database adjustments. 参考地址:https://github.com/ambient-innovation/django-migration-zero/
- django-typer - Write Django management commands using the Typer CLI library. 参考地址:https://github.com/django-commons/django-typer
资源管理
有助于管理项目资源文件的包。
- django-compressor - 将通过链接及内联的 javascript 或 CSS 压缩成单个缓存文件。 参考地址:https://github.com/django-compressor/django-compressor/
- django-gears - 编译及合并 JavaScript 和 CSS 文件。 参考地址:https://github.com/gears/django-gears/
- django-htmlmin - 用于 Python 框架的 HTML 压缩工具,完全支持 HTML 5 和 Django。 参考地址:https://github.com/cobrateam/django-htmlmin/
- django-pipeline - Django 的资源文件管理包。 参考地址:https://github.com/jazzband/django-pipeline
- django-systemjs - Django SystemJS 将 Javascript 的未来版本带到当前的 Django 中。(JSPM 与 Django 集成) 参考地址:https://github.com/sergei-maertens/django-systemjs
- django-webpack-loader - webpack 无缝集成到 django。 参考地址:https://github.com/owais/django-webpack-loader/
- python-webpack - webpack 的 Python 绑定包,并与 django 集成。 参考地址:https://github.com/markfinger/python-webpack
- Collectfast - A faster collectstatic command. 参考地址:https://github.com/antonagestam/collectfast
- django-webpacker - A django compressor tool which bundles CSS, JS files to a single CSS, JS file with webpack and updates your HTML files with respective CSS, JS file path. 参考地址:https://github.com/MicroPyramid/django-webpacker
缓存
有助于缓存的包。
- django-cachalot - 对你的 Django ORM 进行缓存,并能自动使它们失效。 参考地址:https://github.com/BertrandBordage/django-cachalot
- django-cache-machine - 能在 ORM 中的 Django 数据模型自动进行缓存和使其失效(1 年未更新)。 参考地址:https://github.com/django-cache-machine/django-cache-machine
- django-cacheops - 一个精巧的 ORM 缓存,具有自动化细粒度事件驱动型的失效机制。 参考地址:https://github.com/Suor/django-cacheops
- django-memoize - Django 中 记忆(memoization) 技术的一种实现。 参考地址:https://github.com/tvavrys/django-memoize
- django-ormcache - 一个缓存管理器 mixin,提供了一些 ORM 对象的缓存功能。 参考地址:https://github.com/educreations/django-ormcache/
- django-redis-cache - 用于 Django 的 Redis 缓存后端。 参考地址:https://github.com/sebleier/django-redis-cache/
- johnny-cache - Johnny Cache 是一个用于 Django 应用的缓存框架。 参考地址:https://github.com/jmoiron/johnny-cache/
- diskcache - Fast SQLite and file backed cache backend for Django. 参考地址:http://www.grantjenks.com/docs/diskcache/
兼容性
有助于保存可重用性 app 在不同的 Django 版本间保存兼容性的包。
- django-compat - 为官方支持的 Django 版本提供向前和向后兼容层。 参考地址:https://github.com/arteria/django-compat
- django-compat-lint - 为你的代理检查 Django 兼容性(2 年未更新)。 参考地址:https://github.com/ubernostrum/django-compat-lint
数据项-Model Fields
与扩展现有项类型功能或添加新项类型有关的包。
- django-audiofield - 允许对音频文件进行上传,管理,将转换成不同的音频格式 (mp3, wav & ogg)。 参考地址:https://github.com/areski/django-audiofield
- django-bitfield - Django 数据模型的一个扩展,A BitField。 参考地址:https://github.com/disqus/django-bitfield/
- django-countries - 为表单提供国家选择,也基于国旗选择,还提供一个 CountryField。 参考地址:https://github.com/SmileyChris/django-countries/
- django-enumfield - 基于命名常数列表的 Django 定制数据项(1 看未更新)。 参考地址:https://github.com/5monkeys/django-enumfield/
- django-image-tools - 在 Django 中处理图像的包(1 看未更新)。 参考地址:https://github.com/bonsaistudio/django-image-tools/
- django-imagekit - 在 Django 中自动处理图像。 参考地址:https://github.com/matthewwithanm/django-imagekit/
- django-jsonfield, bitbucket forks:49 - 用于 Django 数据模型中的 JSONField。 for Django models.https://pypi.python.org/pypi/django-jsonfield 参考地址:https://pypi.python.org/pypi/django-jsonfield
- django-location-field - 一个位置项及其组件,并与 google 地图集成。 参考地址:https://github.com/caioariede/django-location-field/
- django-macaddress - 在 Django 中使用的 MAC 地址数据模型及其表单项。 参考地址:https://github.com/django-macaddress/django-macaddress
- django-phonenumber-field - 一个可以与 python-phonenumbers 交互的 Django 库,以用来验证、格式输出和转换手机号码。 参考地址:https://github.com/stefanfoulis/django-phonenumber-field/
- django-picklefield - 用于 Django 的序列化对象项(pickled object field)。 参考地址:https://github.com/gintas/django-picklefield/
- django-searchable-select - 一个更好更快的多选组件,并附有提示功能。 参考地址:https://github.com/and3rson/django-searchable-select
- django-uuidfield - 用于 Django 的 UUIDField(2 年未更新)。 参考地址:https://github.com/dcramer/django-uuidfield/
- django-versatileimagefield - django ImageField 的简单替代品,并提供了一个灵活、直观、易扩展的接口来快速地根据指定的图像创建一个表单项。 参考地址:https://github.com/WGBH/django-versatileimagefield/
- django-any-urlfield - An improved URL selector to choose between internal models and external URLs. 参考地址:https://github.com/edoburu/django-any-urlfield
- django-colorfield - Color field for django models with a nice color-picker widget. 参考地址:https://github.com/fabiocaccamo/django-colorfield
- django-model-utils - Django model mixins and utilities. 参考地址:https://github.com/jazzband/django-model-utils
- django-money - Money fields for forms/models. 参考地址:https://github.com/django-money/django-money
- django-phonenumber-field - Model/form field for normalized phone numbers. 参考地址:https://github.com/stefanfoulis/django-phonenumber-field
- django-streamfield - Simple StreamField for plain Django admin (based on Wagtail CMS StreamField idea). 参考地址:https://github.com/raagin/django-streamfield
文件传输
用于在项目间或用户间传输文件的包。
- django-downloadview - 用 Django 提供文件服务。 参考地址:https://github.com/benoitbryon/django-downloadview/
- django-sendfile - 这是对特定于 Web 服务器的方法的一个封闭器,用来将文件发送给 Web 客户端。 参考地址:https://github.com/johnsensible/django-sendfile/
- django-filer - Makes multiple files(text/image) uploading easy and provides interface with precise details. 参考地址:https://github.com/divio/django-filer/
表单
扩展表单功能或添加亲的表单类型的相关包。
- django-autocomplete-light - django-autocomplete-light 的目标是在 Django 项目中快速而适当地实现自动填充功能。 参考地址:https://github.com/yourlabs/django-autocomplete-light/
- django-bootstrap-form - 将 Twitter Bootstrap 使用到 Django 表单中。 参考地址:https://github.com/tzangms/django-bootstrap-form/
- django-bootstrap3 - 以 Django 的方式,在 Django 模板中使用 Bootstrap。 参考地址:https://github.com/dyve/django-bootstrap3/
- django-crispy-forms - 实现 DRY Django 表单的最好方式。该应用提供的 Tag 和 Filter 能让你快速将表单呈现成 div 格式,同时又提供大量的功能来配置和控制呈现的 HTML。 参考地址:https://github.com/maraujop/django-crispy-forms/
- django-floppyforms - django-floppyforms 这个应用能让你完全控制表单的呈现结果。表单 API 和功能与 Django 的完全相同,主要的不同在同它的表单项和表单组件是在模板中呈现的,而不是使用字符串处理完成,因此它能让你在使用 Django 模板中完成控制输出的结果。 参考地址:https://github.com/gregmuellegger/django-floppyforms/
- django-markdownify - Django Markdownify 模板过滤器用于将 Markdown 文本转成 HTML。 参考地址:https://github.com/erwinmatijsen/django-markdownify
- django-formtools - For form previous and multistep forms, previously part of Django until 1.8. 参考地址:https://github.com/jazzband/django-formtools
- django-widget-tweaks - Tweak form field rendering in templates. 参考地址:https://github.com/jazzband/django-widget-tweaks
- django-shapeshifter - A class-based view to handle multiple forms in one view. 参考地址:https://github.com/kennethlove/django-shapeshifter
- django-semantic-forms - Django Semantic UI forms. 参考地址:https://github.com/globophobe/django-semantic-forms/
GIS
能更容易与地理信息系统项目协作的包。
- django-geoposition - 一个数据模型项,可用来保存地理信息(经度/纬度),并提供相应的后台管理/表单组件。 参考地址:https://github.com/philippbosch/django-geoposition/
- django-location-field - 一个位置项及其组件,并与 google 地图集成。 参考地址:https://github.com/caioariede/django-location-field/
- django-spillway - Django REST 框架的 Geodata 扩展。 参考地址:https://github.com/bkg/django-spillway/
- djangorestframework-gis - Django REST 框架的地理信息扩展。 参考地址:https://github.com/djangonauts/django-rest-framework-gis/
导入/导出
能在项目中加载、导入或导出数据的包。
- django-import-export - Django application and library for importing and exporting data with admin integration. 参考地址:https://github.com/django-import-export/django-import-export
数据迁移
当有模式更新后,能用来进行数据库迁移的包。
- South, bitbucket forks:169 - 一个提供了模式和数据迁移功能的 Django 应用,支持至 Django 1.6.x。(Django 1.7 及以上版本已经集成了一个数据迁移系统,其基于 South 但不兼容) 参考地址:https://bitbucket.org/andrewgodwin/south/src/
- django-migrations-graph - Django-admin command to display migrations with dependencies. 参考地址:https://github.com/dizballanze/django-migrations-graph
- django-test-migrations - Test Django schema and data migrations, including migrations' order. 参考地址:https://github.com/wemake-services/django-test-migrations
- django-liquidb - Django application to simplify migration management and changes in states of db scheme. 参考地址:https://github.com/Gusakovskiy/django-liquidb
移动端支持
用于支持 iOS, Android 及其它移动端的包。
- django-push-notifications - 一个微型 Django 应用,它实现了 Device 数据模型,可通过 APNS 和 GCM 发送消息。 参考地址:https://github.com/jleclanche/django-push-notifications
- django-pushy - 一个 Django 应用,使用 celery 来提供推送功能。该应用的主要目的是帮助你批量向你的用户发送推送消息。如果你有多个已注册的设备码(registered device keys),django-pushy 会将设备码分成小组,从而加快消息的发送过程。 参考地址:https://github.com/rakanalh/django-pushy
数据模型扩展
能扩展数据模型功能或添加新数据模型类的包。
- django-aggregate-if - 对 Django 查询进行条件聚合,就如 Excel 中的 SumIf 和 CountIf(2 年未更新)。 参考地址:https://github.com/henriquebastos/django-aggregate-if/
- django-localflavor - 与国家信息有关的 Django 辅助包,即原先的 fame 贡献包。 参考地址:https://github.com/django/django-localflavor/
- django-model-utils - Django 数据模型的 mixins 和工具集,例如 TimeStampedModel。 参考地址:https://github.com/carljm/django-model-utils/
- django-mptt - 用来在 Django 中实现一个修订版的先序遍历树的工具集。 参考地址:https://github.com/django-mptt/django-mptt/
- django-treebeard - Django 中树数据结构的另一种实现(提供了 3 种不同的层级数据排序方法,包括 MPTT )。 参考地址:https://github.com/tabo/django-treebeard
- django-lifecycle - Declarative model lifecycle hooks, an alternative to Signals. 参考地址:https://github.com/rsinger86/django-lifecycle
- django-taggit - Simple model tags. 参考地址:https://github.com/jazzband/django-taggit/
- django-reversion - Version control for model instances. 参考地址:https://github.com/etianen/django-reversion
- django-simple-history - Store model history and view/revert changes from the admin. 参考地址:https://github.com/jazzband/django-simple-history
- django-polymorphic - Django-polymorphic simplifies using inherited models in Django projects. 参考地址:https://github.com/jazzband/django-polymorphic
- django-recurrence - Utility for working with recurring dates in Django. 参考地址:https://github.com/jazzband/django-recurrence
- django-treenode - Abstract model/admin for tree-based stuff. 参考地址:https://github.com/fabiocaccamo/django-treenode
- django-auto-prefetch - Automatically prefetch foreign key values as needed. 参考地址:https://github.com/tolomea/django-auto-prefetch
支付处理
与支付处理提供商集成有关的包。
- dj-stripe - 使得 Django + Stripe 更容易。 参考地址:https://github.com/pydanny/dj-stripe/
- django-merchant - 一个 Django 应用,为多个可插拔支付后端提供了辅助工具(2 年未更新)。 参考地址:https://github.com/agiliq/merchant/
- django-oscar-adyen - 这个包提供了与 Adyen 支付网关的集成功能。它意在与电子商务框架 django-oscar 进行无缝对接,但也可以独立于 Oscar 使用。 参考地址:https://github.com/oscaro/django-oscar-adyen/
- django-oscar-paymentexpress - 这个包提供了与 PaymentExpress 支付网关(使用它们的 PX POST API)的集成功能。它意在与电子商务框架 django-oscar 进行无缝对接,但也可以独立于 Oscar 使用(5 年未更新)。 参考地址:https://github.com/django-oscar/django-oscar-paymentexpress/
- django-oscar-paypal - PayPal 集成进 django-oscar。也可以独立于 Oscar 使用。 参考地址:https://github.com/django-oscar/django-oscar-paypal/
- django-paypal - 一个可插拔的 Django 应用,进于集成 PayPal 标准支持和高级支付功能。 参考地址:https://github.com/spookylukey/django-paypal
- django-pinpayments - 可简化使用 Pin 的支付过程的 Django 库(1 年未更新)。 参考地址:https://github.com/rossp/django-pinpayments/
- django-zebra - 表单,组件,模板标签及模板,以使 Stripe + Django 更容易(3 年未更新)。 参考地址:https://github.com/GoodCloud/django-zebra/
- django-payu - A Django app that provides integration between Django and PayU Payment Gateway. 参考地址:https://github.com/MicroPyramid/django-payu
项目管理
- django-timepiece - 一个多用户的 Django 应用,用于跟踪用户在项目上的时间(1 年未更新)。 参考地址:https://github.com/caktus/django-timepiece/
报表
创建报表相关的包。
- django-model-report - 一个集成了 highcharts 的 Django 报表应用。 参考地址:https://github.com/juanpex/django-model-report/
- django-report-builder - Django ORM 的一个用户界面。能构建自定义的查询并显示结果。目标用户是系统管理员及不会编程的终端用户。 参考地址:https://github.com/burke-software/django-report-builder/
- WeasyPrint - WeasyPrint 是 Web 开发人才创建 PDF 文档的智能方案。它能将简单的 HTML 页面转换成精致的统计报表、收据等。 参考地址:https://github.com/Kozea/WeasyPrint
RESTful API
开发 REST API 的包。
- django-nap - 实现对象序列化,RESTful 视图和 RPC 视图的一种极简方式。 参考地址:https://github.com/funkybob/django-nap/
- django-rest-framework - 一个功能强大且灵活的工具集,用它来构建 Web API 很容易。https://github.com/encode/django-rest-framework 参考地址:http://www.django-rest-framework.org/
- django-rest-localflavor - 用于 Django Rest 框架的一些本地化相关序列化器。 参考地址:https://github.com/gilsondev/django-rest-localflavor/
- django-rest-swagger - Django REST 框架的 Swagger 文档生成器。 参考地址:https://github.com/marcgibbons/django-rest-swagger/
- drfdocs - 为使用 Django REST 框架开发的 Web API 提供文档。 参考地址:https://github.com/ekonstantinidis/django-rest-framework-docs
- django-tastypie - 自 2010 年来就能为 Django 应用创建完美的 API。 参考地址:http://tastypieapi.org/
- restless - 一个在 Python 中使用的轻量级 REST 微框架。 参考地址:https://github.com/toastdriven/restless/
- django-cors-headers - 一个用于处理跨源资源共享(CORS) 所需的服务器头的 Django 应用。https://github.com/adamchainz/django-cors-headers If your back-end and front-end are on different servers, you need this. 参考地址:https://github.com/ottoyiu/django-cors-headers
- dj-rest-auth - Authentication for Django Rest Framework. 参考地址:https://github.com/iMerica/dj-rest-auth
- django-rest-knox - Authentication Module for django-rest-auth. 参考地址:https://github.com/jazzband/django-rest-knox
- djoser - REST implementation of Django auth. 参考地址:https://github.com/sunscrapers/djoser
- djaq - An instant remote API to Django models with a powerful query language. 参考地址:https://github.com/paul-wolf/djaq
- django-rest-framework-simplejwt - JSON web tokens for DRF. 参考地址:https://github.com/jazzband/djangorestframework-simplejwt
- django-webpack-loader - Transparently use webpack with Django. 参考地址:https://github.com/django-webpack/django-webpack-loader
- graphene-django - GraphQL for Django. 参考地址:https://github.com/graphql-python/graphene-django
- graphene-django-filter - Advanced filters implementing and/or/not operators in GraphQL for Django. 参考地址:https://github.com/devind-team/graphene-django-filter
- django-ninja - Django Ninja - Fast Django REST framework based on type annotations. 参考地址:https://django-ninja.rest-framework.com/
- django-tastypie - Creating delicious APIs for Django apps since 2010. 参考地址:https://github.com/django-tastypie/django-tastypie
- djangorestframework-recursive - Recursive Serialization for Django REST framework. 参考地址:https://github.com/heywbj/django-rest-framework-recursive/
- apitally - Simple API monitoring, analytics, and request logging for Django REST Framework and Django Ninja. 参考地址:https://github.com/apitally/apitally-py
搜索
为项目提供搜索能力的包。
- django-haystack - Django 中的模块化搜索包。 参考地址:https://github.com/django-haystack/django-haystack
- django-watson - 快速的多数据模式的全文搜索插件。 参考地址:https://github.com/etianen/django-watson/
- djorm-ext-pgfulltext - PostgreSQL 全文搜索与 django orm 整合(1 年未更新)。 参考地址:https://github.com/linuxlewis/djorm-ext-pgfulltext
- djangoql - Advanced search language for Django. 参考地址:https://github.com/ivelum/djangoql
- django-admin-search - Modal filter for django admin. 参考地址:https://github.com/shinneider/django-admin-search
- django-elasticsearch-dsl - Elasticsearch DSL integration for Django. 参考地址:https://github.com/django-es/django-elasticsearch-dsl
安全性
用于改善项目安全性的包。
- django-admin-honeypot - 一个伪装的 Django 管理后台登录界面,用来向管理员发送未授权访问尝试信息。 参考地址:https://github.com/dmpayton/django-admin-honeypot/
- django-axes - 是一种用于记录失败登录尝试的简单方法,即可用于 Django 管理后台,也可用于你的应用系统。 参考地址:https://github.com/django-pci/django-axes/
- django-debreach - 为你的 Django 应用提供 BREACH 防御。 参考地址:https://github.com/lpomfrey/django-debreach/
- django-password-session - 当修改密码后会使所有活跃会话全部失效(Django 1.7+ 中已有此功能)(2 年未更新)。 参考地址:https://github.com/atugushev/django-password-session/
- django-secure - 提醒你通过完成一些简单地任务来提高你的 Django 网站的安全性,该项目已整合入 Django 1.8+,故不再维护(2 年未更新)。 参考地址:https://github.com/carljm/django-secure/
- django-secure-auth - 通过 TOTP, 短信, 代码 & 答案等进行安全认证。能根据 IP 和 captcha 进行登录保护。 参考地址:https://github.com/gotlium/django-secure-auth
- django-security - 一组数据模型,视图、中间件和表单,用来加固 Django 项目的安全性。 参考地址:https://github.com/sdelements/django-security/
- django-sslify - 在你的 Django 网站上强制使用 SSL。 参考地址:https://github.com/rdegges/django-sslify/
- django-stronghold - Stronghold 是一个中间件,用来默认将你的所有视图导向 login required。 参考地址:https://github.com/mgrouchy/django-stronghold/
- django-sudo - Sudo 模式是你的最敏感页面的一个额外安全层。这是 Django 中的 GitHub Sudo 模式的一种实现。 参考地址:https://github.com/mattrobenolt/django-sudo
- django-csp - Adds Content-Security-Policy headers to Django. 参考地址:https://github.com/mozilla/django-csp
- django-feature-policy - Set the draft security HTTP header
Feature-Policyon a Django app. 参考地址:https://github.com/adamchainz/django-permissions-policy - django-protected-media - Manages media that are considered sensitive in a protected fashion. 参考地址:https://github.com/cobusc/django-protected-media
- DJ Checkup - Runs several checks on your deployed Django site to check for common security mistakes. 参考地址:https://djcheckup.com
- django-mfa - Django app for providing MFA (Multi-Factor Authentication). 参考地址:https://github.com/MicroPyramid/django-mfa
- django-user-sessions - Extend Django sessions with a foreign key back to the user, allowing enumerating all user's sessions. 参考地址:https://github.com/Bouke/django-user-sessions
SEO
*帮助改善项目 SEO ( 搜索引擎优化 ) 的包。
- django-meta - 一个可插拔的应用,Django 开发人员可以用它来快速地将 meta 标签和 OpenGraph, Twitter, 和 Google Plus 属性添加到他们的 HTML 页面中。 参考地址:https://github.com/nephila/django-meta/
- django-robots - 一个用于管理 robots.txt 文件的应用,它遵循 robots 扩展协议。 参考地址:https://github.com/jazzband/django-robots
- django-seo2 - 提供了一组工具来管理 Django 站点的搜索引擎优化 (SEO) 元数据。 参考地址:https://github.com/romansalin/django-seo2/
- django-check-seo - Check SEO of pages. 参考地址:https://github.com/kapt-labs/django-check-seo
设置
用来管理项目的配置的包。
- django-configurations - 一个依据广为接受的编程模式来组织 Django 项目配置信息的辅助包。 参考地址:https://github.com/jazzband/django-configurations
- django-constance - 一个能将动态设置信息存储在可插拔后端(内置 Redis 和 Django 数据模型后端)的 Django 应用,并已与 Django 后台管理应用整合。 参考地址:https://github.com/jazzband/django-constance
- python-decouple - 严格地将配置与代码分离。 参考地址:https://github.com/henriquebastos/python-decouple/
- django-environ - 能让你使用 12factor 的环境变量来配置你的 Django 应用。 参考地址:https://github.com/joke2k/django-environ
- django-split-settings - 将 Django 设置信息组织到多个文件和目录中。能容易地实现对设置的覆盖和修改。能使用通配符和可选的设置文件。 参考地址:https://github.com/sobolevn/django-split-settings
- django-dynamic-preferences - Dynamic global and instance settings for your django project. 参考地址:https://github.com/EliotBerriot/django-dynamic-preferences
存储
扩展了现有存储后端的功能或提供新存储后端的相关包。
- django-dynamic-preferences - 为你的 Django 项目实现动态、全局的实例设置。 参考地址:https://github.com/EliotBerriot/django-dynamic-preferences
- django-selectel-storage - 使用该应用能容易地将媒体或静态文件保存到 Selectel 云存储上。 参考地址:https://github.com/marazmiki/django-selectel-storage
- django-storages, bitbucket forks: 268 - django-storages 是一个有关自定义 Django 存储后端的列表(4 年未更新)。 参考地址:https://bitbucket.org/david/django-storages/src/
- django-queued-storage - 为 Django 存储后端提供了代理功能,从而使你能像在本地一样上传文件,但最终是保存在远程。 参考地址:https://github.com/jazzband/django-queued-storage
- django-webdav-storage - Django 存储后端,能将文件存储在自定义的 WebDAV 存储中。 参考地址:https://github.com/marazmiki/django-webdav-storage
- django-cloudinary-storage - Django package that provides Cloudinary storages for both media and static files as well as management commands for removing unnecessary files. 参考地址:https://github.com/klis87/django-cloudinary-storage
标签
- django-taggit - Django 的简单标签应用。 参考地址:https://github.com/alex/django-taggit/
- django-taggit-helpers - django-taggit 标签的 Django 后台管理辅助类(1 年未更新)。 参考地址:https://github.com/mfcovington/django-taggit-helpers
任务队列
能更容易使用任务/后台队队的包。
- django-celery - Celery 与 Django 集成。(Celery 3.1+ 已不再需要该包) 参考地址:https://github.com/celery/django-celery
- django-q - 一个 Django 多进程任务队列。 参考地址:https://github.com/Koed00/django-q
- django-q2 - A multiprocessing distributed task queue for Django based on Django-Q. 参考地址:https://github.com/django-q2/django-q2
- django-rq - 在你的 Django 项目监测和使用 RQ 的最简单方法。 参考地址:https://github.com/ui/django-rq
- django-rq - Integration for Redis Queue. The easiest way to monitor and use RQ in your Django projects. 参考地址:https://github.com/rq/django-rq
- huey - 一个 Python 中的小型多线程任务队列。 参考地址:https://github.com/coleifer/huey/
- beatserver - A periodic task scheduler for Django. 参考地址:https://github.com/rajasimon/beatserver
- django-redis - Full-featured Redis cache backend for Django. 参考地址:https://github.com/jazzband/django-redis
- celery - Robust and broker-agnostic task queues for bigger, performance-focused projects. 参考地址:https://github.com/celery/celery
- flower - Flower is a web-based tool for monitoring and administrating Celery clusters. 参考地址:https://github.com/mher/flower
- django-celery-beat - A periodic task scheduler with database configured by Django's Admin Panel. 参考地址:https://github.com/celery/django-celery-beat
- celery-exporter - Prometheus & Grafana monitoring of Celery tasks. 参考地址:https://github.com/danihodovic/celery-exporter
- django-dramatiq - Task processing library with a focus on simplicity, reliability, and performance. 参考地址:https://github.com/Bogdanp/django_dramatiq
- django-celery - Celery Integration for Django. (no longer required for Celery 3.1 and up) 参考地址:http://celery.github.io/django-celery/
- huey - A little multi-threaded task queue for python. 参考地址:https://github.com/coleifer/huey/
- django-celery-results - Celery result backend with Django. 参考地址:https://github.com/celery/django-celery-results
- django-tasks - A reference implementation and backport of background workers and tasks in Django, based on DEP 14. 参考地址:https://github.com/realOrangeOne/django-tasks
图片处理
用于处理,修改或转换图片的包。
- django-cleanup - Zero configuration file/image removal for local and remote files. 参考地址:https://github.com/un1t/django-cleanup
- django-imagekit - Django app for processing images for thumbnail, black-and-white and sizes. 参考地址:https://github.com/matthewwithanm/django-imagekit
- django-pictures - Responsive cross-browser image library using modern codes like AVIF & WebP. 参考地址:https://github.com/codingjoe/django-pictures
- django-image-cropping - 一个协助应用,能很容易地为后台或前端非破坏性的剪切任意大图片。 参考地址:https://github.com/jonasundderwolf/django-image-cropping
- 缩略图
- django-stdimage - 用于 Django 的缩略图和图像工具。 参考地址:https://github.com/codingjoe/django-stdimage/
- django-versatileimagefield - Django ImageField 的简单替代器,它提供了一个灵活易用、易扩展的接口,能根据数据项中设置的图片快速地创建新的图片。 参考地址:https://github.com/WGBH/django-versatileimagefield/
- easy-thumbnails - 一个易用的 Django 缩略图应用。 参考地址:https://github.com/SmileyChris/easy-thumbnails
- sorl-thumbnail - 用于 Django 的缩略图应用。 参考地址:https://github.com/mariocesar/sorl-thumbnail/
翻译
有助于翻译工程项目的包。
- django-hvad - 可在 django 中进行轻松地翻译,使用通常的 ORM。能很容易集成到现存的项目和应用中。能从 django-multilingual-ng 很容易地转换过来。 参考地址:https://github.com/KristianOellegaard/django-hvad
- django-klingon - 意在能 django 数据模型的翻译更加容易(2 年未更新)。 参考地址:https://github.com/angvp/django-klingon/
- django-modeltranslation - 将现有 Django 数据模型中的动态数据翻译成任何的语言,而无需修改原来的数据模型类。 参考地址:https://github.com/deschler/django-modeltranslation/
- django-parler - 简单的 Django 数据模型翻译工具,没有奇技淫巧。 参考地址:https://github.com/edoburu/django-parler
- django-rosetta - Rosetta 是一个 ango 应用,它使你的 Django 项目的翻译过程更加容易。 参考地址:https://github.com/mbi/django-rosetta/
Web 前端集成
- django-angular - 使 AngularJS 与 Django 整合。 参考地址:https://github.com/jrief/django-angular/
- django-bower - 使在 Django 项目中使用 bower 更加容易。 参考地址:https://github.com/nvbn/django-bower
- django-js-reverse - 一个 Django 应用,实现 Javascript url 处理。 参考地址:https://github.com/ierror/django-js-reverse
- djangular - 一个可复用的 Django app,为 Angular.js 提供了更好的集成及工具。(1 年未更新) 参考地址:https://github.com/appliedsec/djangular/
所见即所得编辑器
方便文本翻译的包。
- django-ckeditor - Django 管理界面与 CKEditor 集成。 参考地址:https://github.com/django-ckeditor/django-ckeditor/
- django-summernote - Summernote 是一个简单的所见即所得编辑器。django-summernote 能将 Summernote 方便地嵌入到 Django 中。支持 mixins 和 widgets。 参考地址:https://github.com/summernote/django-summernote/
- django-tinymce - TinyMCE 与 Django 集成。 参考地址:https://github.com/aljosa/django-tinymce/
- django-wysiwyg - 一个 Django 应用,实现将 Django 文本框变成富文本编辑器。可用作模板标签,也可用于表单组件。 参考地址:https://github.com/pydanny/django-wysiwyg/
- django-redactoreditor - This package helps integrate the Redactor Javascript WYSIWYG-editor in Django. 参考地址:https://github.com/mazelife/django-redactoreditor/
Wiki 应用
- django-wiki - 一个 wiki 系统,功能复杂,集成容易,界面优秀。能将你的知识配以样式进行存储:使用 django 数据模型。 参考地址:https://github.com/django-wiki/django-wiki
- waliki - 一个可扩展的 Django wiki 应用,使用 Git 后端。 参考地址:https://github.com/mgaitan/waliki
工作流
用于过程或业务任务管理的包。
- django-flows - django-flows 能保存逻辑复杂流中的状态和位置,允许基于每个用户的一系列动作进行可能的分支和复杂路径分离。(1 年未更新) 参考地址:https://github.com/carlio/django-flows/
- django-fsm - Django 对有限状态机的友好支持。 参考地址:https://github.com/kmmbvnr/django-fsm/
- django-river - Django 状态机和工作流库,提供即时修改功能。 参考地址:https://github.com/javrasya/django-river/
- django-states - django 数据模型的状态机。 参考地址:https://github.com/vikingco/django-states2/
- django-viewflow - Django 中的可复用工作流库。 参考地址:https://github.com/viewflow/viewflow
- django-workflows, bitbucket forks:1 - django-workflows 为 Django 提供了一个通用的工作流引擎。 参考地址:https://bitbucket.org/jerzyk/django-workflows/
- django-xworkflows - 一个将 xworkflows 整合到 django 数据模型中的库。 参考地址:https://github.com/rbarrois/django_xworkflows/
认证Authentication
增强或扩展了 Django 认证方法的相关包。
- django-allauth - 一套完整的 Django 应用,解决认证,注册,帐户管理及第三方(社交)帐户认证。 参考地址:https://github.com/pennersr/django-allauth/
- django-organizations - Django 项目的多用户帐户功能。 参考地址:https://github.com/bennylope/django-organizations
- django-otp, bitbucket forks:39 - 一个可插拔框架,用于为 Django 添加使用一次性密码的双因子认证。 参考地址:https://bitbucket.org/psagers/django-otp/
- django-registration - 一个简单的 Django 用户注册应用,意在使用户注册过程尽可以简单。 参考地址:https://github.com/macropin/django-registration/
- django-rest-auth - 该应用将所有与注册和验证相关的功能都以 CBV (Class Base View) 和 REST (JSON) 的形式提供,从而使用它来构建 Django SPA (Single Page App) 或移动应用是极其方便的。一组 REST API,用于处理用户注册和认证任务。 参考地址:https://github.com/Tivix/django-rest-auth
- django-two-factor-auth - 用户友好的双因子认证。 参考地址:https://github.com/Bouke/django-two-factor-auth/
- django-userena - Django 的帐户应用,使用极其简单。 参考地址:https://github.com/bread-and-pepper/django-userena/
- python-social-auth - Python Social Auth 是一个很容易设置的社交认证/注册机制,它支持多个框架和认证提供商。 参考地址:https://github.com/omab/python-social-auth/
- djoser - REST implementation of Django authentication system. 参考地址:https://github.com/sunscrapers/djoser
- dj-rest-auth - Drop-in API endpoints for handling authentication securely in Django Rest Framework. Works especially well with SPAs (e.g React, Vue, Angular), and Mobile applications. 参考地址:https://github.com/jazzband/dj-rest-auth
- django-use-email-as-username - A Django app to use email as username for user authentication. 参考地址:https://github.com/jmfederico/django-use-email-as-username
授权Authorization/Permissions
与授权基础设施和权限相关的包。
- django-guardian - 实现对象级别的权限,来用作授权后端。 参考地址:https://github.com/django-guardian/django-guardian
- django-oauth-toolkit - Django 用来集成 OAuth2 的好东西。 参考地址:https://github.com/evonove/django-oauth-toolkit
- django-oauth2-provider - 为你的应用提供 OAuth2 访问。 参考地址:https://github.com/caffeinehit/django-oauth2-provider
- django-oml - Object Moderation Layer, mixin for models that allows you moderate several content types.(2 年未更新) 参考地址:https://github.com/angvp/django-oml/
- django-permission - 一个增强的权限库,它能使用 *基于逻辑的权限系统- 来处理 Django 中的复杂权限问题。 参考地址:https://github.com/lambdalisue/django-permission/
- django-rules - 一个微型但强大的应用,为 Django 提供了对象级别的权限,它无需使用数据。其核心是一个用于构建基于规则的系统的通用框架,类似决策树。它也可以以独立库的形式使用在其它上下文和框架中。 参考地址:https://github.com/dfunckt/django-rules
- django-role-permissions - Django app for role-based permissions management. 参考地址:https://github.com/vintasoftware/django-role-permissions
样板
有关可快速开启一个新项目的包。
- edge - 一个非常现代化非常先进的 Django 项目骨架。 参考地址:https://github.com/arocks/edge
- cookiecutter - 一个可根据 cookiecutters (项目模板)创建新项目的命令行工具。 参考地址:https://github.com/audreyr/cookiecutter/
- django-hackathon-starter - 一个 Django Web 应用的样板,包含多种社交认证方法和多个流行的 API 示例(1 年未更新)。 参考地址:https://github.com/DrkSephy/django-hackathon-starter
- edge - A Django project skeleton that is modern and cutting edge. 参考地址:https://github.com/arocks/edge
- demo-allauth-bootstrap - Django sample app with users including social auth via Django-AllAuth. 参考地址:https://github.com/aellerton/demo-allauth-bootstrap
- wemake-django-template - Bleeding edge Django template focused on code quality and security. 参考地址:https://github.com/wemake-services/wemake-django-template
- falco - Project Starter, Fast Prototyping and Guides for Django Developers. 参考地址:https://github.com/Tobi-De/falco
- sidewinder - A Django starter kit that focuses on good defaults, developer experience, and deployment 参考地址:https://github.com/stribny/sidewinder/
- django-structurator - A CLI tool that helps you create Django projects and apps with a clean, scalable architecture—without boilerplate or repetitive setup. 参考地址:https://github.com/maulik-0207/django-structurator
CRM
Packages that help to manage business relationships of the organization.
- Django-CRM - Customer relationship management dashboard where you can manage customers at sales of the organization. It Provides to manage leads information and its activity, track issues from leads, manage contacts to send emails of leads and accounts. 参考地址:https://github.com/MicroPyramid/Django-CRM
- Django-CRM-Admin - Analytical CRM with Tasks management, Email marketing and many more. Django CRM software app is built for individual use by businesses of any size or freelancers and is designed to provide easy customization and quick development. 参考地址:https://github.com/DjangoCRM/django-crm
仪表盘
用于创建信息仪表盘以可视化数据的包。
- django-dashing - 一个可定制,模块化的仪表盘应用框架,用以在你的 Django 项目中可视化有兴趣的数据。灵感来自那个相当优秀的仪表盘框架 Dashing。 参考地址:https://github.com/talpor/django-dashing/
数据科学
使得使用大数据更方便的包。
- rest-pandas - 通过 Django REST 框架架设你的 Pandas 数据帧服务,以在客户端(如 d3.js)可视化和离线分析(如 Excel)中使用。 参考地址:https://github.com/wq/django-rest-pandas/
数据库
有于支持第三方数据库或添加数据库特定功能的包。
- dj-database-url - 在你的 Django 应用中使用数据库 URL。 参考地址:https://github.com/kennethreitz/dj-database-url/
- django-mysql - 一个 Django 扩展,以使用 MySQL/MariaDB。 参考地址:https://github.com/adamchainz/django-mysql/
- django-postgres-fuzzycount - 在 Django 中使用快速 / 模糊的 PostgreSQL count 操作。 参考地址:https://github.com/stephenmcd/django-postgres-fuzzycount
- django-postgrespool - 用于 Django 的 Postgres 连接池,基于 SQLAlchemy。 参考地址:https://github.com/kennethreitz/django-postgrespool/
- djongo - Django and MongoDB database connector. 参考地址:https://github.com/nesdis/djongo/
测试
有助于测试代码或创建测试数据的包。
- factory_boy - factory_boy is a fixtures replacement based on thoughtbot's factory_bot。 参考地址:https://github.com/FactoryBoy/factory_boy
- behave-django - 将行为驱动开发 (Behave BDD) 集成到 Django 中。 参考地址:https://github.com/behave/behave-django
- django-behave - Behave BDD 模块的 TestRunner。 参考地址:https://github.com/django-behave/django-behave/
- django-dynamic-fixture - 可为测试目的动态地创建数据模拟实例。 参考地址:https://github.com/paulocheque/django-dynamic-fixture
- django-faker - 使用 Fake-factory 来创建测试数据(2 年未更新)。 参考地址:https://github.com/joke2k/django-faker/
- django-fakery - An easy-to-use implementation of Creation Methods for Django, backed by Faker. 参考地址:https://github.com/fcurella/django-fakery
- django-jenkins - 在 Django 中即插即用 jenkins 进行持续集成。 参考地址:https://github.com/kmmbvnr/django-jenkins
- django-nose - 使用 nose 进行测试。 参考地址:https://github.com/django-nose/django-nose/
- django-selenium - 支持用 Selenium 测试。 参考地址:https://github.com/dragoon/django-selenium/
- django-shotgun - 测试整个 Django 网站(3 年未更新)。 参考地址:https://github.com/stephenmcd/django-shotgun
- django-slowtests - 定位出最慢的测试。 参考地址:https://github.com/realpython/django-slow-tests
- django-test-plus - 增强了 Django 默认的 TestCase 的功能,能极大减少样板代码。 参考地址:https://github.com/revsys/django-test-plus
- factory_boy - Python test fixtures 一个替代器。 参考地址:https://github.com/rbarrois/factory_boy/
- hitchtest - 与 Django 高度集成的一个测试框架。 参考地址:http://hitchtest.com/
- lettuce-django-terrain - 用于 Django 项目中 lettuce 的 Terrain 文件(5 年未更新,但 lettuce 网站上的代码框显示很赞)。 参考地址:https://github.com/stringfellow/lettuce-django-terrain/
- mixer - 一个用来产生 Django 或 SQLAlchemy 数据模型实例的应用。能快速便捷地创建测试数据。 参考地址:https://github.com/klen/mixer
- mock-django - 一个简单的库,能为诸如 ORM 等一些 Django 行为设置模拟信息(1 年未更新)。 参考地址:https://github.com/dcramer/mock-django
- model-mommy - 为进行更好地测试提供了智能 fixtures。 参考地址:https://github.com/vandersonmota/model_mommy/
- pytest-django - pytest 的一个 Django 插件。https://github.com/pytest-dev/pytest-django Use pytest features in Django. 参考地址:https://github.com/pytest-dev/pytest-django
- splinter - Web 应用的一个 Python 测试框架。 参考地址:https://github.com/cobrateam/splinter/
- model-bakery - Smart way to create fixtures for testing in Django 参考地址:https://github.com/model-bakers/model_bakery/
- django-eraserhead - Django package that provides hints to optimize database usage by deferring unused fields (and more). 参考地址:https://github.com/dizballanze/django-eraserhead
- django-debug-toolbar - Configurable panels to debug requests/responses. 参考地址:https://github.com/django-commons/django-debug-toolbar/
- django-test-migrations - Test django schema and data migrations, including migrations' order. 参考地址:https://github.com/wemake-services/django-test-migrations
- django-waffle - A feature flipper for Django. 参考地址:https://github.com/jazzband/django-waffle
- drf-openapi-tester - Django test utility for validating Swagger 2.0 and OpenAPI 3.0 documentation. 参考地址:https://github.com/snok/drf-openapi-tester
- django-google-optimize - Django application designed to make running server side Google Optimize A/B tests easy. 参考地址:https://github.com/adinhodovic/django-google-optimize
- django-pattern-library - Pattern library generator for Django templates, to help testing of UI components. 参考地址:https://github.com/torchbox/django-pattern-library
- storybook-django - Develop Django UI components in isolation, with Storybook. 参考地址:https://github.com/torchbox/storybook-django
调试
有助于查找 Bug 的包。
- django-debug-toolbar - 可配置的一组面板,可显示有关当前请求/应答中的许多调试信息。 参考地址:https://github.com/django-debug-toolbar/django-debug-toolbar/
- django-devserver - Django 内置 runserver 的简单替代者(1 年未更新)。 参考地址:https://github.com/dcramer/django-devserver/
- django-querycount - 一个中间件,用于将数据库查询数输出来 runserver 命令行中。 参考地址:https://github.com/bradmontgomery/django-querycount/
- django-silk - Django 中非常易用的剖析工具。 参考地址:https://github.com/django-silk/silk
- nplusone - 自动检测 Django(及其它 ORM)中的 n+1 查询问题。 参考地址:https://github.com/jmcarp/nplusone/
- sentry - 一个现代的错误记录和聚合平台。 参考地址:https://github.com/getsentry/sentry
- django-web-profiler - A django profiling tool which logs, stores debug toolbar statistics and also a set of URL's statistics using a management command. 参考地址:https://github.com/MicroPyramid/django-web-profiler
有助于管理邮件发送的包。
- django-celery-email - 一个 Django 邮件后端,使用 celery 任务来发送邮件。 参考地址:https://github.com/pmclanahan/django-celery-email/
- django-db-mailer - 一个 Django 模块,能很容易地发送使用 Django 模板 的邮件/短信/push/tss 信息,而模板存于数据库中并通过 Django 管理后面管理。 参考地址:https://github.com/LPgenerator/django-db-mailer/
- django-drip - Django Admin based management for drip email campaigns(2 年未更新)。 参考地址:https://github.com/zapier/django-drip
- django-email-extras - 多种邮件工具: PGP 加密, multipart 模板, 浏览器测试后端等。 参考地址:https://github.com/stephenmcd/django-email-extras
- django-mailgun - 使用 Mailgun 的 Django 邮件后端。 参考地址:https://github.com/BradWhittington/django-mailgun/
- django-post_office - 一个用于发送和管理邮件的简单 Django 应用,支持模板,并能很容易与任务队伍集成。 参考地址:https://github.com/ui/django-post_office/
- django-ses - 使用 Amazon Simple Email Service 的 Django 邮件后端。 参考地址:https://github.com/django-ses/django-ses
- django-spoolgore - 使用 Spoolgore daemon 的 django 邮件后端(3 年未更新)。 参考地址:https://github.com/20tab/django-spoolgore
- django-templated-email - 一个 Django 模板,能很容易地发送模板型邮件,可以使用 django 模板,或事务型邮件提供商(如 mailchimp, silverpop 等)。 参考地址:https://github.com/BradWhittington/django-templated-email
- django-yubin - django-mailer2 + django-mailviews,及其它功能。 参考地址:https://github.com/APSL/django-yubin
- djmail - 一个简单且非阻塞式的 django 邮件中间件。 参考地址:https://github.com/bameda/djmail
- djrill - 一个使用 MailChimp 的 Mandrill 事务型邮件邮件的邮件后端。 参考地址:https://github.com/brack3t/Djrill/
- django-email-gateway - A django package which act as a gateway to send emails from SES. Receiving its' corresponding email replies, parsing reply email content with amazon SES. 参考地址:https://github.com/MicroPyramid/django-email-gateway
LLMs
*Packages that help you with integrating LLMs in your applications easily
- django-llm - An app for Django to aid development of large language model (LLM) workflows. 参考地址:https://github.com/mikrl/django-llm
- django-ai-assistant - Combine the power of LLMs with Django's productivity to build intelligent applications. 参考地址:https://github.com/vintasoftware/django-ai-assistant
多租户-Multitenancy
Packages that allow a single install of Django to serve multiple organizations.
- django-tenant-schemas - Tenant support for Django using PostgreSQL schemas. 参考地址:https://github.com/bernardopires/django-tenant-schemas/
- django-tenants - An Active fork of django-tenant-schemas which provides more features and enhancements. 参考地址:https://github.com/django-tenants/django-tenants
- tenant-schemas-celery - Tenant Aware Celery App to cooperate with multi-tenancy provided by django-tenant-schemas and django-tenants packages. 参考地址:https://github.com/maciej-gol/tenant-schemas-celery/
Thumbnail
Packages that help generate thumbnails.
- django-stdimage - Thumbnails and image utils for Django. 参考地址:https://github.com/codingjoe/django-stdimage/
- django-versatileimagefield - A drop-in replacement for django's ImageField that provides a flexible, intuitive and easily-extensible interface for quickly creating new images from the one assigned to the field. 参考地址:https://github.com/respondcreate/django-versatileimagefield/
- easy-thumbnails - Easy thumbnails for Django. 参考地址:https://github.com/SmileyChris/easy-thumbnails
- sorl-thumbnail - Thumbnails for Django. 参考地址:https://github.com/jazzband/sorl-thumbnail/
Machine Learning
Some projects related to machine learning and AI
- moviegeek - A django website used in the book Practical Recommender Systems to show how recommender systems work, and how you can implement them 参考地址:https://github.com/practical-recommender-systems/moviegeek
Async
- channels - Async support for Django. 参考地址:https://github.com/django/channels/
- starlette - ASGI framework. 参考地址:https://github.com/encode/starlette
Configuration
- confidential - Manage configs and secrets (with CLI support). 参考地址:https://github.com/candidco/confidential
- django-environ - Environment variables. 参考地址:https://github.com/joke2k/django-environ
- django-split-settings - Organize multiple settings files. 参考地址:https://github.com/wemake-services/django-split-settings
- django-constance - A Django app for storing dynamic settings in pluggable backends (Redis and Django model backend built in) with an integration with the Django admin app. 参考地址:https://github.com/jazzband/django-constance
- django-configurations - eases Django project configuration by relying on the composability of Python classes and following principles of the twelve-factor app. 参考地址:https://github.com/jazzband/django-configurations
- dynaconf - Dynaconf loads django settings from multiple sources (multiple file formats, env vars, redis, vault, etcd), manages secrets, and allows for different merging strategies all following the twelve-factor app. 参考地址:https://www.dynaconf.com/django/
- django-extra-settings - Config and manage typed extra settings using just the django admin. 参考地址:https://github.com/fabiocaccamo/django-extra-settings
- django-removals - Detect deprecated settings variables via convenient system checks 参考地址:https://github.com/ambient-innovation/django-removals/
- environs - Simplified environment variable parsing that comes with a Django helper that installs additional packages. 参考地址:https://github.com/sloria/environs
- django-classy-settings - Class-based settings to keep your environments in order, with easy access to typed environment variables. 参考地址:https://github.com/funkybob/django-classy-settings
- django-content-settings - Easily create and manage editable typed variables directly from the Django admin panel. 参考地址:https://django-content-settings.readthedocs.io/en/latest/
Editors
- django-markdownx - Comprehensive Markdown plugin built for Django. 参考地址:https://github.com/neutronX/django-markdownx
- django-markdown-editor - Awesome Django Markdown Editor, supported for Bootstrap & Semantic-UI. 参考地址:https://github.com/agusmakmun/django-markdown-editor
- django-business-logic - Visual DSL framework for Django. 参考地址:https://github.com/dgk/django-business-logic
- django-summernote - Summernote is a simple WYSIWYG editor. 参考地址:https://github.com/lqez/django-summernote
- django-tinymce - TinyMCE integration for Django. 参考地址:https://github.com/jazzband/django-tinymce
- django-prose - A lightweight editor for content creation. 参考地址:https://github.com/withlogicco/django-prose
- django-ace - ACE integration for Django. 参考地址:https://github.com/django-ace/django-ace
Full-stack frameworks
- Django-Bridge - The simple way to build React frontends for Django applications. 参考地址:https://github.com/django-bridge/django-bridge
- ReactPy - It's React, but in Python. Insert dynamically rendered Python into Django templates using the ReactPy-Django module. 参考地址:https://github.com/reactive-python/reactpy
- Reactor - Phoenix LiveView, but for Django. 参考地址:https://github.com/edelvalle/reactor/
- Sockpuppet - Build reactive applications with the Django tooling you already know and love. 参考地址:https://sockpuppet.argpar.se/
- Unicorn - A reactive component framework that progressively enhances a normal Django view, makes AJAX calls in the background, and dynamically updates the DOM. 参考地址:https://www.django-unicorn.com/
General
- django-data-browser - Interactive, user-friendly database explorer. 参考地址:https://github.com/tolomea/django-data-browser
- django-filter - Powerful filters based on Django QuerySets. 参考地址:https://github.com/carltongibson/django-filter
- django-sql-explorer - Share data via SQL queries. 参考地址:https://github.com/explorerhq/sql-explorer
- django-tables2 - HTML tables with pagination/sorting. 参考地址:https://github.com/jieter/django-tables2
- django-maintenance-mode - Shows a 503 error page when maintenance-mode is on. 参考地址:https://github.com/fabiocaccamo/django-maintenance-mode
- django-freeze - Convert your dynamic django site to a static one with one line of code. 参考地址:https://github.com/fabiocaccamo/django-freeze
- django-nh3 - Django integration with for nh3 and is an alternative for django-bleach. 参考地址:https://github.com/marksweb/django-nh3
- Weblate - Weblate is a copylefted libre software web-based continuous localization system, used by over 2500 libre projects and companies in more than 165 countries. 参考地址:https://github.com/WeblateOrg/weblate
- Django-Classy-Doc - Document your own code in the style of CCBV and CDRF. 参考地址:https://github.com/nanuxbe/django-classy-doc
- iommi - Toolkit for development of CRUD applications without writing HTML or JavaScript. 参考地址:https://github.com/iommirocks/iommi
Internationalisation (i18n)
- django-localflavor - A collection of functionality that is useful for particular countries or cultures. Previously a part of the Django core. 参考地址:https://github.com/django/django-localflavor
- django-modeltrans - Translate Django model fields in a JSONField. 参考地址:https://github.com/zostera/django-modeltrans
- django-modeltranslations - Translates Django models using a registration approach. 参考地址:https://github.com/deschler/django-modeltranslation
- django-rosetta - Rosetta provides a UI to read and write your project's gettext catalogs within the Django Admin. 参考地址:https://github.com/mbi/django-rosetta
Logging
- django-guid - Inject a GUID (Correlation-ID) into every log message in a Django request. 参考地址:https://github.com/snok/django-guid
- DRF-API-Logger - An API Logger for your Django Rest Framework project. 参考地址:https://github.com/vishalanandl177/DRF-API-Logger
Monitoring
- django-prometheus - Export Django monitoring metrics to Prometheus. 参考地址:https://github.com/korfuri/django-prometheus
- django-mixin - Monitoring mixin for Django-prometheus. A set of Grafana dashboards and Prometheus rules for Django. 参考地址:https://github.com/adinhodovic/django-mixin
Mailing
- django-pony-express - Class-based emails including a test suite for Django. 参考地址:https://github.com/ambient-innovation/django-pony-express
- django-anymail - Django email backends and webhooks for Amazon SES, Brevo (Sendinblue), MailerSend, Mailgun, Mailjet, Postmark, Postal, Resend, SendGrid, SparkPost, Unisender Go and more. 参考地址:https://github.com/anymail/django-anymail
Performance
- django-perf-rec - Keep detailed records of the performance of your Django code. 参考地址:https://cur.at/GHUO6cn?m=web
- New Relic - Time middleware, views, and SQL queries. 参考地址:https://newrelic.com/python/django
- Scout - Time middleware, template rendering, and SQL queries with automatic N+1 detection. 参考地址:https://scoutapm.com/docs/python/django
- django-query-profiler - Django query profiler to help resolve N+1 queries. 参考地址:https://github.com/django-query-profiler/django-query-profiler
- django-silk - Live profiling and inspection of HTTP requests and database queries. 参考地址:https://github.com/jazzband/django-silk
- py-spy - Sampling profiler for Python programs. 参考地址:https://github.com/benfred/py-spy
- pyinstrument - Call stack profiler for Python, Django, Flask, FastAPI. 参考地址:https://github.com/joerick/pyinstrument
- django-zeal - Detect N+1 queries with user-friendly error messages 参考地址:https://github.com/taobojlen/django-zeal
Static Assets
- django-storages - A single library to support multiple custom storage backends for Django. 参考地址:https://github.com/jschneier/django-storages
- django-compressor - Compress JavaScript/CSS into a single cached file. 参考地址:https://github.com/django-compressor/django-compressor/
- easy-thumbnails - Image thumbnails for Django. 参考地址:https://github.com/SmileyChris/easy-thumbnails
- whitenoise - Simplified static file serving for Python websites. 参考地址:https://github.com/evansd/whitenoise
Content Management Systems
- wagtail - Popular Django content management system (CMS). See awesome-wagtail too. 参考地址:https://github.com/wagtail/wagtail
- mezzanine - CMS framework. 参考地址:https://github.com/stephenmcd/mezzanine
- django-cms - CMS for Django. 参考地址:https://github.com/django-cms/django-cms
- puput - Blog app features with Wagtail. 参考地址:https://github.com/APSL/puput
- feincms - One of the most advanced Content Management Systems built on Django. 参考地址:https://github.com/feincms/feincms
- indico - A feature-rich event management system, made @ CERN. 参考地址:https://github.com/indico/indico
Hit Count
- django-hitcount - Django-Hitcount allows you to track the number of hits/views for a particular object. 参考地址:https://github.com/thornomad/django-hitcount
ECommerce
- saleor - GraphQL-based Django E-Commerce Platform. http://getsaleor.com - An e-commerce storefront for Python and Django. 参考地址:https://github.com/saleor/saleor
- django-shop - Django-based shop system. http://www.django-shop.org 参考地址:https://github.com/awesto/django-shop
- shuup - Django E-Commerce Platform. 参考地址:https://github.com/shuup/shuup
- django-oscar - Domain-driven e-commerce for Django. 参考地址:https://github.com/django-oscar/django-oscar
- Cartridge - Ecommerce for Django/Mezzanine. 参考地址:https://github.com/stephenmcd/cartridge
- django-changuito - A cart app for your django site, an updated fork of django-cart. 参考地址:https://github.com/angvp/django-changuito/
- Lighting Fas Shop - Lighting Fas Shop is Ecommerce made with Django. 参考地址:http://www.getlfs.com/
- Satchless - Satchless brings e-commerce and Python together. 参考地址:http://satchless.com
- Satchmo - Satchmo is an eCommerce framework created in Django which allows you to develop unique and robust online stores. 参考地址:https://bitbucket.org/chris1610/satchmo/src/
Blog 管理
用于创建和管理 blog 应用的包。
- django-blog-zinnia - 一个简单而且强大,又非常容易扩展的应用,用于管理 Django 网站中的 blog。 参考地址:https://github.com/Fantomas42/django-blog-zinnia
- puput - 一个用 Wagtail 实现的 Django blog 应用。 参考地址:https://github.com/APSL/puput
- django-blog-it - complete customizable and ready to use blog with one click installer. 参考地址:https://github.com/MicroPyramid/django-blog-it
其他包
- django-activeurl - 使在 django 更容易使用活跃 URL 高亮。(2 年未更新) 参考地址:https://github.com/hellysmile/django-activeurl
- django-activity-stream - 基于站点上的行为创建通用的活动流。用户可关注任何行为者的个人活动流。 参考地址:https://github.com/justquick/django-activity-stream/
- django-adminactions - 一组非常有用的行为集,可用于 django.contrib.admin.ModelAdmin 和 django.contrib.admin.AdminSite。 参考地址:https://github.com/saxix/django-adminactions/
- django-autoadmin - 为 Django 项目自动创建管理员用户。(2 年未更新) 参考地址:https://github.com/rosarior/django-autoadmin/
- django-braces - 可复用的,通用的 Django mixins。 参考地址:https://github.com/brack3t/django-braces/
- django-calendarium - 一个可复用的应用,用于在模板中管理和显示日历。 参考地址:https://github.com/bitmazk/django-calendarium/
- django-changuito - django 网站的购物篮应用,django-cart 的分支版本。 参考地址:https://github.com/angvp/django-changuito/
- django-dfp - 一个应用,提供了用于获取 Google DFP 广告的标签。(2 年未更新) 参考地址:https://github.com/praekelt/django-dfp
- django-dynamic-scraper - 能通过 Django 管理界面创建 Scrapy 抓取器。 参考地址:https://github.com/holgerd77/django-dynamic-scraper/
- django-extensions - 该仓库收集了有关 Django 框架的全局自定义管理扩展功能,提供的管理功能 shell_plus 能在 django shell 中自动加载所有已安装应用的模型类。 参考地址:https://github.com/django-extensions/django-extensions/
- django-filter - 一个通用的系统,能基于用户选择过滤 Django QuerySets。 参考地址:https://github.com/alex/django-filter/
- django-friendship - 用于管理从属或双向关系的 Django 应用。 参考地址:https://github.com/revsys/django-friendship/
- django-gravatar2 - 主要实现在 Django 中支持 Gravatar。功能有辅助函数,模板标签和完整的测试。 参考地址:https://github.com/twaddington/django-gravatar/
- django-ipware - 一个用于获取用户 IP 地址的 Django 应用。 参考地址:https://github.com/un33k/django-ipware
- django-magic-embed - 一个简单易用的 Django 模板标签和工具,用于嵌入视频,并从视频提供者处获取缩略图。(2 年未更新) 参考地址:https://github.com/kronoscode/django-magicembed
- django-markitup - 一个可复用的 Django 应用,用于端到端的标签处理。 参考地址:https://github.com/zsiciarz/django-markitup
- django-mmc - 一个用于监测 Django 中的管理命令的应用。 参考地址:https://github.com/LPgenerator/django-mmc
- django-overextends - Django 中的环型模板继承。 参考地址:https://github.com/stephenmcd/django-overextends
- django-pagination - https://github.com/ericflo/django-pagination。(3 年未更新) 参考地址:https://github.com/ericflo/django-pagination
- django-el-pagination - Django EL(Endless) Pagination 可用于提供 Twitter 风格或 Digg 风格的分页,可支持 Ajax。 参考地址:https://github.com/shtalinberg/django-el-pagination
- django-quiz-app - 这是一个可配置的 Django 调查问答应用。 参考地址:https://github.com/tomwalker/django_quiz/
- django-recaptcha - Django reCAPTCHA 表单项/组件集成应用。 参考地址:https://github.com/praekelt/django-recaptcha/
- django-smuggler - Django Smuggler 是 Django Web 框架中的一个可插拔应用,可用于在自动生成的管理界面中导入/导出 fixtures。 参考地址:https://github.com/semente/django-smuggler/
- django-solo - 有助于使用单例 -- 全局设置等那些你想在管理站点上进行编辑的事物。 参考地址:https://github.com/lazybird/django-solo/
- django-sql-explorer - 能通过 SQL 查询进行数据共享更加容易。 参考地址:https://github.com/epantry/django-sql-explorer/
- django-stored-messages - 将 Django 消息保存到你的项目后端。(1 年未更新) 参考地址:https://github.com/evonove/django-stored-messages/
- django-ratelimit - 为限速率视图提供了一个装饰器。可基于 IP 地址或请求中的某项(GET 或 POST 中的变量)进行限制。 参考地址:https://github.com/jsocol/django-ratelimit/
- django-uuslug - 一个 slugify 应用,能保证唯一性,且能处理 Unicode。 参考地址:https://github.com/un33k/django-uuslug/
- django-watchman - django-watchman 为你的数据库,缓存等后端服务提供状态端点。 参考地址:https://github.com/mwarkentin/django-watchman/
- django-websocket-redis - 为 Django 应用实现的 Websockets,使用 Redis 作为消息队列。 参考地址:https://github.com/jrief/django-websocket-redis
- metamon - 一组 Ansible playbooks 集合,可用于快速创建 Django 应用。 参考地址:http://tryolabs.github.io/metamon/
- micawber - 一个用于从 URL 抽取内容的小型库。 参考地址:https://github.com/coleifer/micawber/
- towel - 一个工具集,能极大地方便你的 Django 开发。 参考地址:https://github.com/matthiask/towel/
- django-macros-url - Django Macros URL. Routing must be simple as possible. 参考地址:https://github.com/phpdude/django-macros-url/
- django-simple-pagination - A Simple Django app for digg-style pagination with little effort. 参考地址:https://github.com/MicroPyramid/django-simple-pagination