{"id":28559151,"url":"https://github.com/toastdriven/itty3","last_synced_at":"2025-06-10T08:36:19.541Z","repository":{"id":53651211,"uuid":"222195419","full_name":"toastdriven/itty3","owner":"toastdriven","description":"The itty-bitty Python web framework... **Now Rewritten For Python 3!**","archived":false,"fork":false,"pushed_at":"2021-03-20T02:12:47.000Z","size":235,"stargazers_count":10,"open_issues_count":3,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-07T16:54:57.414Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://itty3.readthedocs.io/en/latest/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/toastdriven.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"docs/contributing.rst","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-11-17T04:10:44.000Z","updated_at":"2023-05-10T00:00:02.000Z","dependencies_parsed_at":"2022-09-09T14:12:18.705Z","dependency_job_id":null,"html_url":"https://github.com/toastdriven/itty3","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toastdriven%2Fitty3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toastdriven%2Fitty3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toastdriven%2Fitty3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toastdriven%2Fitty3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/toastdriven","download_url":"https://codeload.github.com/toastdriven/itty3/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toastdriven%2Fitty3/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259039638,"owners_count":22796880,"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-10T08:36:08.708Z","updated_at":"2025-06-10T08:36:19.519Z","avatar_url":"https://github.com/toastdriven.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# itty3\n\nThe itty-bitty Python web framework... **Now Rewritten For Python 3!**\n\nIf you're on Python 2, you're looking for\n[itty for Python 2](https://github.com/toastdriven/itty) instead...\n\n## Quick Start\n\n```python\nimport itty3\n\n# Make an app (mostly just for routing \u0026 niceties).\napp = itty3.App()\n\n# Register your views with the app.\n@app.get(\"/\")\ndef index(request):\n    return app.render(request, \"Hello, world!\")\n\nif __name__ == \"__main__\":\n    # Run a simple WSGI server!\n    app.run()\n```\n\n## Why?\n\n`itty3` is a micro-framework for serving web traffic. At its `1.0.0`\nrelease, `itty3` weighed in at less than ~1k lines of code.\n\nGranted, it builds on the shoulders of giants, using big chunks of the Python\nstandard library. But it has **no** other external dependencies!\n\nReasons for `itty3`:\n\n* Extremely lightweight\n* Fast to start working with\n* Easy to produce initial/toy services\n* Minimal boilerplate\n* Useful for places where you can't/don't have a full Python setup\n* Useful for including directly, like when you lack permissions\n* Works with a variety of WSGI servers, including Gunicorn\n\nIf you need to produce a big application, you're probably better off with\n[Django](https://djangoproject.com/),\n[Flask](https://www.palletsprojects.com/p/flask/), or any of the other\nlarger/more mature web frameworks. No pressure!\n\n## Setup\n\n`pip install itty3` is what most people will want.\n\nThat said, `itty3` is completely self-contained to a single file \u0026 relies\nonly on the Python standard library. You can directly copy `itty3.py` into\nyour project \u0026 import it directly!\n\n## Dependencies\n\n* Python 3.7+\n\n## License\n\nNew BSD\n\n## Running Tests\n\n```\n$ pip install pytest pytest-cov\n$ pytest tests\n\n# For code coverage\n$ pytest --cov=itty3 tests\n```\n\n## Building Docs\n\n```\n$ pip install -r docs/requirements.txt\n$ cd docs\n$ make html\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoastdriven%2Fitty3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftoastdriven%2Fitty3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoastdriven%2Fitty3/lists"}