{"id":22323366,"url":"https://github.com/joaopalmeiro/template-python-uv-script","last_synced_at":"2025-07-23T22:38:27.572Z","repository":{"id":226186678,"uuid":"767987929","full_name":"joaopalmeiro/template-python-uv-script","owner":"joaopalmeiro","description":"Opinionated Python + uv template for new scripts.","archived":false,"fork":false,"pushed_at":"2025-04-08T11:40:01.000Z","size":63,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-08T12:34:53.526Z","etag":null,"topics":[],"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/joaopalmeiro.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":"2024-03-06T09:08:53.000Z","updated_at":"2025-04-08T11:40:05.000Z","dependencies_parsed_at":"2024-07-24T19:45:12.212Z","dependency_job_id":"19b0d58a-9c59-4622-a63a-0ab039082a43","html_url":"https://github.com/joaopalmeiro/template-python-uv-script","commit_stats":null,"previous_names":["joaopalmeiro/template-python-uv-script"],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/joaopalmeiro/template-python-uv-script","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joaopalmeiro%2Ftemplate-python-uv-script","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joaopalmeiro%2Ftemplate-python-uv-script/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joaopalmeiro%2Ftemplate-python-uv-script/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joaopalmeiro%2Ftemplate-python-uv-script/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joaopalmeiro","download_url":"https://codeload.github.com/joaopalmeiro/template-python-uv-script/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joaopalmeiro%2Ftemplate-python-uv-script/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263061406,"owners_count":23407606,"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":[],"created_at":"2024-12-04T01:10:03.052Z","updated_at":"2025-07-23T22:38:27.556Z","avatar_url":"https://github.com/joaopalmeiro.png","language":"Python","readme":"# template-python-uv-script\n\n[![uv](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/uv/main/assets/badge/v0.json)](https://github.com/astral-sh/uv)\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[![Checked with mypy](https://www.mypy-lang.org/static/mypy_badge.svg)](https://mypy-lang.org/)\n\nOpinionated [Python](https://www.python.org/) + [uv](https://github.com/astral-sh/uv) template for new scripts.\n\n## Getting Started\n\n1. Go to or create the project folder.\n2. Get the template files:\n\n```bash\nnpx giget github:joaopalmeiro/template-python-uv-script . --force\n```\n\n3. Search for `template-python-uv-script` and replace it with the project name. Ignore the template repository URL in the [NOTES.md](NOTES.md) file.\n4. Search for `Opinionated [Python](https://www.python.org/) + [uv](https://github.com/astral-sh/uv) template for new scripts.` and replace it with the (short) project description.\n5. Search for `João Palmeiro` and replace it with the author's name.\n6. Open the [requirements.txt](requirements.txt) file and add the project-specific dependencies.\n7. Delete the [deprecated/](deprecated) folder and the corresponding configuration in the [.vscode/settings.json](.vscode/settings.json) and [ruff.toml](ruff.toml) files.\n8. Delete the [TEMPLATE.md](TEMPLATE.md) file.\n9. Delete the [`Getting Started`](#getting-started) section.\n\n## Development\n\nInstall [uv](https://docs.astral.sh/uv/getting-started/installation/) (if necessary):\n\n```bash\ncurl -LsSf https://astral.sh/uv/0.7.19/install.sh | sh\n```\n\n```bash\nuv python install\n```\n\n```bash\nuv venv\n```\n\n```bash\nsource .venv/bin/activate\n```\n\n```bash\nuv pip install -r requirements.txt\n```\n\n```bash\npython 01.py\n```\n\n```bash\nmypy\n```\n\n```bash\nruff check --fix\n```\n\n```bash\nruff format\n```\n\n```bash\ndeactivate\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoaopalmeiro%2Ftemplate-python-uv-script","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoaopalmeiro%2Ftemplate-python-uv-script","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoaopalmeiro%2Ftemplate-python-uv-script/lists"}