Skip to main content

类型辅助模块

Project description

xy_string

说明

字符串工具.

源码仓库

安装

pip install xy_string

开始

from xy_string.utils import is_empty_string, empty_string, contains_zh

is_empty_string("")
# true

is_empty_string("empty")
# false

empty_string("empty")
# empty

empty_string(None, default="empty")
# empty

empty_string(None)
# None

contains_zh("中文")
# True

contains_zh("Chinese")
# False

许可证

xy_string 根据 <木兰宽松许可证, 第2版> 获得许可。有关详细信息,请参阅 LICENSE 文件。

捐赠

如果小伙伴们觉得这些工具还不错的话,能否请咱喝一杯咖啡呢?

Pay-Total

联系方式

微信: yuyangiit
邮箱: yuyangit.0515@qq.com

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

xy_string-1.0.5.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

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

xy_string-1.0.5-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file xy_string-1.0.5.tar.gz.

File metadata

  • Download URL: xy_string-1.0.5.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.3

File hashes

Hashes for xy_string-1.0.5.tar.gz
Algorithm Hash digest
SHA256 abe78afa5d3911208d5021054dbfa56f74147df252df7bbc3a76679abd2a6115
MD5 6e20d1b6ff7a770c864de822880b57d5
BLAKE2b-256 9c9ffeab9e6efb4ddd87ac4cb1e19ef63a4690c4504a712464bef492d58740c2

See more details on using hashes here.

File details

Details for the file xy_string-1.0.5-py3-none-any.whl.

File metadata

  • Download URL: xy_string-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.3

File hashes

Hashes for xy_string-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 e3b1d72e0113bf93c7d1817860e0c5177309a7864552e7a85f189aacf2f041d6
MD5 e5e2701aaaa7f5a9fa1f6f8a3302aacd
BLAKE2b-256 a945d7ce6038e328f9b15b0355841a14292d529108677b495bb29f41b65c910f

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