FilterGenius: Smart filters to detect email, phone, emoji, numeric types, and strings.
Project description
FilterGenius
Smart filters to detect:
- Email / Gmail
- Phone numbers
- Emojis
- Integer / Float / Boolean
- Alphanumeric
- URL
- Whitespace
- Special characters
Install
pip install filtergenius
Usage
import filtergenius as fg
fg.is_email("abc@test.com")
fg.is_gmail("xyz@gmail.com")
fg.is_phone("+1 555 234 5678")
fg.has_emoji("Hi 😊")
fg.is_int("123")
fg.is_float("12.5")
fg.is_bool("true")
fg.is_alphanumeric("abc123")
fg.is_url("https://google.com")
fg.is_whitespace(" ")
fg.has_special_char("hi@")
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
filtergenius-0.1.0.tar.gz
(2.1 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 filtergenius-0.1.0.tar.gz.
File metadata
- Download URL: filtergenius-0.1.0.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ed288f9add6789fe45c671ddb1f5b0d05a8e2ddcf72e39d75354e622577a1b9b
|
|
| MD5 |
c9fa71b734f2d38f0ceb95f813e751d0
|
|
| BLAKE2b-256 |
099a8237010214a4cc10ce037bb401b04f80483dfa0a1e1a7750057cac69323a
|
File details
Details for the file filtergenius-0.1.0-py3-none-any.whl.
File metadata
- Download URL: filtergenius-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f06709cd6cc0ba3505fa45eea5ca3abf65a357225c74a9d3f50eb9bbddb70428
|
|
| MD5 |
18438fd47ef744db8d43c3f3825dcf91
|
|
| BLAKE2b-256 |
5291031ebd4025bbbff21c378b004a3ab3770c65727ca77b3d6d99274e8a40b0
|