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

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3musllinux: musl 1.2+ ARM64

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

Uploaded Python 3manylinux: glibc 2.17+ ARM64

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

Uploaded Python 3macOS 11.0+ ARM64

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

File metadata

File hashes

Hashes for google_yamlfmt-0.16.0.post0.tar.gz
Algorithm Hash digest
SHA256 4d74dbd42c6fa9ac53f6a8c310f8764c189acf6a299ca616740b819b6a3e9de6
MD5 620d6fca73b0ce0e2fc78f818f0c9622
BLAKE2b-256 439ed7646bfdb005a8cd1e5eb6fb39e1d96a54420701fe1ce1c5c249cf554561

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for google_yamlfmt-0.16.0.post0-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 aff9afccb408c1c722889fb46b4cc356af262c90f049b910340bf6eeaf3e55d3
MD5 8b9a3ac71be406a6e3b4db1a92e14875
BLAKE2b-256 b9e5db7e8fc6b816dabdd0d381e9aaf8cbb2b606a5310df010ac9be3703cb56b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for google_yamlfmt-0.16.0.post0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 aded4844c50c3e67118ac2f23a67d0aff3cf30541c4d955905b56e09adeb60d4
MD5 8eb6ca595fdc3ea9d445d91c695996a5
BLAKE2b-256 c5d0ab39885395974f56aff1c033ff563e5df52cdd76dada7d4493953399f841

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for google_yamlfmt-0.16.0.post0-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 b039325a5c7fba568aa7ab4c5622e9f74f99b0e88c6ec914bb036c52fb803c13
MD5 afe963277c7c99a0be302f2f7f5630ac
BLAKE2b-256 237f406abf844dc3287e1fc967c6c3b4ef2c354bc5a957e47a29e457a4de00c2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for google_yamlfmt-0.16.0.post0-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 d9b2e683b37e08f69a0cad0ffe5ddf2e0682a2fc0c826d09a780ead62cb6ee4d
MD5 2d0bb4aae7e77a2c9350d43767875899
BLAKE2b-256 0b4bde0848d0a5bb6fd28e82b85f67dea84a427e6c137d30352178dd89b8ab6b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for google_yamlfmt-0.16.0.post0-py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 857a2cc4377fd494d42e94dc604544a996d6f64d54dd19f8312a982acf3889dc
MD5 0e277e26bbf6b6a9c205d5b42f062767
BLAKE2b-256 dcf45edcb62fde4dcfc77ab6554749a41791f8f607a498929709d02f48960fcc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for google_yamlfmt-0.16.0.post0-py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 ea367b77c8babb95d686c73bda3093696ced45c26740d1afa5e0583b45a82d9e
MD5 12195da236dd6b25a9148afe03a86982
BLAKE2b-256 ccfe4e2b5a63e8205c50b5177ac60fc105fa79ee545b7784ab5a09070a3c3bc8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for google_yamlfmt-0.16.0.post0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f7e2cb1738fb1c23e068b74031fa3efad229d69fc5066f75f0400b9696368a76
MD5 d14d25f7c46d7e7994926db281b6cfc1
BLAKE2b-256 25a1e646e1c7dd83692bc32aae722b3669ccdb820bf32223a5335419201ad66c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for google_yamlfmt-0.16.0.post0-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 fa0abb92725cd3eea9081c99b4d9f326f22585dd786de2fa80f44ca1d97058c3
MD5 55cb9d9fdcd9d228ce58dc0b018a9425
BLAKE2b-256 b3042c21343b5e266e25a879724a0c72800d074d69d9c2db4913318c2759c086

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