Collection of handy utils for Python.
Project description
Handy Python
Collection of handy utils for Python.
Usage
pip install handy-utils
from handy_utils import xxx
Features
- MapReduce on local host
- Decorators
@attrs: Add attributes to a function/method.@acceptsand@returns: Enforce function argument and return types.@singleton: Define a class with a singleton instance.
- Regex patterns
- Regex pattern of Chinese characters
- Find Chinese characters in a string
- Regex pattern of float numbers
- Float number validation
- Regex pattern of IPv4 addresses
- IPv4 address validation
- Regex pattern of email addresses
- Email address validation
- Regex pattern of HTML elements or tags
- HTML element or tag validation
- Regex pattern of domain names (English, Chinese)
- Domain name validation (English, Chinese)
- Regex pattern of color RGB hex
- Color RGB hex validation
- Password strength validation
- Regex pattern of license plate (Chinese mainland, Hongkong)
- License plate validation (Chinese mainland, Hongkong)
- Regex pattern of WeChat (Wexin) ID
- WeChat (Wexin) ID validation
- Regex pattern of QQ number (ID)
- QQ number (ID) validation
- Regex pattern of Chinese telephone number
- Chinese telephone number validation
- Regex 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
Project details
Release history Release notifications | RSS feed
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.1a8.tar.gz
(31.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file handy-utils-0.0.1a8.tar.gz.
File metadata
- Download URL: handy-utils-0.0.1a8.tar.gz
- Upload date:
- Size: 31.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.27.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ceb45db3b588af1350048ec99cf8ef156decedddf0809c78147584c188838afb
|
|
| MD5 |
b355adc4ae24e0e6bab1a13b2abae6d3
|
|
| BLAKE2b-256 |
8443a21d57f0dbc4cb43bd3a72726c340d264646f425b54dbbc71b7baa7f835a
|
File details
Details for the file handy_utils-0.0.1a8-py2.py3-none-any.whl.
File metadata
- Download URL: handy_utils-0.0.1a8-py2.py3-none-any.whl
- Upload date:
- Size: 12.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.27.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cee73767b2fa4266a904eeaecf67ae96986efe8fc64244e1cc3c87f0cec722ea
|
|
| MD5 |
036de94bd179a4f91c61edb758dd54bb
|
|
| BLAKE2b-256 |
c1805151f6eb8614ae29f0e8f38d00f09137e5b80563e4771539ee1bc4b74c90
|