Skip to main content

A tool for formatting YAML files, yamlfmt from Google: https://github.com/google/yamlfmt

Project description

google-yamlfmt

google-yamlfmt 是一个二次打包 yamlfmt 的仓库。

特性

  • 可以使用 pip 或任意 python 包管理工具安装

安装

要安装 google-yamlfmt,请确保您的 Python 版本为 3.9 或更高,然后运行以下命令:

pip install google-yamlfmt

使用

安装完成后,您可以通过以下命令格式化 YAML 文件:

yamlfmt <file_or_directory>

例如:

yamlfmt example.yaml

贡献

欢迎对本项目进行贡献!您可以通过提交问题或拉取请求来帮助改进此工具。

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

google_yamlfmt-0.16.0a1.tar.gz (10.4 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

google_yamlfmt-0.16.0a1-py3-none-win_arm64.whl (1.6 MB view details)

Uploaded Python 3Windows ARM64

google_yamlfmt-0.16.0a1-py3-none-win_amd64.whl (1.7 MB view details)

Uploaded Python 3Windows x86-64

google_yamlfmt-0.16.0a1-py3-none-musllinux_1_2_x86_64.whl (1.7 MB view details)

Uploaded Python 3musllinux: musl 1.2+ x86-64

google_yamlfmt-0.16.0a1-py3-none-musllinux_1_2_aarch64.whl (1.5 MB view details)

Uploaded Python 3musllinux: musl 1.2+ ARM64

google_yamlfmt-0.16.0a1-py3-none-manylinux_2_17_x86_64.whl (1.7 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

google_yamlfmt-0.16.0a1-py3-none-manylinux_2_17_aarch64.whl (1.5 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

google_yamlfmt-0.16.0a1-py3-none-macosx_11_0_arm64.whl (1.6 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

google_yamlfmt-0.16.0a1-py3-none-macosx_10_9_x86_64.whl (1.7 MB view details)

Uploaded Python 3macOS 10.9+ x86-64

File details

Details for the file google_yamlfmt-0.16.0a1.tar.gz.

File metadata

  • Download URL: google_yamlfmt-0.16.0a1.tar.gz
  • Upload date:
  • Size: 10.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.6.14

File hashes

Hashes for google_yamlfmt-0.16.0a1.tar.gz
Algorithm Hash digest
SHA256 c90f14f67b8b553c244ad48e689630ddfc22383a91409d6e65bc7dbb4fb08c55
MD5 3a1511c8c2c71a55d3be93142c851ae8
BLAKE2b-256 752ca5f57a045b69158a7820c332ee9684e9b4a4358f403d39797d938553ec8f

See more details on using hashes here.

File details

Details for the file google_yamlfmt-0.16.0a1-py3-none-win_arm64.whl.

File metadata

File hashes

Hashes for google_yamlfmt-0.16.0a1-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 1be0ee0662ab13cb23e0bd89b07657b8aac736a76dcbeb67435701f0f27a826a
MD5 6bbb3f4dc8d5981019c1e55a81ba3e33
BLAKE2b-256 cff440e8dd93ecb788cf668db9009b8a61ba5661e5d540d5bf4a3d9287dac0c8

See more details on using hashes here.

File details

Details for the file google_yamlfmt-0.16.0a1-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for google_yamlfmt-0.16.0a1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 41f61892bdeaae48380ca64684b23bc0ff98231b2d936b8fe0ad22832b37653d
MD5 bd7d39db6874b23c0681db9b53cb2046
BLAKE2b-256 f6c713e91dc3794a0612d12e9f99c93f57a6a8187253357a9c7054a0b9ae94fb

See more details on using hashes here.

File details

Details for the file google_yamlfmt-0.16.0a1-py3-none-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for google_yamlfmt-0.16.0a1-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 4031282540f3c78f246984b87d122fff0e4524cba2e04fa6215edc9cd3df5ac4
MD5 14e6f09e0e84016458b604ab0ddf5d4c
BLAKE2b-256 c063046a7bd3ff32601ccc66de089a6bdee863dfa3afeddd3063d28e21a2323c

See more details on using hashes here.

File details

Details for the file google_yamlfmt-0.16.0a1-py3-none-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for google_yamlfmt-0.16.0a1-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 20bfb55078ae7327d2caa7db09245ee7a008a858a839c5558f1f2ade2871e423
MD5 a63c60455466b31d7367c34d1f30613a
BLAKE2b-256 d7d16242c5b02ef88d6bf0cfc98b9a96751146cd11371b6ac95b8903700750d3

See more details on using hashes here.

File details

Details for the file google_yamlfmt-0.16.0a1-py3-none-manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for google_yamlfmt-0.16.0a1-py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 77e9fcda07c4620d8df9c0bf4cdd4b7cdda5d9f7834168209146568f9c0ae558
MD5 8336e5032ebae8fa378a990cc866bc5d
BLAKE2b-256 1ddbd48b698a15953ab896cd35f49bf2e9c50a991b1c2be92130e5558cfae982

See more details on using hashes here.

File details

Details for the file google_yamlfmt-0.16.0a1-py3-none-manylinux_2_17_aarch64.whl.

File metadata

File hashes

Hashes for google_yamlfmt-0.16.0a1-py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 44d367bc9028646c9d7fa9aef18bb8500ff23f22abdbedbefec3029552eda9ea
MD5 ec6a00d845e7162999fa8fbb54e26894
BLAKE2b-256 4f6ba146b1dd5998b411f8003dbd23c35ace16ec7dc6852dcebac47fd8811cb3

See more details on using hashes here.

File details

Details for the file google_yamlfmt-0.16.0a1-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for google_yamlfmt-0.16.0a1-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2c4a297a8fa563c8d03c452ae64988ce567478545c3ec7325c37b6c2bde92e0b
MD5 c44bbfd81516c629cc27e677d8d8325a
BLAKE2b-256 f2c5eab8990e1b55b7e0fab8bb22bf1476984c8dd23b828a808646aee84fc4bb

See more details on using hashes here.

File details

Details for the file google_yamlfmt-0.16.0a1-py3-none-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for google_yamlfmt-0.16.0a1-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 9c2f14aaa032e2a350190dfa650dea8f8d1f21f6a45a90cabf47d585dceaca9e
MD5 3c71a8d360fe7bd995d4673a575954e9
BLAKE2b-256 9f0bb5d02f93ccbfc35d015a7930e7df3846579faedd4d5826be131c681e4376

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page