{"id":28638954,"url":"https://github.com/sas2k/lemon","last_synced_at":"2025-06-12T19:09:56.826Z","repository":{"id":59008468,"uuid":"534991460","full_name":"Sas2k/Lemon","owner":"Sas2k","description":"A  Full-Stack Framework For Python","archived":false,"fork":false,"pushed_at":"2024-01-18T13:16:54.000Z","size":1030,"stargazers_count":19,"open_issues_count":2,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-11T20:27:37.586Z","etag":null,"topics":["framework","full-stack","hacktoberfest","hacktoberfest-accepted","hacktoberfest2023","lemon","python","web-framework"],"latest_commit_sha":null,"homepage":"https://sas2k.github.io/Lemon","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/Sas2k.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"contributing.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2022-09-10T12:28:06.000Z","updated_at":"2023-10-12T17:05:57.000Z","dependencies_parsed_at":"2023-02-19T00:01:27.173Z","dependency_job_id":"96c9e10e-1448-4419-9c14-336a3b5092fb","html_url":"https://github.com/Sas2k/Lemon","commit_stats":{"total_commits":67,"total_committers":2,"mean_commits":33.5,"dds":"0.29850746268656714","last_synced_commit":"41a435e39cc2b8dae2bd44a42480d6f69e4712c0"},"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/Sas2k/Lemon","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sas2k%2FLemon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sas2k%2FLemon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sas2k%2FLemon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sas2k%2FLemon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sas2k","download_url":"https://codeload.github.com/Sas2k/Lemon/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sas2k%2FLemon/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259519871,"owners_count":22870374,"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":["framework","full-stack","hacktoberfest","hacktoberfest-accepted","hacktoberfest2023","lemon","python","web-framework"],"created_at":"2025-06-12T19:09:55.971Z","updated_at":"2025-06-12T19:09:56.800Z","avatar_url":"https://github.com/Sas2k.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"\" rel=\"noopener\"\u003e\n \u003cimg src=\"https://raw.githubusercontent.com/Sas2k/Lemon/main/Lemon-Banner.png\" alt=\"Lemon Logo\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\u003cdiv align=\"center\"\u003e\n\n[![Status](https://img.shields.io/badge/status-active-success.svg)]()\n[![GitHub Issues](https://img.shields.io/github/issues/Sas2k/Lemon.svg)](https://github.com/Sas2k/Lemon/issues)\n[![GitHub Pull Requests](https://img.shields.io/github/issues-pr/Sas2k/Lemon.svg)](https://github.com/Sas2k/Lemon/pulls)\n[![License](https://img.shields.io/badge/license-MIT-blue.svg)](/LICENSE)\n[![Downloads](https://static.pepy.tech/personalized-badge/lemon-library?period=total\u0026units=international_system\u0026left_color=yellow\u0026right_color=orange\u0026left_text=Downloads)](https://pepy.tech/project/lemon-library)\n\n\u003c/div\u003e\n\n---\n\n\u003cp align=\"center\"\u003e An Experimental Full-Stack Framework For Python.\n    \u003cbr\u003e \n\u003c/p\u003e\n\n## 📝 Table of Contents\n\n- [📝 Table of Contents](#-table-of-contents)\n- [🧐 About ](#-about-)\n- [🗒 To-Do ](#-to-do-)\n- [🏁 Getting Started ](#-getting-started-)\n  - [Folder Structure for apps](#folder-structure-for-apps)\n  - [Installing](#installing)\n- [⛏️ Built Using ](#️-built-using-)\n- [✍️ Authors ](#️-authors-)\n\n## 🧐 About \u003ca name = \"about\"\u003e\u003c/a\u003e\n\nA full-stack framework built with python. The library is shipped with Bootstrap 5 for your styling needs.\n\nDocs: https://sas2k.github.io/Lemon\n\nDiscord Server: https://discord.gg/Dw6hCp3usF\n\nFeatures:\n- UI Library (Development)\n- A full Back-end Capabilities\n- Django style route adding (See `examples/django-routing.py`)\n- An ORM and migrations feature (check-out -\u003e examples/Lemon-App) (ORM supports strings only for now.)\n- React like syntax\n- middleware api\n- a terminal app to create app [create-lemon-app \u003c app-name \u003e]\n- Component Generator [https://github.com/Sas2k/Lemon-CLI]\n- Reactivity (See `examples/reactivity-example`)\n- Testing (See `examples/Tests.py`)\n- Custom Exception Handler (`examples/exception-handler.py`)\n- Blueprint Routing (`examples/Lemon-App`)\n\n\n\u003e If you want to have live reloading try uvicorn: https://www.uvicorn.org/\n\n\u003e If you don't think this isn't capable to handle anything check these out! \u003cbr\u003e\n\u003e https://sas2ks-old-portfolio.vercel.app/ | https://github.com/Sas2k/Old-Portfolio \u003cbr\u003e\n\u003e https://github.com/Sas2k/HTTP-Blog\n\n## 🗒 To-Do \u003ca name = \"To-Do\"\u003e\u003c/a\u003e\n\n\u003e Legend: \u003cbr\u003e\n\u003e [x] - checked\n\u003e [\\*] - doing\n\u003e [ ] - Not Done\n\n- [ ] Form Data Handling (Currently being Developed)\n- [ ] States (Currently being Developed)\n\n## 🏁 Getting Started \u003ca name = \"getting_started\"\u003e\u003c/a\u003e\n\nDocs Are still in Development Try heading over to `/examples` for some idea.\nHere is an example below\n\n```python\nfrom Lemon.components import Component\nfrom Lemon.Server.server import Server\n\napp = Server(static_dir=None) \nRoot = Component(\"Home Page\", None, None) #Root component\n\nclass Home(Component):\n    \"Home Page Component\"\n    name = \"Home\"\n    \n    def item(props: dict): \n        \"The Item Function: where the html and props are passed\"\n        return \"\"\"\n            \u003ch1\u003eHello World!\u003c/h1\u003e\n        \"\"\"\n\nRoot.add([Home])\n\n@app.route(\"/\") #Route decorator\ndef index(request, response):\n    home_page = Root.render(\"\u003cHome/\u003e\")\n    response.text = home_page\n\napp.run() #runs the app\n```\n\n### Folder Structure for apps\n\nHere is the folder structure I recommend.\n(you can create your own structure based on your needs)\n```\nApp/\n    - src/\n        - Components/\n            - __init__.py\n            - components.py\n        - Models/\n            - __init__.py\n            - models.py\n        - Routes/\n            - __init__.py\n            - routes.py\n        - Public/\n            - css/\n                - style.css\n            - js/\n                - script.js\n        - app.py\n        - base.py\n    - README.md\n```\n\n### Installing\n\nTo install with,\n\npip: `pip install Lemon-Library`\n\n## ⛏️ Built Using \u003ca name = \"built_using\"\u003e\u003c/a\u003e\n\n- [Python](https://python.org)\n- [Waitress](https://pypi.org/project/waitress/)\n- [WebOb](https://pypi.org/project/WebOb/)\n- [Parse](https://pypi.org/project/parse)\n- [whitenoise](https://pypi.org/project/whitenoise/)\n- [requests](https://pypi.org/project/requests/)\n- [pytest](https://pypi.org/project/pytest/)\n- [requests (wsgi-adapter)](https://pypi.org/project/requests-wsgi-adapter/)\n- [black](https://pypi.org/project/black/)\n\n## ✍️ Authors \u003ca name = \"authors\"\u003e\u003c/a\u003e\n\n\u003ca href=\"https://github.com/Sas2k/Lemon/graphs/contributors\"\u003e\n  \u003cimg src=\"https://contrib.rocks/image?repo=Sas2k/Lemon\" /\u003e\n\u003c/a\u003e\n\nSee also the list of [contributors](https://github.com/Sas2k/Lemon/contributors) who participated in this project.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsas2k%2Flemon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsas2k%2Flemon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsas2k%2Flemon/lists"}