{"id":27639316,"url":"https://github.com/dunnkers/python-uv-devcontainer","last_synced_at":"2025-04-23T22:15:15.294Z","repository":{"id":289502836,"uuid":"970975443","full_name":"dunnkers/python-uv-devcontainer","owner":"dunnkers","description":"Python project setup using a Devcontainer and uv.","archived":false,"fork":false,"pushed_at":"2025-04-23T16:34:31.000Z","size":5044,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-23T22:15:09.440Z","etag":null,"topics":["astral-uv","devcontainer","devcontainer-features","devcontainer-template","devcontainers","python","python3","ruff","uv"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","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/dunnkers.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,"zenodo":null}},"created_at":"2025-04-22T20:23:53.000Z","updated_at":"2025-04-23T16:34:34.000Z","dependencies_parsed_at":"2025-04-23T16:55:25.277Z","dependency_job_id":null,"html_url":"https://github.com/dunnkers/python-uv-devcontainer","commit_stats":null,"previous_names":["dunnkers/python-uv-devcontainer"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dunnkers%2Fpython-uv-devcontainer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dunnkers%2Fpython-uv-devcontainer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dunnkers%2Fpython-uv-devcontainer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dunnkers%2Fpython-uv-devcontainer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dunnkers","download_url":"https://codeload.github.com/dunnkers/python-uv-devcontainer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250522299,"owners_count":21444512,"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":["astral-uv","devcontainer","devcontainer-features","devcontainer-template","devcontainers","python","python3","ruff","uv"],"created_at":"2025-04-23T22:15:14.694Z","updated_at":"2025-04-23T22:15:15.290Z","avatar_url":"https://github.com/dunnkers.png","language":"Dockerfile","readme":"# python-uv-devcontainer\n\nPython project setup using a [Devcontainer](https://containers.dev) and [uv](https://github.com/astral-sh/uv).\n\n## Features\n\n- [x] [Devcontainer](https://github.com/devcontainers/images/tree/main/src/python) running Python 3.13\n- [x] [uv](https://github.com/astral-sh/uv) for dependency management and virtual environment management\n- [x] [pytest](https://docs.pytest.org/en/stable/) for testing\n- [x] [ruff](https://github.com/astral-sh/ruff) for formatting and linting\n- [x] [GitHub Actions](https://github.com/dunnkers/python-uv-devcontainer/actions) for CI/CD\n- [x] [Dockerfile](https://github.com/dunnkers/python-uv-devcontainer/blob/main/Dockerfile) for easy deployment\n\n\n## Setup\n\n1. **Clone this repo**\n\n    \u003cimg src=\"docs/Screenshot 2025-04-23 at 17.19.10.png\" alt=\"Clone repository\" width=\"400\"/\u003e\n2. **Reopen in Container**\n\n    Click the button in the popup upon opening the repo:\n\n    ![alt text](\u003cdocs/Screenshot 2025-04-23 at 17.20.22.png\u003e)\n\n    Alternatively, enter \u003ckbd\u003eCtrl+Shift+P\u003c/kbd\u003e and select **Dev Containers: Reopen in Container**.\n\n3. **Wait for setup to finish**\n\n    Upon opening the Devcontainer, setup will start. Wait for the setup to finish before continuing.\n\n    ![alt text](\u003cdocs/Screenshot 2025-04-23 at 18.00.10.png\u003e)\n\n4. **Select Python interpreter**\n\n    Enter \u003ckbd\u003eCtrl+Shift+P\u003c/kbd\u003e and select **Python: Select Interpreter**. \n\n    \u003cimg src=\"docs/Screenshot 2025-04-23 at 17.53.28.png\" alt=\"VSCode: Python Select Interpreter\" width=\"500\"/\u003e\n\n    Select the **venv** (`./.venv/bin/python`).\n\n5. **Enjoy 🫶**\n\n    You now have a fully configured Python development environment!\n\n    ![alt text](\u003cdocs/Screenshot 2025-04-23 at 18.28.17.png\u003e)\n\n    with `uv`:\n\n    \u003cimg src=\"docs/Screenshot 2025-04-23 at 18.24.49.png\" width=\"500\"/\u003e\n\n    and `pytest`:\n\n    | UI | Terminal |\n    |:--:|:--:|\n    | ![alt text](\u003cdocs/Screenshot 2025-04-23 at 18.10.07.png\u003e) | ![alt text](\u003cdocs/Screenshot 2025-04-23 at 18.11.34.png\u003e) |\n\n    ... and `ruff`:\n\n    \u003cimg src=\"docs/Screenshot 2025-04-23 at 18.03.49.png\" width=\"500\"/\u003e\n\n    all readily available ✓.\n\n- **CI/CD with GitHub Actions**\n\n    [A workflow](https://github.com/dunnkers/python-uv-devcontainer/blob/main/.github/workflows/python_app.yaml) is already set up for you.\n\n    ![alt text](\u003cdocs/Screenshot 2025-04-23 at 18.06.47.png\u003e)\n\n    The workflow sets up your project with `uv` and runs `pytest` and `ruff`. \n\n    🎉\n\nGood luck developing! 🍀\n\n\n## About\n\nProvided to you with ♡ by [Jeroen Overschie](https://jeroenoverschie.nl/).","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdunnkers%2Fpython-uv-devcontainer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdunnkers%2Fpython-uv-devcontainer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdunnkers%2Fpython-uv-devcontainer/lists"}