{"id":17477704,"url":"https://github.com/nxexox/python-rest-framework","last_synced_at":"2025-10-20T04:08:38.532Z","repository":{"id":57457483,"uuid":"151372762","full_name":"nxexox/python-rest-framework","owner":"nxexox","description":"Python Rest Framework ","archived":false,"fork":false,"pushed_at":"2020-06-19T11:14:16.000Z","size":590,"stargazers_count":8,"open_issues_count":6,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-18T23:18:22.723Z","etag":null,"topics":["api","frame","framework","python","python3","rest","rest-api","web"],"latest_commit_sha":null,"homepage":"https://nxexox.github.io/python-rest-framework/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nxexox.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-10-03T06:54:48.000Z","updated_at":"2023-10-06T08:41:10.000Z","dependencies_parsed_at":"2022-09-06T02:00:44.018Z","dependency_job_id":null,"html_url":"https://github.com/nxexox/python-rest-framework","commit_stats":null,"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nxexox%2Fpython-rest-framework","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nxexox%2Fpython-rest-framework/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nxexox%2Fpython-rest-framework/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nxexox%2Fpython-rest-framework/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nxexox","download_url":"https://codeload.github.com/nxexox/python-rest-framework/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248681494,"owners_count":21144700,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","frame","framework","python","python3","rest","rest-api","web"],"created_at":"2024-10-18T20:09:03.630Z","updated_at":"2025-10-20T04:08:38.446Z","avatar_url":"https://github.com/nxexox.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [Python Rest Framework][docs]\n\n[![pypi-version]][pypi]\n[![build-status-image]][travis]\n[![coverage-status-image]][codecov]\n\nPython Rest Framework is a full-fledged rest api engine.\nYou can concentrate all your strength on business logic, take care of the rest of the Python Rest Framework.\n\nFull documentation for the project is available at [https://nxexox.github.io/python-rest-framework/][docs].\n\n## Requirements\n\n* Python (3.4, 3.5, 3.6, 3.7)\n* six\n\n## Installation\n\nInstall using `pip`, including any optional packages you want...\n\n```bash\npip install python-rest-framework\n```\n\n...or clone the project from github.\n\n```bash\ngit clone git@github.com:nxexox/python-rest-framework.git\n```\n\n## Versions for Python Web Frameworks\n\n```bash\npip install python-rest-framework[flask]  # For Flask framework\npip install python-rest-framework[aiohttp]  # For AioHttp framework\npip install python-rest-framework[sanic]  # For Sanic framework\n```\n\n## Example\n\nFor example, we will serialize the data from the request object.\n\nFirst we write the serializer\n\n```python\nfrom rest_framework.serializers import (\n    Serializer, CharField, IntegerField, ListField, FloatField\n)\n\n# Example serializer for parsing body data from web request.\nclass ExampleSerializer(Serializer):\n    char_field = CharField(label='This char field', required=True)\n    int_field = IntegerField(label='This int field', required=True)\n    list_float_field = ListField(child=FloatField(), required=True, min_length=2)\n```\n\n---\n\nNow we process the request body with a serializer\n\n```python\n# web request data\ndata = {\n    'char_field': 'example', 'int_field': 1,\n    'list_float_field': [1.0, 1.1, 1.2]\n}\n\nser = ExampleSerializer(data=data)\nif ser.is_valid():\n    print(ser.validated_data)\nelse:\n    print(ser.errors)\n```\n\n[docs]: https://nxexox.github.io/python-rest-framework/\n[pypi-version]: https://img.shields.io/pypi/v/python-rest-framework.svg\n[pypi]: https://pypi.org/project/Python-Rest-Framework/\n[build-status-image]: https://travis-ci.org/nxexox/python-rest-framework.svg?branch=master\n[travis]: https://travis-ci.org/nxexox/python-rest-framework?branch=master\n[coverage-status-image]: https://codecov.io/gh/nxexox/python-rest-framework/branch/master/graph/badge.svg\n[codecov]: https://codecov.io/gh/nxexox/python-rest-framework\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnxexox%2Fpython-rest-framework","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnxexox%2Fpython-rest-framework","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnxexox%2Fpython-rest-framework/lists"}