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

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3macOS 11.0+ ARM64

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

File metadata

  • Download URL: google_yamlfmt-0.16.0a0.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.0a0.tar.gz
Algorithm Hash digest
SHA256 fcd70b14d2c2b5bb3dc5b1b34184ecdc4bae53753bd6d0a43c8212599565c820
MD5 f8c898bc936d079ec62c829a2d196155
BLAKE2b-256 59b3451f7cb537508546a9c15823835eeb8e2e355604fab3123f4fd0611400ff

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for google_yamlfmt-0.16.0a0-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 79552838c101e3c14933a89a216711006940e558611065c2e6415c880a81d716
MD5 c7ff0541d2cea621334198046f661da8
BLAKE2b-256 ddcb21b4733d391443cf39e327a82152585862537769c93374b544e87e673790

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for google_yamlfmt-0.16.0a0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 9334a4873a2973dd0147fee235593d77bc4ed58085e47e49080c04a5ec5b7b88
MD5 5535cdf3d39a9423ca7db385d9980359
BLAKE2b-256 5dd458f4945901e3155a8bb60129e8dd55a9d14c5bb3900675c64fa768e76c15

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for google_yamlfmt-0.16.0a0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3d52c49721600d118913e1403db300cac9e82e63159e15404fe1a22f82b0f121
MD5 c3ea2f4c6e0c9fd95fb0c1167988197f
BLAKE2b-256 973bfa51feb5353e8682dbdf3040dca718e6e04b5b59e0c73253a0ffe31a2bf1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for google_yamlfmt-0.16.0a0-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 ce5d2cddfa8d5b89ff566d69d96a546557dd8d6cb419ba8027aaad7db79fd144
MD5 8da087b79d143cefe806e7174f2b51b5
BLAKE2b-256 1f69944e47f408c5e8f1e7679b230e638650998d1c0494731f3007ce2488a4a1

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