Skip to main content

luckdog是类似于内置函数split的方法,扩展支持了分割符号忽略大小写特征的分割。

使用说明:

1) 安装:

pip install luckstring

2) 执行

from luckstring import luckstring
string = "`product_group_id` VARCHAR(64) NULL DEFAULT NULL comment '产品组的ID'"
luckstring.split(string, "COMMENT") 

注: 为方便后期操作方便

可以 把上面的 运行命令放到bat或shell文件中,下次直接双击运行

#######################################################################

Last update time: 2022-04-01

By: 9034.com

#######################################################################

更新日志: 2022-04-01 v1.0.0 初始化

#######################################################################

打包步骤

## 打包 检查
python setup.py check 
## 打包 生成
python setup.py sdist
## 上传
twine upload dist/*
## 使用
pip install luckstring
## 更新
pip install --upgrade luckstring
## 卸载
pip uninstall -y luckstring 

#######################################################################

MANIFEST.in 配置教程

include pat1 pat2 ...   #include all files matching any of the listed patterns

exclude pat1 pat2 ...   #exclude all files matching any of the listed patterns

recursive-include dir pat1 pat2 ...  #include all files under dir matching any of the listed patterns

recursive-exclude dir pat1 pat2 ... #exclude all files under dir matching any of the listed patterns

global-include pat1 pat2 ...    #include all files anywhere in the source tree 
matching — & any of the listed patterns

global-exclude pat1 pat2 ...    #exclude all files anywhere in the source tree matching — & any of the listed patterns

prune dir   #exclude all files under dir

graft dir   #include all files under dir

Metadata

Release files for luckstring 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for luckstring 1.0.0
File Size Uploaded Provenance Actions
luckstring-1.0.0.tar.gz 3.7 kB Without provenance Details for luckstring-1.0.0.tar.gz

Release files / luckstring-1.0.0.tar.gz

Download URL luckstring-1.0.0.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
f82f1e4801932ad88da32d176fb17c200c480b978543d6811c92528f817b280a
BLAKE2b-256 checksum
How to use checksums
9c1b3fd17ca14ad1ba48853c315ae747fb466024f7e06854529ebbff95c24a3a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.3

Security for luckstring 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page