{"id":37075392,"url":"https://github.com/imamhossainroni/pykite","last_synced_at":"2026-01-14T08:52:15.425Z","repository":{"id":112496065,"uuid":"518536386","full_name":"ImamHossainRoni/pykite","owner":"ImamHossainRoni","description":"PyKite represents a research and development endeavor aimed at crafting a Python-centric micro framework initiative.","archived":false,"fork":false,"pushed_at":"2024-10-12T20:03:28.000Z","size":713,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-29T06:13:06.375Z","etag":null,"topics":["api","framework","http","pykite","python","web"],"latest_commit_sha":null,"homepage":"https://pykite.readthedocs.io/en/latest/","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/ImamHossainRoni.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}},"created_at":"2022-07-27T16:36:31.000Z","updated_at":"2024-10-12T20:03:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"f3d4f243-bbb3-4020-b699-bce1aeb16308","html_url":"https://github.com/ImamHossainRoni/pykite","commit_stats":null,"previous_names":["imamhossainroni/pykite"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/ImamHossainRoni/pykite","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ImamHossainRoni%2Fpykite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ImamHossainRoni%2Fpykite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ImamHossainRoni%2Fpykite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ImamHossainRoni%2Fpykite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ImamHossainRoni","download_url":"https://codeload.github.com/ImamHossainRoni/pykite/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ImamHossainRoni%2Fpykite/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28414700,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T08:38:59.149Z","status":"ssl_error","status_checked_at":"2026-01-14T08:38:43.588Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","framework","http","pykite","python","web"],"created_at":"2026-01-14T08:52:14.661Z","updated_at":"2026-01-14T08:52:15.412Z","avatar_url":"https://github.com/ImamHossainRoni.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"### PyKite: A research and development initiative for crafting a Python-centric micro framework.\n\n[//]: # (![Pykite, the Python framework]\u0026#40;./extras/yellow-kite.png\u0026#41;)\n![PyKite Icon](https://raw.githubusercontent.com/ImamHossainRoni/pykite/main/extras/yellow-kite.png)\n\n## Features\n\n- **Route Definition:** Define routes using the `@app.route(path)` decorator.\n\n- **HTTP Request Handling:** Create handler functions for each route to process and respond to incoming HTTP requests.\n\n- **Development Server:** Start a development server with a single command, making it easy to test your application locally.\n\n- **Basic Error Handling:** Includes a default 404 response for routes that are not found.\n\n\n## Installation\nTo get started with PyKite, follow these steps:\n```bash\npip install pykite\n```\n## Run the application\n1. Create a Python script for your web application using PyKite. Define routes and handlers as needed.\n2. Run your application using the `run` method:\n\n```python\nfrom pykite import PyKite\nfrom pykite.http.response import Response\n\n# Create a PyKite application\napp = PyKite(debug=True)\n\n\n# Define a route for the '/' path\n@app.route('/')\ndef index(request, response):\n    \"\"\"Respond with a JSON object containing the message \"Hello, World!\" to all requests to the '/' path.\"\"\"\n    data = {\"message\": \"Hello, World!\"}\n    response = Response(data=data, status=200)\n    return response\n\n\n@app.route('/hello/{name}')\ndef hello(request, response, name):\n    \"\"\" Took a name from the URL and responds with a friendly greeting in JSON.\"\"\"\n    data = {\"message\": f\"Hello, {name}\"}\n    response = Response(data=data, status=200)\n    return response\n\n\n# Run the application\nif __name__ == \"__main__\":\n    app.run()\n\n```\n3. Access your application in a web browser at http://localhost:8000.\n\n## Middleware\nMiddleware in web development refers to software components that sit between a web server and an application. They intercept requests and responses, allowing for additional processing or modification before they reach the application or client. Middleware can be used for tasks like authentication, authorization, logging, caching, and more. Let's see [ 👉 how to use middleware in `PyKite`](docs/middleware.md)  framework. \n\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimamhossainroni%2Fpykite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimamhossainroni%2Fpykite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimamhossainroni%2Fpykite/lists"}