{"id":38365576,"url":"https://github.com/natanfeitosa/lespy","last_synced_at":"2026-01-17T03:23:28.289Z","repository":{"id":139681184,"uuid":"486367276","full_name":"natanfeitosa/lespy","owner":"natanfeitosa","description":"A small and robust python micro framework for building simple and solid web apps.","archived":false,"fork":false,"pushed_at":"2024-07-22T22:31:06.000Z","size":41,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-25T08:38:33.304Z","etag":null,"topics":["apps","framework","lespy","pypi","python","python3","web","wsgi-framework"],"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/natanfeitosa.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":"2022-04-27T22:18:07.000Z","updated_at":"2024-07-22T22:31:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"ba1dbfc6-1907-492b-a309-ece87f6add29","html_url":"https://github.com/natanfeitosa/lespy","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/natanfeitosa/lespy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natanfeitosa%2Flespy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natanfeitosa%2Flespy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natanfeitosa%2Flespy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natanfeitosa%2Flespy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/natanfeitosa","download_url":"https://codeload.github.com/natanfeitosa/lespy/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natanfeitosa%2Flespy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28492785,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T02:39:23.645Z","status":"ssl_error","status_checked_at":"2026-01-17T02:34:19.649Z","response_time":85,"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":["apps","framework","lespy","pypi","python","python3","web","wsgi-framework"],"created_at":"2026-01-17T03:23:27.679Z","updated_at":"2026-01-17T03:23:28.275Z","avatar_url":"https://github.com/natanfeitosa.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LESPY\n\n[![GitHub stars](https://img.shields.io/github/stars/natanfeitosa/lespy.svg)](https://github.com/natanfeitosa/lespy/stargazers)\n[![Pytest Actions Status](https://github.com/natanfeitosa/lespy/actions/workflows/pytest.yml/badge.svg)](https://github.com/natanfeitosa/lespy/actions)\n[![GitHub license](https://img.shields.io/github/license/natanfeitosa/lespy.svg)](https://github.com/natanfeitosa/lespy/blob/main/LICENSE)\n[![PyPI](https://img.shields.io/pypi/v/lespy.svg)](https://pypi.org/project/lespy)\n[![PyPI download month](https://img.shields.io/pypi/dm/lespy.svg)](https://pypi.org/project/lespy/)\n[![PyPI pyversions](https://img.shields.io/pypi/pyversions/lespy.svg)](https://pypi.python.org/pypi/lespy/)\n![PyPI - Wheel](https://img.shields.io/pypi/wheel/lespy.svg)\n[![Open Source Helpers](https://www.codetriage.com/natanfeitosa/lespy/badges/users.svg)](https://www.codetriage.com/natanfeitosa/lespy)\n\n## Overview \nA small and robust micro Python framework for building simple and solid web apps.\n\n## Quick start\n\u003e DEMO: You can see a working examples [here](./examples).\n\n### Instalation\n\nVia PIP (recommended):\n\n```bash\npip install lespy\n```\n\nVia Poetry:\n```bash\npoetry add lespy\n```\n\nVia GitHub:\n\n```bash\ngit clone https://github.com/natanfeitosa/lespy.git \u0026\u0026 cd lespy \u0026\u0026 pip install .\n```\n\n### Creating a simple app\n\nIn your `main.py` file import the `App` class from `lespy`\n```python\nfrom lespy import App\n```\n\nNow instantiate the App class and pass it a name\n```python\napp = App('first_app')\n```\n\nNow we need to create a route with the GET method\n```python\n@app.get('/')\ndef home(request):\n    return 'Hello world'\n```\n\nYes, it's that simple.\n\n### Running the app\n\n**_With the simple server included:_**\n\u003e This is a simple implementation, do not use for production environment.\n\nFirst import the `run` method\n```python\nfrom lespy import run\n```\n\nNow let's use the method passing the App instance\n```python\nif __name__ == '__main__':\n    run(app)\n```\n\nNow, just run our python file, and if everything went well, just access in \u003chttp://localhost:3000\u003e.\n\n**_With Gunicorn:_**\n\n```bash\n$ gunicorn main:app\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnatanfeitosa%2Flespy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnatanfeitosa%2Flespy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnatanfeitosa%2Flespy/lists"}