[{"data":1,"prerenderedAt":297},["ShallowReactive",2],{"repo-encode-django-rest-framework-en":3,"i18n-encode-django-rest-framework-en":294},{"mirrorPool":4,"detail":13,"relatedProjects":155},[5,9],{"key":6,"label":7,"base":8,"type":6},"github","mirror.github","https:\u002F\u002Fgithub.com\u002F",{"key":10,"label":11,"base":12,"type":10},"auto-proxy","mirror.autoProxy","https:\u002F\u002Fgithub.xxlab.tech\u002F",{"owner":14,"repo":15,"repoId":16,"repoUrl":17,"starCount":18,"language":19,"description":20,"languages":21,"screenshots":26,"homepage":27,"pushedAt":28,"ownerAvatar":29,"ownerName":30,"ownerBio":31,"lastSyncTime":32,"lastReleaseTime":33,"tags":34,"license":39,"category":40,"subgroup":41,"releases":42},"encode","django-rest-framework",1431547,"https:\u002F\u002Fgithub.com\u002Fencode\u002Fdjango-rest-framework",30210,"Python","Web APIs for Django. 🎸",{"Python":22,"HTML":23,"CSS":24,"JavaScript":25},94.7,3.5,1.4,0.4,[],"https:\u002F\u002Fwww.django-rest-framework.org","2026-10-14","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F19159390?v=4","Encode","Collaboratively funded software development.","2026-10-20T10:23:58.079035+00:00","2026-10-06T21:34:17Z",[35,36,37,38],"api","django","python","rest","NOASSERTION","development","开发库\u002F框架",[43,62,77,94,110,126,141],{"tag":44,"publishAt":33,"semVer":45,"prerelease":48,"assets":49},"3.18.3",[46,47,46],3,18,false,[50,56],{"fileName":51,"sizeMb":52,"sha256":53,"downloadCount":54,"originUrl":55},"djangorestframework-3.18.3-py3-none-any.whl",0.86,"8544bb674846731b1e3c9b309236ee1dc412905a0aa725be2ec193ca950a7d12",6,"https:\u002F\u002Fgithub.com\u002Fencode\u002Fdjango-rest-framework\u002Freleases\u002Fdownload\u002F3.18.3\u002Fdjangorestframework-3.18.3-py3-none-any.whl",{"fileName":57,"sizeMb":58,"sha256":59,"downloadCount":60,"originUrl":61},"djangorestframework-3.18.3.tar.gz",0.88,"446a9b352e7eff630421ab3f2328bd2401b109a9470afa4a31189994911ed030",7,"https:\u002F\u002Fgithub.com\u002Fencode\u002Fdjango-rest-framework\u002Freleases\u002Fdownload\u002F3.18.3\u002Fdjangorestframework-3.18.3.tar.gz",{"tag":63,"publishAt":64,"semVer":65,"prerelease":48,"assets":67},"3.18.2","2026-10-06T20:42:38Z",[46,47,66],2,[68,73],{"fileName":69,"sizeMb":52,"sha256":70,"downloadCount":71,"originUrl":72},"djangorestframework-3.18.2-py3-none-any.whl","a92d6a4e128a2550bd2fe2e02008a9e47fe52c180e130bb438f5ba70ee933a3f",4,"https:\u002F\u002Fgithub.com\u002Fencode\u002Fdjango-rest-framework\u002Freleases\u002Fdownload\u002F3.18.2\u002Fdjangorestframework-3.18.2-py3-none-any.whl",{"fileName":74,"sizeMb":58,"sha256":75,"downloadCount":71,"originUrl":76},"djangorestframework-3.18.2.tar.gz","8249bad7715eb37274ce5820fc5d9fd786b7579806589565f52a71c02b35f54b","https:\u002F\u002Fgithub.com\u002Fencode\u002Fdjango-rest-framework\u002Freleases\u002Fdownload\u002F3.18.2\u002Fdjangorestframework-3.18.2.tar.gz",{"tag":78,"publishAt":79,"semVer":80,"prerelease":48,"assets":82},"3.18.1","2026-09-07T18:04:31Z",[46,47,81],1,[83,88],{"fileName":84,"sizeMb":52,"sha256":85,"downloadCount":86,"originUrl":87},"djangorestframework-3.18.1-py3-none-any.whl","f1409d698967aaf82d5d98d76b549c8fba8bd92ebd0d83d24454508f72168dc2",77,"https:\u002F\u002Fgithub.com\u002Fencode\u002Fdjango-rest-framework\u002Freleases\u002Fdownload\u002F3.18.1\u002Fdjangorestframework-3.18.1-py3-none-any.whl",{"fileName":89,"sizeMb":90,"sha256":91,"downloadCount":92,"originUrl":93},"djangorestframework-3.18.1.tar.gz",0.87,"605d79fa2ec2f02905492e5ea13d903c2d842d0b4c915a57f7bf02ab9f3c91dd",73,"https:\u002F\u002Fgithub.com\u002Fencode\u002Fdjango-rest-framework\u002Freleases\u002Fdownload\u002F3.18.1\u002Fdjangorestframework-3.18.1.tar.gz",{"tag":95,"publishAt":96,"semVer":97,"prerelease":48,"assets":99},"3.18.0","2026-08-07T14:54:02Z",[46,47,98],0,[100,105],{"fileName":101,"sizeMb":52,"sha256":102,"downloadCount":103,"originUrl":104},"djangorestframework-3.18.0-py3-none-any.whl","381fc44d3249c9565c5f723850855b734e99030eb30957a49f506d3fe11d7dcb",12,"https:\u002F\u002Fgithub.com\u002Fencode\u002Fdjango-rest-framework\u002Freleases\u002Fdownload\u002F3.18.0\u002Fdjangorestframework-3.18.0-py3-none-any.whl",{"fileName":106,"sizeMb":90,"sha256":107,"downloadCount":108,"originUrl":109},"djangorestframework-3.18.0.tar.gz","2323a5111837e0b784dcb8323abc78ecc54fa2a5af7aff2677cf50cdd849477f",9,"https:\u002F\u002Fgithub.com\u002Fencode\u002Fdjango-rest-framework\u002Freleases\u002Fdownload\u002F3.18.0\u002Fdjangorestframework-3.18.0.tar.gz",{"tag":111,"publishAt":112,"semVer":113,"prerelease":48,"assets":115},"3.17.2","2026-08-05T07:47:41Z",[46,114,66],17,[116,121],{"fileName":117,"sizeMb":52,"sha256":118,"downloadCount":119,"originUrl":120},"djangorestframework-3.17.2-py3-none-any.whl","cb0546a7415d5b46c04e0f4fe0a54b2109f4fdd5e83ca773c8c6183a6493d042",14,"https:\u002F\u002Fgithub.com\u002Fencode\u002Fdjango-rest-framework\u002Freleases\u002Fdownload\u002F3.17.2\u002Fdjangorestframework-3.17.2-py3-none-any.whl",{"fileName":122,"sizeMb":52,"sha256":123,"downloadCount":124,"originUrl":125},"djangorestframework-3.17.2.tar.gz","89ed713b6dc83e1539f214b7d10808ae19bb8511004beba886225da6d5c9dafa",8,"https:\u002F\u002Fgithub.com\u002Fencode\u002Fdjango-rest-framework\u002Freleases\u002Fdownload\u002F3.17.2\u002Fdjangorestframework-3.17.2.tar.gz",{"tag":127,"publishAt":128,"semVer":129,"prerelease":48,"assets":130},"3.17.1","2026-03-24T16:58:58Z",[46,114,81],[131,136],{"fileName":132,"sizeMb":52,"sha256":133,"downloadCount":134,"originUrl":135},"djangorestframework-3.17.1-py3-none-any.whl","c3c74dd3e83a5a3efc37b3c18d92bd6f86a6791c7b7d4dff62bb068500e76457",24,"https:\u002F\u002Fgithub.com\u002Fencode\u002Fdjango-rest-framework\u002Freleases\u002Fdownload\u002F3.17.1\u002Fdjangorestframework-3.17.1-py3-none-any.whl",{"fileName":137,"sizeMb":52,"sha256":138,"downloadCount":139,"originUrl":140},"djangorestframework-3.17.1.tar.gz","a6def5f447fe78ff853bff1d47a3c59bf38f5434b031780b351b0c73a62db1a5",22,"https:\u002F\u002Fgithub.com\u002Fencode\u002Fdjango-rest-framework\u002Freleases\u002Fdownload\u002F3.17.1\u002Fdjangorestframework-3.17.1.tar.gz",{"tag":142,"publishAt":143,"semVer":144,"prerelease":48,"assets":145},"3.17.0","2026-03-18T20:34:08Z",[46,114,98],[146,150],{"fileName":147,"sizeMb":52,"sha256":148,"downloadCount":124,"originUrl":149},"djangorestframework-3.17.0-py3-none-any.whl","d84fe85f30b7ac6e8c0076ce9ff635e4eaedca5912f8d7d2926ce448c08533ba","https:\u002F\u002Fgithub.com\u002Fencode\u002Fdjango-rest-framework\u002Freleases\u002Fdownload\u002F3.17.0\u002Fdjangorestframework-3.17.0-py3-none-any.whl",{"fileName":151,"sizeMb":52,"sha256":152,"downloadCount":153,"originUrl":154},"djangorestframework-3.17.0.tar.gz","456fd992a33f9e64c9d0f47e85d9787db0efb44f894c1e513315b5e74765bd4c",10,"https:\u002F\u002Fgithub.com\u002Fencode\u002Fdjango-rest-framework\u002Freleases\u002Fdownload\u002F3.17.0\u002Fdjangorestframework-3.17.0.tar.gz",[156,189,212,240,258,278],{"owner":157,"repo":158,"repoId":159,"category":40,"subgroup":41,"language":19,"tags":160,"starCount":179,"ownerUid":180,"latestTag":181,"platforms":182,"lastReleaseTime":186,"downloadCount":187,"description":188},"unslothai","unsloth",725205304,[161,162,163,164,165,166,167,168,169,170,171,37,172,173,174,175,176,177,178,158],"agent","ai","chatgpt","deepseek","fine-tuning","gemma","image-generation","llama","llm","llms","openai","qwen","reinforcement-learning","self-hosted","stable-diffusion","text-to-speech","tts","ui",78618,150920049,"v0.1.911-beta",[183,184,185],"windows","mac","linux","2026-10-26T14:23:54Z",12443,"An open-source library for accelerating large language model (LLM) fine-tuning, significantly reducing VRAM usage and increasing training speed.",{"owner":190,"repo":191,"repoId":192,"category":40,"subgroup":41,"language":19,"tags":193,"starCount":205,"ownerUid":206,"latestTag":207,"platforms":208,"lastReleaseTime":209,"downloadCount":210,"description":211},"openbq-org","OpenBB",323048702,[162,194,195,196,197,198,199,200,201,202,37,203,204],"crypto","derivatives","economics","equity","finance","fixed-income","machine-learning","openbb","options","quantitative-finance","stocks",74466,328144346,"ODP",[183,184],"2026-09-30T01:47:43Z",1099,"OpenBB is an open financial data platform for analysts, quants, and AI agents, aggregating equities, options, crypto, and macro data from multiple sources behind one Python library and REST API — connect once, consume everywhere.",{"owner":213,"repo":214,"repoId":215,"category":40,"subgroup":41,"language":19,"tags":216,"starCount":232,"ownerUid":233,"latestTag":234,"platforms":235,"lastReleaseTime":237,"downloadCount":238,"description":239},"pathwaycom","pathway",571186647,[217,218,219,220,221,222,223,224,225,226,214,37,227,228,229,230,231],"batch-processing","data-analytics","data-pipelines","data-processing","dataflow","etl","etl-framework","iot-analytics","kafka","machine-learning-algorithms","real-time","rust","stream-processing","streaming","time-series-analysis",62092,25750857,"v0.32.1",[236],"other","2026-08-01T09:17:35Z",359,"Pathway is a Python ETL framework that unifies batch and streaming data for stream processing, real-time analytics, LLM pipelines, and RAG, powered by a Rust engine based on Differential Dataflow.",{"owner":241,"repo":242,"repoId":243,"category":40,"subgroup":41,"language":19,"tags":244,"starCount":251,"ownerUid":252,"latestTag":253,"platforms":254,"lastReleaseTime":255,"downloadCount":256,"description":257},"psf","requests",1362490,[245,246,247,248,249,37,250,242],"client","cookies","forhumans","http","humans","python-requests",54522,50630501,"v2.34.2",[236],"2026-05-14T19:27:15Z",1182,"Requests is a simple yet elegant Python HTTP library for sending HTTP\u002F1.1 requests with minimal code, handling query strings, form encoding, cookies, auth, and decompression automatically.",{"owner":259,"repo":260,"repoId":261,"category":40,"subgroup":41,"language":19,"tags":262,"starCount":271,"ownerUid":272,"latestTag":273,"platforms":274,"lastReleaseTime":275,"downloadCount":276,"description":277},"run-llama","llama_index",560704231,[263,264,265,165,266,267,169,268,269,270],"agents","application","data","framework","llamaindex","multi-agents","rag","vector-database",52579,130722866,"v0.14.25",[236],"2026-09-21T16:22:27Z",35,"LlamaIndex is an open-source data framework for LLM applications (Python). It provides data connectors, indices, query engines, and agent orchestration to feed private data into LLMs for building RAG and agent apps.",{"owner":279,"repo":280,"repoId":281,"category":40,"subgroup":41,"language":19,"tags":282,"starCount":287,"ownerUid":288,"latestTag":289,"platforms":290,"lastReleaseTime":291,"downloadCount":292,"description":293},"pandas-dev","pandas",858127,[283,284,285,286,280,37],"alignment","data-analysis","data-science","flexible",50247,21206976,"v3.1.0",[236],"2026-10-22T13:20:42Z",164,"pandas is the most popular Python data analysis and manipulation library, providing labeled data structures (Series and DataFrame) similar to R's data.frame, covering cleaning, alignment, group-by aggregation, and time series for everyday data work.",{"description":295,"readmeHtml":296},"Django REST framework is a toolkit for building Web APIs on Django, offering a browsable API, serialization, authentication, and permission control to turn Django projects into REST services.","\u003Ch2 id=\"project-overview\">Project Overview\u003C\u002Fh2>\u003Cp>Django REST framework (DRF) is a powerful and flexible toolkit for building Web APIs on top of Django. It provides serializers, viewsets, routers, and an authentication system to expose model data as REST endpoints quickly. Its signature browsable API lets developers inspect and test endpoints right in the browser, greatly speeding up development and integration work.\u003C\u002Fp>\n\u003Ctable>\n\u003Cthead>\n\u003Ctr>\n\u003Cth>Item\u003C\u002Fth>\n\u003Cth>Value\u003C\u002Fth>\n\u003C\u002Ftr>\n\u003C\u002Fthead>\n\u003Ctbody>\u003Ctr>\n\u003Ctd>Language\u003C\u002Ftd>\n\u003Ctd>Python\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Base framework\u003C\u002Ftd>\n\u003Ctd>Django\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Type\u003C\u002Ftd>\n\u003Ctd>Web API toolkit\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>License\u003C\u002Ftd>\n\u003Ctd>BSD\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003C\u002Ftbody>\u003C\u002Ftable>\n\u003Cblockquote>\n\u003Cp>Turns Django models into REST endpoints you can debug right in the browser.\u003C\u002Fp>\n\u003C\u002Fblockquote>\n\u003Ch2 id=\"key-features\">Key Features\u003C\u002Fh2>\u003Cul>\n\u003Cli>\u003Cstrong>Browsable API\u003C\u002Fstrong>: a built-in web UI to view and test endpoints in the browser\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Serialization\u003C\u002Fstrong>: validation and (de)serialization for both ORM and non-ORM data sources\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Authentication\u003C\u002Fstrong>: session and token auth built in, extendable to OAuth1a and OAuth2\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Permissions\u003C\u002Fstrong>: fine-grained permission classes per request or per object\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Generic views\u003C\u002Fstrong>: generic views and viewsets for fast CRUD\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Automatic routing\u003C\u002Fstrong>: routers generate RESTful URL configurations automatically\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Throttling\u003C\u002Fstrong>: built-in rate limiting to protect backend resources\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Pagination\u003C\u002Fstrong>: multiple pagination schemes out of the box\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch2 id=\"target-audience\">Target Audience\u003C\u002Fh2>\u003Cul>\n\u003Cli>Django developers\u003C\u002Fli>\n\u003Cli>Backend teams serving mobile or frontend clients\u003C\u002Fli>\n\u003Cli>Builders of open platform APIs\u003C\u002Fli>\n\u003Cli>Enterprise system integration engineers\u003C\u002Fli>\n\u003Cli>Learners studying REST API design\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch2 id=\"quick-start\">Quick Start\u003C\u002Fh2>\u003Col>\n\u003Cli>Install dependencies: \u003Ccode>pip install django djangorestframework\u003C\u002Fcode>\u003C\u002Fli>\n\u003Cli>Create a project and migrate\u003C\u002Fli>\n\u003C\u002Fol>\n\u003Cdiv class=\"code-block\">\u003Cpre>\u003Ccode class=\"hljs language-bash\">django-admin startproject example .\npython manage.py migrate\npython manage.py createsuperuser\u003C\u002Fcode>\u003C\u002Fpre>\u003C\u002Fdiv>\u003Col start=\"3\">\n\u003Cli>Register the app in \u003Ccode>settings.py\u003C\u002Fcode>\u003C\u002Fli>\n\u003C\u002Fol>\n\u003Cdiv class=\"code-block\">\u003Cpre>\u003Ccode class=\"hljs language-python\">INSTALLED_APPS = [\n    'rest_framework',\n]\u003C\u002Fcode>\u003C\u002Fpre>\u003C\u002Fdiv>\u003Col start=\"4\">\n\u003Cli>Define a serializer and viewset, then wire the router\u003C\u002Fli>\n\u003C\u002Fol>\n\u003Cdiv class=\"code-block\">\u003Cpre>\u003Ccode class=\"hljs language-python\">from django.contrib.auth.models import User\nfrom django.urls import include, path\nfrom rest_framework import routers, serializers, viewsets\n\nclass UserSerializer(serializers.HyperlinkedModelSerializer):\n    class Meta:\n        model = User\n        fields = ['url', 'username', 'email', 'is_staff']\n\nclass UserViewSet(viewsets.ModelViewSet):\n    queryset = User.objects.all()\n    serializer_class = UserSerializer\n\nrouter = routers.DefaultRouter()\nrouter.register(r'users', UserViewSet)\n\nurlpatterns = [\n    path('', include(router.urls)),\n]\u003C\u002Fcode>\u003C\u002Fpre>\u003C\u002Fdiv>\u003Col start=\"5\">\n\u003Cli>Start the server: \u003Ccode>python manage.py runserver\u003C\u002Fcode>, then open \u003Ccode>http:\u002F\u002F127.0.0.1:8000\u002F\u003C\u002Fcode>\u003C\u002Fli>\n\u003C\u002Fol>\n\u003Ch2 id=\"core-advantages\">Core Advantages\u003C\u002Fh2>\u003Cul>\n\u003Cli>\u003Cstrong>Great developer experience\u003C\u002Fstrong>: the browsable API removes the need for a frontend during integration\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Highly customizable\u003C\u002Fstrong>: swap serializers, views, and permissions layer by layer\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Mature ecosystem\u003C\u002Fstrong>: thorough docs and community solutions for most scenarios\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Seamless with Django\u003C\u002Fstrong>: reuses the ORM, auth, and settings systems\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch2 id=\"system-requirements\">System Requirements\u003C\u002Fh2>\u003Ctable>\n\u003Cthead>\n\u003Ctr>\n\u003Cth>Item\u003C\u002Fth>\n\u003Cth>Requirement\u003C\u002Fth>\n\u003C\u002Ftr>\n\u003C\u002Fthead>\n\u003Ctbody>\u003Ctr>\n\u003Ctd>Language\u003C\u002Ftd>\n\u003Ctd>Python 3.10+\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Framework\u003C\u002Ftd>\n\u003Ctd>Django 5.2 or later\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>OS\u003C\u002Ftd>\n\u003Ctd>Linux, macOS, Windows\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003C\u002Ftbody>\u003C\u002Ftable>\n\u003Ch2 id=\"notes\">Notes\u003C\u002Fh2>\u003Cul>\n\u003Cli>\u003Cstrong>Version pairing\u003C\u002Fstrong>: only the latest patch release of each Python and Django series is officially supported, keep them in sync\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Query performance\u003C\u002Fstrong>: generic viewsets can trigger extra queries, optimize with \u003Ccode>select_related\u003C\u002Fcode> and \u003Ccode>prefetch_related\u003C\u002Fcode>\u003C\u002Fli>\n\u003C\u002Ful>\n",1793229019012]