Skip to main content

Mr.Lee's YAML Helpers

Project description

pylhb4yaml

PyPI version GitHub stars GitHub license GitHub repo size GitHub forks

pylhb4yaml 是我在工作过程中陆续整理的一个 Python YAML 工具包,里面就放在一个关于YAML操作的类及相关函数。与其说是一个正式的开源项目,不如说是我自己的“代码杂物间”——只不过把它打包了一下,方便在不同项目之间复用。

由于是个人使用为主,很多设计可能带着比较强的个人习惯,也未必是最优解。如果您发现了问题或有更好的建议,非常欢迎指正。

安装

pip install pylhb4yaml

🌺myyaml模块

YAML读写。

使用示例:

from pylhb4yaml.myyaml import MyYAML

if __name__ == "__main__":
    ymal=MyYAML()
    key=ymal.getKey("Key")
    yaml.setKey("Key","Value")

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

pylhb4yaml-1.0.0.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pylhb4yaml-1.0.0-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file pylhb4yaml-1.0.0.tar.gz.

File metadata

  • Download URL: pylhb4yaml-1.0.0.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for pylhb4yaml-1.0.0.tar.gz
Algorithm Hash digest
SHA256 71c57cf33cd0bd803bc279e08c557adc6ef9bf97c70214a062c2c34d85e43094
MD5 b9be3c4b3f0675f4463b3835d5acca25
BLAKE2b-256 bbacc37afe55ae415e11701a039cdcc7d8ad7c1c34bb1a58732bb63d3115fec9

See more details on using hashes here.

File details

Details for the file pylhb4yaml-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: pylhb4yaml-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for pylhb4yaml-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2322afb078af5b43a20390898bed30b1429e92d6e6f528efe06cac7f2439965c
MD5 4be40b88ab974c7848272021bc4b1620
BLAKE2b-256 09bd68269518f5a126c4061b49dd584a176cf5829a13f8aee79a6c4e72c4dbda

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