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.17.0a1.tar.gz (13.8 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.17.0a1-py3-none-win_arm64.whl (3.3 MB view details)

Uploaded Python 3Windows ARM64

google_yamlfmt-0.17.0a1-py3-none-win_amd64.whl (3.6 MB view details)

Uploaded Python 3Windows x86-64

google_yamlfmt-0.17.0a1-py3-none-musllinux_1_2_x86_64.whl (3.6 MB view details)

Uploaded Python 3musllinux: musl 1.2+ x86-64

google_yamlfmt-0.17.0a1-py3-none-musllinux_1_2_i686.whl (3.4 MB view details)

Uploaded Python 3musllinux: musl 1.2+ i686

google_yamlfmt-0.17.0a1-py3-none-musllinux_1_2_armv7l.whl (3.2 MB view details)

Uploaded Python 3musllinux: musl 1.2+ ARMv7l

google_yamlfmt-0.17.0a1-py3-none-musllinux_1_2_aarch64.whl (3.3 MB view details)

Uploaded Python 3musllinux: musl 1.2+ ARM64

google_yamlfmt-0.17.0a1-py3-none-manylinux_2_17_x86_64.whl (3.6 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

google_yamlfmt-0.17.0a1-py3-none-manylinux_2_17_aarch64.whl (3.3 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

google_yamlfmt-0.17.0a1-py3-none-macosx_11_0_arm64.whl (3.3 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

google_yamlfmt-0.17.0a1-py3-none-macosx_10_12_x86_64.whl (3.5 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

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

File metadata

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

File hashes

Hashes for google_yamlfmt-0.17.0a1.tar.gz
Algorithm Hash digest
SHA256 3df20b438422dca9b1e015ccc935d748adcbff5b5f59ca35560a07741bc58e38
MD5 f1b13aef1183cc0266676d0660cd16db
BLAKE2b-256 464cad04a84ab26c9145f15fc5746716a131bc07532923feb04889b68880f4f8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for google_yamlfmt-0.17.0a1-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 726558577411702078abc00b2d09ea2cca6676e5d26cf7f63e04868651b1f572
MD5 5040bedec4586b2306596aca1d64c343
BLAKE2b-256 81658eb83fc79bb1860050551523fa9a9d13e832bb2dad1d5494edcd0e2945fd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for google_yamlfmt-0.17.0a1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 7db0fee4dfbe48fb52d95fa28ca18475aac4c6782bbe72ae21d2de4167a4c59a
MD5 ba6b6fd43dce4dda363ab29b6f9787b5
BLAKE2b-256 5675ea26e87e0c6f1d42c0ccbb599c03d40b551fdea3ca88c2f4e8d5869be6d0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for google_yamlfmt-0.17.0a1-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 b1a4e01a6cc5c301e53d79282f6d6d5d68b396ac3722fa6a44a4a61c49fc1626
MD5 60234e9c28cad63ac19b22d83a3a2fed
BLAKE2b-256 24cf1bd9f36fb798e3ee316307f32719a51951a5aa2a6c8d0936213461a44477

See more details on using hashes here.

File details

Details for the file google_yamlfmt-0.17.0a1-py3-none-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for google_yamlfmt-0.17.0a1-py3-none-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 379368e56025edc44a7ed9e28834afde184435b14e4a03ebf398aebd9be69639
MD5 8ef900379b2e0ddb046785b3462bb4df
BLAKE2b-256 a567adb0247b40729404c1ad6a0c71bedac8bf17a1cdaff46c597b509c43a2f2

See more details on using hashes here.

File details

Details for the file google_yamlfmt-0.17.0a1-py3-none-musllinux_1_2_armv7l.whl.

File metadata

File hashes

Hashes for google_yamlfmt-0.17.0a1-py3-none-musllinux_1_2_armv7l.whl
Algorithm Hash digest
SHA256 7bb7157fadfa8486c79bcafbcf0a1f6588907a614d8fc94b4b657087177e031e
MD5 14d53ceb1765f34958e632039a6ccbe0
BLAKE2b-256 6a4aaa01aff5a519831b6a31ee9f1c4bc4560db09a265808c7a1b57c6c67ccc0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for google_yamlfmt-0.17.0a1-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 6baf4313403601f0047bf9e2d075497250ba55dc99a207d693c7f886f2039507
MD5 35c846a7e01706d7f1d5ceb32047e6f4
BLAKE2b-256 43dc9711446c9cee4dd7bfe1f0b1cf6e958cf42683cb715a8a3e78ee2c057f2a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for google_yamlfmt-0.17.0a1-py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 48ba59daa49fbb4926f1c7d6ba5e663e5954f63afdd3d545a038a01c1b715716
MD5 034fcf506511d0b8657c875c3a44eedf
BLAKE2b-256 89dc69894348d3fa31393e3a415706c31dfca1d54e415d36cb32b29a47a3ca39

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for google_yamlfmt-0.17.0a1-py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 fe0f45cc898a0148169d3af666eeb0011b28649881752750cb2789d5edf8227b
MD5 3ae755ecb19848dc671db2dec25e0bae
BLAKE2b-256 f52f268970fcebe194a2cb912d0e156899dc29dfc854e5d13f46d79079aecc5a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for google_yamlfmt-0.17.0a1-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4172bead0800cfd203482f8a6ab23f6b5819c166730542271049fda44f365f1c
MD5 a49a426a01600057c4007d935c972b2f
BLAKE2b-256 10845ab970e4e1a61b3ab963c5a68315b54103a8919288be40088481beae46a3

See more details on using hashes here.

File details

Details for the file google_yamlfmt-0.17.0a1-py3-none-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for google_yamlfmt-0.17.0a1-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 cde30254f568a8b6710c8e81f83f94f92acabbe81e1cba010ad1820ce627e1e8
MD5 772141e48caf6c519616074b3a06ffd2
BLAKE2b-256 bfa270ab6035ccab576aeaf27b85415809bede683837f27e0e9b812406ef3ea2

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