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.8 或更高,然后运行以下命令:

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.0.post1.tar.gz (10.5 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.0.post1-py3-none-win_arm64.whl (1.6 MB view details)

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

google_yamlfmt-0.16.0.post1-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.0.post1-py3-none-musllinux_1_2_aarch64.whl (1.5 MB view details)

Uploaded Python 3musllinux: musl 1.2+ ARM64

google_yamlfmt-0.16.0.post1-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.0.post1-py3-none-manylinux_2_17_aarch64.whl (1.5 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

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

Uploaded Python 3macOS 11.0+ ARM64

google_yamlfmt-0.16.0.post1-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.0.post1.tar.gz.

File metadata

File hashes

Hashes for google_yamlfmt-0.16.0.post1.tar.gz
Algorithm Hash digest
SHA256 c0d2364cebdb5bdcc338cd3798b9355af92e5c5c907b9c6cc44c1b0f32cd55e7
MD5 8aa210120e8d9b44922b1d1800451b83
BLAKE2b-256 31c1cc2ee86145ccb52c6bf2c803ee861a3fd22fed475633bb9452693cbd9f8f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for google_yamlfmt-0.16.0.post1-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 41b3141e0c5779d476d6f22faccc524ee123bbe699d3fa308a4cc0dc1d7dc2e3
MD5 b951fbd68a3a639fd4b4bef76b006917
BLAKE2b-256 6aa4206d43647fadb0d4049d3030011b3d7842a7050d94d3323eaaf1b325c27f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for google_yamlfmt-0.16.0.post1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 e45b2572d072362aa92c1827247ea2b8f45c99f27c8a07d8263e991511ca0881
MD5 555b8c251a899d752837c57f67bbd36e
BLAKE2b-256 afd56a54cdd617b258b5d3a5dc396a51e3dad966e00fbdab1acd967e170292b0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for google_yamlfmt-0.16.0.post1-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 7653062865372585e6ee35187e9333aa51863d3bc776461d5675c96f28cc476c
MD5 9b51d62113e58ec66f01534173296c6d
BLAKE2b-256 c671dd708984a2f70f71dae13cb9613832ff5f13301a6e4335344cdb0dd96b10

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for google_yamlfmt-0.16.0.post1-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 57f6faffc2a64eeca14ce06fe6623803b3db7adc1f7884fd9424e34612b3f5a5
MD5 e589883f05ec9ffebb3f1b0089c48e21
BLAKE2b-256 1859aaaff74378f1156fd3c8380b695a8f990c9e19cb1c3747447dfb6112bb94

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for google_yamlfmt-0.16.0.post1-py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 8b6b6f09e82fcb7b6153ff888c99c42ed3bc5766f9e309a106cdb764c5d85441
MD5 996f85a4f2b423d7b9790ecb05b5f5a9
BLAKE2b-256 b46c6bd6d15efd51e90330694ca6bbeeb4c63e784ddf3a324afa8f10f1aea24e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for google_yamlfmt-0.16.0.post1-py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 b5a694c0b6b0181b76f453917065cb76d421ab230b1a3738dd0a46b78c2ed785
MD5 a09037e9733a255ceeddd25fab969b98
BLAKE2b-256 6fa6fb7cc507fa210b01002b4a162f34932693f39c7d24d138a1061b96eb6012

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for google_yamlfmt-0.16.0.post1-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d3fb115f3ad09e6c4c3d6e8523c4159a970a9c023bc673db826f44a28c82f8b4
MD5 ae271e0b20a1d1d16560602855e6c184
BLAKE2b-256 cd931ca4de5ed7b5c38d3d136e702b8e32a6767c3a2c58499a00813e1e9143a4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for google_yamlfmt-0.16.0.post1-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 a886a4df0a700f9451033d391406f3d3ccd0669855c61d2171fe234b06f7e9eb
MD5 855c53c531acb3589e4ea487a448d6b2
BLAKE2b-256 9447bf9861537f615629e07519b6314d0cc046a7345a50aca6f1b9fe2b1efaee

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