{"id":30741270,"url":"https://github.com/gracefullight/iai","last_synced_at":"2025-10-09T13:37:52.068Z","repository":{"id":309452707,"uuid":"1034174827","full_name":"gracefullight/iai","owner":"gracefullight","description":null,"archived":false,"fork":false,"pushed_at":"2025-09-30T00:22:07.000Z","size":23658,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-30T01:25:35.128Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gracefullight.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,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2025-08-08T01:16:44.000Z","updated_at":"2025-09-30T00:22:10.000Z","dependencies_parsed_at":"2025-08-12T02:17:04.497Z","dependency_job_id":"28961c6e-d47b-4e0b-8bba-a1e32de8dbf9","html_url":"https://github.com/gracefullight/iai","commit_stats":null,"previous_names":["gracefullight/iai"],"tags_count":0,"template":false,"template_full_name":"gracefullight/py-starter","purl":"pkg:github/gracefullight/iai","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gracefullight%2Fiai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gracefullight%2Fiai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gracefullight%2Fiai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gracefullight%2Fiai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gracefullight","download_url":"https://codeload.github.com/gracefullight/iai/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gracefullight%2Fiai/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279001489,"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":[],"created_at":"2025-09-04T00:46:52.977Z","updated_at":"2025-10-09T13:37:52.062Z","avatar_url":"https://github.com/gracefullight.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# py-starter\n\nThis isn't just a collection of files. It's a foundation for **fast, modern, and reliable Python development**. It's designed to let you skip the tedious, error-prone setup and focus directly on building what matters.\n\nI chose `uv` to fundamentally address the complexity of traditional Python environments, where `pip`, `venv`, and `pip-tools` are managed separately. `uv` unifies dependency management and script execution into a single, blazing-fast tool, dramatically boosting developer productivity.\n\n## Core Principles\n\n- **Speed:** Experience a near-instantaneous feedback loop. `uv` and `ruff` make dependency installation, linting, and formatting exceptionally fast.\n- **Simplicity:** Eliminate complexity. A single, unified tool (`uv`) manages your entire project's environment and dependencies.\n- **Reliability:** Build confidence from the first line of code. `ruff`, `mypy`, and `pytest` are integrated to prevent bugs and ensure stability.\n- **Automation:** Let the machine handle the checklist. `pre-commit` hooks automate all quality checks, catching issues before they ever become part of the codebase.\n\n## Getting Started\n\n1. **Install dependencies**\n   This command sets up your project's environment with all the necessary libraries and tools.\n   ```sh\n   uv sync\n   ```\n\n2. **Set up pre-commit hooks** (optional but recommended)\n   Automate code quality checks before each commit.\n   ```sh\n   uv run pre-commit install\n   ```\n\n3. **Run your project**\n   Execute the main application entrypoint to verify your setup is working correctly.\n   ```sh\n   uv run src/main.py\n   # or using the alias\n   uv run poe run\n   ```\n\n4. **Add or remove packages**\n   Seamlessly manage your project's third-party libraries.\n   ```sh\n   uv add \u003cpackage\u003e\n   uv remove \u003cpackage\u003e\n   ```\n\n## Code Quality Management\n\n- **Lint \u0026 Format:** Inconsistent code style and potential errors create friction and lead to bugs. `ruff` solves both problems at once with incredible speed.\n\n  ```sh\n  # Check for style issues and potential errors\n  uv run ruff check src/ tests/\n  # or using alias\n  uv run poe lint\n\n  # Automatically format all code\n  uv run ruff format src/ tests/\n  # or using alias\n  uv run poe format\n  ```\n\n- **Type Check:** Runtime `TypeError`s are a common source of bugs. `mypy` performs static analysis to catch these errors before you ever run the code, making your application more robust.\n\n  ```sh\n  uv run mypy src/\n  # or using alias\n  uv run poe type-check\n  ```\n\n- **Pre-commit Hooks:** Great tools are useless if you forget to run them. `pre-commit` automates your quality checks, running them every time you commit. This fundamentally prevents low-quality code from entering your repository.\n\n  ```sh\n  # Run all configured hooks manually across all files\n  uv run pre-commit run --all-files\n  # or using alias\n  uv run poe pre-commit\n  ```\n\n- **Run All Checks:** Execute all quality checks at once.\n\n  ```sh\n  uv run poe all-checks\n  ```\n\n## Testing\n\n- **Run Tests:** Verify that your code behaves exactly as you intend. Tests are the cornerstone of reliable software.\n\n  ```sh\n  uv run pytest tests/\n  # or using alias\n  uv run poe test\n  ```\n\n- **Check Test Coverage:** Measure what percentage of your codebase is protected by tests. This metric is crucial for identifying untested areas and increasing confidence in your code's stability.\n\n  ```sh\n  uv run pytest tests/ --cov=src\n  # or using alias\n  uv run poe test-cov\n  ```\n\n## Available Scripts\n\nThe project includes several convenient aliases using `poethepoet`:\n\n- `uv run poe run` - Run the main application\n- `uv run poe test` - Run tests\n- `uv run poe test-cov` - Run tests with coverage\n- `uv run poe lint` - Check code style and potential errors\n- `uv run poe format` - Format code\n- `uv run poe type-check` - Run type checking\n- `uv run poe pre-commit` - Run all pre-commit hooks\n- `uv run poe all-checks` - Run all quality checks (lint, format, type-check, test)\n\n## Requirements\n\n- Python \u003e=3.13\n- uv (install via `pip install uv`)\n\n---\n\nFeel free to fork this project and use it as your own template!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgracefullight%2Fiai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgracefullight%2Fiai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgracefullight%2Fiai/lists"}