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
print(fg.is_email("abc@test.com"))
print(fg.is_gmail("xyz@gmail.com"))
print(fg.is_phone("+1 555 234 5678"))
print(fg.has_emoji("Hi 😊"))
print(fg.is_int("123"))
print(fg.is_float("12.5"))
print(fg.is_bool("true"))
print(fg.is_alphanumeric("abc123"))
print(fg.is_url("https://google.com"))
print(fg.is_whitespace(" "))
print(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.2.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.2.0.tar.gz.
File metadata
- Download URL: filtergenius-0.2.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 |
0409b7201912518113bf0a8fbe257347424d844913855949f20d931f75f5bf63
|
|
| MD5 |
dc5df6512558ea02531734bf231a0c97
|
|
| BLAKE2b-256 |
5688d10f1d8568838f3e1e730dbc44c2d56279c4e21be860d234e3f4b1a7dc0c
|
File details
Details for the file filtergenius-0.2.0-py3-none-any.whl.
File metadata
- Download URL: filtergenius-0.2.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 |
806a7ab6fcb2609d54bb2d8248f8b1bc20ebe7c7dbad32a61ce03f0000e63b0d
|
|
| MD5 |
acc6c8694ae51aeab59e6ded2003a268
|
|
| BLAKE2b-256 |
145b7b27fc73497622785408a40a083d3637c414517865b6e41f10e39219cbf5
|