{"id":28246745,"url":"https://github.com/torchstack-ai/python-project-template","last_synced_at":"2025-10-08T16:07:45.314Z","repository":{"id":291496765,"uuid":"977802416","full_name":"torchstack-ai/python-project-template","owner":"torchstack-ai","description":"Python project template for Torchstack.ai","archived":false,"fork":false,"pushed_at":"2025-05-05T01:46:21.000Z","size":49,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-19T10:07:50.688Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/torchstack-ai.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,"zenodo":null}},"created_at":"2025-05-05T01:34:47.000Z","updated_at":"2025-05-05T01:46:35.000Z","dependencies_parsed_at":"2025-05-05T02:32:01.379Z","dependency_job_id":"9337fca0-6151-4620-a25a-c215fa747fc9","html_url":"https://github.com/torchstack-ai/python-project-template","commit_stats":null,"previous_names":["torchstack-ai/python-project-template"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/torchstack-ai/python-project-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/torchstack-ai%2Fpython-project-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/torchstack-ai%2Fpython-project-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/torchstack-ai%2Fpython-project-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/torchstack-ai%2Fpython-project-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/torchstack-ai","download_url":"https://codeload.github.com/torchstack-ai/python-project-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/torchstack-ai%2Fpython-project-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278972644,"owners_count":26078084,"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-08T02:00:06.501Z","response_time":56,"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":[],"created_at":"2025-05-19T10:07:50.129Z","updated_at":"2025-10-08T16:07:45.308Z","avatar_url":"https://github.com/torchstack-ai.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Python Project Template\n\nA Python project template with DevOps best practices, including linting, testing, and CI/CD setup.\n\n## Features\n\n- 🧹 Code formatting with [Black](https://github.com/psf/black)\n- 📝 Import sorting with [isort](https://github.com/PyCQA/isort)\n- 🔍 Linting with [flake8](https://github.com/PyCQA/flake8)\n- ✅ Testing with [pytest](https://github.com/pytest-dev/pytest)\n- 📊 Test coverage reporting\n- 🔄 Pre-commit hooks\n- 🚀 GitHub Actions CI/CD pipeline\n\n## Setup\n\n1. Clone this repository:\n   ```bash\n   git clone \u003cyour-repo-url\u003e\n   cd python-template\n   ```\n\n2. Create a virtual environment:\n   ```bash\n   python -m venv venv\n   source venv/bin/activate  # On Windows: venv\\Scripts\\activate\n   ```\n\n3. Install development dependencies:\n   ```bash\n   pip install -r requirements-dev.txt\n   ```\n\n4. Install pre-commit hooks:\n   ```bash\n   pre-commit install\n   ```\n\n## Usage\n\n### Running Tests\n\n```bash\npytest\n```\n\n### Code Formatting\n\n```bash\n# Format code with black\nblack .\n\n# Sort imports with isort\nisort .\n```\n\n### Linting\n\n```bash\nflake8\n```\n\n## Project Structure\n\n```\npython-template/\n├── .github/\n│   └── workflows/\n│       └── ci.yml\n├── src/\n│   └── example/\n│       ├── __init__.py\n│       └── calculator.py\n├── tests/\n│   └── test_calculator.py\n├── .flake8\n├── .pre-commit-config.yaml\n├── pyproject.toml\n├── README.md\n└── requirements-dev.txt\n```\n\n## Contributing\n\n1. Fork the repository\n2. Create a feature branch\n3. Commit your changes\n4. Push to the branch\n5. Create a Pull Request\n\n## License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftorchstack-ai%2Fpython-project-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftorchstack-ai%2Fpython-project-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftorchstack-ai%2Fpython-project-template/lists"}