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

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3musllinux: musl 1.2+ ARM64

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

Uploaded Python 3manylinux: glibc 2.17+ ARM64

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

Uploaded Python 3macOS 11.0+ ARM64

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

File metadata

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

File hashes

Hashes for google_yamlfmt-0.16.0a2.tar.gz
Algorithm Hash digest
SHA256 e18642904b47383d0a8783a31d3d970eaa13b7059104d71b328f2aefb88bc14c
MD5 f7fe1ec15765767e516eeabf9f517a51
BLAKE2b-256 2edb24062d0a0270a0e38a9fd4a6726c42d393aaa22d47d59b6c6ebd5a887499

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for google_yamlfmt-0.16.0a2-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 e06654b3b00e2a951527b82ed5889c872eccbe796ff9dc7e2118ecdd52b05d10
MD5 9d9eccb46a9fe2bbee6dc09958d55bee
BLAKE2b-256 6c7e4dc7e95331fd02cd52028f1204014208b3bec8169be53744446f5a6db908

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for google_yamlfmt-0.16.0a2-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 763b0b6655f02e5933a71a78a655331ca2cf23fb80250cc0e16b71d2aeac31ac
MD5 43d57373c35f956c743ef31f89cd3d99
BLAKE2b-256 c6d842fc694639f6a0c1e42de480088d1133d246fc296e1e2ff24074490c3b01

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for google_yamlfmt-0.16.0a2-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 fc04db7e229d8b794799f8b024b7442f7a083017b154c8d583c1203d9df9f8a5
MD5 5671570f9944a2987f7eba663f08bb3b
BLAKE2b-256 6a70a4bbb90274b9daeab00ca85b437ad586e244e49043f648a79faa57bffb59

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for google_yamlfmt-0.16.0a2-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 425e8fc5c1b6ad1a95869eb91fecaa4b69cd63295830b257bfadc0a6c1104de9
MD5 e547564e892b2d9fb5508d4aaa812473
BLAKE2b-256 662484a089635551feb516bb5e50c0551c58da7f0543c3303673887c95252612

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for google_yamlfmt-0.16.0a2-py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 b011eb22fcd21398604f84bafb0dae7765a446b91bacd927b1729fe2e2e7fed9
MD5 085f88b47c04b25b38a412d69cbb9546
BLAKE2b-256 9e063b1450744ec10acc59f7a4242be863c44c66f090245f78fa5c2e801e0154

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for google_yamlfmt-0.16.0a2-py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 c707ebbd7939187e2db8490740708447ccfe91227ebb26b36461f9c70b6ec61c
MD5 20644f5b8e14221ca1de562c71c01913
BLAKE2b-256 8bfe098fb7ef34f0b85af3728f0f63167fcfe3bb9e56d81d7407ab096c4f687f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for google_yamlfmt-0.16.0a2-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 99dd250c318d45ac1719b47ac520de5620d3fd6e81c0e6c323cf311c443c2830
MD5 bf47d7011943dd2ccdafd4fb8662b329
BLAKE2b-256 f043736d196b654ee732591363d8f72ba2b6d5a5c167fcbf63fcc2b647e76b25

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for google_yamlfmt-0.16.0a2-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 0ee827dd9cb2f32fa7964d3ce29b602877566f82858524d31d6e3126634005c0
MD5 500a684d084a71fc60e294a52dd7dd49
BLAKE2b-256 cb7c5f7b9523275e674df4c9a7db01adf7ba557d5bdfd639043b36800a356d4f

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