{"id":31746800,"url":"https://github.com/clevercloud/python-django-uv-example","last_synced_at":"2025-10-09T13:19:30.335Z","repository":{"id":267278537,"uuid":"900741398","full_name":"CleverCloud/python-django-uv-example","owner":"CleverCloud","description":"Deploy a Django app, blazing fast, using uv on Clever Cloud","archived":false,"fork":false,"pushed_at":"2024-12-09T12:36:55.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-30T05:48:42.662Z","etag":null,"topics":["clevercloud-example","python","runtime"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CleverCloud.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-12-09T11:43:22.000Z","updated_at":"2024-12-09T12:36:59.000Z","dependencies_parsed_at":"2024-12-09T13:19:50.383Z","dependency_job_id":"0f9921af-437f-42a0-9f71-383ac9fae61b","html_url":"https://github.com/CleverCloud/python-django-uv-example","commit_stats":null,"previous_names":["davlgd/python-django-uv-example"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/CleverCloud/python-django-uv-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CleverCloud%2Fpython-django-uv-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CleverCloud%2Fpython-django-uv-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CleverCloud%2Fpython-django-uv-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CleverCloud%2Fpython-django-uv-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CleverCloud","download_url":"https://codeload.github.com/CleverCloud/python-django-uv-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CleverCloud%2Fpython-django-uv-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279001536,"owners_count":26083102,"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","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["clevercloud-example","python","runtime"],"created_at":"2025-10-09T13:19:29.237Z","updated_at":"2025-10-09T13:19:30.326Z","avatar_url":"https://github.com/CleverCloud.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Django with Uvicorn deployed from `uv` on Clever Cloud\n\nYou'll need a Clever Cloud account and [Clever Tools](https://github.com/CleverCloud/clever-tools/) to deploy this application, using our Python image [now including](https://developers.clever-cloud.com/changelog/2024-10-01-python-image-changes/) `uv`.\n\n## Clone this repository and configure a Clever Cloud application\n\n```bash\ngit clone https://github.com/CleverCloud/python-django-uv-example.git\ncd python-django-uv-example\n\nclever create -t python\nclever env set CC_RUN_COMMAND \"uv run -- uvicorn --host 0.0.0.0 --port 9000 myDjango.asgi:application\"\nclever deploy \u0026\u0026 clever open\n```\n\n## How this app was created\n\nTo create the same app as this one on a machine with `uv` installed, you can use the following commands:\n\n```bash\nuv init myDjango --no-readme                    # Create a new uv project\ncd myDjango \u0026\u0026 rm hello.py                      # Enters the project and clean it\nuv add django uvicorn                           # Adds Django and Uvicorn to dependencies\nuv run django-admin startproject myDjango .     # Creates the Django project in the current directory\n```\n\nEdit `myDjango/settings.py` to add `ALLOWED_HOSTS` (`*` in this example), change secret key, etc. Commit changes to the local git repository, and then you can create and deploy this app on Clever Cloud as mentioned above.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclevercloud%2Fpython-django-uv-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclevercloud%2Fpython-django-uv-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclevercloud%2Fpython-django-uv-example/lists"}