{"id":29131299,"url":"https://github.com/pfcclab/google-yamlfmt","last_synced_at":"2026-02-25T00:34:46.947Z","repository":{"id":295409170,"uuid":"966221713","full_name":"PFCCLab/google-yamlfmt","owner":"PFCCLab","description":"A PyPI packaging repository for yamlfmt, making it easily accessible to the Python ecosystem.","archived":false,"fork":false,"pushed_at":"2026-01-09T18:06:41.000Z","size":71,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-02-24T15:07:26.306Z","etag":null,"topics":["cli","formatter","python","yaml","yamlfmt"],"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/PFCCLab.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-04-14T15:32:36.000Z","updated_at":"2026-01-09T18:06:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"7b128268-031a-458c-b0ad-8ecd39804270","html_url":"https://github.com/PFCCLab/google-yamlfmt","commit_stats":null,"previous_names":["pfcclab/google-yamlfmt"],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/PFCCLab/google-yamlfmt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PFCCLab%2Fgoogle-yamlfmt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PFCCLab%2Fgoogle-yamlfmt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PFCCLab%2Fgoogle-yamlfmt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PFCCLab%2Fgoogle-yamlfmt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PFCCLab","download_url":"https://codeload.github.com/PFCCLab/google-yamlfmt/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PFCCLab%2Fgoogle-yamlfmt/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29806600,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-24T22:43:48.403Z","status":"ssl_error","status_checked_at":"2026-02-24T22:43:18.536Z","response_time":75,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["cli","formatter","python","yaml","yamlfmt"],"created_at":"2025-06-30T05:07:34.785Z","updated_at":"2026-02-25T00:34:46.937Z","avatar_url":"https://github.com/PFCCLab.png","language":"Python","readme":"# google-yamlfmt\n\nA PyPI packaging repository for [yamlfmt](https://github.com/google/yamlfmt), making it easily accessible to the Python ecosystem.\n\n## Overview\n\nThis repository provides a Python package wrapper for Google's `yamlfmt` tool, enabling seamless integration with Python package managers and development workflows. The original `yamlfmt` is a powerful YAML formatter written in Go, and this package makes it available through PyPI for easier installation and use in Python projects.\n\n## Features\n\n- **Easy Installation**: Install via pip or any Python package manager\n- **Python Ecosystem Integration**: Works seamlessly with Python development workflows\n- **Pre-commit Support**: Perfect for use with pre-commit hooks\n- **Cross-platform**: Available on all platforms supported by the original yamlfmt\n\n## Installation\n\nTo install google-yamlfmt, ensure you have Python 3.9 or higher, then run:\n\n```bash\npip install google-yamlfmt\n```\n\n## Usage\n\nAfter installation, you can format YAML files using the `yamlfmt` command:\n\n```bash\nyamlfmt \u003cfile_or_directory\u003e\n```\n\nExamples:\n\n```bash\n# Format a single file\nyamlfmt example.yaml\n\n# Format multiple files\nyamlfmt file1.yaml file2.yaml\n\n# Format all YAML files in current directory\nyamlfmt *.yaml\n\n# Check if files need formatting (lint mode)\nyamlfmt -lint example.yaml\n```\n\nFor more advanced usage options and configuration, please refer to the [original documentation](https://github.com/google/yamlfmt/blob/main/docs/command-usage.md) or run `yamlfmt -h`.\n\n### Pre-commit Integration\n\nTo use with pre-commit, add this to your `.pre-commit-config.yaml`:\n\n```yaml\nrepos:\n  - repo: https://github.com/PFCCLab/yamlfmt-pre-commit-mirror.git\n    rev: v0.21.0\n    hooks:\n      - id: yamlfmt\n```\n\n## About\n\nThis package is a redistribution of the original [yamlfmt](https://github.com/google/yamlfmt) tool created by Google. All credit for the core functionality goes to the original maintainers. This packaging effort aims to make the tool more accessible to Python developers and integrate better with Python-based development workflows.\n\n## Contributing\n\nContributions are welcome! Please feel free to submit issues or pull requests to help improve this packaging and distribution effort.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpfcclab%2Fgoogle-yamlfmt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpfcclab%2Fgoogle-yamlfmt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpfcclab%2Fgoogle-yamlfmt/lists"}