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
邮箱: 845262968@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.4.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.4-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: xy_string-1.0.4.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.4.tar.gz
Algorithm Hash digest
SHA256 ebc0e5081501b1dd9203abe802bdc0c73a03c3fa60ea139ad871273227627181
MD5 de46096c446a5ca391412aa6d48a19a0
BLAKE2b-256 f737bb57d59b41cba6de7d8193514ede467627c2842ef871eb00b6184db3dd31

See more details on using hashes here.

File details

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

File metadata

  • Download URL: xy_string-1.0.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c6f42c2c2f4266410d949dd9c811d7e7760b7a8fe742bb60e0cbb7b232899c9e
MD5 163f4bcf0c65bfb2bcf305e1b1e03790
BLAKE2b-256 58383663e7048e6e5c4f659839cf4ce6f7dce1643403915c6d63e676e11bba30

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