{"id":24983963,"url":"https://github.com/yuxuzi/pytemplate-uv","last_synced_at":"2025-04-11T21:21:59.235Z","repository":{"id":273579055,"uuid":"920182847","full_name":"yuxuzi/pytemplate-uv","owner":"yuxuzi","description":"PyTemplate UV is a powerful CLI tool for creating Python project templates using the uv package manager. It provides a seamless way to generate standardized project structures with modern development practices.","archived":false,"fork":false,"pushed_at":"2025-02-02T02:30:30.000Z","size":34,"stargazers_count":14,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-25T17:21:15.184Z","etag":null,"topics":["cookiecutter","fastapi","python","typer","uv"],"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/yuxuzi.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":"2025-01-21T17:51:41.000Z","updated_at":"2025-03-04T20:11:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"83b9cb4b-ac14-4f7e-8480-b2879a0b4f9d","html_url":"https://github.com/yuxuzi/pytemplate-uv","commit_stats":null,"previous_names":["yuxuzi/pytemplate-uv"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuxuzi%2Fpytemplate-uv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuxuzi%2Fpytemplate-uv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuxuzi%2Fpytemplate-uv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuxuzi%2Fpytemplate-uv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yuxuzi","download_url":"https://codeload.github.com/yuxuzi/pytemplate-uv/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248480527,"owners_count":21110964,"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":["cookiecutter","fastapi","python","typer","uv"],"created_at":"2025-02-04T09:41:13.966Z","updated_at":"2025-04-11T21:21:59.197Z","avatar_url":"https://github.com/yuxuzi.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PyTemplate UV\n\n## Overview\n\nPyTemplate UV is a powerful CLI tool for creating Python project templates using the `uv` package manager. It provides a seamless way to generate standardized project structures with modern development practices.\n\n## Features\n\n- 🚀 Quick project initialization\n- 🔧 Support for multiple project templates (FastAPI, Standard Python)\n- 📦 Integrated with `uv` package management\n- 🧪 Comprehensive testing infrastructure\n- 🔍 Linting and type checking support\n\n## Prerequisites\n\n- Python 3.11+\n- `uv` package manager\n- `cookiecutter`\n\n## Installation\n\n```bash\npip install pytemplate-uv\n# or\nuv pip install pytemplate-uv\n```\n\n## Usage\n\n### Create a Project\n\n```bash\n# Create a standard Python project (default)\npytemplate-uv create-project\n\n# Create a FastAPI project\npytemplate-uv create-project --template fastapi\n\n# Create a project with a custom name\npytemplate-uv create-project --name my-awesome-project\n\n# Create a project with custom template and name\npytemplate-uv create-project --template fastapi --name my-api-project\n```\n\n### Project Creation Options\n\n- `--template`: Choose the project template (default: pyproject)\n  - Options: `pyproject`, `fastapi`\n- `--name`: Specify a custom project name\n- Additional template-specific options can be passed as needed\n\n### Next Steps After Project Creation\n\n1. `cd` into your project directory\n2. Run `uv venv` to create a virtual environment\n3. Run `uv pip install -e .` to install dependencies\n4. Run `make setup` to set up the development environment\n\n## Development\n\n### Setup\n\n1. Clone the repository\n2. Create a virtual environment:\n   ```bash\n   uv venv\n   source .venv/bin/activate\n   ```\n\n3. Install development dependencies:\n   ```bash\n   uv pip install -e .[dev]\n   ```\n\n### Running Tests\n\n```bash\npytest\n```\n\n### Linting\n\n```bash\nruff check .\nblack .\nmypy .\n```\n\n## Contributing\n\nContributions are welcome! Please see [CONTRIBUTING.md](CONTRIBUTING.md) for details.\n\n## License\n\nMIT License - See [LICENSE](LICENSE) for details.\n\n## Contact\n\nLeo Liu - [GitHub](https://github.com/yuxuzi)\n\n---\n\n*Simplifying Python project creation with modern best practices* 🐍✨","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuxuzi%2Fpytemplate-uv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyuxuzi%2Fpytemplate-uv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuxuzi%2Fpytemplate-uv/lists"}