Skip to main content

Collection of handy utils for Python.

Project description

Handy Python

Test Lint pre-commit

Collection of handy utils for Python.

Usage

pip install handy-utils
from handy_utils import xxx

Features

  • RE pattern of Chinese characters
  • Find Chinese characters in a string
  • RE pattern of float numbers
  • Float number validation
  • RE pattern of IPv4 addresses
  • IPv4 address validation
  • RE pattern of email addresses
  • Email address validation
  • RE pattern of HTML elements or tags
  • HTML element or tag validation
  • RE pattern of domain names (English, Chinese)
  • Domain name validation (English, Chinese)
  • RE pattern of color RGB hex
  • Color RGB hex validation
  • Password strength validation
  • RE pattern of license plate (Chinese mainland, Hongkong)
  • License plate validation (Chinese mainland, Hongkong)
  • RE pattern of WeChat (Wexin) ID
  • WeChat (Wexin) ID validation
  • RE pattern of QQ number (ID)
  • QQ number (ID) validation
  • RE pattern of Chinese telephone number
  • Chinese telephone number validation
  • RE pattern of Chinese ID number
  • Chinese ID number validation

Scripts

Run a GUI (based on Tcl/Tk) for RE (regular expression)

python -m handy_utils.re_tk

License

Apache License 2.0

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

handy-utils-0.0.1a7.tar.gz (29.0 kB view hashes)

Uploaded Source

Built Distribution

handy_utils-0.0.1a7-py2.py3-none-any.whl (10.9 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page