Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Handy Python

Test Lint pre-commit

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.
    • @accepts and @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

Apache License 2.0

Metadata

Release files for handy-utils 0.0.1a8

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

Source distribution (sdist)

Source distribution for handy-utils 0.0.1a8
File Size Uploaded Provenance Actions
handy-utils-0.0.1a8.tar.gz 31.9 kB Without provenance Details for handy-utils-0.0.1a8.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for handy-utils 0.0.1a8
File Interpreter ABI Platform Actions
handy_utils-0.0.1a8-py2.py3-none-any.whl Python 3, Python 2 none any Details for handy_utils-0.0.1a8-py2.py3-none-any.whl

Total release size: 44.6 kB

Release files / handy-utils-0.0.1a8.tar.gz

Download URL handy-utils-0.0.1a8.tar.gz
Size 31.9 kB
Tags Source
SHA-256 checksum
How to use checksums
ceb45db3b588af1350048ec99cf8ef156decedddf0809c78147584c188838afb
BLAKE2b-256 checksum
How to use checksums
8443a21d57f0dbc4cb43bd3a72726c340d264646f425b54dbbc71b7baa7f835a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.27.1

Release files / handy_utils-0.0.1a8-py2.py3-none-any.whl

Download URL handy_utils-0.0.1a8-py2.py3-none-any.whl
Size 12.8 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
cee73767b2fa4266a904eeaecf67ae96986efe8fc64244e1cc3c87f0cec722ea
BLAKE2b-256 checksum
How to use checksums
c1805151f6eb8614ae29f0e8f38d00f09137e5b80563e4771539ee1bc4b74c90
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.27.1

Security for handy-utils 0.0.1a8

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.

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