{"id":13605153,"url":"https://github.com/jellydn/modern-python-2024-demo","last_synced_at":"2025-04-14T22:43:28.142Z","repository":{"id":228183306,"uuid":"773355825","full_name":"jellydn/modern-python-2024-demo","owner":"jellydn","description":"Modern development with Python in 2024","archived":false,"fork":false,"pushed_at":"2025-04-07T17:38:24.000Z","size":34,"stargazers_count":12,"open_issues_count":3,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-07T18:42:08.403Z","etag":null,"topics":["python","ruff","rye","uv"],"latest_commit_sha":null,"homepage":"https://modern-python-demo.fly.dev/docs","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/jellydn.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},"funding":{"github":["jellydn"],"ko_fi":"dunghd","buy_me_a_coffee":"dunghd","polar":"jellydn"}},"created_at":"2024-03-17T12:55:27.000Z","updated_at":"2025-03-04T03:11:14.000Z","dependencies_parsed_at":"2024-03-17T13:50:25.426Z","dependency_job_id":"d3bb9e3a-c7e5-4241-81c3-d94df82236fa","html_url":"https://github.com/jellydn/modern-python-2024-demo","commit_stats":null,"previous_names":["jellydn/modern-python-2024-demo"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jellydn%2Fmodern-python-2024-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jellydn%2Fmodern-python-2024-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jellydn%2Fmodern-python-2024-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jellydn%2Fmodern-python-2024-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jellydn","download_url":"https://codeload.github.com/jellydn/modern-python-2024-demo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248975305,"owners_count":21192197,"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":["python","ruff","rye","uv"],"created_at":"2024-08-01T19:00:55.244Z","updated_at":"2025-04-14T22:43:28.122Z","avatar_url":"https://github.com/jellydn.png","language":"Python","funding_links":["https://github.com/sponsors/jellydn","https://ko-fi.com/dunghd","https://buymeacoffee.com/dunghd","https://polar.sh/jellydn","https://paypal.me/dunghd","https://www.buymeacoffee.com/dunghd"],"categories":["Python"],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eWelcome to modern-python-2024-demo 👋\u003c/h1\u003e\n\u003cp\u003e\n  This project is a demo for modern Python 2024 with FastAPI. The project also utilizes the rye, uv, and ruff packages for a hassle-free Python experience.\n\u003c/p\u003e\n\n[![Rye](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/rye/main/artwork/badge.json)](https://rye-up.com)\n[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)\n\n[![IT Man - Modern development with Python in 2024](https://i.ytimg.com/vi/A8xdhC_0Hcc/hqdefault.jpg)](https://www.youtube.com/watch?v=A8xdhC_0Hcc)\n\n## Pre-requisites\n\n- [astral-sh/rye: a Hassle-Free Python Experience](https://github.com/astral-sh/rye)\n- [astral-sh/uv: An extremely fast Python package installer and resolver, written in Rust.](https://github.com/astral-sh/uv)\n- [astral-sh/ruff: An extremely fast Python linter and code formatter, written in Rust.](https://github.com/astral-sh/ruff)\n\n## Install\n\n```sh\n  rye sync\n  rye run basedpyright --createStub fastapi\n```\n\n## Usage\n\n```sh\n  rye run devserver\n```\n\n[![Run dev command](https://i.gyazo.com/aece13aeaf4ab3b984ea04d3c3137113.gif)](https://gyazo.com/aece13aeaf4ab3b984ea04d3c3137113)\n\n## Run tests\n\n```sh\n  rye test\n```\n\n## Format code\n\n```sh\n  rye fmt\n```\n\n[![Format code](https://i.gyazo.com/a8765a6625a1adc5287f108ae6f43214.png)](https://gyazo.com/a8765a6625a1adc5287f108ae6f43214)\n\n## Lint code\n\n```sh\n  rye lint\n```\n\n[![Lint code](https://i.gyazo.com/2a87caee50e46ef96dbd4b940b0506f9.png)](https://gyazo.com/2a87caee50e46ef96dbd4b940b0506f9)\n\n## Docker\n\n```sh\ndocker-compose up\n```\n\nRefer [Docker](https://rye-up.com/guide/docker/) for more information.\n\n## Deploy to Fly.io\n\n```sh\nfly launch\n```\n\n## Resources\n\n- [Introduction - Rye](https://rye-up.com/guide/)\n- [Announcing Astral, the company behind Ruff](https://astral.sh/blog/announcing-astral-the-company-behind-ruff)\n- [The Ruff Formatter: An extremely fast, Black-compatible Python formatter](https://astral.sh/blog/the-ruff-formatter)\n- [uv: Python packaging in Rust](https://astral.sh/blog/uv)\n- [DetachHead/basedpyright: pyright fork with various type checking improvements, improved vscode support and pylance features built into the language server](https://github.com/DetachHead/basedpyright)\n- [FastAPI](https://fastapi.tiangolo.com/)\n\n## Author\n\n👤 **Huynh Duc Dung**\n\n- Website: https://productsway.com/\n- Twitter: [@jellydn](https://twitter.com/jellydn)\n- Github: [@jellydn](https://github.com/jellydn)\n\n## Show your support\n\nGive a ⭐️ if this project helped you!\n\n[![kofi](https://img.shields.io/badge/Ko--fi-F16061?style=for-the-badge\u0026logo=ko-fi\u0026logoColor=white)](https://ko-fi.com/dunghd)\n[![paypal](https://img.shields.io/badge/PayPal-00457C?style=for-the-badge\u0026logo=paypal\u0026logoColor=white)](https://paypal.me/dunghd)\n[![buymeacoffee](https://img.shields.io/badge/Buy_Me_A_Coffee-FFDD00?style=for-the-badge\u0026logo=buy-me-a-coffee\u0026logoColor=black)](https://www.buymeacoffee.com/dunghd)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjellydn%2Fmodern-python-2024-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjellydn%2Fmodern-python-2024-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjellydn%2Fmodern-python-2024-demo/lists"}