{"id":28720068,"url":"https://github.com/neothebestdeveloper/neopoint","last_synced_at":"2025-06-15T06:06:46.317Z","repository":{"id":181132508,"uuid":"666278078","full_name":"NeoTheBestDeveloper/neopoint","owner":"NeoTheBestDeveloper","description":" WSGI python backend framework ","archived":false,"fork":false,"pushed_at":"2024-08-10T11:31:55.000Z","size":206,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-08-10T12:26:37.539Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NeoTheBestDeveloper.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-14T06:03:43.000Z","updated_at":"2024-07-09T15:19:57.000Z","dependencies_parsed_at":"2023-10-30T14:40:29.486Z","dependency_job_id":"c2324d86-a411-47fa-beb7-231df707bb2b","html_url":"https://github.com/NeoTheBestDeveloper/neopoint","commit_stats":null,"previous_names":["neothebestdeveloper/neopoint"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/NeoTheBestDeveloper/neopoint","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NeoTheBestDeveloper%2Fneopoint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NeoTheBestDeveloper%2Fneopoint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NeoTheBestDeveloper%2Fneopoint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NeoTheBestDeveloper%2Fneopoint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NeoTheBestDeveloper","download_url":"https://codeload.github.com/NeoTheBestDeveloper/neopoint/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NeoTheBestDeveloper%2Fneopoint/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259929972,"owners_count":22933536,"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":[],"created_at":"2025-06-15T06:06:45.258Z","updated_at":"2025-06-15T06:06:46.294Z","avatar_url":"https://github.com/NeoTheBestDeveloper.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Neopoint\n\n## Warning - project is unstable.\n\nNeopoint is a simple backend framework, which support routing, parsing query and path parametrs etc.\n\n## Examples\n\n### Create base app\n\n```python\nfrom neopoint import App\nfrom neopoint.routing import Router\n\n\nrouter = Router(prefix=\"/api\")\n\napp = App(debug=True)\napp.include_router(router)\n```\n\n### Let's add some endpoints\n```py \nfrom neopoint.http import JsonResponse\n\n@router.get(\"/users/{user_id}\")\ndef get_user_by_id(user_id: int) -\u003e JsonResponse:\n    return JsonResponse(\n        {\n            \"id\": user_id,\n            \"first_name\": \"John\",\n            \"last_name\": \"Doe\",\n        }\n    )\n```\n\n\nYou can add pattern at endpoint path like {NAME_OF_PARAMETR} and it will be passed to your controller function.\n\n### Let's parse also query parametrs.\n\n```py \nfrom neopoint.http import JsonResponse\n\n@router.get(\"/users\")\ndef get_users(limit: int = 15, sort: str = \"ASC\") -\u003e JsonResponse:\n    return JsonResponse(\n        {\n            \"id\": user_id,\n            \"limit\": limit,\n            \"sort\": sort,\n        }\n    )\n```\n\n### How to handle post and other requests with payload?\n\n```python\n@router.post(\"/theme\")\ndef create_theme(req: Request) -\u003e JsonResponse:\n    return JsonResponse(req.json)\n```\n\nFor handling requests you can pass request parametr to your controller.\n\nRequest attributes:\n- headers -\u003e MappingProxyType\\[str, str]\n- query_params -\u003e QueryParams\n- path_params -\u003e PathParams\n- method -\u003e RequestMethod\n- path -\u003e str\n- json -\u003e Any\n- content -\u003e bytes\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneothebestdeveloper%2Fneopoint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneothebestdeveloper%2Fneopoint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneothebestdeveloper%2Fneopoint/lists"}