Package that allows, with regular expressions, to extract from texts, phone numbers and emails
Project description
Extractor_phone_email
Get from text or clipboard emails and phone numbers
Install
$ pip install extractor-phone-email
How to use
# Import pakage
from extractor_phone_email import extractor
# Make an intance reading the clipboard
myExtractor = extractor.Extractor()
# Make an intance with specific text
myExtractor = extractor.Extractor("This is an example text +524493247419 hernandezdarifrancisco@gmail.com")
#Return all numbers and emails
myExtractor.get()
# Return only phone numbers
myExtractor.get_phones()
# Return only emails
myExtractor.get_emails()
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
File details
Details for the file extractor_phone_email-1.0.3.tar.gz
.
File metadata
- Download URL: extractor_phone_email-1.0.3.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.6.1 requests/2.24.0 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/2.7.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e47b946df2e65d891ea0dc521bda0a5cf01159530d030a324e094503e5419dd |
|
MD5 | bfdb7e86b2fe64c18dee3eb16f74ca97 |
|
BLAKE2b-256 | cb69c0daaf5908d47472f9057d8d2d90655863b6fc0f3aaa279451227a028a64 |